/* ==========================================================================
   Corporate Trust Design System — Theme Override
   Modern enterprise SaaS: indigo gradients, colored shadows, dimensional depth
   Load AFTER style.css to override neumorphic defaults.
   ========================================================================== */

/* --- Self-hosted font --- */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    font-weight: 400 800;
    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 — Indigo / Slate */
    --canvas: #F8FAFC;
    --ink: #0F172A;
    --muted: #64748B;
    --dim: #94A3B8;
    --divider: #E2E8F0;
    --accent: #4F46E5;

    /* Surfaces */
    --card-bg: #FFFFFF;
    --card-border: #E2E8F0;
    --card-shadow-light: transparent;
    --card-shadow-dark: transparent;
    --card-inset-border: transparent;

    /* Navbar */
    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-icon-gradient-start: #4F46E5;
    --nav-icon-gradient-end: #7C3AED;

    /* Footer */
    --footer-bg: #0F172A;
    --footer-text: #E2E8F0;
    --footer-gradient-start: #4F46E5;
    --footer-gradient-end: #1E293B;
    --footer-radius: 0;

    /* Heading gradient */
    --grad-start: #4F46E5;
    --grad-end: #7C3AED;

    /* Buttons */
    --btn-bg: #4F46E5;
    --btn-text: #FFFFFF;
    --btn-hover-bg: #4338CA;

    /* Forms */
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-shadow: transparent;

    /* Feedback */
    --success-bg: #ECFDF5;
    --success-border: #A7F3D0;
    --success-text: #065F46;
    --error-bg: #FEF2F2;
    --error-border: #FECACA;
    --error-text: #991B1B;
    --error-accent: #EF4444;
    --field-error: #DC2626;

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

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;

    /* Misc */
    --tooltip-bg: #0F172A;
    --tooltip-text: #FFFFFF;
    --dot-inactive: #CBD5E1;
    --dot-active: #4F46E5;
    --section-alt-bg: #F1F5F9;
    --marker-color: #CBD5E1;
    --hover-bg: rgba(79, 70, 229, 0.06);
}

/* ==========================================================================
   TRANSITIONS — Refined motion
   ========================================================================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}
h1 { font-weight: 800 !important; }

/* Gradient text — indigo to violet */
.h-grad {
    background-image: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.h1 {
    font-size: 64px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
}
.h2 {
    font-size: 46px !important;
    line-height: 1.1 !important;
}

/* ==========================================================================
   CORE COMPONENTS: Elevated cards with colored shadows
   ========================================================================== */

.neu {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(79, 70, 229, 0.08) !important;
    border-radius: 16px !important;
    transition: all 0.2s ease !important;
}
.neu:hover {
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.06) !important;
}
.neu-subtle {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.06) !important;
}

/* ==========================================================================
   BUTTONS: Gradient pills with colored shadows
   ========================================================================== */

.btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 14px 28px !important;
    transition: all 0.2s ease !important;
}
.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px 0 rgba(79, 70, 229, 0.4) !important;
}
.btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px 0 rgba(79, 70, 229, 0.3) !important;
}
.btn-primary.sm {
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px 0 rgba(79, 70, 229, 0.25) !important;
}
.btn-primary.sm:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px 0 rgba(79, 70, 229, 0.35) !important;
}

.btn-secondary {
    background: #FFFFFF !important;
    color: #334155 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.06) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.btn-secondary:hover {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.1) !important;
}

/* ==========================================================================
   BADGES: Indigo-tinted pills
   ========================================================================== */

.badge {
    background: rgba(79, 70, 229, 0.06) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    color: #4F46E5 !important;
    font-weight: 600 !important;
}
.badge svg {
    color: #4F46E5 !important;
}

