/* ============================================
   AGENCY PHONE - PREMIUM MARKETING SITE
   ============================================ */

:root {
    --bg: #000000;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #3b82f6;
    --purple: #8b5cf6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --purple-glow: rgba(139, 92, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---- ANIMATED MESH BACKGROUND ---- */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: linear-gradient(135deg, #000000 0%, #0a0a1a 25%, #0d0520 50%, #000a1a 75%, #000000 100%);
    background-size: 400% 400%;
    animation: meshGradient 20s ease infinite;
}

@keyframes meshGradient {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* ---- FLOATING ORBS ---- */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
    top: -200px; left: -150px;
    filter: blur(80px);
    animation: orbFloat1 25s ease-in-out infinite alternate;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
    bottom: -150px; right: -100px;
    filter: blur(100px);
    animation: orbFloat2 30s ease-in-out infinite alternate;
}
.orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
    top: 30%; left: 60%;
    filter: blur(70px);
    animation: orbFloat3 22s ease-in-out infinite alternate;
}
.orb-4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.08), transparent 70%);
    top: 60%; left: 10%;
    filter: blur(90px);
    animation: orbFloat4 28s ease-in-out infinite alternate;
}
.orb-5 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
    top: 15%; right: 20%;
    filter: blur(60px);
    animation: orbFloat5 18s ease-in-out infinite alternate;
}
.orb-6 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 70%);
    bottom: 30%; left: 40%;
    filter: blur(85px);
    animation: orbFloat1 35s ease-in-out infinite alternate-reverse;
}
.orb-7 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
    top: 80%; right: 30%;
    filter: blur(50px);
    animation: orbFloat3 20s ease-in-out infinite alternate-reverse;
}
.orb-8 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    animation: orbFloat2 40s ease-in-out infinite alternate;
}

@keyframes orbFloat1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(80px, 120px) scale(1.2); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-60px, -80px) scale(1.15); } }
@keyframes orbFloat3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(50px, -60px) scale(1.1); } }
@keyframes orbFloat4 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-40px, 70px) scale(1.25); } }
@keyframes orbFloat5 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(70px, 40px) scale(0.9); } }

/* ---- LOADER ---- */
.loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    width: 60px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    border-radius: 10px;
    animation: loaderFill 0.8s ease-out forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo-container {
    display: block;
    text-decoration: none;
    height: 35px;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.08);
}

.nav-cta {
    background: var(--text);
    color: var(--bg);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Primary Button */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: white;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 40px rgba(59,130,246,0.3), 0 0 80px rgba(139,92,246,0.2);
}

.btn-primary .btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

/* Ghost Button */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    letter-spacing: -0.01em;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.play-triangle {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--accent);
}

/* Hero Phone */
.hero-phone-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    perspective: 1200px;
}

.hero-phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    transition: transform 0.1s ease-out;
}

.hero-phone-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5));
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-phone-glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, rgba(139,92,246,0.2) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-phone-reflection {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 80%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(59,130,246,0.05), transparent);
    filter: blur(20px);
    z-index: 0;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
    z-index: 10;
    transition: opacity 0.3s;
}

.scroll-indicator:hover { opacity: 1; }

.scroll-chevron {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---- FADE IN ANIMATIONS ---- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

/* Reveal animations for features */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- MARQUEE SECTION ---- */
.marquee-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

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

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    gap: 1.5rem;
    animation: marquee 45s linear infinite;
    width: max-content;
}

.marquee-track:hover .marquee-inner {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-card {
    flex-shrink: 0;
    width: 220px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transform: rotate(-3deg);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-card:nth-child(even) {
    transform: rotate(3deg);
}

.marquee-card:hover {
    transform: rotate(0deg) scale(1.05);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 60px rgba(59,130,246,0.15), 0 0 1px rgba(139,92,246,0.3);
}

.marquee-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- FEATURE BLOCKS ---- */
.features {
    padding: 8rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    margin-bottom: 12rem;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 480px;
}

.feature-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 1rem;
    background: rgba(59,130,246,0.1);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(59,130,246,0.2);
}

.feature-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 450px;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    max-width: 300px;
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame:hover {
    transform: scale(1.03) translateY(-5px);
}

.phone-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2rem;
}

.phone-frame-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.phone-frame:hover .phone-frame-glow {
    opacity: 0.5;
}

