:root {
    /* Color Palette - Premium & Modern */
    --color-bg: #0a0a0a;
    /* Deep black background */
    --color-surface: #141414;
    /* Slightly lighter for cards */
    --color-surface-hover: #1f1f1f;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.2);

    --color-text: #f5f5f7;
    /* Apple-like off-white */
    --color-text-muted: #a1a1a6;
    /* Apple-like muted text */

    /* Primary Action Color - Vibrant yet sophisticated */
    --color-primary: #0071e3;
    /* Apple Blue */
    --color-primary-hover: #0077ED;

    /* Accent Colors */
    --color-accent: #bf4800;
    /* Subtle orange accent */
    --color-success: #34c759;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --section-padding-mobile: 80px 0;
    --container-width: 1200px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 113, 227, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
    }
}

h3 {
    font-size: 1.625rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    h3 {
        font-size: 1.375rem;
    }
}

h4 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

p.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Section */
section {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9375rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--color-text);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    width: 44px;
    /* Zone de clic optimisée (min 44px apple standard) */
    height: 44px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-btn .bar:nth-child(1) {
    top: 16px;
}

.mobile-menu-btn .bar:nth-child(2) {
    bottom: 16px;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* Augmenté de 32px à 40px pour une meilleure tape target */
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}

/* Animations using Intersection Observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 80px 0;
    }
}

/* Utility Classes */
.mt-8 {
    margin-top: 8px !important;
}

.mt-16 {
    margin-top: 16px !important;
}

.mt-24 {
    margin-top: 24px !important;
}

