/* ============================================================================
   INTERLINK — MARKETING / LANDING PAGES
   Aligned with modern app theme (Plus Jakarta Sans, indigo/violet brand)
   ============================================================================ */

:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    --color-accent: #8b5cf6;
    --color-gray-900: #0f172a;
    --color-gray-800: #1e293b;
    --color-gray-700: #334155;
    --color-gray-600: #475569;
    --color-gray-500: #64748b;
    --color-gray-400: #94a3b8;
    --color-gray-200: #e2e8f0;
    --color-gray-100: #f1f5f9;
    --color-gray-50: #f8fafc;
    --color-success: #22c55e;
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-mesh: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                     radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
                     linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #f8fafc 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 20px 60px -15px rgba(99, 102, 241, 0.35);
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --nav-height: 72px;
    --container-max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    background: var(--color-gray-50);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--color-gray-900);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.skip-link:focus { top: 16px; }

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

/* ---------------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------------- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.landing-nav--static {
    position: relative;
}

.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.landing-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.landing-logo__img { height: 32px; width: auto; flex-shrink: 0; display: block; }

.signup-brand .landing-logo__img { height: 36px; }

.landing-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    color: var(--color-gray-700);
}

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

.landing-nav-link {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav-link:hover { color: var(--color-gray-900); }

.landing-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-gray-900);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.landing-nav-cta:hover { background: var(--color-gray-800); }

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-brand);
    color: white;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--color-gray-900);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover { border-color: #cbd5e1; }

.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.hero {
    padding: calc(var(--nav-height) + 80px) 0 100px;
    background: var(--gradient-mesh);
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-500);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-badge span { color: var(--color-primary); }

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--color-gray-900);
}

.hero-title em {
    font-style: normal;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--color-gray-500);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

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

@media (prefers-reduced-motion: no-preference) {
    .hero-visual .screenshot-frame {
        animation: hero-float 6s ease-in-out infinite;
    }
}

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

/* ---------------------------------------------------------------------------
   Screenshot browser frame
   --------------------------------------------------------------------------- */
.screenshot-frame {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    overflow: hidden;
}

.screenshot-frame--sm { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.screenshot-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-200);
}

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

.screenshot-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.screenshot-dots span:nth-child(1) { background: #f87171; }
.screenshot-dots span:nth-child(2) { background: #fbbf24; }
.screenshot-dots span:nth-child(3) { background: #34d399; }

.screenshot-url {
    flex: 1;
    padding: 6px 14px;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    color: var(--color-gray-500);
    border: 1px solid var(--color-gray-200);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.screenshot-body {
    aspect-ratio: 16 / 10;
    background: var(--color-gray-50);
    overflow: hidden;
}

.screenshot-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.screenshot-body--contain img { object-fit: contain; background: #f8fafc; }

/* ---------------------------------------------------------------------------
   Section utilities
   --------------------------------------------------------------------------- */
.section { padding: 100px 0; }

.section--white { background: white; }
.section--mesh { background: var(--gradient-mesh); }
.section--dark {
    background: var(--gradient-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: #eef2ff;
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section--dark .section-label {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.section--dark .section-subtitle { color: var(--color-gray-400); }

/* ---------------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------------- */
.trust-strip {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.trust-strip-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-400);
    margin-bottom: 20px;
}

.trust-strip-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.trust-brand {
    padding: 8px 16px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-600);
}

/* ---------------------------------------------------------------------------
   Product tour tabs
   --------------------------------------------------------------------------- */
.product-tour { padding: 100px 0; background: white; }

.tour-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.tour-tab {
    padding: 10px 20px;
    border: 1px solid var(--color-gray-200);
    border-radius: 50px;
    background: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.tour-tab:hover { border-color: #cbd5e1; color: var(--color-gray-900); }

.tour-tab.active {
    background: var(--gradient-brand);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tour-panels { max-width: 960px; margin: 0 auto; }

.tour-panel { display: none; }
.tour-panel.active { display: block; }

/* ---------------------------------------------------------------------------
   Feature cards
   --------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
}

.feature-thumb {
    margin: -4px -4px 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.feature-thumb .screenshot-body { aspect-ratio: 16 / 9; }

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; line-height: 1.6; color: var(--color-gray-500); }

/* ---------------------------------------------------------------------------
   Enterprise showcase (alternating rows)
   --------------------------------------------------------------------------- */
.enterprise-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.enterprise-row:last-child { border-bottom: none; }

.enterprise-row--reverse .enterprise-copy { order: 2; }
.enterprise-row--reverse .enterprise-visual { order: 1; }

.enterprise-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    margin-bottom: 20px;
}

.enterprise-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.enterprise-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-gray-400);
    margin-bottom: 20px;
}

.enterprise-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enterprise-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #cbd5e1;
}

.enterprise-points li i { color: #818cf8; flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   Differentiators
   --------------------------------------------------------------------------- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.diff-card {
    padding: 36px 28px;
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
}

.diff-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--gradient-brand);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.diff-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.diff-desc { font-size: 14px; line-height: 1.65; color: var(--color-gray-500); }

/* ---------------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------------- */
.cta-band {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.cta-band-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-band-subtitle {
    font-size: 18px;
    color: var(--color-gray-400);
    margin-bottom: 36px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand { margin-bottom: 12px; }
.footer-brand img { height: 28px; width: auto; display: block; }

.footer-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-gray-500);
    max-width: 300px;
}

.footer-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-400);
    margin-bottom: 14px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--color-gray-500);
}

.footer-bottom a { color: var(--color-primary); text-decoration: none; }

/* ---------------------------------------------------------------------------
   Pricing
   --------------------------------------------------------------------------- */
.page-hero {
    padding: calc(var(--nav-height) + 60px) 0 48px;
    text-align: center;
    background: var(--gradient-mesh);
}

.page-hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero-subtitle { font-size: 18px; color: var(--color-gray-500); }

.page-hero--pricing {
    padding-bottom: 48px;
}

.page-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.page-hero-lead {
    font-size: 18px;
    color: var(--color-gray-500);
    max-width: 520px;
    margin: 0 auto 20px;
}

.pricing-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
}

.pricing-hero-trust {
    font-size: 14px;
    color: var(--color-gray-500);
}

.pricing-currency-toggle {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.pricing-currency-toggle:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-sm);
}

