/* ================================================
   LearningTime - Landing Page
   Theme: Phoenix (raccord avec le LMS)
   ================================================ */

/* CSS Variables - Alignées sur le thème Phoenix du LMS */
:root {
    /* Couleurs principales Phoenix */
    --phoenix-primary: #3874ff;
    --phoenix-primary-light: #85a9ff;
    --phoenix-primary-lighter: #adc5ff;
    --phoenix-primary-dark: #004dff;
    --phoenix-primary-darker: #003cc7;
    --phoenix-primary-rgb: 56, 116, 255;

    --phoenix-secondary: #31374a;
    --phoenix-secondary-light: #cbd0dd;
    --phoenix-secondary-lighter: #e3e6ed;
    --phoenix-secondary-dark: #222834;
    --phoenix-secondary-darker: #525b75;

    --phoenix-success: #25b003;
    --phoenix-success-light: #90d67f;
    --phoenix-info: #0097eb;
    --phoenix-info-light: #60c6ff;
    --phoenix-warning: #e5780b;
    --phoenix-warning-light: #ffcc85;
    --phoenix-danger: #fa3b1d;
    --phoenix-danger-light: #f48270;

    /* Gris Phoenix */
    --phoenix-gray-50: #f5f7fa;
    --phoenix-gray-100: #eff2f6;
    --phoenix-gray-200: #e3e6ed;
    --phoenix-gray-300: #cbd0dd;
    --phoenix-gray-400: #9fa6bc;
    --phoenix-gray-500: #8a94ad;
    --phoenix-gray-600: #6e7891;
    --phoenix-gray-700: #525b75;
    --phoenix-gray-800: #3e465b;
    --phoenix-gray-900: #31374a;
    --phoenix-gray-1000: #222834;
    --phoenix-gray-1100: #141824;

    /* Couleurs fond/texte */
    --phoenix-body-color: #525b75;
    --phoenix-body-bg: #ffffff;
    --phoenix-emphasis-color: #141824;
    --phoenix-body-highlight-bg: #eff2f6;
    --phoenix-border-color: #cbd0dd;

    /* Mode sombre (pour future utilisation) */
    --phoenix-dark-body-color: #9fa6bc;
    --phoenix-dark-body-bg: #0f111a;
    --phoenix-dark-emphasis-color: #eff2f6;
    --phoenix-dark-border-color: #373e53;

    /* Typographie */
    --phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-padding: 2rem;

    /* Bordures Phoenix */
    --phoenix-border-radius: 0.375rem;
    --phoenix-border-radius-sm: 0.25rem;
    --phoenix-border-radius-lg: 0.5rem;
    --phoenix-border-radius-xl: 1rem;
    --phoenix-border-radius-xxl: 2rem;
    --phoenix-border-radius-pill: 50rem;

    /* Ombres Phoenix */
    --phoenix-box-shadow: 0px 2px 4px -2px rgba(36, 40, 46, 0.08);
    --phoenix-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --phoenix-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --phoenix-box-shadow-card: 0 0.5rem 1.5rem rgba(56, 116, 255, 0.08);

    /* Transitions Phoenix */
    --phoenix-transition: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--phoenix-font-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--phoenix-body-color);
    background: var(--phoenix-body-bg);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--phoenix-primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 116, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ================================================
   Navigation
   ================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: background var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--phoenix-box-shadow);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--phoenix-emphasis-color);
}

.logo:hover {
    color: var(--phoenix-emphasis-color);
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--phoenix-primary), var(--phoenix-primary-dark));
    color: white;
    border-radius: var(--phoenix-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 12px rgba(56, 116, 255, 0.3);
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--phoenix-gray-700);
    transition: color var(--phoenix-transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--phoenix-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--phoenix-primary);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--phoenix-primary) !important;
    color: white !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: var(--phoenix-border-radius-pill) !important;
    transition: all var(--phoenix-transition) !important;
    box-shadow: 0 4px 12px rgba(56, 116, 255, 0.25);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--phoenix-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 116, 255, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--phoenix-emphasis-color);
    border-radius: 2px;
    transition: var(--phoenix-transition);
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--phoenix-border-radius-pill);
    transition: all var(--phoenix-transition);
}

