/*
Theme Name: Axiomus Showcase Theme
Author: Clément Morisset/var/www/html/Axiomus/showcase/plugin
Description: Un thème moderne, premium et réactif pour le site vitrine d'Axiomus Education.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axiomus-theme
Tags: modern, dark, custom-colors, responsive-layout, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool.
*/

/* ==========================================================================
   Design System & Variable CSS
   ========================================================================== */
:root {
    --font-primary: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Harmonious Curated Color Palette */
    --color-bg-dark: #070b19;
    --color-bg-light: #ffffff;
    --color-surface-dark: #0f1526;
    --color-surface-card: rgba(18, 24, 41, 0.6);
    --color-primary: #0891b2; /* Cyan 600 */
    --color-primary-hover: #06b6d4; /* Cyan 500 */
    --color-accent: #8b5cf6; /* Violet 500 */
    --color-accent-hover: #a78bfa; /* Violet 400 */
    --color-text-dark: #f9fafb;
    --color-text-dark-muted: #9ca3af;
    --color-border-dark: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #070b19 0%, #02040a 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-border: linear-gradient(135deg, rgba(8, 145, 178, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    
    /* Shadows & Glassmorphism */
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(10, 15, 30, 0.75);
    --glass-blur: blur(12px);
    --glass-border: rgba(255, 255, 255, 0.06);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary-hover);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    color: var(--color-text-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Premium Components & Layout
   ========================================================================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(8, 145, 178, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(8, 145, 178, 0.1) 0%, transparent 45%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Glass Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.85rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}

/* CRITICAL FIX: Sizing for custom uploaded logos to avoid huge image */
.site-logo img,
.custom-logo-link img {
    max-height: 38px !important;
    width: auto !important;
    max-width: 180px !important;
    display: block;
    object-fit: contain;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-navigation a {
    color: var(--color-text-dark-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--color-text-dark);
}

.main-navigation .current-menu-item > a {
    color: var(--color-text-dark);
}

/* Nav Menu CTA Buttons */
.cta-button-nav {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--gradient-accent);
    color: white !important;
    box-shadow: 0 4px 12px -3px rgba(8, 145, 178, 0.4);
    transition: var(--transition-smooth);
}

.cta-button-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px -3px rgba(139, 92, 246, 0.5);
}

.cta-button-secondary-nav {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-dark);
    color: var(--color-text-dark) !important;
    transition: var(--transition-smooth);
}

.cta-button-secondary-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 9rem 0 7rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-dark-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--gradient-accent);
    color: white !important;
    box-shadow: 0 10px 22px -6px rgba(8, 145, 178, 0.4);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.5);
}

.cta-button-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(18, 24, 41, 0.6);
    border: 1px solid var(--color-border-dark);
    color: var(--color-text-dark) !important;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Landing Sections
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--color-text-dark-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 10% 40%, rgba(8, 145, 178, 0.04) 0%, transparent 35%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(18, 24, 41, 0.85);
    box-shadow: var(--shadow-premium);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(8, 145, 178, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-dark-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Platform Showcase Mockup */
.showcase-section {
    padding: 6rem 0;
    position: relative;
}

.mockup-wrapper {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--color-border-dark);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.mockup-inner {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #02040a;
}

/* Method Steps */
.method-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 16px -4px rgba(8, 145, 178, 0.4);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-text-dark-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Bottom CTA Banner */
.cta-banner-section {
    padding: 8rem 0;
    text-align: center;
}

.cta-banner-card {
    background: radial-gradient(circle at top right, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                var(--color-surface-card);
    border: 1px solid var(--color-border-dark);
    border-radius: 32px;
    padding: 4.5rem 2rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1.5px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.cta-banner-card h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-banner-card p {
    color: var(--color-text-dark-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Content Area & Blog Posts
   ========================================================================== */
.site-content {
    flex-grow: 1;
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.15);
}

.post-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-dark);
    border-radius: 20px;
    padding: 2.25rem;
    margin-bottom: 2rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.post-card:hover::before {
    opacity: 0.8;
}

.post-title {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--color-text-dark-muted);
    margin-bottom: 1.5rem;
}

.post-excerpt {
    color: var(--color-text-dark-muted);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
    background: #03050c;
    border-top: 1px solid var(--color-border-dark);
    padding: 4rem 0;
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-credits a {
    color: var(--color-text-dark);
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    .cta-banner-card h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.25rem;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
