/* =========================================================
   DigiLogBook — Premium UI v2
   ========================================================= */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

/* ---------- Design Tokens ---------- */
:root {
    --blue-50: #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-900: #1E3A5F;
    --cyan: #00D4FF;
    --teal: #00D4AA;
    --purple: #7C3AED;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --grad-hero: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
    --grad-glow: radial-gradient(ellipse at center, rgba(0, 198, 255, 0.4) 0%, transparent 70%);
    --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    --grad-dark: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.25), 0 0 80px rgba(0, 212, 170, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    --shadow-float: 0 20px 60px rgba(10, 132, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 40px;

    /* Easing */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Utilities ---------- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

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

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    /* Only transition compositable properties — never `all` to avoid scroll jank */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform: translateZ(0);
    /* Promote to its own compositor layer */
    will-change: background-color, box-shadow;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover {
    color: var(--blue-600);
}

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

.nav-cta {
    background: var(--grad-primary) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 100px;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(10, 132, 255, 0.35);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 32px rgba(10, 132, 255, 0.45) !important;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f4ff 40%, #f5fbff 70%, #ffffff 100%);
}

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

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    animation: meshFade 1.5s forwards;
}

.mesh-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    top: -15%;
    right: -5%;
    animation: meshFade 1.5s forwards, meshFloat1 22s ease-in-out 1.5s infinite;
}

.mesh-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.14) 0%, transparent 65%);
    bottom: -10%;
    left: -8%;
    animation: meshFade 1.5s 0.3s forwards, meshFloat2 28s ease-in-out 1.8s infinite;
}

.mesh-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 65%);
    top: 35%;
    left: 20%;
    animation: meshFade 1.5s 0.6s forwards, meshFloat3 18s ease-in-out 2.1s infinite;
}

.mesh-orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 65%);
    top: 15%;
    left: 40%;
    animation: meshFade 1.5s 0.9s forwards, meshFloat1 20s ease-in-out 2.4s infinite reverse;
}

@keyframes meshFade {
    to {
        opacity: 1;
    }
}

@keyframes meshFloat1 {

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

    33% {
        transform: translate(40px, -30px) scale(1.06);
    }

    66% {
        transform: translate(-25px, 35px) scale(0.94);
    }
}

@keyframes meshFloat2 {

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

    50% {
        transform: translate(-40px, -50px) scale(1.08);
    }
}

@keyframes meshFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -15px) rotate(5deg);
    }

    75% {
        transform: translate(-15px, 20px) rotate(-5deg);
    }
}

/* Canvas particles sit here */
#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left col */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 132, 255, 0.08);
    border: 1px solid rgba(10, 132, 255, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue-600);
    margin-bottom: 28px;
    animation: badgePop 0.8s var(--ease-spring) 0.4s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.6);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: 24px;
    animation: titleSlide 0.9s var(--ease-smooth) 0.6s both;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 40px;
    animation: titleSlide 0.9s var(--ease-smooth) 0.8s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    animation: titleSlide 0.9s var(--ease-smooth) 1s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s;
}

.btn:hover::before {
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(10, 132, 255, 0.35), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(10, 132, 255, 0.45), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
    background: var(--blue-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 132, 255, 0.12);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: titleSlide 0.9s var(--ease-smooth) 1.2s both;
}

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

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-500);
    display: inline;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--gray-200);
}

/* Hero right col */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    animation: visualReveal 1.2s var(--ease-smooth) 0.5s both;
}

@keyframes visualReveal {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Glowing ring behind phone */
.phone-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #0A84FF, #00D4AA, #7C3AED, #0A84FF);
    opacity: 0.15;
    filter: blur(2px);
    animation: ringRotate 12s linear infinite;
    z-index: 0;
}

.phone-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #f0f7ff;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.phone-wrapper {
    position: relative;
    z-index: 2;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-25px) rotate(-1deg);
    }
}

.phone-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 50px;
    background: radial-gradient(ellipse, rgba(10, 132, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 6s ease-in-out infinite;
    filter: blur(8px);
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.15);
    }
}