.btn svg {
    transition: transform var(--transition-normal);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--phoenix-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(56, 116, 255, 0.35);
}

.btn-primary:hover {
    background: var(--phoenix-primary-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(56, 116, 255, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--phoenix-emphasis-color);
    box-shadow: var(--phoenix-box-shadow-sm);
    border: 1px solid var(--phoenix-border-color);
}

.btn-secondary:hover {
    background: var(--phoenix-gray-50);
    color: var(--phoenix-emphasis-color);
    box-shadow: var(--phoenix-box-shadow);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--phoenix-primary);
    color: var(--phoenix-primary);
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background: var(--phoenix-primary);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ================================================
   Section Styling
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--phoenix-primary);
    background: rgba(56, 116, 255, 0.1);
    padding: 0.375rem 1rem;
    border-radius: var(--phoenix-border-radius-pill);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--phoenix-emphasis-color);
}

.section-title em {
    font-style: normal;
    color: var(--phoenix-primary);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: calc(80px + var(--space-xl)) var(--container-padding) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(56, 116, 255, 0.12), transparent);
    top: -150px;
    right: -50px;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(56, 116, 255, 0.08), transparent);
    bottom: 10%;
    left: 5%;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(37, 176, 3, 0.06), transparent);
    top: 40%;
    left: 35%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border-radius: var(--phoenix-border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--phoenix-gray-700);
    box-shadow: var(--phoenix-box-shadow);
    border: 1px solid var(--phoenix-gray-200);
    margin-bottom: var(--space-md);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--phoenix-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--phoenix-emphasis-color);
    margin-bottom: var(--space-md);
}

.hero-title-accent {
    color: var(--phoenix-primary);
    position: relative;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    right: 0;
    height: 0.12em;
    background: var(--phoenix-primary);
    opacity: 0.25;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--phoenix-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--phoenix-emphasis-color);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--phoenix-primary);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--phoenix-gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--phoenix-gray-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: white;
    border-radius: var(--phoenix-border-radius-xl);
    box-shadow: 0 20px 60px rgba(49, 55, 74, 0.12);
    overflow: hidden;
    border: 1px solid var(--phoenix-gray-200);
}

.hero-card-main {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--phoenix-gray-50);
    border-bottom: 1px solid var(--phoenix-gray-200);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--phoenix-gray-300);
}

.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:last-child { background: #28ca42; }

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--phoenix-gray-500);
}

.card-content {
    padding: var(--space-md);
}

.card-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-md);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(to top, var(--phoenix-primary), var(--phoenix-primary-light));
    border-radius: var(--phoenix-border-radius-sm) var(--phoenix-border-radius-sm) 0 0;
    animation: grow-bar 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes grow-bar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.15s; }
.chart-bar:nth-child(3) { animation-delay: 0.2s; }
.chart-bar:nth-child(4) { animation-delay: 0.25s; }
.chart-bar:nth-child(5) { animation-delay: 0.3s; }
.chart-bar:nth-child(6) { animation-delay: 0.35s; }
.chart-bar:nth-child(7) { animation-delay: 0.4s; }

.card-progress {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: var(--phoenix-gray-100);
    border-radius: var(--phoenix-border-radius-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: var(--width);
    background: var(--phoenix-success);
    border-radius: var(--phoenix-border-radius-pill);
    animation: fill-progress 1.5s ease-out forwards;
    animation-delay: 0.5s;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes fill-progress {
    to { transform: scaleX(1); }
}

.progress-value {
    font-weight: 700;
    color: var(--phoenix-success);
}

/* Floating Cards */
.hero-card-float {
    position: absolute;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--phoenix-gray-200);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-card-course {
    top: 20%;
    left: -10%;
    animation-delay: 0.5s;
}

.course-icon {
    font-size: 1.5rem;
}

.course-info {
    display: flex;
    flex-direction: column;
}

.course-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--phoenix-emphasis-color);
}

