:root {
    --bg-dark: #0b0b0b;
    --bg-card: #141414;
    --text-primary: #f5f3ee;
    --text-secondary: #a6a4a0;
    --border: #262626;
    --accent: #f5f3ee;
    --accent-hover: #e5e1d6;
    --brand-accent: #708a81;
    --premium-accent: #708a81;
    --bg-dark-alt: #101010;
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-serif: 'Fraunces', serif;
    --font-display: 'Playfair Display', serif;

    --grad-hero:
        radial-gradient(1200px 600px at 50% 0%, oklch(0.4 0.035 145 / 0.7), transparent 60%),
        radial-gradient(800px 400px at 80% 100%, oklch(0.36 0.04 140 / 0.5), transparent 60%);

    --nav-offset: 5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

#contact-top {
    scroll-margin-top: var(--nav-offset);
}

#pricing {
    scroll-margin-top: calc(var(--nav-offset) + 2rem);
}

body {
    background-color: var(--bg-dark);
    background-image: var(--grad-hero);
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Flow Setup to handle French expansion */
h1, h2, p, a, button {
    overflow-wrap: break-word;
    word-break: break-word;
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    grid-column: 1;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    white-space: nowrap;
    user-select: none; /*makes text unselectable */
}

nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text-primary);
}

.lang-toggle {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem;
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: inherit;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.lang-toggle button:hover {
    color: var(--text-primary);
}

.lang-toggle button.active {
    color: var(--bg-dark);
    background: var(--text-primary);
}

.lang-toggle button.active:hover {
    color: var(--bg-dark);
}

.hero {
    position: relative;
    width: 100%;
    margin: 0 0 4rem;
    padding: 6rem 1rem 3rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.88) 65%, var(--bg-dark) 100%),
        url('/images/background/hero-trust-dark-1.jpg') center / cover no-repeat;
    transform: scale(1.15);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    user-select: none;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    user-select: none;
}

.hero h1 .muted {
    color: var(--text-secondary);
    opacity: 0;
    animation: hero-muted-in 1s ease forwards;
    animation-delay: 1.5s;
}

@keyframes hero-muted-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: hero-sub-in 1s ease forwards;
    animation-delay: 3.5s;
}

@keyframes hero-sub-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-dropdown {
    display: grid;
    grid-template-rows: 0fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dropdown.open {
    grid-template-rows: 1fr;
}

.hero-dropdown-inner {
    overflow: hidden;
}

.hero-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-form-card h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
}

.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea {
    background: var(--bg-dark);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form-card input:focus,
.hero-form-card select:focus,
.hero-form-card textarea:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(112, 138, 129, 0.18);
}

.hero-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #94a89a, var(--premium-accent));
    color: #0b0b0b;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #a8bab0, #7f978c);
}

#nav-cta-btn {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

#nav-cta-btn:hover {
    background: #f4f4f4;
}

.btn-nav {
    padding: 0.55rem 1.25rem;
    font-size: 0.8125rem;
}

.ai-engine {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ai-engine.visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-engine-head {
    margin-bottom: 2.5rem;
}

.ai-engine-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 640px;
}

.ai-engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ai-chat-label,
.ai-capabilities-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.persona-toggle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.persona-toggle-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.persona-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.persona-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.persona-btn.is-active {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--text-primary);
}

.ai-chat-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.ai-chat-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-dark);
    font-size: 1.1rem;
}

.ai-chat-header-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
}

.ai-chat-header-status {
    display: block;
    font-size: 0.75rem;
    color: #22c55e;
}

.ai-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.chat-bubble {
    max-width: 82%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.5;
    animation: chat-msg-in 0.25s ease;
}

.chat-bubble-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
    margin-bottom: 0.3rem;
}

.chat-bubble-guest {
    align-self: flex-end;
    background: var(--text-primary);
    color: var(--bg-dark);
}

.chat-bubble-ai {
    align-self: flex-start;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.ai-chat-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
}

.ai-chat-form input {
    flex: 1;
    border: none;
    border-radius: 8px;
    background: var(--bg-dark);
    font-size: 0.875rem;
}

