:root {
    --color-bg: #0a0a0f;
    --color-surface: #141420;
    --color-card: rgba(255, 255, 255, 0.06);
    --color-text: #eaf0ff;
    --color-muted: rgba(234, 240, 255, 0.72);
    --color-text-dark: #6b7280;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-primary: #6366f1;
    --color-secondary: #14b8a6;
    --color-danger: #ef4444;
    --color-success: #10b981;
    --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(900px 600px at 20% 10%, rgba(120, 170, 255, 0.12), transparent 55%),
                radial-gradient(800px 500px at 80% 10%, rgba(120, 255, 220, 0.08), transparent 55%),
                var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.offer {
    width: min(1200px, 94vw);
    margin: 0 auto;
    padding: 24px 0 60px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--color-muted);
}

.breadcrumb a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb-sep {
    opacity: 0.4;
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 500;
}

/* Hero */
.hero {
    padding: 20px 0 48px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.kicker {
    color: var(--color-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 12px;
}

h1 {
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    font-weight: 700;
}

.subtitle {
    margin: 0 0 28px;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 1.0625rem;
}

.hero-visual {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 380px;
    height: auto;
}

/* Actions */
.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.18s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    color: var(--color-text);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
}

/* Section Common */
section {
    margin: 64px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.gain-tag {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Pain Points */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pain-card {
    padding: 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.pain-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon svg {
    width: 48px;
    height: 48px;
}

.pain-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f87171;
}

.pain-card p {
    color: var(--color-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Gain Points */
.gain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gain-card {
    padding: 24px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.gain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.gain-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
}

.gain-icon svg {
    width: 32px;
    height: 32px;
}

.gain-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #34d399;
}

.gain-card p {
    color: var(--color-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.gain-metric {
    display: inline-block;
    margin-top: 8px;
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #10b981;
}

/* Workflow Visual */
.workflow-visual-section {
    margin: 64px 0;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(20, 184, 166, 0.02));
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.workflow-container {
    margin-top: 40px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 48px 32px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    background: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
    animation: workflowPulse 3s ease-in-out infinite;
}

.workflow-node:nth-child(2) {
    animation-delay: 0.3s;
}

.workflow-node:nth-child(4) {
    animation-delay: 0.6s;
}

.workflow-node:nth-child(6) {
    animation-delay: 0.9s;
}

.workflow-node:nth-child(8) {
    animation-delay: 1.2s;
}

@keyframes workflowPulse {
    0%, 100% {
        border-color: var(--color-border);
        box-shadow: 0 0 0 rgba(99, 102, 241, 0);
    }
    50% {
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    }
}

.workflow-node-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.workflow-node-1 .workflow-node-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
    color: #6366f1;
}

.workflow-node-2 .workflow-node-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    color: #8b5cf6;
}

.workflow-node-3 .workflow-node-icon {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.05));
    color: #14b8a6;
}

.workflow-node-4 .workflow-node-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981;
}

.workflow-node:hover .workflow-node-icon {
    transform: scale(1.1) rotate(5deg);
}

.workflow-node span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.workflow-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
    opacity: 0.6;
    margin: 0 8px;
    display: flex;
    align-items: center;
}

.workflow-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.workflow-stat {
    text-align: center;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.workflow-stat:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.workflow-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.workflow-stat-label {
    font-size: 0.9375rem;
    color: var(--color-muted);
}

/* How it works */
.how-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.how-step:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Included */
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.included-card {
    padding: 24px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.included-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.included-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.included-icon svg {
    width: 28px;
    height: 28px;
}

.included-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.included-card p {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.spec-card {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
}

.spec-label {
    font-size: 0.8125rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Pricing */
.pricing-section {
    max-width: 700px;
    margin: 64px auto;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.05));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pricing-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--color-muted);
}

.pricing-body {
    padding: 32px;
}

.price-range {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.pricing-includes {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-includes li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-includes li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: #10b981;
    flex-shrink: 0;
}

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

/* Final CTA */
.final {
    margin: 64px 0;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(20, 184, 166, 0.08));
    text-align: center;
}

/* Animation d'entrée pour les cartes */
@keyframes card-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pain-card,
.gain-card,
.how-step,
.included-card,
.spec-card {
    animation: card-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.pain-card:nth-child(1),
.gain-card:nth-child(1),
.how-step:nth-child(1),
.included-card:nth-child(1),
.spec-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pain-card:nth-child(2),
.gain-card:nth-child(2),
.how-step:nth-child(2),
.included-card:nth-child(2),
.spec-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pain-card:nth-child(3),
.gain-card:nth-child(3),
.how-step:nth-child(3),
.included-card:nth-child(3),
.spec-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pain-card:nth-child(4),
.gain-card:nth-child(4),
.how-step:nth-child(4),
.included-card:nth-child(4),
.spec-card:nth-child(4) {
    animation-delay: 0.4s;
}

.pain-card:nth-child(5),
.gain-card:nth-child(5),
.how-step:nth-child(5),
.included-card:nth-child(5),
.spec-card:nth-child(5) {
    animation-delay: 0.5s;
}

.pain-card:nth-child(6),
.gain-card:nth-child(6),
.how-step:nth-child(6),
.included-card:nth-child(6),
.spec-card:nth-child(6) {
    animation-delay: 0.6s;
}

.final h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.final p {
    color: var(--color-muted);
    margin-bottom: 24px;
    font-size: 1.0625rem;
}

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

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
}

.offer-footer p {
    color: var(--color-muted);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.is-in,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        order: -1;
        min-height: 220px;
    }

    .pain-grid, .gain-grid {
        grid-template-columns: 1fr;
    }

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

    .workflow-diagram {
        flex-direction: column;
        padding: 32px 20px;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .workflow-node {
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .offer {
        padding: 16px 0 40px;
    }

    section {
        margin: 48px 0;
    }

    .final {
        padding: 32px 20px;
    }

    .pricing-body {
        padding: 24px;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .workflow-visual-section {
        padding: 32px 20px;
    }

    .workflow-node {
        min-width: 100%;
        padding: 20px 16px;
    }

    .workflow-node-icon {
        width: 48px;
        height: 48px;
    }

    .workflow-node-icon svg {
        width: 32px;
        height: 32px;
    }

    .workflow-stat {
        padding: 20px;
    }

    .workflow-stat-value {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .pain-card, .gain-card, .how-step {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