.course-meta {
    font-size: 0.75rem;
    color: var(--phoenix-gray-500);
}

.course-progress-ring {
    position: relative;
    width: 40px;
    height: 40px;
}

.course-progress-ring svg {
    transform: rotate(-90deg);
    color: var(--phoenix-primary);
}

.course-progress-ring span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--phoenix-emphasis-color);
}

.hero-card-notif {
    bottom: 25%;
    right: -5%;
    animation-delay: 1s;
}

.notif-icon {
    font-size: 1.25rem;
}

.notif-content {
    display: flex;
    flex-direction: column;
}

.notif-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--phoenix-success);
}

.notif-text {
    font-size: 0.75rem;
    color: var(--phoenix-gray-500);
}

/* ================================================
   Features Section
   ================================================ */
.features {
    padding: var(--space-3xl) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    background: var(--phoenix-gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: white;
    border-radius: var(--phoenix-border-radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--phoenix-gray-200);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--phoenix-box-shadow-card);
}

.feature-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
}

.feature-visual {
    background: var(--phoenix-gray-100);
    border-radius: var(--phoenix-border-radius-lg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--phoenix-gray-200);
    max-height: 280px;
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--phoenix-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--phoenix-box-shadow);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--phoenix-primary);
}

.feature-icon-small {
    width: 52px;
    height: 52px;
    background: rgba(56, 116, 255, 0.1);
    border-radius: var(--phoenix-border-radius);
    margin-bottom: var(--space-md);
}

.feature-icon-small svg {
    width: 26px;
    height: 26px;
    color: var(--phoenix-primary);
}

.feature-content h3 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
    color: var(--phoenix-emphasis-color);
}

.feature-card:not(.feature-card-large) h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.feature-content p,
.feature-card:not(.feature-card-large) p {
    color: var(--phoenix-gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--phoenix-gray-700);
}

.feature-list li::before {
    content: '✓';
    color: var(--phoenix-success);
    font-weight: 700;
}

.feature-card-cta {
    background: linear-gradient(135deg, var(--phoenix-primary), var(--phoenix-primary-dark));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
}

.feature-card-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(56, 116, 255, 0.3);
}

.feature-cta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: var(--space-sm);
}

.feature-card-cta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: white;
}

.feature-card-cta .btn-outline {
    border-color: white;
    color: white;
    align-self: flex-start;
}

.feature-card-cta .btn-outline:hover {
    background: white;
    color: var(--phoenix-primary);
}

/* ================================================
   Demo Section
   ================================================ */
.demo {
    padding: var(--space-3xl) var(--container-padding);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: center;
}

.demo-content .section-tag {
    text-align: left;
}

.demo-content .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.demo-text {
    color: var(--phoenix-gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--phoenix-gray-700);
}

.demo-feature-icon {
    color: var(--phoenix-primary);
}

/* Demo Browser */
.demo-visual {
    position: relative;
}

.demo-browser {
    background: white;
    border-radius: var(--phoenix-border-radius-xl);
    box-shadow: 0 25px 80px rgba(49, 55, 74, 0.15);
    overflow: hidden;
    border: 1px solid var(--phoenix-gray-200);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--phoenix-gray-50);
    border-bottom: 1px solid var(--phoenix-gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:last-child { background: #28ca42; }

.browser-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--phoenix-border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--phoenix-gray-500);
    border: 1px solid var(--phoenix-gray-200);
}

.browser-address svg {
    color: var(--phoenix-success);
}

.browser-content {
    display: grid;
    grid-template-columns: 56px 1fr;
    min-height: 360px;
}

.demo-sidebar {
    background: var(--phoenix-gray-1100);
    padding: var(--space-sm) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    background: var(--phoenix-primary);
    color: white;
    border-radius: var(--phoenix-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    margin-bottom: var(--space-sm);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    width: 38px;
    height: 38px;
    border-radius: var(--phoenix-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--phoenix-gray-500);
    transition: all var(--phoenix-transition);
}

.sidebar-item.active,
.sidebar-item:hover {
    background: rgba(56, 116, 255, 0.2);
    color: var(--phoenix-primary-light);
}

.demo-main {
    padding: var(--space-md);
    background: var(--phoenix-gray-50);
}

.demo-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.demo-greeting {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--phoenix-emphasis-color);
}

