/* ==========================================================================
   Tabb App Website - Premium Design System v2.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2e3092;
    --primary-dark: #191b61;
    --primary-light: #4a4db0;
    --primary-glow: rgba(46, 48, 146, 0.3);

    --secondary: #ee1f5e;
    --secondary-dark: #c4184f;
    --secondary-light: #ff4d85;
    --secondary-glow: rgba(238, 31, 94, 0.3);

    --accent-purple: #9b51e0;
    --accent-purple-dark: #7b3fc0;

    --bg-dark: #080a18;
    --bg-hero: #080a18;
    --bg-darker-shade: #ECEDF2;
    --bg-canvas: #F8F9FC;
    --bg-surface: #F0F1F7;
    --bg-card: #FFFFFF;

    --text-dark: #0D0F24;
    --text-body: #4A4E6D;
    --text-muted: #8488A8;
    --text-white: #FFFFFF;

    --success: #22c55e;
    --warning: #F59E0B;
    --error: #ef4444;

    --border-grey: #666;
    --border-light: #E2E4EE;
    --border-dark: rgba(255, 255, 255, 0.10);
    --border-glow: rgba(78, 80, 200, 0.4);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --shadow-soft: 0 4px 24px rgba(46, 48, 146, 0.06);
    --shadow-md: 0 8px 32px rgba(46, 48, 146, 0.10);
    --shadow-hover: 0 20px 50px rgba(46, 48, 146, 0.14);
    --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.45);
    --shadow-glow-pink: 0 0 40px rgba(238, 31, 94, 0.25);
    --shadow-glow-blue: 0 0 40px rgba(46, 48, 146, 0.3);

    --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

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

.serif-font {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-purple) 55%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-success {
    color: var(--success);
}

.text-pink {
    color: var(--secondary);
}

.text-warning {
    color: var(--warning);
}

/* ===================== SCROLL REVEAL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ===================== NAVIGATION ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 14px 0;
    background: rgba(8, 10, 24, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.header-logo {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.header-nav a {
    color: rgba(160, 166, 204, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    letter-spacing: 0.01em;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: #ffffff;
}

.header-nav a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-nav-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px var(--secondary-glow);
    transition: var(--transition-bounce);
}

.btn-nav-primary:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 28px var(--secondary-glow);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-dark);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

/* ===================== HERO SECTION ===================== */
.editorial-hero {
    background: var(--bg-hero);
    color: var(--text-white);
    padding: 160px 0 110px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated mesh background */
.hero-bg-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-mesh::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 48, 146, 0.35) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: pulse-slow 8s ease-in-out infinite;
}

.hero-bg-mesh::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 31, 94, 0.2) 0%, transparent 70%);
    bottom: -100px;
    right: 5%;
    animation: pulse-slow 10s ease-in-out infinite reverse;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Floating orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-orb linear infinite;
}

.orb-1 {
    width: 6px;
    height: 6px;
    background: rgba(238, 31, 94, 0.5);
    top: 20%;
    left: 15%;
    animation-duration: 12s;
    box-shadow: 0 0 12px rgba(238, 31, 94, 0.5);
}

.orb-2 {
    width: 4px;
    height: 4px;
    background: rgba(155, 81, 224, 0.6);
    top: 60%;
    left: 8%;
    animation-duration: 18s;
    animation-delay: -4s;
}

.orb-3 {
    width: 8px;
    height: 8px;
    background: rgba(74, 77, 176, 0.4);
    top: 35%;
    right: 20%;
    animation-duration: 15s;
    animation-delay: -8s;
}

.orb-4 {
    width: 3px;
    height: 3px;
    background: rgba(238, 31, 94, 0.7);
    top: 75%;
    right: 30%;
    animation-duration: 20s;
    animation-delay: -12s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    25% {
        transform: translate(20px, -30px);
        opacity: 1;
    }

    50% {
        transform: translate(-15px, -20px);
        opacity: 0.4;
    }

    75% {
        transform: translate(10px, 15px);
        opacity: 0.8;
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

/* Grid lines decoration */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 99px;
    background: rgba(238, 31, 94, 0.12);
    border: 1px solid rgba(238, 31, 94, 0.3);
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    animation: kicker-pulse 3s ease-in-out infinite;
}

@keyframes kicker-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(238, 31, 94, 0);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(238, 31, 94, 0.06);
    }
}

.editorial-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 26px;
    background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editorial-title .gradient-text {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-purple) 60%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(160, 166, 204, 0.9);
    max-width: 520px;
    margin-bottom: 42px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-download-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.store-card-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 13px 26px;
    border-radius: var(--radius-md);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.store-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-card-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.store-card-btn:hover::before {
    opacity: 1;
}

.store-card-btn i {
    font-size: 1.9rem;
}

.store-card-btn span {
    display: block;
}