.phone-mockup {
    width: 340px;
    height: auto;
    border-radius: 36px;
    mix-blend-mode: multiply;
    /* Makes white background transparent against light gradient */
    filter: drop-shadow(0 40px 80px rgba(0, 114, 255, 0.3)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

/* Floating icons */
.floating-icon {
    position: absolute;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    z-index: 3;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease;
    cursor: default;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 18px;
}

.fi-1 {
    width: 64px;
    height: 64px;
    top: 4%;
    left: 2%;
    animation: fi-float1 7s ease-in-out infinite;
}

.fi-2 {
    width: 56px;
    height: 56px;
    top: 18%;
    right: 0%;
    animation: fi-float2 8.5s ease-in-out infinite 0.5s;
}

.fi-3 {
    width: 52px;
    height: 52px;
    top: 52%;
    left: -2%;
    animation: fi-float3 6.5s ease-in-out infinite 1s;
}

.fi-4 {
    width: 60px;
    height: 60px;
    bottom: 26%;
    right: -1%;
    animation: fi-float1 9s ease-in-out infinite 1.5s;
}

.fi-5 {
    width: 50px;
    height: 50px;
    bottom: 6%;
    left: 8%;
    animation: fi-float2 7.5s ease-in-out infinite 2s;
}

.fi-6 {
    width: 56px;
    height: 56px;
    top: 36%;
    left: -4%;
    animation: fi-float3 8s ease-in-out infinite 0.8s;
}

.fi-7 {
    width: 44px;
    height: 44px;
    top: 8%;
    right: 10%;
    animation: fi-float1 6s ease-in-out infinite 1.2s;
}

.fi-8 {
    width: 48px;
    height: 48px;
    bottom: 16%;
    left: 16%;
    animation: fi-float3 9.5s ease-in-out infinite 0.4s;
}

@keyframes fi-float1 {

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

    33% {
        transform: translateY(-14px) rotate(4deg);
    }

    66% {
        transform: translateY(9px) rotate(-3deg);
    }
}

@keyframes fi-float2 {

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

    50% {
        transform: translateY(-20px) scale(1.06);
    }
}

@keyframes fi-float3 {

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

    25% {
        transform: translate(-8px, -12px);
    }

    75% {
        transform: translate(6px, 8px);
    }
}

/* =========================================================
   LOGO STRIP (social proof)
   ========================================================= */
.logo-strip {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
    position: relative;
}

.logo-strip::before,
.logo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}

.logo-strip::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-strip::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-strip-inner {
    display: flex;
    gap: 64px;
    align-items: center;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.logo-strip-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gray-300);
    text-transform: uppercase;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-strip-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-500);
    background: var(--blue-50);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--gray-900);
    margin-bottom: 18px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
    padding: 130px 0;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
}

.features-bg-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 1200px;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
}

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

/* Gradient-border card */
.feature-card {
    position: relative;
    border-radius: var(--r-xl);
    padding: 40px 32px;
    background: var(--white);
    /* subtle gradient border via box-shadow + pseudo */
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all 0.5s var(--ease-smooth);
    animation: cardFloat 9s ease-in-out infinite;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--r-xl) + 1px);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.0), rgba(10, 132, 255, 0.0));
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.feature-card:hover::before {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.2), rgba(0, 212, 170, 0.2));
}

.feature-card:nth-child(1) {
    animation-delay: 0s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 24px 56px rgba(0, 0, 0, 0.09);
    }
}

.feature-card:hover {
    transform: translateY(-16px) !important;
    box-shadow: 0 32px 80px rgba(10, 132, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(10, 132, 255, 0.2) !important;
}

.feature-card.featured {
    background: linear-gradient(160deg, rgba(10, 132, 255, 0.04) 0%, rgba(0, 212, 170, 0.04) 100%);
    border-color: rgba(10, 132, 255, 0.15);
}

.feature-badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--grad-primary);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 16px rgba(10, 132, 255, 0.4);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.feature-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.4);
}

.feature-icon-wrap svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.feature-icon-wrap.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--blue-600);
}

.feature-icon-wrap.teal {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #0d9488;
}

.feature-icon-wrap.purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-highlights span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-100);
}

/* =========================================================
   SCREENSHOTS
   ========================================================= */
.screenshots {
    padding: 100px 0 0;
    background: linear-gradient(180deg, #f8faff 0%, #f0f5ff 100%);
    overflow: visible;
}

.scroll-showcase-wrapper {
    position: relative;
    height: 480vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.sticky-showcase {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    background: linear-gradient(160deg, #eef4ff 0%, #e8f0ff 50%, #f0ebff 100%);
}

.screenshot-card {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--white);
    border-radius: var(--r-2xl);
    padding: 10px;
    box-shadow: 0 30px 80px rgba(0, 72, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 260px;
    width: min(260px, 80vw);
    border: 1px solid rgba(255, 255, 255, 0.9);
    /* JS will apply translateX from -50% as the base center, offset from there */
    transform: translate(-50%, -50%) translateX(120vw) scale(0.8) rotateY(-20deg);
    opacity: 0;
    will-change: transform, opacity;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--r-2xl) - 8px);
    display: block;
}

.screenshot-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
    white-space: nowrap;
    z-index: 2;
}