.demo-subtext {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--phoenix-gray-500);
}

.demo-search {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--phoenix-gray-500);
    border: 1px solid var(--phoenix-gray-200);
}

.demo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.demo-card {
    background: white;
    border-radius: var(--phoenix-border-radius);
    padding: var(--space-md);
    border: 1px solid var(--phoenix-gray-200);
}

.demo-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--phoenix-gray-500);
    margin-bottom: var(--space-xs);
}

.demo-card-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--phoenix-primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--phoenix-border-radius-pill);
    margin-bottom: var(--space-xs);
}

.demo-card-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--phoenix-emphasis-color);
    margin-bottom: var(--space-xs);
}

.demo-card-bar {
    height: 5px;
    background: var(--phoenix-gray-100);
    border-radius: var(--phoenix-border-radius-pill);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.demo-card-fill {
    height: 100%;
    background: var(--phoenix-primary);
    border-radius: var(--phoenix-border-radius-pill);
}

.demo-card-meta {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--phoenix-gray-500);
}

.demo-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.demo-stat-box {
    background: white;
    border-radius: var(--phoenix-border-radius);
    padding: var(--space-sm);
    text-align: center;
    border: 1px solid var(--phoenix-gray-200);
}

.demo-stat-value {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--phoenix-emphasis-color);
}

.demo-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--phoenix-gray-500);
}

.demo-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.demo-decoration-1 {
    width: 100px;
    height: 100px;
    background: var(--phoenix-primary);
    opacity: 0.08;
    top: -30px;
    right: -30px;
}

.demo-decoration-2 {
    width: 60px;
    height: 60px;
    background: var(--phoenix-success);
    opacity: 0.1;
    bottom: -15px;
    left: -15px;
}

/* ================================================
   Testimonials Section
   ================================================ */
.testimonials {
    padding: var(--space-3xl) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.testimonial-card {
    background: white;
    border-radius: var(--phoenix-border-radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--phoenix-gray-200);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--phoenix-box-shadow-card);
}

.testimonial-card-featured {
    background: linear-gradient(135deg, var(--phoenix-gray-1100), var(--phoenix-gray-1000));
    color: var(--phoenix-gray-100);
    border: none;
}

.testimonial-card-featured:hover {
    box-shadow: 0 12px 40px rgba(20, 24, 36, 0.25);
}

.testimonial-quote {
    margin-bottom: var(--space-md);
}

.testimonial-quote svg {
    fill: var(--phoenix-gray-200);
}

.testimonial-card-featured .testimonial-quote svg {
    fill: var(--phoenix-gray-700);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--phoenix-gray-700);
}

.testimonial-card-featured .testimonial-text {
    color: var(--phoenix-gray-300);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--phoenix-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--phoenix-gray-700);
}

.testimonial-card-featured .author-avatar {
    background: var(--phoenix-primary);
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--phoenix-emphasis-color);
}

.testimonial-card-featured .author-name {
    color: white;
}

.author-role {
    font-size: 0.8rem;
    color: var(--phoenix-gray-500);
}

.testimonial-card-featured .author-role {
    color: var(--phoenix-gray-400);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    color: var(--phoenix-warning);
}

/* Logos */
.testimonials-logos {
    text-align: center;
}

.logos-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--phoenix-gray-500);
    margin-bottom: var(--space-md);
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.logo-item {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--phoenix-gray-400);
    transition: color var(--phoenix-transition);
}

.logo-item:hover {
    color: var(--phoenix-gray-600);
}

/* ================================================
   Contact Section
   ================================================ */
.contact {
    padding: var(--space-3xl) var(--container-padding);
    background: var(--phoenix-gray-50);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.contact-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(56, 116, 255, 0.06);
    top: -200px;
    left: -150px;
}

