/* ==========================================================================
   Material You (Material Design 3) — Theme Override
   Personal, adaptive, spirited. Tonal surfaces, pill buttons, organic shapes.
   Purple/Violet seed #6750A4. Roboto font. Generous radii.
   Load AFTER style.css to override neumorphic defaults.
   ========================================================================== */

/* --- Self-hosted Roboto fonts --- */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Token overrides --- */
:root {
    /* Core palette — Purple/Violet seed */
    --canvas: #FFFBFE;
    --ink: #1C1B1F;
    --muted: #49454F;
    --dim: #79747E;
    --divider: #79747E;
    --accent: #6750A4;

    /* MD3 extended palette */
    --md-primary: #6750A4;
    --md-on-primary: #FFFFFF;
    --md-primary-container: #EADDFF;
    --md-secondary-container: #E8DEF8;
    --md-on-secondary-container: #1D192B;
    --md-tertiary: #7D5260;
    --md-on-tertiary: #FFFFFF;
    --md-surface: #FFFBFE;
    --md-surface-container: #F3EDF7;
    --md-surface-container-low: #E7E0EC;
    --md-outline: #79747E;
    --md-on-surface-variant: #49454F;

    /* Surfaces */
    --card-bg: #F3EDF7;
    --card-border: transparent;
    --card-shadow-light: transparent;
    --card-shadow-dark: rgba(0,0,0,0.08);
    --card-inset-border: transparent;

    /* Navbar */
    --nav-bg: rgba(255,251,254,0.85);
    --nav-icon-gradient-start: #6750A4;
    --nav-icon-gradient-end: #6750A4;

    /* Footer */
    --footer-bg: #1C1B1F;
    --footer-text: rgba(255,255,255,0.6);
    --footer-gradient-start: #1C1B1F;
    --footer-gradient-end: #1C1B1F;
    --footer-radius: 0;

    /* Heading — solid color */
    --grad-start: #1C1B1F;
    --grad-end: #1C1B1F;

    /* Buttons */
    --btn-bg: #6750A4;
    --btn-text: #FFFFFF;
    --btn-hover-bg: #6750A4;

    /* Forms — MD3 filled text field */
    --input-bg: #E7E0EC;
    --input-border: #79747E;
    --input-shadow: transparent;

    /* Feedback */
    --success-bg: #E8F5E9;
    --success-border: #4CAF50;
    --success-text: #1B5E20;
    --error-bg: #FDECEA;
    --error-border: #B3261E;
    --error-text: #B3261E;
    --error-accent: #B3261E;
    --field-error: #B3261E;

    /* Fonts */
    --font-heading: 'Roboto', system-ui, sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;
    --font-hand: 'Roboto', system-ui, sans-serif;

    /* Radii — generous, organic */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-2xl: 32px;

    /* Misc */
    --tooltip-bg: #1C1B1F;
    --tooltip-text: #FFFFFF;
    --dot-inactive: #E7E0EC;
    --dot-active: #6750A4;
    --section-alt-bg: #F3EDF7;
    --marker-color: #E7E0EC;
    --hover-bg: rgba(103,80,164,0.08);
}

/* ==========================================================================
   GLOBAL: Warm off-white, tonal surfaces
   ========================================================================== */

body {
    background: #FFFBFE !important;
    color: #1C1B1F !important;
    font-family: 'Roboto', system-ui, sans-serif !important;
}

/* No noise/texture overlays */
body::before {
    display: none !important;
}

/* MD3 signature easing */
* {
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   TYPOGRAPHY — Roboto, friendly weight
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', system-ui, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    color: #1C1B1F !important;
}

h1 { font-weight: 700 !important; }

/* No gradient text — solid color */
.h-grad {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #1C1B1F !important;
    color: #1C1B1F !important;
}