.badge-green {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #059669 !important;
}
.badge-green svg { color: #059669 !important; }
.badge-blue {
    background: #4F46E5 !important;
    border-color: #4F46E5 !important;
    color: #FFFFFF !important;
}
.badge-blue svg { color: #FFFFFF !important; }
.badge-purple {
    background: rgba(124, 58, 237, 0.08) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
    color: #7C3AED !important;
}
.badge-purple svg { color: #7C3AED !important; }
.badge-white {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #0F172A !important;
}
.badge-gray {
    background: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-section {
    background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 60%) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Atmospheric gradient blobs */
.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: -10% !important;
    right: -5% !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%) !important;
    border-radius: 9999px !important;
    filter: blur(80px) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
.hero-section::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: -10% !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%) !important;
    border-radius: 9999px !important;
    filter: blur(80px) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Hero badge */
.hero-badge {
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.1) !important;
    background: #FFFFFF !important;
    border-radius: 9999px !important;
}
.hero-badge-inner {
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
    box-shadow: none !important;
    background: rgba(79, 70, 229, 0.06) !important;
    border-radius: 9999px !important;
    color: #4F46E5 !important;
    font-weight: 600 !important;
}
.pulse {
    background: #4F46E5 !important;
}
.pulse::before {
    background: #4F46E5 !important;
}

/* Hero screenshot — dimensional with colored shadow */
.hero-tilt .neu {
    box-shadow: 0 25px 60px -12px rgba(79, 70, 229, 0.2), 0 0 0 1px rgba(79, 70, 229, 0.05) !important;
    border-radius: 16px !important;
}

/* ==========================================================================
   NAVBAR: Clean floating bar with blur
   ========================================================================== */

nav .neu {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.08) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}
nav .font-heading a:hover,
nav a:hover {
    background: rgba(79, 70, 229, 0.06) !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   ICON FEATURES: Indigo-tinted containers
   ========================================================================== */

.icon-feature {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.2) !important;
    color: #FFFFFF !important;
}
.icon-feature svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Cycle icon styles — alternate between solid and soft */
section:nth-of-type(3) .neu:nth-child(2) .icon-feature {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important;
}
section:nth-of-type(3) .neu:nth-child(3) .icon-feature {
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%) !important;
}

/* Bento cards — varied gradient icons */
section:nth-of-type(5) .grid > .neu:nth-child(1) .icon-feature { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important; }
section:nth-of-type(5) .grid > .neu:nth-child(2) .icon-feature { background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important; }
section:nth-of-type(5) .grid > .neu:nth-child(3) .icon-feature { background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%) !important; }
section:nth-of-type(5) .grid > .neu:nth-child(4) .icon-feature { background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%) !important; }
section:nth-of-type(5) .grid > .neu:nth-child(5) .icon-feature { background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%) !important; }

/* Tab panel icons */
.tab-panel .space-y-4 > div:nth-child(1) .icon-feature { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important; }
.tab-panel .space-y-4 > div:nth-child(2) .icon-feature { background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%) !important; }
.tab-panel .space-y-4 > div:nth-child(3) .icon-feature { background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%) !important; }

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

.tab-btn.neu-subtle {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 3px 12px -2px rgba(79, 70, 229, 0.25) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.tab-btn:not(.neu-subtle) {
    border: 1px solid transparent !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    color: var(--muted) !important;
}
.tab-btn:not(.neu-subtle):hover {
    background: rgba(79, 70, 229, 0.06) !important;
}

/* Tab panel container */
.tab-panel.neu {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 30px -6px rgba(79, 70, 229, 0.1) !important;
    border-radius: 16px !important;
}
.tab-panel .neu-subtle {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 12px !important;
}
.tab-panel .neu {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.06) !important;
}

/* ==========================================================================
   BEFORE / AFTER COMPARISON
   ========================================================================== */

.compare-before {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px -4px rgba(100, 116, 139, 0.12) !important;
    border-radius: 16px !important;
}
.compare-after {
    border: 1px solid rgba(79, 70, 229, 0.3) !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.15) !important;
    border-radius: 16px !important;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.stats-bar {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 30px -6px rgba(79, 70, 229, 0.1) !important;
    border-radius: 16px !important;
    background: #FFFFFF !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(79, 70, 229, 0.1) !important;
}

