/* ===================================
   Global Styles & Reset - Light Theme
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Izara marketing-site palette — deep teal on teal-tinted ink, with a
       restrained amber accent, matching the product itself. Variable NAMES
       are kept as primary-purple/primary-pink/gradient-purple-pink etc.
       since they're referenced ~150 times across this file — only the
       VALUES change, so the whole site re-skins from one edit. */
    --primary-purple: #0F766E;   /* violet-600 — brand primary */
    --primary-pink: #0D9488;     /* fuchsia-500 — accent/gradient partner */
    --primary-blue: #115E59;     /* violet-700 — hover state */
    --deep-slate: #0B2422;       /* slate-900 — dark sections */
    --light-bg: #FFFFFF;
    --light-bg-secondary: #F3F7F5;   /* slate-50 */
    --light-card: #FFFFFF;
    --light-card-hover: #F3F7F5;
    --text-primary: #0B2422;     /* slate-900 */
    --text-secondary: #52625F;   /* slate-500 */
    --text-muted: #8A9A97;       /* slate-400 */
    --border-color: #DCE5E2;     /* slate-200 */
    --border-color-light: #EDF3F1;  /* slate-100 */
    --gradient-purple-pink: linear-gradient(120deg, #0F766E 0%, #0D9488 55%, #0F766E 100%);
    --gradient-purple-blue: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
    --accent: #D97706;           /* amber-600 — used sparingly */
    --accent-soft: #FEF3C7;
    --sea-50: #EAF5F2;           /* teal wash for icon tiles and chips */
    --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
    --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(11, 36, 34, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(11, 36, 34, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(11, 36, 34, 0.10);

    /* Extra semantic tokens the marketing-site component library needs
       beyond the brand pair above (module color-coding, chips, ratings). */
    --violet-50: #EAF5F2;
    --violet-700: #115E59;
    --emerald-50: #ECFDF5;
    --emerald-600: #059669;
    --amber-50: #FFFBEB;
    --amber-400: #FBBF24;
    --rose-500: #F43F5E;
    --blue-500: #3B82F6;
    --fuchsia-500: #0D9488;
    --orange-500: #F97316;
    --slate-900: #0B2422;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; color: #fff; }
.logo-badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary-purple);
    background: rgba(15, 118, 110,.1);
    border-radius: 999px;
    padding: 3px 10px;
    -webkit-text-fill-color: initial;
}

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

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.nav-link:hover {
    color: var(--primary-purple);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    line-height: 1;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--light-bg-secondary);
    border-color: var(--primary-purple);
}

.btn-dark {
    background: var(--deep-slate);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    background: #123634;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-full-width {
    width: 100%;
    text-align: center;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #F8F9FC 0%, #FFFFFF 100%);
}

.hero-gradient {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.badge-new {
    background: var(--gradient-purple-pink);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 12px;
}

.rating {
    color: var(--primary-pink);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-mockup { display: flex; justify-content: center; margin: 48px 0; position: relative; z-index: 1; }
.hero-mockup-card { width: 100%; max-width: 720px; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: start; }
.hero-mockup-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--light-bg-secondary); border-bottom: 1px solid var(--border-color); }
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); }
.hero-mockup-url { margin-inline-start: 10px; font-family: monospace; font-size: 12px; color: var(--text-muted); background: #fff; border: 1px solid var(--border-color); border-radius: 999px; padding: 3px 12px; }
.hero-mockup-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px; }
.hero-mockup-tile { border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 18px; background: var(--light-bg-secondary); }
.hero-mockup-tile .k { font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.hero-mockup-tile .v { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-top: 6px; }
@media (max-width: 560px) { .hero-mockup-body { grid-template-columns: 1fr; } }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Section Styles
   =================================== */
.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   Manifesto Section
   =================================== */
.manifesto {
    padding: 120px 0;
    text-align: center;
    background: white;
}

.manifesto .section-subtitle {
    margin: 0 auto;
}

/* ===================================
   System Section
   =================================== */
.system-section {
    padding: 120px 0;
    background: var(--light-bg-secondary);
}

.system-header {
    margin-bottom: 80px;
}

.system-header .section-description {
    max-width: 600px;
    margin-top: 16px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.module-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple-pink);
    opacity: 0;
    transition: opacity 0.3s;
}