.h1 {
    font-size: 56px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    font-weight: 700 !important;
}
.h2 {
    font-size: 44px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   CORE COMPONENTS: Tonal surfaces, subtle shadows
   ========================================================================== */

.neu {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 24px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.neu:hover {
    box-shadow: 0 6px 20px rgba(103,80,164,0.12) !important;
    border-color: #6750A4 !important;
    transform: scale(1.02) !important;
}
.neu-subtle {
    background: #F3EDF7 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
}
/* Nested neu-subtle inside neu-subtle (e.g. bento chat bubbles) */
.neu-subtle .neu-subtle:not(.tab-btn) {
    background: #FFFBFE !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
.neu-subtle .neu-subtle.rounded-full {
    background: #E8DEF8 !important;
    box-shadow: none !important;
    color: #6750A4 !important;
}

/* ==========================================================================
   BUTTONS: Pill-shaped, state layers, tactile feedback
   ========================================================================== */

.btn-primary {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    font-family: 'Roboto', system-ui, sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 14px 28px !important;
    letter-spacing: 0.01em !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.btn-primary:hover {
    background: rgba(103,80,164,0.9) !important;
    box-shadow: 0 4px 12px rgba(103,80,164,0.3) !important;
    transform: none !important;
    filter: none !important;
}
.btn-primary:active {
    background: rgba(103,80,164,0.8) !important;
    transform: scale(0.95) !important;
    box-shadow: none !important;
    filter: none !important;
}
.btn-primary.sm {
    padding: 10px 20px !important;
    font-size: 13px !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
}
.btn-primary.sm:hover {
    background: rgba(103,80,164,0.9) !important;
    box-shadow: 0 4px 12px rgba(103,80,164,0.3) !important;
    transform: none !important;
}

/* Secondary: Tonal — secondary container fill */
.btn-secondary {
    background: #E8DEF8 !important;
    color: #1D192B !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    font-family: 'Roboto', system-ui, sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.01em !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.btn-secondary:hover {
    background: rgba(232,222,248,0.85) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transform: none !important;
}
.btn-secondary:active {
    transform: scale(0.95) !important;
}

/* ==========================================================================
   BADGES: Pill-shaped, tonal
   ========================================================================== */

.badge {
    background: #E8DEF8 !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    color: #1D192B !important;
    font-family: 'Roboto', system-ui, sans-serif !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
    padding: 8px 16px !important;
}
.badge svg { color: #6750A4 !important; }

.badge-green {
    background: #E8F5E9 !important;
    color: #1B5E20 !important;
    border: none !important;
}
.badge-green svg { color: #1B5E20 !important; }
.badge-blue {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    border: none !important;
}
.badge-blue svg { color: #FFFFFF !important; }
.badge-purple {
    background: #EADDFF !important;
    color: #6750A4 !important;
    border: none !important;
}
.badge-purple svg { color: #6750A4 !important; }
.badge-white {
    background: #F3EDF7 !important;
    color: #1C1B1F !important;
    border: none !important;
}
.badge-gray {
    background: #E8E0F0 !important;
    color: #49454F !important;
    border: none !important;
}

/* ==========================================================================
   HERO: Tonal surface with organic blur shapes
   ========================================================================== */

.hero-section {
    background: #F3EDF7 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 0 48px 48px !important;
}

/* Organic blur shape — primary tint */
.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: -20% !important;
    right: -10% !important;
    width: 600px !important;
    height: 600px !important;
    background: rgba(103,80,164,0.15) !important;
    border-radius: 100px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 1 !important;
    filter: blur(80px) !important;
    transform: none !important;
    animation: none !important;
}

/* Organic blur shape — tertiary tint */
.hero-section::after {
    content: '' !important;
    position: absolute !important;
    bottom: -15% !important;
    left: -8% !important;
    width: 400px !important;
    height: 400px !important;
    background: rgba(125,82,96,0.12) !important;
    border-radius: 9999px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 1 !important;
    filter: blur(80px) !important;
    transform: none !important;
    animation: none !important;
}

/* Hero badge — tonal pill */
.hero-badge {
    background: #E8DEF8 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.hero-badge-inner {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
}
.pulse { background: #6750A4 !important; border-radius: 9999px !important; }
.pulse::before { background: #6750A4 !important; border-radius: 9999px !important; }

/* Hero screenshot — elevated surface */
.hero-tilt .neu {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 12px 40px rgba(103,80,164,0.08) !important;
    border: none !important;
    border-radius: 24px !important;
    background: #FFFBFE !important;
}
.hero-tilt .neu:hover {
    transform: none !important;
}

/* ==========================================================================
   NAVBAR: Frosted tonal bar
   ========================================================================== */

nav .neu {
    background: rgba(255,251,254,0.9) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.08) !important;
    border-radius: 9999px !important;
}
nav .neu:hover {
    box-shadow: none !important;
    transform: none !important;
}
nav a.px-3 {
    border-radius: 9999px !important;
    --tw-bg-opacity: 0 !important;
}
nav a.px-3:hover {
    background: rgba(103,80,164,0.08) !important;
    border-radius: 9999px !important;
    color: #6750A4 !important;
}

/* ==========================================================================
   ICON FEATURES: Tonal containers
   ========================================================================== */

.icon-feature {
    background: #EADDFF !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
    color: #6750A4 !important;
}
.icon-feature svg {
    color: #6750A4 !important;
    stroke: #6750A4 !important;
}

/* Cycle icon tonal colors */
.icon-feature:nth-child(3n+2),
div:nth-child(3n+2) > .icon-feature,
div:nth-child(3n+2) .icon-feature {
    background: #E8DEF8 !important;
    color: #1D192B !important;
}
.icon-feature:nth-child(3n+2) svg,
div:nth-child(3n+2) > .icon-feature svg,
div:nth-child(3n+2) .icon-feature svg {
    color: #1D192B !important;
    stroke: #1D192B !important;
}
.icon-feature:nth-child(3n+3),
div:nth-child(3n+3) > .icon-feature,
div:nth-child(3n+3) .icon-feature {
    background: rgba(125,82,96,0.15) !important;
    color: #7D5260 !important;
}
.icon-feature:nth-child(3n+3) svg,
div:nth-child(3n+3) > .icon-feature svg,
div:nth-child(3n+3) .icon-feature svg {
    color: #7D5260 !important;
    stroke: #7D5260 !important;
}

/* ==========================================================================
   TAB BAR
   ========================================================================== */

.tab-btn.neu-subtle,
.tab-btn.active {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
}
.tab-btn:not(.neu-subtle) {
    border: none !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    border-radius: 9999px !important;
    color: #49454F !important;
    background: transparent !important;
}
.tab-btn:not(.neu-subtle):hover {
    background: rgba(103,80,164,0.08) !important;
    color: #6750A4 !important;
}

/* Tab panel */
.tab-panel.neu {
    background: #F3EDF7 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 24px !important;
}
.tab-panel .neu-subtle,
.tab-panel .neu {
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.08) !important;
    border-radius: 16px !important;
}
.tab-panel .neu:hover {
    transform: none !important;
    border-color: transparent !important;
}

/* ==========================================================================
   BEFORE / AFTER — Tonal tinted surfaces
   ========================================================================== */

.compare-before {
    border: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    border-radius: 24px !important;
    background: #FDECEA !important;
}
.compare-after {
    border: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    border-radius: 24px !important;
    background: #E8F5E9 !important;
}

/* ==========================================================================
   STATS BAR — Primary color block
   ========================================================================== */

.stats-bar {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(103,80,164,0.25) !important;
    border-radius: 32px !important;
    position: relative !important;
    overflow: hidden !important;
}
.stats-bar * { color: rgba(255,255,255,0.85) !important; }
.stats-bar p, .stats-bar span { color: rgba(255,255,255,0.7) !important; }
.stats-bar h3, .stats-bar strong, .stats-bar b,
.stats-bar [class*="text-3xl"], .stats-bar [class*="text-4xl"] {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* No texture pattern */
.stats-bar::before {
    display: none !important;
}

/* ==========================================================================
   ORBIT / INTEGRATIONS
   ========================================================================== */

.orbit ~ .absolute.inset-0 .rounded-full[style],
section:has(.orbit) .pointer-events-none .absolute.rounded-full {
    background: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(103,80,164,0.15) !important;
    border-radius: 50% !important;
}
section:has(.orbit) .pointer-events-none .absolute {
    background: none !important;
    box-shadow: none !important;
}

section:has(.orbit) > div > .reveal.relative::before {
    display: none !important;
}

/* Orbit tiles */
.orbit-tile .neu {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 16px !important;
}
.orbit-tile .neu svg { filter: none !important; }

/* Center logo — primary surface */
section:has(.orbit) .z-10 > div,
section:has(.orbit) .absolute.left-1\/2.top-1\/2 > div {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(103,80,164,0.3) !important;
    border-radius: 24px !important;
}
section:has(.orbit) .z-10 > div > div,
section:has(.orbit) .absolute.left-1\/2.top-1\/2 > div > div {
    background: rgba(255,255,255,0.15) !important;
    box-shadow: none !important;
    border-radius: 16px !important;
}
section:has(.orbit) .z-10 svg,
section:has(.orbit) .absolute.left-1\/2.top-1\/2 svg {
    filter: none !important;
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* ==========================================================================
   TESTIMONIALS — Elevated tonal cards
   ========================================================================== */

.t-slide .neu,
.t-slide.neu {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.t-slide .neu:hover,
.t-slide.neu:hover {
    box-shadow: 0 6px 20px rgba(103,80,164,0.12) !important;
    border-color: #6750A4 !important;
    transform: scale(1.02) !important;
}
/* Stars — purple */
.t-slide .neu svg,
.t-slide.neu svg {
    color: #6750A4 !important;
}
/* Stars container — centered */
.t-slide .flex.gap-1 {
    justify-content: center !important;
}
/* Quote text — centered */
.t-slide .neu p,
.t-slide.neu p {
    text-align: center !important;
    font-style: italic !important;
    color: #49454F !important;
    font-size: 15px !important;
}
/* Author section — left aligned */
.t-slide .border-t {
    border-color: #E8E0F0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}
/* Author avatar */
.t-slide .neu-subtle.rounded-full {
    background: #E8DEF8 !important;
    color: #6750A4 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.t-dot {
    background: #E7E0EC !important;
    border: none !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
}
.t-dot.active {
    background: #6750A4 !important;
    width: 28px !important;
    border-radius: 9999px !important;
}

/* ==========================================================================
   PRICING — Asymmetric elevation on featured card
   ========================================================================== */

.price-toggle {
    background: #E8DEF8 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
}
.price-toggle button {
    border-radius: 9999px !important;
    font-weight: 500 !important;
    color: #49454F !important;
}
.price-toggle button.active {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

#planGrid > div.neu {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
#planGrid > div.neu:hover {
    box-shadow: 0 6px 20px rgba(103,80,164,0.12) !important;
    border-color: #6750A4 !important;
    transform: scale(1.02) !important;
}

/* Featured card — primary bg, elevated, asymmetric lift */
#planGrid > div.neu:has(.popular-badge) {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(103,80,164,0.3) !important;
    transform: translateY(-8px) scale(1.03) !important;
    border-radius: 28px !important;
}
#planGrid > div.neu:has(.popular-badge) * {
    color: #FFFFFF !important;
}
#planGrid > div.neu:has(.popular-badge) .text-muted,
#planGrid > div.neu:has(.popular-badge) p {
    color: rgba(255,255,255,0.7) !important;
}
#planGrid > div.neu:has(.popular-badge) .btn-primary {
    background: #FFFFFF !important;
    color: #6750A4 !important;
    border: none !important;
    font-weight: 500 !important;
}
#planGrid > div.neu:has(.popular-badge) .btn-primary:hover {
    background: rgba(255,255,255,0.9) !important;
    color: #6750A4 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: none !important;
}
#planGrid > div.neu:has(.popular-badge) .btn-primary:active {
    transform: scale(0.95) !important;
}
#planGrid > div.neu:has(.popular-badge):hover {
    transform: translateY(-12px) scale(1.04) !important;
    box-shadow: 0 12px 40px rgba(103,80,164,0.35) !important;
}

.plan-name {
    background: #E8DEF8 !important;
    border: none !important;
    padding: 4px 14px !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #6750A4 !important;
    display: inline-block !important;
}
#planGrid > div.neu:has(.popular-badge) .plan-name {
    background: rgba(255,255,255,0.2) !important;
    color: #FFFFFF !important;
}

.popular-badge {
    background: #7D5260 !important;
    color: #FFFFFF !important;
    border-radius: 9999px !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 500 !important;
}

.check-star {
    background: #EADDFF !important;
    border-radius: 12px !important;
    border: none !important;
}
.check-star svg { color: #6750A4 !important; }
#planGrid > div.neu:has(.popular-badge) .check-star {
    background: rgba(255,255,255,0.15) !important;
}
#planGrid > div.neu:has(.popular-badge) .check-star svg {
    color: #FFFFFF !important;
}

.save-label { color: #4CAF50 !important; font-weight: 500 !important; }

.currency-select {
    background: #E7E0EC !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    color: #1C1B1F !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236750A4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

/* Compare table */
.compare-table th,
.compare-table td {
    border-bottom: 1px solid #E7E0EC !important;
}
.compare-table thead th {
    font-weight: 500 !important;
}
.compare-table th:first-child,
.compare-table td:first-child {
    font-weight: 400 !important;
}
.compare-table .check {
    background: #EADDFF !important;
    color: #6750A4 !important;
    border: none !important;
    border-radius: 12px !important;
}
#compareCollapse .neu {
    background: #FFFBFE !important;
    border: 1px solid #E7E0EC !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* ==========================================================================
   FAQ — Elevated tonal cards
   ========================================================================== */

.faq-item.neu {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.faq-item.neu:hover {
    box-shadow: 0 4px 12px rgba(103,80,164,0.1) !important;
    border-color: #D0BCFF !important;
}
.faq-item.open.neu {
    background: #F9F5FF !important;
    border-color: #D0BCFF !important;
    box-shadow: 0 4px 12px rgba(103,80,164,0.1) !important;
}
.faq-toggle {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
}
.faq-item.open .faq-toggle {
    background: #7D5260 !important;
}

/* ==========================================================================
   CTA SECTION — Tertiary color block with organic shapes
   ========================================================================== */

.cta-section {
    background: #7D5260 !important;
    border: none !important;
    border-radius: 48px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(125,82,96,0.25) !important;
}
.cta-section * { color: #FFFFFF !important; }
.cta-section .h-grad {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* Organic blur shapes */
.cta-section::before {
    content: '' !important;
    position: absolute !important;
    top: -30% !important;
    right: -10% !important;
    width: 500px !important;
    height: 500px !important;
    background: rgba(103,80,164,0.3) !important;
    border-radius: 100px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    border: none !important;
    filter: blur(80px) !important;
    opacity: 1 !important;
}
.cta-section::after {
    content: '' !important;
    position: absolute !important;
    bottom: -25% !important;
    left: -8% !important;
    width: 350px !important;
    height: 350px !important;
    background: rgba(234,221,255,0.15) !important;
    border-radius: 9999px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    border: none !important;
    filter: blur(60px) !important;
    opacity: 1 !important;
}

.cta-section .badge {
    background: rgba(255,255,255,0.15) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
.cta-section .badge svg { color: #FFFFFF !important; }

/* CTA buttons — white primary, outlined secondary */
.cta-section .btn-primary {
    background: #FFFFFF !important;
    color: #7D5260 !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    border: none !important;
}
.cta-section .btn-primary * {
    color: #7D5260 !important;
}
.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: none !important;
    filter: none !important;
}
.cta-section .btn-primary:active {
    transform: scale(0.95) !important;
}
.cta-section .btn-secondary {
    border: 1px solid rgba(255,255,255,0.4) !important;
    background: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.6) !important;
}
.cta-section p { color: rgba(255,255,255,0.75) !important; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee-track span {
    font-weight: 400 !important;
    color: #79747E !important;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

/* MD3 filled text field: rounded top, flat bottom, bottom border */
.contact-input {
    background: #F3EDF7 !important;
    border: none !important;
    border-bottom: 2px solid #79747E !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: none !important;
    color: #1C1B1F !important;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
    font-family: 'Roboto', system-ui, sans-serif !important;
}
.contact-input::placeholder { color: rgba(28,27,31,0.45) !important; }
.contact-input:focus {
    background: #EDE7F3 !important;
    border-bottom-color: #6750A4 !important;
    border-bottom-width: 3px !important;
    box-shadow: none !important;
    outline: none !important;
}
textarea.contact-input { border-radius: 12px 12px 0 0 !important; }

.contact-input.is-error {
    border-bottom-color: #B3261E !important;
    box-shadow: none !important;
}

.reveal:has(iframe) {
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}

section .neu:has(#contactForm) {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 24px !important;
}

/* Contact info bar — primary tonal */
.contact-info-bar {
    background: #6750A4 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(103,80,164,0.25) !important;
    border-radius: 24px !important;
    color: #FFFFFF !important;
}
.contact-info-bar * { color: #FFFFFF !important; }
.contact-info-bar p,
.contact-info-bar [style*="footer-text"] { color: rgba(255,255,255,0.7) !important; }

.contact-info-bar > div > div:first-child {
    background: rgba(255,255,255,0.15) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}
.contact-info-bar > div > div:first-child svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}
.contact-info-bar svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }

/* Form buttons */
#contactForm .btn-primary,
#signupForm .btn-primary {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
}
#contactForm .btn-primary:hover,
#signupForm .btn-primary:hover {
    background: rgba(103,80,164,0.9) !important;
    box-shadow: 0 4px 12px rgba(103,80,164,0.3) !important;
    transform: none !important;
    filter: none !important;
}

/* Form alerts */
.form-alert { border-radius: 16px !important; border: none !important; }
.form-alert.success {
    background: #E8F5E9 !important;
    color: #1B5E20 !important;
}
.form-alert.error {
    background: #FDECEA !important;
    color: #B3261E !important;
}
.field-error { color: #B3261E !important; font-weight: 500 !important; }

/* Social buttons — outlined */
.social-btn {
    background: #FFFFFF !important;
    border: 1px solid #79747E !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    color: #1C1B1F !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.social-btn:hover {
    background: #F3EDF7 !important;
    border-color: #6750A4 !important;
    transform: none !important;
}
.social-btn:active {
    transform: scale(0.95) !important;
}

/* ==========================================================================
   SIGNUP PAGE
   ========================================================================== */

a.neu-subtle:has(.rounded-full) {
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    background: #F3EDF7 !important;
}
a.neu-subtle .rounded-full {
    background: #6750A4 !important;
    color: #FFFFFF !important;
}
.or-divider span { color: #79747E !important; font-weight: 400 !important; }

/* ==========================================================================
   FEATURES PAGE
   ========================================================================== */

.feature-nav {
    background: #F3EDF7 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
}
.feature-nav-link {
    border-radius: 9999px !important;
    font-weight: 500 !important;
    color: #49454F !important;
}
.feature-nav-link.active {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
.neu-subtle .feature-nav-link.active {
    background: #6750A4 !important;
    color: #FFFFFF !important;
}
.feature-nav-link:not(.active):hover {
    background: rgba(103,80,164,0.08) !important;
    color: #6750A4 !important;
}
.feature-nav-link:not(.active) {
    --tw-bg-opacity: 0 !important;
}

/* Module cards */
.module-card {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 24px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.module-card:hover {
    box-shadow: 0 6px 20px rgba(103,80,164,0.12) !important;
    border-color: #6750A4 !important;
    transform: scale(1.02) !important;
}
.module-card .module-icon {
    background: #EADDFF !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
}
.module-card .module-icon svg { color: #6750A4 !important; stroke: #6750A4 !important; }
.module-card .module-title { color: #1C1B1F !important; font-weight: 500 !important; }
.module-card .module-desc { color: #49454F !important; }

/* Integration tiles */
.integration-tile {
    background: #FFFFFF !important;
    border: 1px solid #E8E0F0 !important;
    box-shadow: 0 2px 8px rgba(103,80,164,0.06) !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.integration-tile:hover {
    box-shadow: 0 6px 20px rgba(103,80,164,0.12) !important;
    border-color: #6750A4 !important;
    transform: scale(1.02) !important;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

article.neu {
    background: #FFFBFE !important;
    border: 1px solid #E7E0EC !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    border-radius: 24px !important;
}
aside .neu-subtle {
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    background: #F3EDF7 !important;
}
.policy-toc a { border-radius: 8px !important; }
.policy-toc a:hover { color: #6750A4 !important; background: rgba(103,80,164,0.08) !important; }
.policy-toc a.active { color: #6750A4 !important; background: #E8DEF8 !important; font-weight: 500 !important; }
.policy-prose a { color: #6750A4 !important; }

/* ==========================================================================
   FOOTER — Dark warm surface
   ========================================================================== */

footer > div { max-width: 100% !important; padding: 0 !important; }
footer .mx-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    background: #1C1B1F !important;
    padding-left: max(2rem, calc((100vw - 1080px) / 2 + 2rem)) !important;
    padding-right: max(2rem, calc((100vw - 1080px) / 2 + 2rem)) !important;
}
footer h4 {
    color: #FFFFFF !important;
    font-weight: 500 !important;
}
footer li a { color: rgba(255,255,255,0.5) !important; }
footer li a:hover { color: #EADDFF !important; }
footer .text-dim { color: rgba(255,255,255,0.3) !important; }
footer .border-t { border-color: rgba(255,255,255,0.08) !important; }

.footer-social {
    background: rgba(255,255,255,0.1) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    color: #FFFFFF !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.footer-social:hover {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
.footer-social:active {
    transform: scale(0.95) !important;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu {
    background: #FFFBFE !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-left: none !important;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1) !important;
}
.mobile-menu .neu-subtle {
    background: #F3EDF7 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px !important;
}
.mobile-menu .neu-subtle:hover {
    background: rgba(103,80,164,0.08) !important;
    color: #6750A4 !important;
}
#nav-close {
    background: #F3EDF7 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
}
.mob-link {
    color: #1C1B1F !important;
    font-weight: 500 !important;
}
.mobile-menu .btn-primary {
    background: #6750A4 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
}
.mobile-menu .btn-primary:hover {
    background: rgba(103,80,164,0.9) !important;
}

/* ==========================================================================
   SELECTION
   ========================================================================== */

::selection {
    background: rgba(103,80,164,0.3);
    color: #1C1B1F;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .h1 {
        font-size: 38px !important;
        letter-spacing: -0.01em !important;
    }
    .h2 {
        font-size: 30px !important;
    }
    .hero-section {
        border-radius: 0 0 24px 24px !important;
    }
    .cta-section {
        border-radius: 24px !important;
    }
    .stats-bar {
        border-radius: 24px !important;
    }
    #planGrid > div.neu:has(.popular-badge) {
        transform: none !important;
    }
}

/* Nav dropdown */
.nav-dropdown-menu {
    background: #F3EDF7 !important;
    border: 1px solid rgba(103,80,164,0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 4px 12px rgba(103,80,164,0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.nav-dropdown-menu a { color: #1C1B1F !important; border-radius: 12px !important; }
.nav-dropdown-menu a:hover { background: rgba(103,80,164,0.08) !important; color: #6750A4 !important; }
.nav-dropdown-toggle { color: var(--ink) !important; }
.mob-accordion-toggle { color: var(--ink) !important; }
.mob-accordion-body a { color: var(--muted) !important; }
.mob-accordion-body a:hover { color: #6750A4 !important; }
