/* ============================================================
   AffTrax Landing Page — Premium Light Mode Design System
   MNC Grade SaaS Feel with Storytelling & Bento Grid
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Indigo brand palette */
    --primary: #4338CA;
    /* Deeper indigo for MNC feel */
    --primary-hover: #3730A3;
    --primary-light: #EEF2FF;
    --primary-glow: rgba(67, 56, 202, 0.15);

    /* Neutral palette - softer, warmer grays */
    --bg: #FAFBFF;
    --bg-white: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Accents */
    --rose: #E11D48;
    --amber: #D97706;
    --emerald: #059669;
    --sky: #0284C7;
    --violet: #7C3AED;
    --indigo: #4F46E5;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
    --gradient-text: linear-gradient(135deg, #1E1B4B 0%, #4338CA 100%);
    --gradient-hero-bg: radial-gradient(circle at top center, #EEF2FF 0%, #FAFBFF 100%);

    /* Bento Box Backgrounds */
    --bento-bg: #FFFFFF;
    --bento-bg-alt: #F8FAFC;

    /* Shadows - softer and more corporate */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-bento: 0 4px 6px -1px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --shadow-bento-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02);

    /* Sizing */
    --container: 1420px;
    /* Wider container for maximum screen usage */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --transition: 0.4s var(--ease);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure body doesn't cause horizontal scroll issues */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.section-label-rose {
    color: var(--rose);
    background: #FFF1F2;
}

.section-label-emerald {
    color: var(--emerald);
    background: #D1FAE5;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

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

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    padding: 12px 24px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 4px rgba(67, 56, 202, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(67, 56, 202, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-alt);
}

.btn-white {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background: #F8FAFC;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-xl {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo-img {
    width: 110px;
    /* Replaced height with width to increase size 10% */
    height: auto;
}

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

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

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

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

.nav-btn {
    font-size: 14px;
    padding: 10px 20px;
}

.nav-btn-ghost {
    color: var(--text);
    background: transparent;
    font-weight: 600;
}

.nav-btn-ghost:hover {
    color: var(--primary);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    padding: 16px 24px 24px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

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

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 100%);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    border: 1px solid rgba(67, 56, 202, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    object-fit: cover;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-count {
    background: var(--bg-alt);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
}

.sp-stars {
    color: #FBBF24;
    font-size: 12px;
    letter-spacing: 2px;
}

.social-proof-text span:last-child {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dashboard-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-2xl);
    background: var(--bg-white);
    overflow: visible;
}

.dashboard-img {
    width: 100%;
    border-radius: var(--radius-xl);
    display: block;
}

/* Floating badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    z-index: 10;
}

.float-badge i {
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.fb-value {
    font-weight: 800;
    color: var(--text);
    display: block;
    font-size: 16px;
}

.fb-label {
    color: var(--text-muted);
    font-size: 12px;
    display: block;
}

.fb-text {
    font-weight: 600;
    color: var(--emerald);
    font-size: 14px;
}

.float-badge-1 {
    top: 10%;
    left: -40px;
}

.float-badge-2 {
    bottom: 25%;
    right: -30px;
}

.float-badge-3 {
    bottom: 5%;
    left: 5%;
}

.float-badge-2 i {
    color: var(--emerald);
}

.float-badge-3 i {
    color: var(--rose);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 16px);
        opacity: 0;
    }
}

/* ===== BRANDS MARQUEE ===== */
.brands {
    padding: 64px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.brands-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-white), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-white), transparent);
}

.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
}

.marquee-item {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.4;
    transition: opacity 0.3s;
    letter-spacing: -0.5px;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--text);
}

/* ===== STORYTELLING (PARALLAX) ===== */
.story {
    padding: 120px 0;
    background: var(--bg);
    overflow: hidden;
}

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

.story-problem .story-visual {
    order: 2;
}

.story-solution .story-text {
    order: 2;
}

.story-solution .story-visual {
    order: 1;
}

.story-text {
    padding-right: 40px;
}

.story-solution .story-text {
    padding-right: 0;
    padding-left: 40px;
}

.story-text .section-title {
    font-size: 40px;
    text-align: left;
}

.story-text .section-subtitle {
    text-align: left;
    margin: 0;
}

.problem-cards,
.solution-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Will be animated by GSAP */
}