.contact-shape-2 {
    width: 350px;
    height: 350px;
    background: rgba(37, 176, 3, 0.04);
    bottom: -100px;
    right: -100px;
}

.contact-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.contact-text {
    font-size: 1.05rem;
    color: var(--phoenix-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.perk {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--phoenix-gray-700);
    font-weight: 600;
}

.perk svg {
    color: var(--phoenix-success);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: var(--phoenix-border-radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 20px 60px rgba(49, 55, 74, 0.1);
    border: 1px solid var(--phoenix-gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--phoenix-emphasis-color);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--phoenix-emphasis-color);
    background: var(--phoenix-gray-50);
    border: 1px solid var(--phoenix-gray-200);
    border-radius: var(--phoenix-border-radius);
    transition: border-color var(--phoenix-transition), box-shadow var(--phoenix-transition), background var(--phoenix-transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--phoenix-primary);
    box-shadow: 0 0 0 3px rgba(56, 116, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--phoenix-gray-400);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a94ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-disclaimer {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--phoenix-gray-500);
    text-align: center;
}

.form-disclaimer a {
    color: var(--phoenix-primary);
    font-weight: 600;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    background: var(--phoenix-gray-1100);
    color: var(--phoenix-gray-300);
    padding: var(--space-xl) var(--container-padding) var(--space-lg);
}

.footer-main {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--phoenix-gray-900);
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-mark {
    background: var(--phoenix-primary);
}

.footer-tagline {
    margin-top: var(--space-md);
    color: var(--phoenix-gray-500);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--phoenix-gray-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--phoenix-gray-400);
    transition: all var(--phoenix-transition);
}

.footer-social a:hover {
    background: var(--phoenix-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--phoenix-gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0;
    transition: color var(--phoenix-transition);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--phoenix-gray-600);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--phoenix-gray-500);
    transition: color var(--phoenix-transition);
}

.footer-legal a:hover {
    color: white;
}

/* ================================================
   Animations
   ================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-card-main {
        margin: 0 auto;
    }

    .hero-card-float {
        display: none;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card-large {
        grid-column: span 2;
    }

    .demo {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .demo-content {
        text-align: center;
    }

    .demo-content .section-tag,
    .demo-content .section-title {
        text-align: center;
    }

    .demo-features {
        align-items: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-perks {
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: calc(80px + var(--space-lg));
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .features {
        padding: var(--space-2xl) var(--container-padding);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .feature-visual {
        height: 180px;
    }

    .browser-content {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        display: none;
    }

    .demo-cards {
        grid-template-columns: 1fr;
    }

    .demo-stats-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .logos-row {
        gap: var(--space-md);
    }

    .logo-item {
        font-size: 0.95rem;
    }
}

/* ================================================
   Module Pills (Hero)
   ================================================ */
.card-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.module-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--phoenix-gray-50);
    border: 1px solid var(--phoenix-gray-200);
    border-radius: var(--phoenix-border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--phoenix-gray-700);
    transition: all var(--phoenix-transition);
}

.module-pill i {
    font-size: 0.875rem;
    color: var(--phoenix-primary);
}

.module-pill:hover {
    background: rgba(56, 116, 255, 0.1);
    border-color: var(--phoenix-primary-light);
    color: var(--phoenix-primary);
}

/* ================================================
   Section Subtitle
   ================================================ */
.section-subtitle {
    max-width: 600px;
    margin: var(--space-sm) auto 0;
    font-size: 1.05rem;
    color: var(--phoenix-gray-600);
    line-height: 1.6;
}

/* ================================================
   Features Section - Additional Styles
   ================================================ */
.features-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-2xl) 0 var(--space-xl);
}

.features-section-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--phoenix-emphasis-color);
    white-space: nowrap;
}

.section-divider {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--phoenix-gray-300));
}

.section-divider:last-child {
    background: linear-gradient(to left, transparent, var(--phoenix-gray-300));
}

.features-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card-highlight {
    border: 2px solid var(--phoenix-gray-200);
}