.ai-chat-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 163, 74, 0.35);
}

.ai-chat-form button {
    padding: 0.6rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: var(--premium-accent);
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.ai-chat-form button:hover {
    opacity: 0.85;
}

.ai-chat-form button:disabled,
.ai-chat-form input:disabled {
    opacity: 0.6;
    cursor: default;
}

.ai-chat-live-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.ai-capabilities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-capabilities-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ai-capability-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--premium-accent);
}

.ai-capability-icon svg {
    width: 22px;
    height: 22px;
}

.ai-capabilities-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ai-capabilities-list span {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.stat-callout {
    max-width: 1100px;
    margin: 0 auto 8rem;
    user-select: none;
    padding: 3rem 1rem 2.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.stat-callout.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-callout-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: center;
    gap: 4rem;
}

.stat-callout-figure {
    text-align: left;
}

.stat-callout-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-variant-numeric: oldstyle-nums;
    letter-spacing: -0.01em;
    line-height: 1;
    font-size: clamp(2.75rem, 1.5rem + 3vw, 4.5rem);
    color: var(--premium-accent);
}

.stat-counter.counted .stat-callout-number {
    animation: stat-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
}

.stat-callout-number-muted {
    color: var(--accent-hover);
}

.stat-callout-divider {
    width: min(100%, 17rem);
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

.stat-callout-caption {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.stat-callout-copy {
    font-size: clamp(1.0625rem, 0.85rem + 1vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
    text-wrap: balance;
}

.stat-callout .accent-stat {
    color: var(--premium-accent);
    font-weight: 700;
}

.speed-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.metric {
    background: var(--bg-card);
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.metric-accent {
    background: var(--bg-dark-alt);
}

.metric-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-variant-numeric: oldstyle-nums;
    letter-spacing: -0.01em;
    line-height: 1;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    color: var(--premium-accent);
    margin-bottom: 0.6rem;
}

.metric-label {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.speed-metrics-source {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 768px) {
    .ai-engine-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .speed-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-callout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .stat-callout-figure {
        text-align: center;
    }

    .stat-callout-divider {
        margin: 1.25rem auto;
    }
}

@keyframes stat-pop {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-counter.counted .stat-callout-number {
        animation: none;
    }
}

.process {
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    scroll-margin-top: calc(var(--nav-offset) + 1rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
}

.process h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 3vw, 4.25rem);
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin-bottom: 2rem;
}

.process::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.process-card {
    position: relative;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    padding: 1.3rem 1.5rem 1.5rem;
    min-height: 170px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease;
}

.process-card.visible {
    opacity: 1;
    transform: scale(1);
}

.process-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.process-num {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
    color: var(--premium-accent);
    margin-bottom: 0.9rem;
}

.process-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.4vw, 1.8rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    letter-spacing: -0.035em;
}

.process-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 28ch;
}

.foundation {
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.foundation.visible {
    opacity: 1;
    transform: translateY(0);
}

.foundation .eyebrow {
    text-align: center;
}

.foundation h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0 auto 0.75rem;
}

.foundation-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 520px;
}

.foundation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.services {
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.services.visible {
    opacity: 1;
    transform: translateY(0);
}

.services .eyebrow {
    text-align: center;
}

.services h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0 auto 0.75rem;
}

.services-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 520px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    text-align: left;
    align-items: stretch;
}

.service-card {
    padding: 2.25rem 2rem;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:nth-child(1) {
    transform: translateX(-70px) scale(0.92);
}

.service-card:nth-child(3) {
    transform: translateX(70px) scale(0.92);
    transition-delay: 0.12s;
}

.services-grid .card.visible {
    transform: translateX(0) scale(1);
}

.service-card .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--premium-accent);
}

.service-card .feature-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}

.service-pain {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: auto;
    padding-bottom: 1.75rem;
}

.service-fit {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.service-fit p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(1),
    .service-card:nth-child(3) {
        transform: translateY(24px) scale(0.94);
        transition-delay: 0s;
    }

    .services-grid .card.visible {
        transform: translateY(0) scale(1);
    }
}