.module-card:hover {
    background: white;
    border-color: var(--primary-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.module-card:hover::before {
    opacity: 1;
}

.module-number {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.module-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.module-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.module-subtitle {
    font-size: 14px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 12px;
}

.module-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.module-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.module-link:hover {
    color: var(--primary-pink);
}

/* ===================================
   AI Section
   =================================== */
.ai-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF6F3 50%, #FFFFFF 100%);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 0;
}

.chat-window {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-header {
    background: var(--light-bg-secondary);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.chat-status {
    color: #00CC66;
}

.chat-messages {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
    background: var(--light-bg);
}

.chat-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-message.user {
    background: rgba(15, 118, 110, 0.08);
    border-left: 3px solid var(--primary-purple);
    font-family: 'Courier New', monospace;
}

.chat-message.assistant {
    background: var(--light-bg-secondary);
    border-left: 3px solid var(--primary-pink);
}

.chat-message strong {
    color: var(--primary-pink);
}

/* ===================================
   How It Works Section
   =================================== */
.how-section {
    padding: 120px 0;
    text-align: center;
    background: white;
}

.how-section .section-subtitle {
    margin: 0 auto 80px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: left;
    padding: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 14px;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--light-bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.testimonials-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .testimonials-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testimonials-grid-3 { grid-template-columns: 1fr; } }

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-color: var(--primary-purple);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   Features Grid Section
   =================================== */
.features-grid-section {
    padding: 120px 0;
    background: white;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-subtitle {
    font-size: 14px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF6F3 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

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

.cta-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.cta-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--light-bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-content-brand {
    grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-brand-column .logo { font-size: 22px; }

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin: 20px 0 10px;
    max-width: 340px;
}

.footer-newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.footer-newsletter-btn {
    white-space: nowrap;
    padding: 10px 18px;
}

.footer-newsletter-confirm {
    font-size: 13px;
    color: var(--emerald-600);
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-newsletter-consent {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 340px;
    margin-bottom: 16px;
}
.footer-newsletter-consent a { color: var(--text-muted); text-decoration: underline; }

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: color .2s, border-color .2s;
}

.footer-social-link:hover {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.footer-bottom-links .footer-link {
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-title {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 120px 0;
    background: var(--light-bg-secondary);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-contact-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.faq-contact-link:hover {
    color: var(--primary-pink);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    background: white;
    margin-bottom: 12px;
    border-radius: 8px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

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

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 24px;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 24px 24px 24px;
}

/* ===================================
   Form Styles
   =================================== */
.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

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

.form-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
    color: var(--text-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--primary-purple);
    text-decoration: none;
}

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

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.form-divider span {
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-link a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

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

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-social:hover {
    background: var(--light-bg-secondary);
    border-color: var(--primary-purple);
}

.btn-social img {
    width: 20px;
    height: 20px;
}

/* ===================================
   Pricing Page Styles
   =================================== */
.pricing-section {
    padding: 120px 0;
    background: var(--light-bg-secondary);
}

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

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    background: white;
    padding: 4px;
    border-radius: 100px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
}

.pricing-toggle button {
    flex: 1;
    padding: 8px 24px;
    border: none;
    background: transparent;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.pricing-toggle button.active {
    background: var(--gradient-purple-pink);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
    border: 2px solid var(--primary-purple);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.pricing-badge {
    display: inline-block;
    background: var(--gradient-purple-pink);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-purple);
    font-weight: bold;
}

/* ===================================
   Auth Pages (Login/Signup)
   =================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F9FC 0%, #EEF6F3 100%);
    padding: 40px 20px;
}

/* ===================================
   Contact Page
   =================================== */
.contact-page {
    padding-top: 100px;
    background: var(--light-bg-secondary);
    min-height: 100vh;
}

.contact-hero {
    text-align: center;
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 60px 0;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-value {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        gap: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 32px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-description,
.hero-cta {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   Smooth Scrolling
   =================================== */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* ===================================
   Extra Animation Keyframes
   =================================== */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15, 118, 110,0.25); }
    50%       { box-shadow: 0 0 0 12px rgba(15, 118, 110,0); }
}

.hero-badge {
    animation: floatY 4s ease-in-out infinite;
}

.btn-primary {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* stop pulse on hover so ripple is clean */
.btn-primary:hover {
    animation: none;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title .gradient-text {
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

/* ============================================================
   Django integration + responsive + RTL additions (Izara)
   Appended to the base design system.
   ============================================================ */

/* --- Mobile navigation ---
   This is the single breakpoint that governs the mobile nav (logo, links
   dropdown, and which nav-right actions stay in the persistent bar vs.
   move into the dropdown). It used to be split across three separate,
   overlapping media queries at two different breakpoints (768px twice,
   900px once) that fought each other via cascade order - consolidated
   here so there's one place to reason about mobile nav behavior. */
.nav-links-mobile-actions { display: none; }

@media (max-width: 900px) {
    /* Icon-only brand mark on mobile - full wordmark + "Business Suite"
       badge doesn't fit alongside the hamburger and language switch. */
    .logo-text { display: none; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        padding: 8px 24px 20px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        transform: translateY(-140%);
        transition: transform 0.35s cubic-bezier(.4,0,.2,1);
        z-index: 999;
    }
    .nav-links.nav-open { transform: translateY(0); }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; }

    /* Login + Start-here move here from the persistent bar (below) so
       they get a full-width, readable tap target instead of being
       squeezed next to the hamburger and language switch. */
    .nav-links-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 4px;
        padding-top: 16px;
    }
    .nav-links-mobile-actions a { border-bottom: none; padding: 10px 0; }
    .nav-links .btn-primary { text-align: center; padding: 12px 20px; }

    .mobile-menu-btn { display: inline-block; }
    .nav-right { gap: 12px; }
    .nav-right .nav-link,
    .nav-right .btn-primary { display: none; }
}

/* --- Language switcher (EN/AR) --- */
.lang-switch { position: relative; }
.lang-switch__btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 1px solid var(--border-color);
    border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600;
    color: var(--text-secondary); cursor: pointer;
}
.lang-switch__menu {
    position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
    background: #fff; border: 1px solid var(--border-color); border-radius: 10px;
    box-shadow: var(--shadow-md); min-width: 140px; padding: 6px; display: none; z-index: 1100;
}
.lang-switch.open .lang-switch__menu { display: block; }
.lang-switch__menu button {
    width: 100%; text-align: start; background: none; border: none;
    padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text-primary); cursor: pointer;
}
.lang-switch__menu button:hover { background: var(--light-bg-secondary); }

/* --- Django messages --- */
.dj-messages { position: fixed; top: 80px; inset-inline-end: 24px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.dj-message { padding: 14px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); background: #fff; }
.dj-message.success { border-inline-start: 4px solid #00CC66; }
.dj-message.error   { border-inline-start: 4px solid #E23D6D; }
.dj-message.warning { border-inline-start: 4px solid #FFBB00; }
.dj-message.info    { border-inline-start: 4px solid var(--primary-purple); }

/* --- Form field errors + non-field errors --- */
.field-error { color: #E23D6D; font-size: 13px; margin-top: 6px; }
.form-alert {
    background: #FFF0F4; border: 1px solid #FFC2D4; color: #B4234B;
    border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-bottom: 20px;
}
.form-input.has-error, .form-select.has-error, .form-textarea.has-error { border-color: #E23D6D; }
.form-help { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* --- Auth (register/login) Django form spacing --- */
.auth-form-box .form-group { margin-bottom: 18px; }

/* --- Content pages (privacy/terms/team) --- */
.doc-page { padding: 140px 0 100px; }
.doc-page .container { max-width: 820px; }
.doc-page h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; color: var(--text-primary); }
.doc-page h2 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; color: var(--text-primary); }
.doc-page p, .doc-page li { color: var(--text-secondary); margin-bottom: 12px; }
.doc-page ul { padding-inline-start: 22px; margin-bottom: 12px; }
.doc-lead { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.doc-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.doc-table th, .doc-table td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--border-color); }
.doc-table th { color: var(--text-primary); font-weight: 700; background: var(--light-bg-secondary); }
.doc-table td { color: var(--text-secondary); }
.doc-table code { background: var(--light-bg-secondary); border-radius: 4px; padding: 2px 6px; font-size: 13px; }
@media (max-width: 640px) { .doc-table { display: block; overflow-x: auto; white-space: nowrap; } }

/* --- RTL support (Arabic) --- */
[dir="rtl"] body { font-family: var(--font-body), Tahoma; }
[dir="rtl"] .hero-cta,
[dir="rtl"] .cta-buttons,
[dir="rtl"] .auth-stats { flex-direction: row-reverse; }
[dir="rtl"] .module-link,
[dir="rtl"] .faq-contact-link { direction: rtl; }
[dir="rtl"] .nav-left { flex-direction: row-reverse; }
[dir="rtl"] .gradient-text { background-position: right center; }

/* --- Small polish --- */
.footer-link, .nav-links a { transition: color .2s ease; }

/* ============================================================
   Product screenshots gallery (theme-matched, light)
   ============================================================ */
.showcase-section { padding: 100px 0; background: var(--light-bg-secondary); position: relative; overflow: hidden; }
.showcase-header { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.showcase-tab {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--text-secondary); background: #fff;
    border: 1px solid var(--border-color); cursor: pointer; transition: all .2s;
}
.showcase-tab:hover { color: var(--primary-purple); border-color: var(--primary-purple); }
.showcase-tab.active { color: #fff; background: var(--gradient-purple-pink); border-color: transparent; box-shadow: var(--shadow-md); }
.showcase-tab svg { width: 16px; height: 16px; }
.showcase-frame {
    max-width: 1040px; margin: 0 auto; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--border-color); background: #fff;
    box-shadow: 0 40px 80px rgba(15, 118, 110,.18), 0 8px 24px rgba(217, 119, 6,.08);
}
.showcase-chrome { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--light-bg-secondary); border-bottom: 1px solid var(--border-color); }
.showcase-dot { width: 11px; height: 11px; border-radius: 50%; }
.showcase-urlbar {
    display: inline-flex; align-items: center; gap: 7px; margin-inline-start: 12px; padding: 5px 14px;
    border-radius: 999px; font-size: 12px; font-family: monospace; color: var(--text-muted);
    background: #fff; border: 1px solid var(--border-color);
}
.showcase-panel { display: none; }
.showcase-panel.active { display: block; }
.showcase-panel img { width: 100%; display: block; }
.showcase-tags { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.showcase-tag { font-size: 13px; font-weight: 500; color: var(--primary-purple); background: rgba(15, 118, 110,.08); border: 1px solid rgba(15, 118, 110,.2); border-radius: 999px; padding: 6px 14px; }
@media (max-width: 640px) { .showcase-urlbar { display: none; } }

/* ============================================================
   In-browser app mockups (gradient-themed, real data)
   Replaces raster screenshots inside the showcase frame.
   ============================================================ */
.showcase-app { display: grid; grid-template-columns: 208px 1fr; min-height: 524px; background: #fff; text-align: start; color: var(--text-primary); }
.mock-side { background: #fff; border-inline-end: 1px solid var(--border-color); padding: 18px 14px; }
.mock-brand { font-weight: 800; font-size: 18px; background: var(--gradient-purple-pink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0 0 20px 8px; }
.mock-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text-secondary); font-weight: 500; font-size: 13px; margin-bottom: 4px; text-decoration: none; }
.mock-nav a .ni { width: 24px; height: 24px; border-radius: 7px; background: rgba(15, 118, 110,.10); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.mock-nav a.active { background: var(--gradient-purple-pink); color: #fff; box-shadow: var(--shadow-sm); }
.mock-nav a.active .ni { background: rgba(255,255,255,.25); }
.mock-main { padding: 22px 24px; background: var(--light-bg-secondary); overflow: hidden; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; gap: 12px; }
.mock-title { font-size: 22px; font-weight: 800; margin: 0; }
.mock-sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.mock-btn { background: var(--gradient-purple-pink); color: #fff; border: none; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-kpi { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 13px 14px; }
.mock-kpi .k-ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(15, 118, 110,.10); display: inline-flex; align-items: center; justify-content: center; float: inline-end; }
.mock-kpi .k-label { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.mock-kpi .k-value { font-size: 25px; font-weight: 800; margin-top: 4px; line-height: 1.1; }
.mock-tablewrap { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.mock-tablewrap table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mock-tablewrap th { text-align: start; color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 10.5px; letter-spacing: .03em; padding: 11px 14px; border-bottom: 1px solid var(--border-color); }
.mock-tablewrap td { padding: 10px 14px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.mock-tablewrap tr:last-child td { border-bottom: none; }
.mock-tablewrap tbody tr { transition: background-color .15s ease; }
.mock-tablewrap tbody tr:hover { background: rgba(15, 118, 110,.05); }
.mock-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-purple-pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-inline-end: 8px; vertical-align: middle; }
.m-name { font-weight: 600; color: var(--text-primary); }
.m-sub { color: var(--text-muted); font-size: 11px; }
.pill { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; display: inline-block; }
.pill.green { background: rgba(0,204,102,.12); color: #009850; }
.pill.purple { background: rgba(15, 118, 110,.12); color: #0F766E; }
.pill.amber { background: rgba(255,187,0,.15); color: #B4771F; }
.pill.pink { background: rgba(226,61,109,.15); color: #E23D6D; }
.m-mono { font-family: monospace; color: var(--primary-purple); font-size: 12px; }
@media (max-width: 720px) {
  .showcase-app { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-main { overflow-x: auto; }
}

/* ============================================================
   Motion & polish layer — global micro-interactions
   Applied site-wide via existing classes (no template churn).
   ============================================================ */
html { scroll-behavior: smooth; }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
  background: var(--gradient-purple-pink); z-index: 2000;
  box-shadow: 0 0 10px rgba(15, 118, 110,.5); transition: width .1s linear;
}

/* --- Navbar: smooth sticky feel --- */
.navbar { transition: background .3s ease, box-shadow .3s ease, padding .3s ease; }

/* --- Nav links: animated underline --- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--gradient-purple-pink); border-radius: 2px; transition: width .28s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover::after { width: 100%; }
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

/* --- Buttons: lift + shine sweep --- */
.btn { transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, opacity .2s ease; }
.btn-large:hover, .btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::before { left: 140%; }

/* --- Cards: consistent smooth hover lift --- */
.module-card, .feature-card, .pricing-card, .testimonial-card, .step-card {
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover, .step-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 118, 110,.14);
  border-color: rgba(15, 118, 110,.35);
}

/* --- Featured pricing card: soft animated glow --- */
.pricing-card.featured { position: relative; }
.pricing-card.featured::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--gradient-purple-pink);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; animation: iz-glow 3s ease-in-out infinite;
}
@keyframes iz-glow { 0%,100% { opacity: .35; } 50% { opacity: .8; } }

/* --- Hero: floating gradient orbs for depth --- */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
}
.hero::before { width: 380px; height: 380px; background: rgba(15, 118, 110,.18); top: -80px; inset-inline-end: -60px; animation: iz-float 14s ease-in-out infinite; }
.hero::after  { width: 320px; height: 320px; background: rgba(217, 119, 6,.16); bottom: -90px; inset-inline-start: -40px; animation: iz-float 18s ease-in-out infinite reverse; }
.hero .container { position: relative; z-index: 1; }
@keyframes iz-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(24px,-18px) scale(1.06); }
  66% { transform: translate(-18px,14px) scale(.96); }
}

/* --- Section labels: little gradient tick --- */
.section-label { transition: letter-spacing .3s ease; }

/* --- Icons/emoji subtle pop on card hover --- */
.module-icon, .feature-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); display: inline-block; }
.module-card:hover .module-icon, .feature-card:hover .feature-icon { transform: scale(1.15) rotate(-4deg); }

/* --- Footer links slide --- */
.footer-link { transition: color .2s ease, padding-inline-start .2s ease; }
.footer-link:hover { padding-inline-start: 5px; color: var(--primary-pink); }

/* --- Showcase frame gentle float + tab lift --- */
.showcase-frame { transition: transform .4s ease, box-shadow .4s ease; }
.showcase-tab { transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.showcase-tab:hover { transform: translateY(-2px); }

/* --- FAQ smooth --- */
.faq-question { transition: color .2s ease; }
.faq-icon { transition: transform .3s cubic-bezier(.4,0,.2,1); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

/* --- Generic reveal helper (for elements JS also toggles) --- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero::before, .hero::after { animation: none; }
}

/* ============================================================
   Homepage restructure additions: KPI strip, Problem vs. Solution,
   4-tab Module Showcase panels, AI/Workflow extras, Deployment
   Options, and a shared checklist used by both.
   ============================================================ */
.hero-trust-line { margin-top: 20px; font-size: 13px; color: var(--text-muted); letter-spacing: .02em; }

.metrics-section { padding: 56px 0; background: var(--light-bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.metrics-strip { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; text-align: center; }
.metric-item { min-width: 140px; }
.metric-number {
  font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--gradient-purple-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric-label { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; max-width: 960px; margin-inline: auto; text-align: start; }
.contrast-col { border-radius: 12px; padding: 32px; border: 1px solid var(--border-color); }
.contrast-old { background: var(--light-bg-secondary); }
.contrast-new { background: linear-gradient(135deg, rgba(15, 118, 110,.06) 0%, rgba(217, 119, 6,.06) 100%); border-color: var(--primary-purple); }
.contrast-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; color: var(--text-muted); }
.contrast-new .contrast-heading { color: var(--primary-purple); }
.contrast-list, .simple-list { list-style: none; display: grid; gap: 14px; }
.contrast-list li, .simple-list li { font-size: 15px; color: var(--text-secondary); line-height: 1.5; padding-inline-start: 26px; position: relative; }
.contrast-old .contrast-list li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #D64545; font-weight: 700; }
.contrast-new .contrast-list li::before,
.simple-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--primary-purple); font-weight: 700; }
@media (max-width: 860px) { .contrast-grid { grid-template-columns: 1fr; } }

.module-tab-panels { max-width: 960px; margin: 0 auto; }
.module-tab-panel { display: none; }
.module-tab-panel.active { display: block; animation: moduleFadeIn .3s ease; }
.module-tab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
.module-tab-grid > div { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 24px; }
.module-tab-grid h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.module-tab-grid p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
@keyframes moduleFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .module-tab-grid { grid-template-columns: 1fr; } }

.ai-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.ai-extra-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-sm); }
.ai-extra-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.workflow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.wf-step { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--light-bg-secondary); border: 1px solid var(--border-color); color: var(--text-secondary); }
.wf-step.done { background: var(--gradient-purple-pink); color: #fff; border-color: transparent; }
.wf-arrow { color: var(--text-muted); font-size: 13px; }
@media (max-width: 760px) { .ai-extra-grid { grid-template-columns: 1fr; } }

.deployment-section { padding: 120px 0; background: var(--light-bg-secondary); }
.deployment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.deployment-card { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 36px; box-shadow: var(--shadow-sm); }
.deployment-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.deployment-card > p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.deployment-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--primary-purple); background: rgba(15, 118, 110,.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 820px) { .deployment-grid { grid-template-columns: 1fr; } }

.security-section { padding: 120px 0; background: #fff; }

.features-grid-3.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
@media (max-width: 640px) { .features-grid-3.cols-2 { grid-template-columns: 1fr; } }

/* ============================================================
   Features page: Role Workspace switcher + Module Cluster grid
   ============================================================ */
.role-tab-num { font-weight: 700; opacity: .6; margin-inline-end: 4px; }
.role-panels { max-width: 720px; margin: 0 auto; }
.role-panel { display: none; }
.role-panel.active { display: block; animation: moduleFadeIn .3s ease; }
.role-panel-inner { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-md); text-align: start; }
.role-panel-inner h3 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.role-tagline { color: var(--primary-purple); font-weight: 600; margin-bottom: 20px; }
.role-feature-list li { font-size: 16px; }

.module-cluster { margin-bottom: 56px; }
.module-cluster:last-child { margin-bottom: 0; }
.module-cluster-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.modules-grid-compact { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ============================================================
   Home: Logo cloud, Big statement, How-it-works capability grid,
   alternating Showcase rows, dark Outcomes band, Integrations
   ============================================================ */
.logo-cloud { padding: 56px 0; background: #fff; text-align: center; }
.logo-cloud-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 32px; }
.logo-cloud-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; }
.logo-cloud-item { font-size: 19px; font-weight: 700; color: var(--text-muted); filter: grayscale(1); opacity: .6; letter-spacing: -.02em; }

.big-statement { padding: 100px 0; background: var(--light-bg-secondary); text-align: center; }
.big-statement-text { max-width: 880px; margin: 0 auto; font-size: 32px; font-weight: 700; line-height: 1.45; color: var(--text-muted); }
.big-statement-text strong { color: var(--text-primary); }
.big-statement-text .gradient-text { font-weight: 800; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.capability-card { display: block; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.capability-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; color: #fff; }
.capability-icon.c-violet { background: linear-gradient(135deg, #0F766E, #0D9488); }
.capability-icon.c-emerald { background: linear-gradient(135deg, #10B981, #0D9488); }
.capability-icon.c-blue { background: linear-gradient(135deg, #3B82F6, #6366F1); }
.capability-icon.c-amber { background: linear-gradient(135deg, #F59E0B, #F97316); }
.capability-icon.c-rose { background: linear-gradient(135deg, #F43F5E, #EC4899); }
.capability-icon.c-fuchsia { background: linear-gradient(135deg, #0D9488, #0F766E); }
.capability-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.capability-text { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .capability-grid { grid-template-columns: 1fr; } }

.showcase-rows { display: flex; flex-direction: column; gap: 100px; margin-top: 40px; }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase-row.reverse .showcase-row-text { order: 2; }
.showcase-row.reverse .showcase-row-visual { order: 1; }
.showcase-row-visual img, .showcase-row-visual .showcase-frame { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.showcase-row-text .section-label { margin-bottom: 12px; }
.showcase-row-text h3 { font-size: 30px; font-weight: 800; margin-bottom: 14px; color: var(--text-primary); }
.showcase-row-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 900px) {
    .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
    .showcase-row.reverse .showcase-row-text, .showcase-row.reverse .showcase-row-visual { order: initial; }
}

.outcomes-band { padding: 120px 0; background: var(--deep-slate); color: #fff; }
.outcomes-band .section-label { color: var(--primary-pink); }
.outcomes-band .section-title { color: #fff; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 56px 0; text-align: center; }
.outcome-number { font-size: 40px; font-weight: 800; background: var(--gradient-purple-pink); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.outcome-label { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 8px; }
.outcome-quote-card { max-width: 720px; margin: 0 auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 36px; text-align: center; }
.outcome-quote-text { font-size: 19px; line-height: 1.6; margin-bottom: 20px; }
.outcome-quote-author { font-size: 14px; color: rgba(255,255,255,.6); font-weight: 600; }
@media (max-width: 820px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }

.integrations-section { padding: 100px 0; background: #fff; }
.integrations-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.integration-tile { background: var(--light-bg-secondary); border: 1px solid var(--border-color); border-radius: 14px; padding: 24px 12px; text-align: center; }
.integration-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--violet-50); color: var(--primary-purple); display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 12px; }
.integration-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
@media (max-width: 900px) { .integrations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .integrations-grid { grid-template-columns: repeat(2, 1fr); } }

.security-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.security-pill { font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--violet-50); color: var(--primary-purple); }
.security-checklist { list-style: none; margin-top: 8px; }
.security-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 15px; color: var(--text-secondary); }
.security-checklist li:last-child { border-bottom: none; }
.security-check-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-600); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }

/* ============================================================
   Pricing: billing toggle, trust row, promises
   ============================================================ */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--light-bg-secondary); border: 1px solid var(--border-color); border-radius: 999px; padding: 4px; margin: 8px 0 8px; }
.billing-toggle-btn { border: none; background: none; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle-btn.active { background: var(--primary-purple); color: #fff; }
.billing-discount-tag { font-size: 10.5px; font-weight: 700; background: var(--violet-50); color: var(--primary-purple); padding: 2px 8px; border-radius: 999px; }
.billing-toggle-btn.active .billing-discount-tag { background: rgba(255,255,255,.2); color: #fff; }

.trust-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack-item { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-purple-pink); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; margin-inline-start: -10px; }
.avatar-stack-item:first-child { margin-inline-start: 0; }
.stars { color: var(--amber-400); letter-spacing: 2px; }
.trust-row-text { font-size: 14px; color: var(--text-secondary); font-weight: 600; }

.promises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.promise-card { text-align: center; padding: 32px 24px; }
.promise-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--violet-50); color: var(--primary-purple); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 18px; }
.promise-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.promise-text { font-size: 14px; color: var(--text-secondary); }
@media (max-width: 760px) { .promises-grid { grid-template-columns: 1fr; } }

/* ============================================================
   About: mission grid, stats band, values, timeline
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 40px; }
.mission-grid .section-label { margin-bottom: 12px; }
.mission-grid h2 { margin-bottom: 18px; }
.mission-grid p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } }

.stats-band { padding: 72px 0; background: var(--light-bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.value-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 28px; text-align: center; }
.value-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 21px; margin: 0 auto 16px; color: #fff; }
.value-icon.v-fuchsia { background: linear-gradient(135deg, #0D9488, #0F766E); }
.value-icon.v-emerald { background: linear-gradient(135deg, #10B981, #0D9488); }
.value-icon.v-amber { background: linear-gradient(135deg, #F59E0B, #F97316); }
.value-icon.v-rose { background: linear-gradient(135deg, #F43F5E, #EC4899); }
.value-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.value-text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.timeline { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 28px; }
.timeline-item { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 24px 28px; }
.timeline-year-badge { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-purple-pink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.timeline-item h4 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-secondary); }

/* ============================================================
   Contact: info cards
   ============================================================ */
.contact-info-grid { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.contact-info-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--violet-50); color: var(--primary-purple); display: flex; align-items: center; justify-content: center; font-size: 19px; }

/* ============================================================
   Module/Service detail: breadcrumb + why-it-matters highlights
   ============================================================ */
.service-breadcrumb { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.service-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.service-breadcrumb a:hover { color: var(--primary-purple); }
.service-hero-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; margin: 0 auto 24px; }
.highlights-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); }
.highlights-card li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--text-secondary); }

/* ============================================================
   Shared Modules grid: gradient icon badge + hover-reveal chips
   ============================================================ */
.module-icon-badge { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 20px; }
/* Chip text is a real capability sentence (e.g. "Standardized, role-based
   approval chains with full transition history"), not a short tag — with
   white-space: nowrap it either overflowed the card horizontally or wrapped
   onto extra lines that a fixed 80px max-height then clipped. Chips now wrap
   their own text, and the reveal max-height is generous enough to fit 3
   wrapped chips without cutting them off; shorter content still reaches its
   natural height well within the transition, so the reveal doesn't feel
   slower for cards with short capability text. */
.module-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease; margin-top: 0; }
.module-card:hover .module-chips { max-height: 260px; opacity: 1; margin-top: 14px; }
.module-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--violet-50); color: var(--primary-purple); white-space: normal; max-width: 100%; line-height: 1.4; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1400;
    background: var(--deep-slate);
    color: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text { font-size: 13.5px; color: rgba(255,255,255,.85); margin: 0; flex: 1; min-width: 240px; }
.cookie-banner-text a { color: #fff; text-decoration: underline; }
.cookie-banner-accept { padding: 9px 20px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 560px) { .cookie-banner-inner { flex-direction: column; align-items: stretch; } .cookie-banner-accept { width: 100%; text-align: center; } }

/* ─────────────────────────────────────────────────────────────────────────
   Categorised module groups (spec §5/§12)

   Replaces .modules-grid's 14 equal-weight cards. Six named groups, each a
   quiet list rather than a card, so hierarchy comes from the group heading
   and whitespace instead of from six more boxes competing with each other.
   ───────────────────────────────────────────────────────────────────────── */
.module-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 48px;
  margin-top: 56px;
}

.module-group-head { margin-bottom: 18px; }

.module-group-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-purple);
  margin: 0 0 6px;
}

.module-group-blurb {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary, #5b6170);
  margin: 0;
}

.module-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-color, #e6e8ee);
}

.module-group-list li { border-bottom: 1px solid var(--border-color, #e6e8ee); }

.module-group-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary, #14161d);
  text-decoration: none;
  transition: color .15s ease, padding-inline-start .15s ease;
}

.module-group-link:hover,
.module-group-link:focus-visible {
  color: var(--primary-purple);
  padding-inline-start: 6px;
}

/* Keyboard users need to see where they are (spec §5/§11). */
.module-group-link:focus-visible {
  outline: 2px solid var(--primary-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.module-group-arrow {
  flex: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
}

.module-group-link:hover .module-group-arrow,
.module-group-link:focus-visible .module-group-arrow {
  opacity: .75;
  transform: translateX(0);
}

/* The arrow points right; under RTL it must point the other way. */
[dir="rtl"] .module-group-arrow { transform: scaleX(-1) translateX(-4px); }
[dir="rtl"] .module-group-link:hover .module-group-arrow,
[dir="rtl"] .module-group-link:focus-visible .module-group-arrow { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .module-group-link,
  .module-group-arrow { transition: none; }
}

@media (max-width: 640px) {
  .module-groups { gap: 32px; margin-top: 40px; }
}

/* ─── Sticky mobile CTA (spec §5) ─────────────────────────────────────────
   Phone-only: the header CTA stays visible on desktop, so this would be
   redundant clutter there. Sits above the cookie banner but below modals.   */
.sticky-cta { display: none; }

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color, #e6e8ee);
  }
  .sticky-cta-btn { flex: 1; text-align: center; padding: 12px 10px; font-size: 15px; }
  /* Stop the bar covering the end of the page. */
  body { padding-bottom: 72px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero product shot + capability strip (spec §2/§5)
   ───────────────────────────────────────────────────────────────────────── */
.hero-trial-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-secondary, #5b6170);
}

.hero-shot {
  margin: 56px auto 0;
  max-width: 1080px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color, #e6e8ee);
  /* Layered shadow reads as depth without the glassmorphism §1 warns off. */
  box-shadow: 0 1px 2px rgba(16, 18, 27, .05),
              0 24px 60px -18px rgba(16, 18, 27, .28);
  background: #fff;
}

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

.capability-strip {
  padding: 26px 0;
  border-block: 1px solid var(--border-color, #e6e8ee);
  background: var(--light-bg-secondary, #fafafb);
}

.capability-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-strip-list li {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary, #5b6170);
}

/* Separator dots between items, but not before the first. */
.capability-strip-list li + li::before {
  content: "·";
  margin-inline-end: 34px;
  color: var(--border-color, #cfd3dd);
}

/* ─────────────────────────────────────────────────────────────────────────
   Interactive product showcase (spec §2/§5)
   ───────────────────────────────────────────────────────────────────────── */
.showcase-tabs { margin-top: 44px; }

.showcase-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin: 0 auto 36px;
  width: fit-content;
  max-width: 100%;
  background: var(--light-bg-secondary, #f3f4f7);
  border-radius: 999px;
}

.showcase-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary, #5b6170);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.showcase-tab:hover { color: var(--text-primary, #14161d); }

.showcase-tab.is-active {
  background: #fff;
  color: var(--primary-purple);
  box-shadow: 0 1px 3px rgba(16, 18, 27, .12);
}

.showcase-tab:focus-visible {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

.showcase-panel { display: none; }
.showcase-panel.is-active { display: block; }

/* JS off: no panel carries .is-active beyond the first, and `hidden` is
   honoured, so panels stack instead of vanishing. */
.showcase-panel:not([hidden]) { display: block; }

.showcase-panel-copy {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.showcase-panel-copy h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.showcase-panel-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary, #5b6170);
  margin: 0;
}

.showcase-panel-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color, #e6e8ee);
  box-shadow: 0 1px 2px rgba(16, 18, 27, .05),
              0 24px 60px -18px rgba(16, 18, 27, .28);
  background: #fff;
}

.showcase-panel-shot img { display: block; width: 100%; height: auto; }

@media (max-width: 640px) {
  .hero-shot { margin-top: 36px; border-radius: 10px; }
  .showcase-tablist { border-radius: 14px; }
  .showcase-tab { padding: 8px 13px; font-size: 14px; }
  .capability-strip-list { gap: 8px 18px; }
  .capability-strip-list li { font-size: 12px; }
  .capability-strip-list li + li::before { margin-inline-end: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-tab { transition: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Connected-data flows (spec §2/§13)
   ───────────────────────────────────────────────────────────────────────── */
.flows-section { padding: 100px 0; }

.flows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.flow {
  padding: 24px 24px 20px;
  border: 1px solid var(--border-color, #e6e8ee);
  border-radius: 14px;
  background: #fff;
}

.flow-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--primary-purple);
  margin-bottom: 16px;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.flow-step {
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--light-bg-secondary, #f3f4f7);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #14161d);
  white-space: nowrap;
}

/* The arrow is decoration between steps, so it is generated rather than
   marked up - a screen reader reads the ordered list instead. */
.flow-step + .flow-step::before {
  content: "→";
  display: inline-block;
  margin-inline-end: 9px;
  color: var(--text-secondary, #9aa1b1);
  font-weight: 400;
}

[dir="rtl"] .flow-step + .flow-step::before { content: "←"; }

/* ─────────────────────────────────────────────────────────────────────────
   AI assistant section (spec §2/§5) - the one deliberately dark block on the
   page, so the capability reads as distinct rather than as another card.
   ───────────────────────────────────────────────────────────────────────── */
.ai-section {
  padding: 104px 0;
  background: #14161d;
  color: #fff;
}

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

.ai-label { color: #5EBFAF !important; }

.ai-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  color: #fff;
}

.ai-title-accent {
  background: linear-gradient(90deg, #5EBFAF, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-text {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 16px;
}

.ai-cta { margin-top: 12px; }

.ai-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}

.ai-exchange { display: flex; flex-direction: column; gap: 8px; }

.ai-q {
  align-self: flex-start;
  max-width: 92%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px 12px 12px 3px;
  background: rgba(167, 139, 250, .18);
  color: #CCEBE4;
  font-size: 15px;
  font-weight: 600;
}

.ai-a {
  align-self: flex-end;
  max-width: 92%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px 12px 3px 12px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.5;
}

/* Honesty label - these are sample figures, not a live tenant. */
.ai-disclaimer {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
  text-align: center;
}

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

@media (max-width: 640px) {
  .flows-section, .ai-section { padding: 68px 0; }
  .flow-step { font-size: 13px; padding: 6px 11px; }
}

/* ─── Pricing comparison table (spec §5/§6) ───────────────────────────── */
.compare-wrap { margin-top: 72px; }

.compare-title {
  font-size: clamp(22px, 2.4vw, 30px);
  text-align: center;
  margin: 0 0 28px;
}

/* Focusable so a keyboard user can scroll a wide table on narrow screens. */
.compare-scroll { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border-color, #e6e8ee); }
.compare-scroll:focus-visible { outline: 2px solid var(--primary-purple); outline-offset: 2px; }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }

.compare-table th,
.compare-table td {
  padding: 13px 18px;
  text-align: start;
  font-size: 15px;
  border-bottom: 1px solid var(--border-color, #eef0f4);
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary, #5b6170);
  background: var(--light-bg-secondary, #fafafb);
  position: sticky;
  top: 0;
}

.compare-table tbody th { font-weight: 600; color: var(--text-primary, #14161d); }
.compare-table td { color: var(--text-secondary, #5b6170); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* The row that carries the whole pricing argument. */
.compare-table tr.is-highlight td,
.compare-table tr.is-highlight th {
  background: rgba(15, 118, 110, .05);
  color: var(--text-primary, #14161d);
  font-weight: 600;
}

.compare-footnote {
  margin: 16px 2px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary, #5b6170);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================================
   Teal theme: display type
   =================================== */
h1, h2, h3, .hero-title, .section-title, .cta-title, .module-title, .big-statement-text, .ai-title {
    font-family: var(--font-display);
    text-wrap: balance;
}
.hero-title { letter-spacing: -0.035em; }
.section-title { letter-spacing: -0.03em; }
.module-icon {
    width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--sea-50); color: var(--primary-purple); font-size: 26px; transition: background .2s, color .2s;
}
.module-card:hover .module-icon { background: var(--primary-purple); color: #fff; }

/* ===================================
   Module detail pages
   =================================== */
.md-hero { padding: 132px 0 0; position: relative; overflow: hidden; background:
    radial-gradient(900px 420px at 85% -10%, rgba(15, 118, 110, .10), transparent 70%),
    radial-gradient(600px 300px at 0% 30%, rgba(217, 119, 6, .06), transparent 70%), var(--light-bg); }
.md-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.md-crumbs a { color: var(--text-secondary); text-decoration: none; }
.md-crumbs a:hover { color: var(--primary-purple); }
.md-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.md-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.md-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-purple); color: #fff; font-size: 28px; box-shadow: 0 10px 24px rgba(15, 118, 110, .25); }
.md-group { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-purple); }
.md-title { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 18px; color: var(--text-primary); }
.md-tagline { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--primary-purple); margin: 0 0 16px; }
.md-description { font-size: 18px; line-height: 1.65; color: var(--text-secondary); max-width: 60ch; margin: 0; }
.md-aside { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.md-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.md-facts { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; font-size: 15px; color: var(--text-secondary); }
.md-facts li { display: flex; gap: 10px; align-items: flex-start; }
.md-facts .bx { color: var(--primary-purple); font-size: 18px; flex-shrink: 0; margin-top: 2px; }

.md-frame { margin: 56px auto 0; max-width: 1160px; border-radius: 16px 16px 0 0; overflow: hidden; background: #fff;
    border: 1px solid var(--border-color); border-bottom: 0; box-shadow: 0 30px 80px rgba(11, 36, 34, .16); }
.md-frame.is-closed { border-radius: 16px; border-bottom: 1px solid var(--border-color); margin: 0; box-shadow: var(--shadow-lg); }
.md-chrome { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: var(--light-bg-secondary);
    border-bottom: 1px solid var(--border-color); }
.md-chrome > i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-color); flex-shrink: 0; }
.md-url { margin-inline-start: 12px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border-color);
    font-size: 12.5px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.md-url .bx { font-size: 12px; vertical-align: -1px; color: var(--primary-purple); margin-inline-end: 4px; }
.md-frame img { display: block; width: 100%; height: auto; }
.md-caption { text-align: center; font-size: 14px; color: var(--text-muted); margin: 14px 0 0; }

.md-section { padding: 96px 0; }
.md-section.alt { background: var(--light-bg-secondary); border-top: 1px solid var(--border-color-light); }
.md-head { max-width: 720px; margin-bottom: 44px; }
.md-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; }
.md-head p { font-size: 17px; color: var(--text-secondary); margin: 0; }
.md-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.md-cap { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border-color);
    border-radius: 14px; padding: 20px 22px; font-size: 16px; line-height: 1.5; color: var(--text-primary); }
.md-cap-tick { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--sea-50);
    display: inline-flex; align-items: center; justify-content: center; color: var(--primary-purple); font-size: 18px; }

.md-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.md-integration { font-size: 18px; line-height: 1.7; color: var(--text-primary); margin: 0 0 28px; }
.md-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.md-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border-color);
    background: #fff; color: var(--text-primary); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.md-chip .bx { color: var(--primary-purple); font-size: 18px; }
.md-chip:hover, .md-chip:focus-visible { border-color: var(--primary-purple); color: var(--primary-purple); }

.md-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.md-pager a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--border-color);
    text-decoration: none; color: var(--text-primary); background: #fff; transition: border-color .2s, transform .2s; }
.md-pager a:hover, .md-pager a:focus-visible { border-color: var(--primary-purple); transform: translateY(-2px); }
.md-pager .next { justify-content: flex-end; text-align: end; }
.md-pager small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.md-pager strong { font-family: var(--font-display); font-size: 20px; }
.md-pager .arrow { font-size: 22px; color: var(--primary-purple); flex-shrink: 0; }

.md-cta { padding: 88px 0; background: var(--deep-slate); color: #fff; position: relative; overflow: hidden; }
.md-cta::after { content: ''; position: absolute; right: -120px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .30), transparent 70%); pointer-events: none; }
.md-cta-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.md-cta h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; margin: 0 0 8px; color: #fff; }
.md-cta p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 17px; }
.md-cta .accent { color: #FBBF24; }
.md-cta .md-btn-light { background: #fff; color: var(--deep-slate); }
.md-cta .md-btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.md-cta .btn:focus-visible, .md-actions .btn:focus-visible, .md-chip:focus-visible, .md-pager a:focus-visible {
    outline: 3px solid var(--accent); outline-offset: 2px; }

@media (max-width: 960px) {
    .md-intro, .md-split { grid-template-columns: 1fr; gap: 32px; }
    .md-caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .md-hero { padding-top: 104px; }
    .md-caps, .md-pager { grid-template-columns: 1fr; }
    .md-section { padding: 64px 0; }
    .md-frame { border-radius: 12px 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .md-pager a, .md-chip, .module-icon { transition: none; }
    .md-pager a:hover { transform: none; }
}