.feature-card-highlight:hover {
    border-color: var(--phoenix-primary-light);
}

.feature-visual-mini {
    height: 120px;
    margin-bottom: var(--space-md);
    border-radius: var(--phoenix-border-radius);
    overflow: hidden;
}

.feature-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(56, 116, 255, 0.1);
    border-radius: var(--phoenix-border-radius);
    margin-bottom: var(--space-sm);
}

.feature-icon-badge i {
    font-size: 1.25rem;
    color: var(--phoenix-primary);
}

/* Feature Card Images */
.feature-visual-image {
    overflow: hidden;
    border-radius: var(--phoenix-border-radius-lg);
    background: var(--phoenix-gray-100);
    border: 1px solid var(--phoenix-gray-200);
}

.feature-visual-image img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-visual-image img {
    transform: scale(1.02);
}

.feature-card-with-image {
    position: relative;
    overflow: hidden;
}

.feature-image-small {
    height: 160px;
    margin: calc(var(--space-lg) * -1);
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-radius: var(--phoenix-border-radius-lg) var(--phoenix-border-radius-lg) 0 0;
    background: var(--phoenix-gray-100);
    border-bottom: 1px solid var(--phoenix-gray-200);
}

.feature-image-small img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top left;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.4s ease;
}

.feature-card-with-image:hover .feature-image-small img {
    transform: scale(1.02);
}

.feature-visual-mini.feature-visual-image {
    border-radius: var(--phoenix-border-radius);
    overflow: hidden;
    height: 140px;
    background: var(--phoenix-gray-100);
    border: 1px solid var(--phoenix-gray-200);
}

.feature-visual-mini.feature-visual-image img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top left;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.4s ease;
}

.feature-card-highlight:hover .feature-visual-mini.feature-visual-image img {
    transform: scale(1.02);
}

/* Placeholder Styles (fallback) */
.feature-visual-placeholder {
    background: linear-gradient(135deg, var(--phoenix-gray-50) 0%, var(--phoenix-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--phoenix-gray-400);
}

.placeholder-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.placeholder-content span {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================================================
   Screenshots Section
   ================================================ */
.screenshots {
    padding: var(--space-3xl) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.screenshots-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-xl);
}

.screenshot-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--phoenix-gray-200);
    border-radius: var(--phoenix-border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--phoenix-gray-600);
    cursor: pointer;
    transition: all var(--phoenix-transition);
}

.screenshot-tab i {
    font-size: 1rem;
}

.screenshot-tab:hover {
    background: var(--phoenix-gray-50);
    border-color: var(--phoenix-gray-300);
    color: var(--phoenix-emphasis-color);
}

.screenshot-tab.active {
    background: var(--phoenix-primary);
    border-color: var(--phoenix-primary);
    color: white;
}

.screenshots-viewer {
    max-width: 1100px;
    margin: 0 auto;
}

.screenshot-browser {
    background: white;
    border-radius: var(--phoenix-border-radius-xl);
    box-shadow: 0 25px 80px rgba(49, 55, 74, 0.15);
    overflow: hidden;
    border: 1px solid var(--phoenix-gray-200);
}

.screenshot-container {
    position: relative;
    height: auto;
    min-height: 400px;
    max-height: 650px;
    background: var(--phoenix-gray-50);
    overflow: hidden;
}

.screenshot-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.screenshot-placeholder.active {
    display: flex;
}

.placeholder-large {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--phoenix-border-radius-lg);
    border: 2px dashed var(--phoenix-gray-300);
    max-width: 400px;
    width: 100%;
}

.placeholder-large i {
    font-size: 4rem;
    color: var(--phoenix-gray-300);
    margin-bottom: var(--space-sm);
}

.placeholder-large h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--phoenix-emphasis-color);
    margin-bottom: 0.5rem;
}

.placeholder-large p {
    font-size: 0.9rem;
    color: var(--phoenix-gray-500);
    margin-bottom: var(--space-sm);
}

.placeholder-path {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--phoenix-gray-100);
    border-radius: var(--phoenix-border-radius);
    font-family: var(--phoenix-font-monospace);
    font-size: 0.75rem;
    color: var(--phoenix-gray-600);
}