.pricing-section {
    padding: 8px 0 72px;
    background: white;
}

.pricing-model-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 560px;
    margin: 28px auto 0;
    padding: 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray-600);
    letter-spacing: normal;
    word-spacing: normal;
}

.pricing-model-note-line {
    display: block;
}

.pricing-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.pricing-grid--tiers {
    padding: 0;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    padding: 40px 28px 28px;
    position: relative;
    min-height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: 0 16px 40px -12px rgba(99, 102, 241, 0.22);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 48px -12px rgba(99, 102, 241, 0.28);
}

.pricing-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-gray-100);
    min-height: 148px;
}

.popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    z-index: 1;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 14px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 14px;
    color: var(--color-gray-900);
}

.plan-price span {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-left: 2px;
}

.plan-seat-summary {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 4px;
}

.plan-storage {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.45;
}

.plan-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
    border-radius: 50%;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    margin-top: auto;
}

.plan-cta.primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 14px -4px rgba(99, 102, 241, 0.5);
}

.plan-cta.secondary {
    background: white;
    color: var(--color-gray-800);
    border: 1px solid var(--color-gray-200);
}

.plan-cta--light {
    background: white;
    color: var(--color-gray-900);
    border: none;
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.25);
}

.plan-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.plan-cta.primary:hover {
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.55);
}

/* Enterprise Plus - full-width band below tier cards */
.pricing-enterprise-plus {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
    border-radius: var(--radius-xl);
    padding: 1px;
    box-shadow: var(--shadow-xl);
}

.pricing-enterprise-plus-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(200px, 220px);
    gap: 32px 40px;
    align-items: center;
    padding: 36px 40px;
    border-radius: calc(var(--radius-xl) - 1px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 27, 75, 0.98) 100%);
}

.pricing-enterprise-plus-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 10px;
}

.pricing-enterprise-plus-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 10px;
}

.pricing-enterprise-plus-lead {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 16px;
    max-width: 36ch;
}

.pricing-enterprise-plus-spec {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.pricing-enterprise-plus-spec span {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.pricing-enterprise-plus-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
}

.pricing-enterprise-plus-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.45;
}

.pricing-enterprise-plus-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(34, 197, 94, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
    border-radius: 50%;
}