section:has(.orbit) .absolute.left-1\/2.top-1\/2 > div {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 30px -6px rgba(79, 70, 229, 0.15) !important;
    border-radius: 20px !important;
    background: #FFFFFF !important;
}
section:has(.orbit) .absolute.left-1\/2.top-1\/2 > div > div {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%) !important;
    box-shadow: none !important;
}
section:has(.orbit) .absolute.left-1\/2.top-1\/2 svg {
    filter: none !important;
    stroke: #4F46E5 !important;
}

.orbit-tile .neu {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.1) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
}
.orbit-tile .neu svg {
    filter: none !important;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.t-slide.neu,
.t-slide .neu {
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.t-slide:nth-child(1) .neu,
.t-slide:nth-child(1).neu {
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.1) !important;
}
.t-slide:nth-child(2n) .neu,
.t-slide:nth-child(2n).neu {
    box-shadow: 0 4px 20px -4px rgba(124, 58, 237, 0.1) !important;
}
.t-slide:nth-child(3n) .neu,
.t-slide:nth-child(3n).neu {
    box-shadow: 0 4px 20px -4px rgba(14, 165, 233, 0.1) !important;
}

/* Lift on hover */
.t-slide .neu:hover,
.t-slide.neu:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15) !important;
}

.t-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    border: none !important;
    background: #CBD5E1 !important;
    transition: all 0.25s ease !important;
}
.t-dot.active {
    background: #4F46E5 !important;
    width: 28px !important;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.price-toggle {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 12px !important;
}
.price-toggle button {
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.price-toggle button.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.25) !important;
}

/* Pricing cards */
#planGrid > div.neu {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.08) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    transition: all 0.2s ease !important;
}
#planGrid > div.neu:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px -6px rgba(79, 70, 229, 0.15) !important;
}
/* Featured card — indigo ring + elevated */
#planGrid > div.neu:has(.popular-badge) {
    border-color: #4F46E5 !important;
    box-shadow: 0 10px 40px -8px rgba(79, 70, 229, 0.2), 0 0 0 1px rgba(79, 70, 229, 0.1) !important;
    transform: scale(1.03) !important;
}
#planGrid > div.neu:has(.popular-badge):hover {
    transform: scale(1.03) translateY(-4px) !important;
}

/* Plan name badge */
.plan-name {
    background: rgba(79, 70, 229, 0.06) !important;
    color: #4F46E5 !important;
    border-radius: 8px !important;
    padding: 4px 14px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}
#planGrid > div.neu:nth-child(1) .plan-name {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
}
#planGrid > div.neu:nth-child(3) .plan-name {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #7C3AED !important;
}

/* Popular badge */
.popular-badge {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.4) !important;
    font-weight: 600 !important;
    transform: rotate(3deg) !important;
    border-radius: 8px !important;
}

/* Check star */
.check-star {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    border: none !important;
}

/* Save label */
.save-label {
    color: #10B981 !important;
    font-weight: 600 !important;
}