.problem-card {
    background: #FFF1F2;
    border: 1px solid #FFE4E6;
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9F1239;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transform: translateX(20px);
    /* Base offset for parallax */
}

.problem-card i {
    font-size: 24px;
    color: #E11D48;
}

.solution-card {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    color: #166534;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transform: translateX(-20px);
    /* Base offset for parallax */
}

.solution-card i {
    font-size: 24px;
    color: #059669;
}

.story-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 60px 0;
}

.divider-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.divider-orb {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    box-shadow: var(--shadow-sm);
    margin: 0;
    z-index: 2;
}



/* ===== FEATURES (COMPACT BENTO) ===== */
.features {
    padding: 80px 0;
    background: #FAFAFA;
}

.bento-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
    width: 100%;
    margin-top: 40px;
}

.bca {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bca:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.06);
}

.bca-lg {
    grid-column: span 2;
    flex-direction: row;
}

.bca-vt {
    grid-column: span 1;
    grid-row: span 2;
}

.bca-sq {
    grid-column: span 1;
    grid-row: span 1;
}

/* Content Areas */
.bca-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.bca-lg .bca-content {
    flex: 0 0 50%;
    padding: 32px;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: none;
}

.bca h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.bca p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Visual Areas */
.bca-visual {
    flex: 1;
    position: relative;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bca-visual-small {
    flex: 1;
    position: relative;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.bca-lg .bca-visual {
    border-left: 1px solid rgba(0, 0, 0, 0.03);
}

.bca-vt .bca-visual {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.bca-vt .center-visual {
    align-items: center;
}

/* Background Glowing Orbs */
.f-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.5;
    transition: transform 0.5s ease;
}

.bca:hover .f-orb {
    transform: scale(1.2);
    opacity: 0.8;
}

.f-orb-indigo {
    background: rgba(67, 56, 202, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.f-orb-rose {
    background: rgba(225, 29, 72, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.f-orb-emerald {
    background: rgba(5, 150, 105, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 1. Tracking Chart */
.f-chart {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    width: 160px;
}

.fc-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-bar-active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(67, 56, 202, 0.3);
}

/* 2. Fraud Ring */
.f-fraud-ring {
    position: relative;
    z-index: 1;
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-fraud-ring svg {
    position: absolute;
    width: 130px;
    height: 130px;
    transform: rotate(-90deg);
}

.f-fraud-ring .circle-bg {
    fill: none;
    stroke: #F1F5F9;
    stroke-width: 4;
}

.f-fraud-ring .circle {
    fill: none;
    stroke: var(--rose);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.bca:hover .f-fraud-ring .circle {
    stroke-dasharray: 100 100;
}

.ffr-inner .ffr-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    display: block;
    line-height: 1;
}

/* 3. & 4. Small Visuals */
.bg-icon-emerald {
    font-size: 48px;
    color: var(--emerald);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(5, 150, 105, 0.2));
}

.mini-code {
    position: relative;
    z-index: 1;
    background: #0F172A;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
}

.mini-code span {
    color: var(--emerald);
}

/* 5. Management Table */
.mini-table {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    width: 200px;
    border: 1px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.mt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.mt-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.mt-av {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.mt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mt-green {
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

\n.fu-right {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

\n

/* ===== STATS (Parallax Strip) ===== */
.stats {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.stat-value {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

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

.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.step-card {
    flex: 1;
    position: relative;
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -24px;
    left: 32px;
    font-size: 48px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    z-index: -1;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
    border: 1px solid var(--border);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin-top: 72px;
}

/* ===== DASHBOARD SHOWCASE ===== */
.showcase {
    padding: 120px 0;
    background: var(--bg-white);
}

.showcase-frame {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.showcase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}

.bar-dots {
    display: flex;
    gap: 8px;
}

.bar-url {
    background: var(--bg-white);
    padding: 4px 64px;
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.bar-actions i {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 8px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--bg);
}

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

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.tc-featured {
    background: var(--text);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.tc-featured .tc-quote {
    color: #fff;
}

.tc-featured .tc-name {
    color: #fff;
}

.tc-featured .tc-role {
    color: rgba(255, 255, 255, 0.6);
}

.tc-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.tc-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    flex: 1;
    margin-bottom: 32px;
    font-weight: 500;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.tc-name {
    font-weight: 700;
    font-size: 15px;
    display: block;
}

.tc-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PRICING ===== */
.pricing {
    padding: 120px 0;
    background: var(--bg-alt);
    /* Light gray background to contrast with white cards */
}

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

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-card .btn {
    margin-top: auto;
    border-radius: var(--radius-md);
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
}

.pc-popular {
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.pc-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    /* Blue badge */
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.pc-header h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text);
    letter-spacing: -1px;
}

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

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

.pc-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.pc-amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--text);
}

.pc-period {
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 500;
    font-size: 16px !important;
}

.pc-custom {
    font-size: 40px;
    color: var(--text);
    letter-spacing: -1px;
}

.pc-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
    /* Align feature list to the left */
    flex-grow: 1;
    /* Allow features to take up remaining space, pushing the button down */
}

.pc-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pc-features i {
    color: var(--emerald);
    font-size: 20px;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0 120px;
    background: var(--bg-white);
}

.cta-card {
    background: var(--text);
    border-radius: var(--radius-2xl);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.cta-content .cta-btn {
    background-color: #ffffff !important;
    color: var(--text) !important;
    border: none;
    box-shadow: var(--shadow-md);
}

.cta-content .cta-btn:hover {
    background-color: #f8fafc !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
}

.footer-logo-img {
    height: 32px;
    margin-bottom: 24px;
    filter: grayscale(1) opacity(0.8);
}

.footer-logo-img:hover {
    filter: none;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 300px;
}

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

.footer-social a {
    color: var(--text-muted);
    font-size: 20px;
}

.footer-social a:hover {
    color: var(--text);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

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

.footer-bottom {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .story-block {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .story-problem .story-visual {
        order: 2;
    }

    .story-solution .story-text {
        order: 1;
        padding: 0;
    }

    .story-text {
        padding: 0;
    }

    .story-text .section-title {
        text-align: center;
    }

    .story-text .section-subtitle {
        text-align: center;
    }

    .feature-rows {
        gap: 80px;
        margin-top: 60px;
    }

    .f-row,
    .f-reversed {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .f-text h3 {
        font-size: 28px;
    }

    .fc-icon {
        margin: 0 auto 24px;
    }

    .f-list li {
        justify-content: center;
    }

    .f-glass-panel {
        padding: 40px 24px;
        min-height: 340px;
    }

    .f-orb {
        width: 200px;
        height: 200px;
    }

    .stats-inner {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        width: 40%;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-container {
        height: 64px;
    }

    .nav-logo-img {
        width: 90px;
        height: auto;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-layout {
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .float-badge {
        transform: scale(0.85);
        padding: 10px 14px;
    }

    .float-badge-1 {
        left: -10px;
        top: -10px;
    }

    .float-badge-2 {
        right: -10px;
        bottom: 30%;
    }

    .float-badge-3 {
        left: 5%;
        bottom: -10px;
    }

    section {
        padding: 60px 0;
    }

    .story,
    .features,
    .how-it-works,
    .showcase,
    .testimonials,
    .pricing {
        padding: 60px 0;
    }

    .showcase {
        padding: 60px 0 0;
    }

    .showcase-frame {
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: none;
        margin: 0 -20px;
        /* Offset the .container padding to reach edge */
        width: calc(100% + 40px);
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .bento-grid-compact {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(260px, auto);
    }

    .bca-lg,
    .bca-vt,
    .bca-sq {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bca-lg {
        flex-direction: column;
    }

    .bca-lg .bca-content {
        flex: auto;
        padding: 24px;
    }

    .bca-lg .bca-visual {
        min-height: 200px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }

    .amazing-table,
    .amazing-chart {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 24px 0;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pc-amount {
        font-size: 40px;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content .cta-btn {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        white-space: normal;
        padding: 16px 20px;
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: -1px;
    }


    .float-badge {
        display: none;
    }

    /* Hide floating badges on tiny screens */
    .story-block {
        gap: 32px;
    }

    .problem-card,
    .solution-card {
        padding: 16px;
        font-size: 14px;
        gap: 12px;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 32px;
    }

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

    .stats-inner {
        flex-direction: column;
        gap: 0;
    }

    .step-card {
        padding: 32px 24px;
    }

    /* Utility to hide extra bento cards on mobile */
    .hide-on-mobile {
        display: none !important;
    }
}