.mt-32 {
    margin-top: 32px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-64 {
    margin-top: 64px !important;
}

.mt-100 {
    margin-top: 100px !important;
}

.mb-8 {
    margin-bottom: 8px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-64 {
    margin-bottom: 64px !important;
}

.pb-100 {
    padding-bottom: 100px !important;
}

.text-center {
    text-align: center !important;
}

.justify-center {
    justify-content: center !important;
}

.block {
    display: block !important;
}

.font-bold {
    font-weight: 700 !important;
}

.h2 {
    font-size: 2.5rem;
}

/* Navbar */

.bg-surface {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.pricing-intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.citation {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-text);
    border-left: 2px solid var(--color-primary);
    padding-left: 16px;
    margin: 16px 0;
}

.mini-list {
    list-style: none;
    padding-left: 0;
}

.mini-list li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.mini-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.opacity-1 {
    opacity: 0.1;
}

.mb-24 {
    margin-bottom: 24px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: visible;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Problem Section --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.problem-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.problem-icon i {
    width: 32px;
    height: 32px;
}

.problem-card h3 {
    font-size: 1.375rem;
}

.problem-result .highlight {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(191, 72, 0, 0.1);
    border: 1px solid rgba(191, 72, 0, 0.3);
    border-radius: 100px;
    color: #ff9d66;
    font-size: 1.25rem;
}

/* --- Solution Section --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-card {
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-bg) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text);
    position: relative;
    z-index: 2;
}

.solution-card p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* --- Process Section --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.2);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 1rem;
}

/* --- Offers Section --- */
.w-100 {
    width: 100%;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 40px;
}

.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-note {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.pricing-note p {
    color: var(--color-text-muted);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(0, 113, 227, 0.1) 0%, var(--color-surface) 100%);
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 32px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pricing-header .price {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-top: 16px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--color-text);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon i {
    width: 18px;
    height: 18px;
}

/* --- Audience Section --- */
.audience-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

.audience-text {
    flex: 1;
}

.audience-list {
    list-style: none;
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.audience-list li strong {
    color: var(--color-text);
    font-weight: 600;
}

.audience-image {
    flex: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--color-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon i {
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer p {
    padding-bottom: 24px;
    margin-bottom: 0;
}

/* --- Guarantee & CTA --- */
.guarantee-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--color-success);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon i {
    width: 64px;
    height: 64px;
}

.guarantee-text h2 {
    font-size: 1.75rem;
    color: var(--color-success);
}

.guarantee-text p {
    margin-bottom: 0;
}

.guarantee-text strong {
    color: var(--color-text);
}

.final-cta {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.15) 0%, rgba(10, 10, 10, 1) 70%);
}

.mt-4 {
    margin-top: 32px;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Secondary Pages Utilities --- */
.pt-160 {
    padding-top: 160px;
}

.pb-80 {
    padding-bottom: 80px;
}

.pt-32 {
    padding-top: 32px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-64 {
    margin-top: 64px;
}

.border-top {
    border-top: 1px solid var(--color-border);
}

/* --- About Page --- */
.about-content {
    display: flex;
    gap: 64px;
    align-items: center;
}

.about-text {
    flex: 1.5;
}

.expertise-highlights .highlight-item h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.expertise-highlights .highlight-item h3 i {
    color: var(--color-primary);
    width: 24px;
    height: 24px;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* --- Contact Page --- */
.contact-container {
    display: flex;
    gap: 64px;
    margin-top: 48px;
}

.contact-info h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info h4 i {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
}

.contact-form-wrapper {
    flex: 1.5;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .problem-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .pricing-table {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .audience-content,
    .about-content,
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Horizontal Scroll Carousel (Étude de Cas) --- */
.showcase-track {
    position: relative;
    /* The height determines how long the user has to scroll to see all cards. 
       4 cards * 100vh = 400vh is a good starting point. */
    height: 400vh;
}

.showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    align-items: center;
}

.showcase-container {
    display: flex;
    gap: 40px;
    padding: 0 5vw;
    /* Start with some offset from the left edge */
    width: max-content;
    /* Container width is determined by its children */
    /* Hardware acceleration for smooth transform */
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.showcase-card {
    width: 600px;
    /* Fixed width for each card */
    max-width: 80vw;
    /* Ensure it doesn't overflow small screens */
    flex-shrink: 0;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease;
}

.showcase-card.active {
    transform: scale(1.03) rotate(-1.5deg);
    box-shadow: 0 20px 80px rgba(10, 132, 255, 0.4), 0 0 40px rgba(10, 132, 255, 0.2);
    border-color: rgba(10, 132, 255, 0.6);
    z-index: 2;
}

.showcase-card:nth-child(even).active {
    transform: scale(1.03) rotate(1.5deg);
}

.showcase-card.active {
    transform: scale(1.03) rotate(-1.5deg);
    box-shadow: 0 20px 80px rgba(10, 132, 255, 0.4), 0 0 40px rgba(10, 132, 255, 0.2);
    border-color: rgba(10, 132, 255, 0.6);
    z-index: 2;
}

.showcase-card:nth-child(even).active {
    transform: scale(1.03) rotate(1.5deg);
}

.showcase-image-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img {
    transform: scale(1.05);
}

.showcase-text-wrap {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.step-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 16px;
    background: rgba(10, 132, 255, 0.1);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.showcase-text-wrap h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.showcase-text-wrap p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hero Mockup styles */
.hero-composition {
    margin-top: 64px;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
    z-index: 10;
    overflow: visible;
}

.hero-bg-item {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Keep them initially hidden behind center image */
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 1;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Disable pointer events so they don't block hovering the container */
    pointer-events: none;
}

.hero-bg-item.bg-left-top,
.hero-bg-item.bg-left-bottom,
.hero-bg-item.bg-right-top,
.hero-bg-item.bg-right-bottom {
    width: 25%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-bg-item {
        display: none;
    }
}

/* Hover effects - placed at the 4 corners of the mockup */
/* Top-left: appears on the top-left corner */
.hero-composition:hover .bg-left-top {
    transform: translate(calc(-50% - 420px), calc(-50% - 240px)) rotate(-12deg);
    opacity: 1;
    filter: brightness(1.05);
}

/* Bottom-left: appears on the bottom-left corner */
.hero-composition:hover .bg-left-bottom {
    transform: translate(calc(-50% - 420px), calc(-50% + 240px)) rotate(-6deg);
    opacity: 1;
    filter: brightness(1.05);
}

/* Top-right: appears on the top-right corner */
.hero-composition:hover .bg-right-top {
    transform: translate(calc(-50% + 420px), calc(-50% - 240px)) rotate(12deg);
    opacity: 1;
    filter: brightness(1.05);
}

/* Bottom-right: appears on the bottom-right corner */
.hero-composition:hover .bg-right-bottom {
    transform: translate(calc(-50% + 420px), calc(-50% + 240px)) rotate(6deg);
    opacity: 1;
    filter: brightness(1.05);
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateX(5deg) translateY(20px);
    opacity: 0;
    animation: mockupFadeIn 1s ease forwards 0.5s;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    z-index: 2;
    /* Content above background images */
}

@keyframes mockupFadeIn {
    to {
        opacity: 1;
        transform: rotateX(2deg) translateY(0);
    }
}

.hero-composition:hover .hero-mockup-container {
    transform: scale(1.03) rotate(-1.5deg);
    box-shadow: 0 20px 80px rgba(10, 132, 255, 0.4), 0 0 40px rgba(10, 132, 255, 0.2);
    border-color: rgba(10, 132, 255, 0.6);
}

.hero-mockup-img {
    width: 100%;
    display: block;
    height: auto;
}

/* --- Checkout Flow --- */
.checkout-page {
    background-color: var(--color-bg);
}

.checkout-main {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.checkout-container {
    max-width: 700px;
    width: 100%;
}

.progress-container {
    padding: 0 20px;
}

.progress-bar-bg {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.step-indicator.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(10, 132, 255, 0.3);
}

.form-container {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

.form-step.shake {
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(8px);
    }

    75% {
        transform: translateX(-8px);
    }
}

.form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

.form-control.error {
    border-color: #ff453a;
    box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.15);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-label {
    color: var(--color-text-muted);
}

.summary-value {
    text-align: right;
}

.total-row {
    margin-top: 24px;
    margin-bottom: 0;
}

.bg-stripe {
    background-color: #635bff;
    color: white;
}

.bg-stripe:hover {
    background-color: #534cdd;
    box-shadow: 0 8px 25px rgba(99, 91, 255, 0.4);
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .showcase-card {
        width: 80vw;
    }

    .showcase-text-wrap {
        padding: 30px 24px;
    }

    .showcase-text-wrap h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .showcase-card {
        width: 85vw;
    }

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

    .form-container {
        padding: 24px;
    }

    .hero-mockup-container {
        margin-top: 40px;
        border-radius: var(--radius-lg);
    }

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

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

    .process-timeline {
        flex-direction: column;
        gap: 40px;
        margin-top: 20px;
    }

    .process-timeline::before {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 60px;
    }
}