/* =========================================================
   HOW IT WORKS — DARK
   ========================================================= */
.how-it-works {
    padding: 130px 0;
    background: var(--grad-dark);
    position: relative;
    overflow: hidden;
}

.how-it-works .section-tag {
    background: rgba(10, 132, 255, 0.15);
    color: var(--cyan);
    border-color: rgba(10, 132, 255, 0.2);
}

.how-it-works .section-title {
    color: var(--white);
}

.how-it-works .section-description {
    color: rgba(255, 255, 255, 0.55);
}

/* Animated grid lines */
.how-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.how-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
}

.how-glow-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.15) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: meshFloat1 20s ease-in-out infinite;
}

.how-glow-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation: meshFloat2 24s ease-in-out infinite;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 2;
}

.step-card {
    text-align: center;
    padding: 44px 36px;
    flex: 0 1 300px;
    position: relative;
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: all 0.4s var(--ease-smooth);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(10, 132, 255, 0.3);
    box-shadow: 0 20px 60px rgba(10, 132, 255, 0.2);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    position: absolute;
    top: 16px;
    right: 22px;
    line-height: 1;
}

.step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    background: rgba(10, 132, 255, 0.15);
    border: 1px solid rgba(10, 132, 255, 0.25);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.3), rgba(0, 212, 170, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover .step-icon::after {
    opacity: 1;
}

.step-icon svg {
    width: 34px;
    height: 34px;
}

.step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
}

.step-connector {
    flex-shrink: 0;
    margin: 0 -12px;
    z-index: 3;
    position: relative;
}

.step-connector svg {
    width: 80px;
    height: 20px;
}

/* =========================================================
   TRUST — GLASS ON LIGHT
   ========================================================= */
.trust-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5fbff 50%, #f0fff8 100%);
    position: relative;
    overflow: hidden;
}

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

.trust-card {
    padding: 36px 24px;
    border-radius: var(--r-xl);
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(10, 132, 255, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0) 0%, rgba(10, 132, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(10, 132, 255, 0.12);
}

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

.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(10, 132, 255, 0.12);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
}

.trust-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--grad-dark);
}

.cta-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-cta-1 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.2) 0%, transparent 65%);
    top: -30%;
    left: -15%;
    filter: blur(80px);
    animation: meshFloat1 18s ease-in-out infinite;
}

.orb-cta-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 65%);
    bottom: -20%;
    right: -10%;
    filter: blur(80px);
    animation: meshFloat2 22s ease-in-out infinite;
}

/* Animated CTA border ring */
.cta-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: ringExpand 3s ease-out infinite;
    pointer-events: none;
}

.cta-ring:nth-child(2) {
    width: 800px;
    height: 800px;
    animation-delay: 1s;
}

.cta-ring:nth-child(3) {
    width: 1000px;
    height: 1000px;
    animation-delay: 2s;
}

@keyframes ringExpand {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

/* Grid background pattern in CTA */
.cta-section .how-grid-bg {
    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);
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

/* Play Store badge styled button */
.btn-playstore {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    color: white;
    padding: 16px 36px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

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

.btn-playstore:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.btn-playstore:hover::before {
    opacity: 1;
}

.ps-icon {
    width: 36px;
    height: 36px;
}

.ps-text {
    text-align: left;
}

.ps-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
}

.ps-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 24px;
    letter-spacing: 0.02em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    padding: 56px 0 28px;
    background: #050d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
}

.footer-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-left.visible {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-right.visible {
    opacity: 1;
    transform: none;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

.slide-in-left {
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-left:not(.visible) {
    opacity: 0;
    transform: translateX(-80px) rotateY(30deg) scale(0.8) translateZ(-80px) !important;
}

.slide-in-right {
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-right:not(.visible) {
    opacity: 0;
    transform: translateX(80px) rotateY(-30deg) scale(0.8) translateZ(-80px) !important;
}

/* =========================================================
   MOUSE CURSOR GLOW (desktop)
   ========================================================= */
.cursor-glow {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.06) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    transition: left 0.08s linear, top 0.08s linear;
    mix-blend-mode: multiply;
}

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

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 28px;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s var(--ease-smooth);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links .nav-cta {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 16px 32px !important;
        font-size: 1rem !important;
        border-radius: 16px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-title {
        font-size: 2.8rem;
    }

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

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

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

    .hero-visual {
        min-height: 480px;
    }

    .phone-mockup {
        width: 320px;
        transform: scale(0.9);
    }

    .floating-icon {
        transform: scale(0.7);
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

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

    .footer-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

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

    .footer-tagline {
        margin: 0;
        padding: 0;
        border: none;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-strip-inner {
        gap: 48px;
    }

    .cta-ring {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}