.pricing-enterprise-plus-cta {
    text-align: center;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-enterprise-plus-price {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 4px;
}

.pricing-enterprise-plus-price-note {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.pricing-footnote {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-footnote a {
    color: var(--color-primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.pricing-footnote a:hover {
    text-decoration: underline;
}

/* Module comparison table */
.module-compare {
    padding: 0 0 80px;
}

.module-compare-header {
    margin-bottom: 32px;
}

@media (max-width: 639px) {
    .pricing-card-header {
        min-height: 0;
    }

    .pricing-model-note {
        max-width: 100%;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .module-compare {
        padding-bottom: 48px;
    }

    .compare-table-wrap {
        margin-inline: -24px;
        border-radius: 0;
        border-inline: none;
    }

    .compare-table {
        table-layout: auto;
        min-width: 520px;
    }

    .competitor-table {
        min-width: 640px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
    }

    .compare-table th:first-child,
    .compare-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        width: auto;
        min-width: 140px;
        max-width: 180px;
        padding-left: 20px;
        background: #fff;
        box-shadow: 2px 0 6px rgba(15, 23, 42, 0.06);
    }

    .compare-table th:first-child {
        z-index: 2;
        background: var(--color-gray-50);
    }

    .compare-table th:not(:first-child) {
        white-space: nowrap;
        width: auto;
        min-width: 80px;
        font-size: 12px;
        padding-inline: 10px;
    }

    .compare-table td:not(:first-child) {
        width: auto;
        min-width: 56px;
    }

    .compare-scroll-hint {
        display: block;
        margin: -16px 0 12px;
        font-size: 13px;
        color: var(--color-gray-500);
    }
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    background: white;
}

.compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.competitor-table {
    min-width: 580px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-100);
    vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 44%;
    padding-left: 24px;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
    width: 18.66%;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
}

.compare-table th {
    background: var(--color-gray-50);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.compare-table td:first-child {
    color: var(--color-gray-700);
    line-height: 1.45;
}

.compare-check,
.compare-dash,
.compare-partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

.compare-check { color: var(--color-success); font-weight: 700; font-size: 16px; }
.compare-dash { color: var(--color-gray-400); font-size: 15px; }

.compare-table tr:last-child td { border-bottom: none; }

.compare-partial {
    color: var(--landing-muted, #64748b);
    font-weight: 600;
    font-size: 15px;
}

.competitor-compare {
    margin-bottom: 64px;
}

.module-compare-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 720px;
}

.compare-scroll-hint {
    display: none;
}

.faq { padding: 80px 0; background: white; }
.faq-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 40px; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--color-gray-500); font-size: 15px; line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Signup
   --------------------------------------------------------------------------- */
.signup-page { min-height: 100vh; display: flex; flex-direction: column; }

.signup-body { flex: 1; display: flex; min-height: calc(100vh - var(--nav-height)); }

.signup-brand {
    flex: 1;
    background: var(--gradient-dark);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 64px;
    position: relative;
    overflow: hidden;
}

.signup-brand::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.signup-brand-content { position: relative; z-index: 1; max-width: 440px; }

.signup-brand-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.signup-brand-subtitle { font-size: 16px; color: var(--color-gray-400); line-height: 1.6; margin-bottom: 32px; }

.signup-carousel { position: relative; }

.signup-carousel .screenshot-frame { box-shadow: var(--shadow-xl); }

.signup-form-section {
    width: min(540px, 100%);
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.signup-form-header { margin-bottom: 28px; }
.signup-form-title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.signup-form-subtitle { color: var(--color-gray-500); font-size: 15px; }

.error-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signup-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 600; color: var(--color-gray-700); }

.form-input {
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.slug-input-wrapper { display: flex; align-items: center; }
.slug-input { flex: 1; border-radius: var(--radius-md) 0 0 var(--radius-md); border-right: none; }

.slug-suffix {
    padding: 0 12px;
    height: 48px;
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    align-items: center;
    color: var(--color-gray-500);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.plan-select { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.plan-option {
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.plan-option:hover { border-color: #cbd5e1; }
.plan-option.selected { border-color: var(--color-primary); background: #eef2ff; }
.plan-option input { display: none; }
.plan-option-name { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.plan-option-price { color: var(--color-gray-500); font-size: 12px; }

.signup-submit {
    height: 52px;
    background: var(--gradient-brand);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
    transition: transform 0.15s;
}

.signup-submit:hover { transform: translateY(-1px); }

.signup-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--color-gray-500); }
.signup-footer a { color: var(--color-primary); text-decoration: none; font-weight: 500; }

/* ---------------------------------------------------------------------------
   Success page
   --------------------------------------------------------------------------- */
.success-page {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--gradient-mesh);
}

.success-card {
    background: white;
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.4);
}

.success-title { font-size: 30px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.success-message { font-size: 16px; color: var(--color-gray-500); line-height: 1.6; margin-bottom: 28px; }

.workspace-url {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--color-gray-50);
    border: 2px dashed var(--color-gray-200);
    border-radius: 12px;
    margin-bottom: 28px;
}

.workspace-url-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.workspace-url-text { text-align: left; }
.workspace-url-label { font-size: 11px; color: var(--color-gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.workspace-url-link { font-size: 15px; font-weight: 600; color: var(--color-gray-900); text-decoration: none; word-break: break-all; }
.workspace-url-link:hover { color: var(--color-primary); }

.next-steps { text-align: left; margin-bottom: 28px; }
.next-steps-title { font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.03em; }

.next-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.next-step:last-child { border-bottom: none; }

.next-step-number {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.next-step-text { font-size: 14px; color: var(--color-gray-700); line-height: 1.5; }
.success-footer { margin-top: 24px; font-size: 14px; color: var(--color-gray-500); }
.success-footer a { color: var(--color-primary); text-decoration: none; font-weight: 500; }

/* ---------------------------------------------------------------------------
   Demo tour page
   --------------------------------------------------------------------------- */
.demo-hero {
    padding: calc(var(--nav-height) + 60px) 0 48px;
    text-align: center;
    background: var(--gradient-mesh);
}

.demo-gallery {
    padding: 0 0 80px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.demo-item {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.demo-item:hover { box-shadow: var(--shadow-lg); }

.demo-item-caption {
    padding: 20px 24px;
}

.demo-item-caption h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.demo-item .screenshot-frame {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.demo-cta-band {
    text-align: center;
    padding: 48px 0 80px;
}

/* ---------------------------------------------------------------------------
   Utilities
   --------------------------------------------------------------------------- */
.lucide-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* Lucide icon font (templates use lucide-*; font CSS expects icon-*) */
i.lucide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

i.lucide::before {
    font-family: lucide !important;
    font-style: normal;
    font-weight: normal;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.text-center { text-align: center; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; max-width: 640px; margin: 0 auto; }
    .hero-subtitle { max-width: none; }
    .enterprise-row,
    .enterprise-row--reverse { grid-template-columns: 1fr; gap: 32px; }
    .enterprise-row--reverse .enterprise-copy,
    .enterprise-row--reverse .enterprise-visual { order: unset; }
    .features-grid,
    .diff-grid,
    .pricing-grid--tiers,
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-enterprise-plus-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .pricing-enterprise-plus-cta {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-left: 0;
        padding-top: 24px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
    }
    .pricing-enterprise-plus-cta .plan-cta {
        width: auto;
        min-width: 180px;
        margin-top: 0;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .landing-nav-toggle { display: flex; }

    .landing-nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        background: white;
        border-bottom: 1px solid var(--color-gray-200);
        box-shadow: var(--shadow-lg);
    }

    .landing-nav-links.is-open { display: flex; }

    .landing-nav-link { padding: 12px 0; }
    .landing-nav-cta { text-align: center; justify-content: center; margin-top: 8px; }

    .features-grid,
    .diff-grid,
    .pricing-grid--tiers,
    .faq-grid,
    .demo-grid { grid-template-columns: 1fr; }

    .pricing-enterprise-plus-inner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 24px;
    }

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

    .pricing-enterprise-plus-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .pricing-enterprise-plus-cta .plan-cta {
        width: 100%;
    }

    .pricing-enterprise-plus-lead {
        max-width: none;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .signup-body { flex-direction: column; }
    .signup-brand { padding: 40px 32px; }
    .signup-form-section { width: 100%; padding: 32px 24px; }
    .plan-select { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-visual .screenshot-frame { animation: none; }
    .btn-primary:hover,
    .plan-cta:hover,
    .success-cta:hover { transform: none; }
}