.store-card-btn .sub {
    font-size: 0.68rem;
    color: rgba(160, 166, 204, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-card-btn .main {
    font-size: 1.05rem;
    font-weight: 700;
}

.hero-stats-strip {
    display: flex;
    gap: 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-inline {
    flex: 1;
    position: relative;
    padding-right: 30px;
}

.stat-inline+.stat-inline {
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-inline h4 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-inline p {
    font-size: 0.8rem;
    color: rgba(132, 136, 168, 0.9);
    font-weight: 500;
}

/* === Hero Right: App Mockup === */
.hero-right {
    position: relative;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(46, 48, 146, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-mockup-frame {
    background: linear-gradient(145deg, #10132a 0%, #181c3a 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 32px;
    padding: 28px;
    box-shadow:
        var(--shadow-dark),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        var(--shadow-glow-blue);
    position: relative;
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Glow corners */
.hero-mockup-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.app-widget-card {
    background: #0b0e21;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 48, 146, 0.4);
}

.widget-status-badge {
    font-size: 0.72rem;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 99px;
    font-weight: 700;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.widget-balances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bal-box {
    background: rgba(255, 255, 255, 0.035);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.bal-box:hover {
    background: rgba(255, 255, 255, 0.06);
}

.bal-box span {
    font-size: 0.7rem;
    color: #8488A8;
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.bal-box strong {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Transaction list */
.widget-transactions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
    transition: var(--transition-fast);
}

.widget-tx-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.widget-tx-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-tx-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.widget-tx-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.widget-tx-icon.pink {
    background: rgba(238, 31, 94, 0.15);
    color: var(--secondary-light);
}

.widget-tx-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #d0d4f0;
}

.widget-tx-sub {
    font-size: 0.68rem;
    color: #8488A8;
}

.widget-tx-amount {
    font-size: 0.88rem;
    font-weight: 800;
}

.alert-highlight-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    padding: 12px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: alert-pulse 2.5s ease-in-out infinite;
}

@keyframes alert-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    }
}

.alert-highlight-box p {
    font-size: 0.78rem;
    color: #A0A6CC;
    margin: 0;
}

.alert-highlight-box button {
    background: var(--warning);
    color: #000;
    border: none;
    padding: 5px 13px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.72rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    white-space: nowrap;
}

.alert-highlight-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* ===================== SECTION COMMON ===================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    background: rgba(238, 31, 94, 0.08);
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid rgba(238, 31, 94, 0.2);
}

.section-headline {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.08rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===================== WHO NEEDS SECTION ===================== */
.who-needs-section {
    padding: 110px 0;
    background: var(--bg-darker-shade);
    position: relative;
    overflow: hidden;
}

.who-needs-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.4;
}

.who-needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.who-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.who-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
    border: 1px solid var(--secondary);
}

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

.who-badge {
    align-self: flex-start;
    background: rgba(46, 48, 146, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(46, 48, 146, 0.12);
    display: flex;
    align-items: center;
    gap: 7px;
}

.who-card-icon {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(46, 48, 146, 0.1), rgba(46, 48, 146, 0.05));
    color: var(--primary);
    transition: var(--transition-smooth);
}

.who-card-icon i {
    font-size: 2em;
    color: var(--primary-light)
}

.who-card:hover .who-card-icon i {
    font-size: 2em;
    color: var(--text-white)
}

.who-card:hover .who-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.who-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.who-card p {
    color: var(--text-body);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 22px;
    flex: 1;
}

.who-takeaway {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===================== FEATURES / BENTO SECTION ===================== */
.bento-section {
    padding: 110px 0;
    background: var(--bg-canvas);
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin-top: 56px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-glow);
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-span-8 {
    grid-column: span 8;
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-icon-pill {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bg-primary-grad {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-orange-grad {
    background: linear-gradient(135deg, #e67e22, #f59e0b);
}

.bg-green-grad {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.bg-purple-grad {
    background: linear-gradient(135deg, var(--accent-purple-dark), var(--accent-purple));
}

.bg-pink-grad {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.bento-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.bento-card p {
    color: var(--text-body);
    font-size: 0.97rem;
    line-height: 1.65;
}

.bento-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.tag-pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===================== TESTIMONIALS SECTION ===================== */
.testimonials-section {
    padding: 110px 0;
    background: var(--bg-darker-shade);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(46, 48, 146, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 0.95rem;
}

.testimonial-quote {
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--primary-light);
    font-family: var(--font-serif);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===================== HOW IT WORKS SECTION ===================== */
.how-it-works-section {
    padding: 110px 0;
    background: var(--bg-canvas);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    opacity: 0.25;
    z-index: 0;
}

.step-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    position: relative;
    transition: var(--transition-bounce);
}

.step-number.s1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.step-number.s2 {
    background: linear-gradient(135deg, var(--accent-purple-dark), var(--accent-purple));
    color: white;
    box-shadow: 0 8px 24px rgba(155, 81, 224, 0.3);
}

.step-number.s3 {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: white;
    box-shadow: 0 8px 24px var(--secondary-glow);
}

.step-number.s4 {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.step-item:hover .step-number {
    transform: scale(1.1) translateY(-4px);
}

.step-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ===================== FINAL CTA SECTION ===================== */
.final-cta-section {
    padding: 80px 0 110px;
    background: var(--bg-canvas);
}

.cta-box {
    background: linear-gradient(135deg, #080a18 0%, var(--primary-dark) 40%, #1a0a2e 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    color: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(46, 48, 146, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(238, 31, 94, 0.2) 0%, transparent 60%);
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

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

.cta-box h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    color: rgba(160, 166, 204, 0.9);
    font-size: 1.15rem;
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

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

.cta-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.cta-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(160, 166, 204, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-badge-item i {
    color: var(--success);
    font-size: 1rem;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 48, 146, 0.6), rgba(238, 31, 94, 0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-brand p {
    color: #6c74a6;
    margin: 16px 0 26px;
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8488A8;
    font-size: 0.95rem;
    transition: var(--transition-bounce);
}

.footer-social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--secondary-glow);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    list-style: none;
}

.footer-col a {
    color: #6c74a6;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #5a6080;
    font-size: 0.83rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #5a6080;
    font-size: 0.83rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ===================== MODAL ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 24, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 440px;
    padding: 36px;
    box-shadow: var(--shadow-dark);
    transform: scale(0.94) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    font-size: 1.3rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-body);
    line-height: 1;
}

.modal-close:hover {
    background: var(--error);
    color: white;
    border-color: var(--error);
}

.modal-date-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: block;
}

.modal-date-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-canvas);
    transition: var(--transition-fast);
    outline: none;
}

.modal-date-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.btn-modal-cancel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 11px 22px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    color: var(--text-body);
    transition: var(--transition-fast);
}

.btn-modal-cancel:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

.btn-modal-save {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-bounce);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-modal-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--primary-glow);
}

/* ===================== SUBPAGES ===================== */
.subpage-hero {
    background: var(--bg-hero);
    color: var(--text-white);
    padding: 160px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(46, 48, 146, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 40%, rgba(238, 31, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.subpage-hero .hero-grid-lines {
    opacity: 0.5;
}

.subpage-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subpage-subtitle {
    font-size: 1.1rem;
    color: rgba(160, 166, 204, 0.85);
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.75;
}

.page-content-section {
    padding: 80px 0 120px;
    background: var(--bg-canvas);
}

/* FAQ Accordion */
.faq-fullwidth-wrap {
    /* max-width: 860px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-card-item:hover {
    border-color: rgba(46, 48, 146, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-card-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
    gap: 16px;
}

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

.faq-card-question i {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-card-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
}

.faq-card-answer p {
    color: var(--text-body);
    font-size: 0.97rem;
    line-height: 1.75;
    padding-bottom: 24px;
}

.faq-card-item.active {
    border-color: rgba(46, 48, 146, 0.25);
    box-shadow: var(--shadow-hover);
}

.faq-card-item.active .faq-card-answer {
    max-height: 400px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-card-item.active .faq-card-question {
    color: var(--primary);
}

.faq-card-item.active .faq-card-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Legal Docs */
.legal-document-card {
    max-width: 840px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-soft);
}

.legal-document-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.legal-document-card h2:first-child {
    margin-top: 0;
}

.legal-document-card p {
    color: var(--text-body);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-document-card ul {
    margin: 0 0 20px 24px;
    color: var(--text-body);
}

.legal-document-card li {
    margin-bottom: 9px;
    line-height: 1.6;
    font-size: 0.97rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .editorial-title {
        font-size: 3.4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

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

    .bento-span-8,
    .bento-span-4 {
        grid-column: span 12;
    }

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

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .editorial-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .editorial-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 56px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-download-buttons {
        justify-content: center;
    }

    .hero-stats-strip {
        justify-content: center;
    }

    .stat-inline {
        text-align: left;
    }

    .header-nav {
        display: none;
    }

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

    .who-needs-grid {
        grid-template-columns: 1fr;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-box {
        padding: 54px 28px;
    }

    .cta-box h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-headline {
        font-size: 2.1rem;
    }

    .subpage-title {
        font-size: 2.2rem;
    }

    .legal-document-card {
        padding: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .bento-card {
        padding: 28px;
    }

    .bento-section,
    .who-needs-section,
    .testimonials-section,
    .how-it-works-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .editorial-title {
        font-size: 2.1rem;
    }

    .hero-download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-box h2 {
        font-size: 1.9rem;
    }

    .section-headline {
        font-size: 1.85rem;
    }

    .container {
        padding: 0 18px;
    }
}

/* Mobile nav open state */
.header-nav.mobile-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 10, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 28px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
    animation: mobile-nav-in 0.3s ease;
}

.header-nav.mobile-open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
}

.header-nav.mobile-open a:last-child {
    border-bottom: none;
}

@keyframes mobile-nav-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}