/* ---- LOCK SCREEN HERO ---- */
.lockscreen-hero {
    position: relative;
    padding: 12rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
}

.lockscreen-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 80%);
    z-index: 2;
    pointer-events: none;
}

.lockscreen-content {
    text-align: center;
    z-index: 3;
    margin-bottom: 4rem;
}

.lockscreen-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.lockscreen-image-wrapper {
    position: relative;
    z-index: 1;
    max-width: 380px;
    width: 100%;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--glass-border),
        0 40px 100px rgba(59,130,246,0.2),
        0 0 200px rgba(139,92,246,0.1);
}

.lockscreen-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease-out;
}

/* ---- PERFORMANCE STATS ---- */
.performance {
    padding: 10rem 5%;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto 4rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    min-width: 260px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.stat-card-border {
    position: absolute;
    inset: -2px;
    border-radius: 2rem;
    background: conic-gradient(from 0deg, transparent, var(--accent), var(--purple), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientBorder 4s linear infinite;
}

.stat-card:hover .stat-card-border {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.stat-value .count {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-label {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* ---- PURCHASE SECTION ---- */
.purchase-section {
    padding: 10rem 5%;
    display: flex;
    justify-content: center;
}

.purchase-card {
    position: relative;
    max-width: 620px;
    width: 100%;
    border-radius: 2.5rem;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15,15,25,0.9), rgba(5,5,15,0.95));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.purchase-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    30% { left: 200%; }
    100% { left: 200%; }
}

.purchase-card-inner {
    position: relative;
    padding: 4rem;
    text-align: center;
    z-index: 2;
}

.purchase-card-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.purchase-card-inner > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 400px;
    margin: 0 auto 2.5rem;
}

.price-tag {
    margin-bottom: 2rem;
}

.price-currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: super;
    margin-right: 0.2rem;
}

.price-amount {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.price-decimal {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-buy {
    display: inline-block;
    position: relative;
    background: var(--text);
    color: var(--bg);
    padding: 1.2rem 3.5rem;
    border-radius: 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.btn-buy:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 60px rgba(255,255,255,0.1);
}

.btn-buy-text {
    position: relative;
    z-index: 2;
}

.btn-buy-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent), var(--purple), var(--accent));
    background-size: 200% 200%;
    border-radius: 3rem;
    z-index: -1;
    opacity: 0;
    animation: buyGlowShift 3s ease infinite;
    transition: opacity 0.3s ease;
}

.btn-buy:hover .btn-buy-glow {
    opacity: 1;
}

@keyframes buyGlowShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.purchase-note {
    margin-top: 1.5rem;
    font-size: 0.85rem !important;
    color: #555 !important;
}

/* ---- FOOTER ---- */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

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

/* ---- COOKIE BANNER ---- */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 5%;
    z-index: 1500;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 700px;
    margin: 0;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.cookie-reject:hover {
    color: var(--text);
}

.cookie-accept {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--glass-border);
}

.cookie-accept:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--glass-border-hover);
}

/* ---- EXIT MODAL ---- */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.exit-modal {
    background: linear-gradient(145deg, rgba(18,18,28,0.95), rgba(8,8,18,0.98));
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 2.5rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 100px rgba(59,130,246,0.05);
}

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

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text);
    transform: rotate(90deg);
}

.discount-badge {
    background: rgba(59,130,246,0.15);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59,130,246,0.3);
}

.exit-modal h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.exit-modal p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto 2rem;
    max-width: 350px;
}

.code-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 1rem;
    padding: 0.5rem;
    gap: 0.5rem;
}

#discountCode {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

#copyCodeBtn {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    font-family: inherit;
}

#copyCodeBtn:hover {
    transform: scale(1.05);
}

.modal-cta-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        margin-bottom: 8rem;
    }

    .feature-text {
        max-width: 100%;
    }

    .feature-desc {
        max-width: 100%;
        margin: 0 auto;
    }

    .phone-frame {
        max-width: 260px;
    }

    .lockscreen-hero {
        padding: 8rem 5%;
        min-height: auto;
    }

    .lockscreen-image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 320px;
        min-width: auto;
    }

    .purchase-card-inner {
        padding: 2.5rem 1.5rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .marquee-card {
        width: 170px;
    }
}

/* ---- SELECTION ---- */
::selection {
    background: rgba(59,130,246,0.3);
    color: var(--text);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}