/* Screenshot Items */
.screenshot-item {
    position: relative;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.screenshot-item.active {
    display: flex;
}

.screenshot-item > img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
    background: var(--phoenix-gray-100);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Screenshot Gallery (for multiple images) */
.screenshot-gallery {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.screenshot-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top left;
    opacity: 0;
    transition: opacity 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.screenshot-gallery img.active {
    opacity: 1;
}

.screenshot-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--phoenix-gray-100);
    border-top: 1px solid var(--phoenix-gray-200);
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--phoenix-gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--phoenix-transition);
    padding: 0;
}

.gallery-dot:hover {
    background: var(--phoenix-gray-400);
}

.gallery-dot.active {
    background: var(--phoenix-primary);
    transform: scale(1.2);
}

/* ================================================
   Qualiopi Section
   ================================================ */
.qualiopi {
    padding: var(--space-3xl) var(--container-padding);
    background: linear-gradient(135deg, var(--phoenix-gray-1100) 0%, var(--phoenix-gray-1000) 100%);
    position: relative;
    overflow: hidden;
}

.qualiopi-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.qualiopi-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.qualiopi-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(56, 116, 255, 0.15);
    top: -200px;
    right: -100px;
}

.qualiopi-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(37, 176, 3, 0.1);
    bottom: -150px;
    left: -100px;
}

.qualiopi-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.qualiopi-info {
    text-align: left;
}

.qualiopi-info .section-tag {
    background: rgba(56, 116, 255, 0.2);
    color: var(--phoenix-primary-light);
}

.qualiopi-info .section-title {
    color: white;
}

.qualiopi-badge-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--phoenix-primary), var(--phoenix-primary-dark));
    border-radius: var(--phoenix-border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    box-shadow: 0 8px 32px rgba(56, 116, 255, 0.4);
}

.qualiopi-badge-large i {
    font-size: 2.5rem;
    color: white;
}

.qualiopi-text {
    font-size: 1.05rem;
    color: var(--phoenix-gray-400);
    line-height: 1.7;
    margin-top: var(--space-md);
}

.qualiopi-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.qualiopi-feature {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--phoenix-border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.qualiopi-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 116, 255, 0.3);
    transform: translateY(-4px);
}

.qualiopi-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(56, 116, 255, 0.2);
    border-radius: var(--phoenix-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qualiopi-feature-icon i {
    font-size: 1.25rem;
    color: var(--phoenix-primary-light);
}

.qualiopi-feature-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.qualiopi-feature-content p {
    font-size: 0.85rem;
    color: var(--phoenix-gray-400);
    line-height: 1.5;
}

/* ================================================
   Responsive - New Sections
   ================================================ */
@media (max-width: 1024px) {
    .features-grid-three {
        grid-template-columns: 1fr 1fr;
    }

    .qualiopi-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qualiopi-info {
        text-align: center;
    }

    .qualiopi-badge-large {
        margin: 0 auto var(--space-md);
    }

    .qualiopi-features {
        grid-template-columns: 1fr 1fr;
    }

    .qualiopi-feature {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .features-grid-three {
        grid-template-columns: 1fr;
    }

    .screenshots-tabs {
        gap: 0.375rem;
    }

    .screenshot-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .screenshot-tab span {
        display: none;
    }

    .screenshot-tab i {
        font-size: 1.25rem;
    }

    .screenshot-container {
        min-height: 300px;
    }

    .qualiopi-features {
        grid-template-columns: 1fr;
    }

    .card-modules {
        justify-content: center;
    }
}

/* ================================================
   Dark Mode Support (future)
   ================================================ */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable auto dark mode
    :root {
        --phoenix-body-color: var(--phoenix-dark-body-color);
        --phoenix-body-bg: var(--phoenix-dark-body-bg);
        --phoenix-emphasis-color: var(--phoenix-dark-emphasis-color);
        --phoenix-border-color: var(--phoenix-dark-border-color);
    }
    */
}