.mockups {
    max-width: 1360px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    scroll-margin-top: calc(var(--nav-offset) + 1rem);
    overflow-x: clip;
}

.mockups.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockups .eyebrow {
    text-align: center;
}

.mockups h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0 auto 0.75rem;
}

.mockups-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 480px;
}

.mockup-devices {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.macbook-mockup {
    position: relative;
    flex: 1 1 780px;
    max-width: 900px;
    aspect-ratio: 1920 / 1088;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translate3d(-60px, 90px, 0);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockups.visible .macbook-mockup {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.macbook-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.macbook-slide.is-active {
    opacity: 1;
}

.phone-mockup {
    position: relative;
    flex: 0 0 auto;
    width: 270px;
    aspect-ratio: 1134 / 2168;
    opacity: 0;
    transform: translate3d(60px, 90px, 0);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.mockups.visible .phone-mockup {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.phone-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.phone-slide.is-active {
    opacity: 1;
}

.macbook-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.macbook-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.macbook-dot.is-active {
    background: var(--text-primary);
    transform: scale(1.2);
}

.pricing {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-grid.single-plan {
    grid-template-columns: minmax(300px, 980px);
    justify-content: center;
    margin-left: -2.25rem;
    margin-right: -2.25rem;
    margin-inline: auto;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card.visible {
    opacity: 1;
    transform: scale(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.14);
}

.pricing .card.highlight {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.pricing .card.highlight:hover {
    border-color: transparent;
    box-shadow: none;
}

.card.highlight {
    border-color: rgba(224, 176, 75, 0.8);
}

.card.highlight:hover {
    border-color: rgba(224, 176, 75, 0.9);
    box-shadow: 0 26px 60px rgba(224, 176, 75, 0.12);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    white-space: nowrap;
    z-index: 2;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 2rem 0 0;
    flex-grow: 1;
}

.feature-box {
    position: relative;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem 1.5rem 1.75rem;
    min-height: 140px;
    color: var(--text-primary);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--premium-accent);
    opacity: 0.9;
}

.feature-box:nth-child(even) {
    background: var(--bg-dark-alt);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-accent);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-box strong {
    font-size: 1.05rem;
    font-weight: 600;
}

.feature-box span {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.feature-box:hover {
    border-color: rgba(224, 176, 75, 0.8);
    transform: translateY(-2px);
}

.features-extra {
    position: relative;
    max-height: 116px;
    overflow: hidden;
    margin: 0 0 2.5rem;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-extra::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: linear-gradient(180deg, transparent, var(--bg-dark) 88%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.features-extra.is-expanded::after {
    opacity: 0;
}

.features-extra-inner {
    min-height: 0;
}

.features-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    padding-top: 1.8rem;
}

.features-extra.is-expanded .features-extra-grid {
    opacity: 1;
    transition: opacity 0.35s ease 0.1s;
}

.features-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin: -0.5rem 0 1.5rem;
    padding: 0.7rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.features-toggle:hover {
    border-color: rgba(224, 176, 75, 0.8);
    color: var(--text-primary);
}

.features-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.features-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.timeline {
    font-size: 0.875rem;
    font-weight: 600;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.maintenance {
    max-width: 1000px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    text-align: center;
    scroll-margin-top: calc(var(--nav-offset) + 1rem);
}

.maintenance h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.maintenance-sub {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
    align-items: stretch;
    text-align: left;
    overflow-x: clip;
}

.maint-card {
    padding: 1.75rem 2rem;
    transform: translateX(-70px) scale(0.92);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.maint-premium {
    transform: translateX(70px) scale(0.92);
    transition-delay: 0.12s;
}

.maintenance-grid .maint-card.visible {
    transform: translateX(0) scale(1);
}

.maint-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.maintenance-grid .maint-card.visible:hover {
    transform: translateX(0) scale(1);
}

.maint-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.maint-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.maint-list-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.maint-list-label-excl {
    margin-top: 0.5rem;
}

.maint-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
}

.maint-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.maint-list-excl li {
    color: var(--text-secondary);
}

.check-icon,
.x-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.check-icon svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

.x-icon svg {
    width: 18px;
    height: 18px;
    color: #f87171;
}

.maint-angle {
    font-size: 0.8125rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin: 0.5rem 0 0;
}

.maint-premium {
    border-color: rgba(224, 176, 75, 0.35);
}

.maint-premium:hover {
    border-color: rgba(224, 176, 75, 0.55);
    box-shadow: none;
}

.maint-badge {
    position: static;
    display: inline-block;
    transform: none;
    background: transparent;
    border: 1px solid rgba(224, 176, 75, 0.5);
    color: var(--premium-accent);
    box-shadow: none;
    margin-bottom: 0.75rem;
}

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

    .maint-card {
        padding: 2rem 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .hero-form-card {
        padding: 2rem 1.5rem;
    }
}

.contact {
    max-width: 600px;
    margin: 0 auto 8rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    overflow-x: clip;
}

.contact.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
}

.reassure-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.reassure-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reassure-item svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.reassure-left {
    transform: translateX(-48px);
}

.reassure-right {
    transform: translateX(48px);
}

.reassure-mid {
    transform: translateY(12px);
    transition-delay: 0.2s;
}

.contact.visible .reassure-item {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.contact h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-progress {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-progress-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 0.6rem;
}

.form-progress-step {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.form-progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.form-progress-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.25s, transform 0.25s;
}

.form-progress-dots .dot.active {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    transform: scale(1.25);
}

.form-progress-dots .dot.done {
    background: #4ade80;
}

.form-step {
    display: none;
    animation: form-step-in 0.35s ease;
}

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

@keyframes form-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-nav {
    display: flex;
    gap: 0.75rem;
}

.form-nav .btn {
    flex: 1;
}

.form-nav .form-back-btn {
    flex: 0 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    background: var(--bg-dark);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(112, 138, 129, 0.18);
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
}

.form-status {
    display: none;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
    border: 1px solid transparent;
}

.form-status.visible {
    display: block;
}

.form-status.success {
    background: rgba(112, 138, 129, 0.1);
    border-color: rgba(112, 138, 129, 0.35);
    color: var(--brand-accent);
}

.form-status.error {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.35);
    color: #f87171;
}

footer {
    text-align: center;
    padding: 3rem 1rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

footer .logo {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

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

#cookie-banner {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 250;
    width: 360px;
    max-width: calc(100vw - 3rem);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#cookie-banner p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-actions button {
    flex: 1;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
}

.policy {
    max-width: 720px;
    margin: 5rem auto 6rem;
    padding: 0 1rem;
}

.policy h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.policy .updated {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.policy h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 2.25rem 0 0.75rem;
}

.policy p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy a {
    color: var(--brand-accent);
}

.policy .policy-back-btn {
    margin-top: 4.5rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    #cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }
}

#chat-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
}

#chat-toggle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: none;
    background: var(--text-primary);
    color: var(--bg-dark);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

#chat-toggle:hover {
    transform: scale(1.05);
}

#chat-panel {
    position: absolute;
    bottom: 4.25rem;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 3rem);
    height: 400px;
    max-height: calc(100vh - 6rem);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-header button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.4;
    word-break: break-word;
    animation: chat-msg-in 0.25s ease;
}

@keyframes chat-msg-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg-user {
    align-self: flex-end;
    background: var(--text-primary);
    color: var(--bg-dark);
}

.chat-msg-assistant {
    align-self: flex-start;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

#chat-form {
    display: flex;
    border-top: 1px solid var(--border);
}

#chat-form input {
    flex: 1;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 0.8125rem;
}

#chat-form input:focus {
    outline: none;
}

#chat-form button {
    padding: 0 1rem;
    border: none;
    background: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0 1rem;
        padding: 0.5rem 1rem;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }

    nav.mobile-open {
        display: flex;
    }

    nav a {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav a:last-child {
        border-bottom: none;
    }

    #nav-cta-btn {
        display: none;
    }

    .lang-toggle button {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem 0.9rem;
    }

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

    .process-grid,
    .features-grid,
    .features-extra-grid,
    .foundation-grid {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    #chat-form input {
        font-size: 16px;
    }
}