/* Currency select */
.currency-select {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 10px !important;
    font-weight: 500 !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='%230F172A' 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 #E2E8F0 !important;
}
.compare-table thead th {
    font-weight: 700 !important;
}
.compare-table .check {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-item.neu {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.faq-item.open.neu {
    box-shadow: 0 6px 20px -4px rgba(79, 70, 229, 0.12) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
}
.faq-toggle {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%) !important;
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px -12px rgba(79, 70, 229, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
}
.cta-section * {
    color: #E2E8F0 !important;
}
.cta-section .h-grad {
    background-image: linear-gradient(135deg, #818CF8 0%, #C084FC 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
.cta-section .badge {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: none !important;
    color: #C7D2FE !important;
}
.cta-section .badge svg {
    color: #C7D2FE !important;
}
.cta-section .btn-primary {
    background: #FFFFFF !important;
    color: #4F46E5 !important;
    border: none !important;
    box-shadow: 0 4px 20px -4px rgba(255, 255, 255, 0.3) !important;
    font-weight: 700 !important;
}
.cta-section .btn-primary:hover {
    background: #F8FAFC !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px -4px rgba(255, 255, 255, 0.35) !important;
}
.cta-section .btn-secondary {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}
.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

/* Atmospheric gradient blobs */
.cta-section::before {
    content: '' !important;
    position: absolute !important;
    top: -80px !important;
    right: -60px !important;
    width: 300px !important;
    height: 300px !important;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%) !important;
    border: none !important;
    border-radius: 9999px !important;
    opacity: 1 !important;
    z-index: 0 !important;
    filter: blur(40px) !important;
}
.cta-section::after {
    content: '' !important;
    position: absolute !important;
    bottom: -60px !important;
    left: -40px !important;
    width: 250px !important;
    height: 250px !important;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%) !important;
    border: none !important;
    border-radius: 9999px !important;
    opacity: 1 !important;
    z-index: 0 !important;
    filter: blur(40px) !important;
}

/* ==========================================================================
   MARQUEE / TRUSTED BY
   ========================================================================== */

.marquee-track span {
    font-weight: 600 !important;
    color: #64748B !important;
}

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

.contact-input {
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.contact-input:focus {
    border-color: #4F46E5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

textarea.contact-input {
    border-radius: 12px !important;
}

.reveal:has(iframe) {
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.08) !important;
    overflow: hidden !important;
}

section .neu:has(#contactForm) {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 30px -6px rgba(79, 70, 229, 0.1) !important;
    border-radius: 16px !important;
}

/* Contact info bar */
.contact-info-bar {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.08) !important;
    border-radius: 16px !important;
    color: #0F172A !important;
}
.contact-info-bar * {
    color: #0F172A !important;
}
.contact-info-bar p,
.contact-info-bar [style*="footer-text"] {
    color: #64748B !important;
}
.contact-info-bar > div:nth-child(1) > div:first-child {
    background: rgba(79, 70, 229, 0.08) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
.contact-info-bar > div:nth-child(2) > div:first-child {
    background: rgba(124, 58, 237, 0.08) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
.contact-info-bar > div:nth-child(3) > div:first-child {
    background: rgba(16, 185, 129, 0.08) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
.contact-info-bar > div:nth-child(1) svg { color: #4F46E5 !important; stroke: #4F46E5 !important; }
.contact-info-bar > div:nth-child(2) svg { color: #7C3AED !important; stroke: #7C3AED !important; }
.contact-info-bar > div:nth-child(3) svg { color: #10B981 !important; stroke: #10B981 !important; }

/* Form buttons */
#contactForm .btn-primary,
#signupForm .btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3) !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
}
#contactForm .btn-primary:hover,
#signupForm .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px 0 rgba(79, 70, 229, 0.4) !important;
}

/* Form alerts */
.form-alert {
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    font-weight: 500 !important;
}
.form-alert.success {
    background: #ECFDF5 !important;
    border-color: #A7F3D0 !important;
    color: #065F46 !important;
    box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.1) !important;
}
.form-alert.error {
    background: #FEF2F2 !important;
    border-color: #FECACA !important;
    color: #991B1B !important;
    box-shadow: 0 2px 10px -2px rgba(239, 68, 68, 0.1) !important;
}
.field-error {
    color: #DC2626 !important;
    font-weight: 500 !important;
}
.contact-input.is-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Social buttons */
.social-btn {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.04) !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.social-btn:hover {
    border-color: #CBD5E1 !important;
    box-shadow: 0 4px 14px -4px rgba(79, 70, 229, 0.1) !important;
    transform: translateY(-1px) !important;
}

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

a.neu-subtle:has(.rounded-full) {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 12px !important;
}
a.neu-subtle .rounded-full {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
}

.or-divider span {
    font-weight: 500 !important;
}

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

.feature-nav {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.06) !important;
    border-radius: 12px !important;
}
.feature-nav-link {
    border-radius: 10px !important;
    font-weight: 500 !important;
}
.feature-nav-link.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px -2px rgba(79, 70, 229, 0.25) !important;
}

/* Module cards */
.module-card {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.08) !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.module-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px -6px rgba(79, 70, 229, 0.14) !important;
}

/* Module icon gradients */
.module-card:nth-child(1) .module-icon { background: linear-gradient(135deg, #4F46E5, #7C3AED) !important; }
.module-card:nth-child(2) .module-icon { background: linear-gradient(135deg, #7C3AED, #A855F7) !important; }
.module-card:nth-child(3) .module-icon { background: linear-gradient(135deg, #0EA5E9, #06B6D4) !important; }
.module-card:nth-child(4) .module-icon { background: linear-gradient(135deg, #10B981, #14B8A6) !important; }
.module-card:nth-child(5) .module-icon { background: linear-gradient(135deg, #F59E0B, #F97316) !important; }
.module-card:nth-child(6) .module-icon { background: linear-gradient(135deg, #4F46E5, #7C3AED) !important; }
.module-card:nth-child(7) .module-icon { background: linear-gradient(135deg, #7C3AED, #A855F7) !important; }
.module-card:nth-child(8) .module-icon { background: linear-gradient(135deg, #0EA5E9, #06B6D4) !important; }

.module-card .module-icon {
    border: none !important;
    box-shadow: 0 3px 10px -2px rgba(79, 70, 229, 0.2) !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
}
.module-card .module-icon svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Integration tiles */
.integration-tile {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.05) !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.integration-tile:hover {
    box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.12) !important;
    transform: translateY(-1px) !important;
}

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

article.neu {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.08) !important;
    border-radius: 16px !important;
}

aside .neu-subtle {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px -4px rgba(79, 70, 229, 0.06) !important;
    border-radius: 14px !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer > div {
    max-width: 100% !important;
    padding: 0 !important;
}
footer .mx-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    padding-left: max(2rem, calc((100vw - 1080px) / 2 + 2rem)) !important;
    padding-right: max(2rem, calc((100vw - 1080px) / 2 + 2rem)) !important;
}

.footer-social {
    background: rgba(79, 70, 229, 0.15) !important;
    border: none !important;
    box-shadow: none !important;
    color: #C7D2FE !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.footer-social:hover {
    background: #4F46E5 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.3) !important;
}

footer a.text-dim {
    color: rgba(226,232,240,0.5) !important;
}
footer a.text-dim:hover {
    color: #818CF8 !important;
}

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

#mobile-menu.mobile-menu {
    border-left: 1px solid #E2E8F0 !important;
}
[dir="rtl"] #mobile-menu.mobile-menu {
    border-left: none !important;
    border-right: 1px solid #E2E8F0 !important;
}
#mobile-menu .neu-subtle {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.04) !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
}
#mobile-menu .neu-subtle:hover {
    background: rgba(79, 70, 229, 0.04) !important;
    box-shadow: 0 4px 14px -3px rgba(79, 70, 229, 0.1) !important;
}
#nav-close.neu-subtle {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 6px -2px rgba(79, 70, 229, 0.06) !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
}
.mob-link {
    color: #0F172A !important;
    font-weight: 600 !important;
}
#mobile-menu .btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

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

@media (max-width: 767px) {
    .h1 {
        font-size: 40px !important;
        letter-spacing: -0.02em !important;
    }
    .h2 {
        font-size: 32px !important;
    }

    .hero-section::before {
        width: 250px !important;
        height: 250px !important;
    }
    .hero-section::after {
        width: 200px !important;
        height: 200px !important;
    }

    #planGrid > div.neu:has(.popular-badge) {
        transform: none !important;
    }
}

/* Nav dropdown */
.nav-dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px -2px rgba(79,70,229,0.08), 0 0 0 1px rgba(79,70,229,0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
.nav-dropdown-menu a { color: #1F2937 !important; border-radius: 10px !important; }
.nav-dropdown-menu a:hover { background: #F1F5F9 !important; color: #4F46E5 !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: #4F46E5 !important; }
