/* ----- Base Variables ----- */
:root {
    --primary-color: #4a8cdb;
    /* Lightened blue for dark theme */
    --primary-dark: #2b3d75;
    /* Original deep blue */
    --secondary-color: #f7b731;
    /* Gold accent from logo */
    --text-dark: #f8fafc;
    /* Light text for dark mode */
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --bg-main: #060e24;
    /* Very dark blue background */
    --bg-light: #0d1a3a;
    /* Slightly lighter blue for sections */
    --bg-card: rgba(255, 255, 255, 0.03);
    /* Glassmorphism card bg */
    --border-light: rgba(66, 41, 190, 0.08);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 25px -5px rgba(247, 183, 49, 0.2), 0 8px 10px -6px rgba(247, 183, 49, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(6, 14, 36, 0.85);
    /* Matches bg-main with opacity */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
}

/* ----- Reset & Typography ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 15% 50%, rgba(74, 140, 219, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(247, 183, 49, 0.05), transparent 25%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), #f1c40f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ----- UI Components ----- */
.btn-primary,
.btn-secondary,
.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #000;
    box-shadow: 0 4px 14px rgba(247, 183, 49, 0.3);
}

.btn-primary:hover {
    background-color: #ffd270;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(247, 183, 49, 0.6);
}

/* Add a sweep effect to primary button */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-primary-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 24px;
}

.btn-primary-outline:hover {
    background-color: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(247, 183, 49, 0.4);
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: rgba(247, 183, 49, 0.3);
}

/* ----- Logo Hack (Removing INDIANA NOW) ----- */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo-container {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    overflow: visible;  /* Must be visible for 3D child elements */
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Perspective set on the container for 3D depth */
    perspective: 600px;
}

.main-logo-spin {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    animation: simpleSpin3D 8s linear infinite;
    transform-style: preserve-3d;
}

@keyframes simpleSpin3D {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(-360deg); }
}



/* Old single-img brand-logo style (kept for compatibility) */
.logo-container .brand-logo {
    display: none; /* Replaced by .logo-face img now */
}

@keyframes eliteSpin3D {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(-360deg); }
}

/* Mask blocks hidden - new logo has its own dark bg */
.logo-mask { display: none; }
.logo-mask::before { display: none; }

/* Mask for mockups and footer needs to match their backgrounds perfectly */
.mockup-logo-container {
    width: 110px;
    height: 110px;
    position: relative;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: visible;
    background: transparent;
    perspective: 600px;
}

.mockup-img {
    width: 92%;
    height: 92%;
    z-index: 1;
    position: relative;
    border-radius: 50%;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
}

/* Mockup uses same .logo-coin/.logo-face system */
.mockup-logo-container .logo-coin {
    animation-delay: 1s; /* Stagger so they don't all sync */
}

.mockup-mask { display: none; }

.sm-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: visible;
    background: transparent;
    perspective: 600px;
}

.sm-logo .logo-coin {
    animation-delay: 2s;
}

.sm-mask { display: none; }

/* ----- Navbar ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(6, 14, 36, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links li a:not(.btn-primary-outline):hover {
    color: var(--secondary-color);
}

/* Underline animation for nav links */
.nav-links li a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: 0.3s ease;
}

.nav-links li a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, #0d1a3a 0%, #060e24 100%);
    overflow: hidden;
}

/* Floating animated background elements */
.floating-bg {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 140, 219, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: float-slow 20s infinite alternate linear;
}

.floating-bg.bg-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(247, 183, 49, 0.08) 0%, transparent 70%);
    animation-delay: -5s;
}

.floating-bg.bg-2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -5%;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(247, 183, 49, 0.4);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ----- Section Headers ----- */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Services ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 140, 219, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: 0.4s ease;
    border: 1px solid rgba(74, 140, 219, 0.2);
}

.hover-lift:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(74, 140, 219, 0.5);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- How it works ----- */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: transparent;
    padding: 0 20px;
    animation: pulse-light 4s infinite alternate;
}

.step-card:nth-child(3) {
    animation-delay: 1.3s;
}

.step-card:nth-child(5) {
    animation-delay: 2.6s;
}

@keyframes pulse-light {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: var(--secondary-color);
    position: relative;
    transition: 0.5s;
}

.step-card:hover .step-icon {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(247, 183, 49, 0.6);
    transform: rotateY(360deg);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 34px;
    height: 34px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Outfit';
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 10px rgba(74, 140, 219, 0.5);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(247, 183, 49, 0.4) 0%, rgba(247, 183, 49, 0.4) 50%, transparent 50%);
    background-size: 14px 2px;
    margin-top: 45px;
    z-index: 1;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: travel 3s infinite linear;
    box-shadow: 0 0 10px var(--secondary-color);
}

@keyframes travel {
    0% {
        left: 0;
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* ----- Reviews ----- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    position: relative;
    transition: 0.4s;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 183, 49, 0.3);
}

.active-review {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-color: rgba(74, 140, 219, 0.3);
}

.active-review:hover {
    transform: scale(1.05) translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #d35400);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(247, 183, 49, 0.4);
}

.review-author h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.stars {
    color: var(--secondary-color);
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(247, 183, 49, 0.5);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----- Download App ----- */
.download-app {
    padding: 60px 0 100px;
}

.app-banner {
    background: linear-gradient(135deg, #0d1a3a, #060e24);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-light);
}

/* Add animated glow behind the phone */
.app-banner::after {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
    animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.1;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1.2);
    }
}

.app-content {
    flex: 1;
    max-width: 500px;
    z-index: 10;
}

.app-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.app-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.app-features {
    margin-bottom: 40px;
}

.app-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.app-features li i {
    text-shadow: 0 0 10px rgba(247, 183, 49, 0.5);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: white !important;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-btn i {
    font-size: 32px;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text .small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 2px;
    color: #cbd5e1;
}

.store-text .big {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* Phone Mockup css */
.app-image-container {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #1e293b;
    border-radius: 40px;
    border: 8px solid #000;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: rotate(-10deg) translateY(0);
    transition: var(--transition-normal);
    animation: floating-phone 6s infinite ease-in-out;
}

@keyframes floating-phone {
    0% {
        transform: rotate(-10deg) translateY(0);
    }

    50% {
        transform: rotate(-8deg) translateY(-20px);
    }

    100% {
        transform: rotate(-10deg) translateY(0);
    }
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
    animation-play-state: paused;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    flex-direction: column;
}

.app-mockup-header {
    background: linear-gradient(135deg, var(--primary-dark), #1e2b54);
    padding: 40px 20px 20px;
    color: white;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-mockup-header p {
    font-weight: 600;
    margin-top: 5px;
    font-family: 'Outfit';
}

.app-mockup-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-card {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 100%;
    animation: mock-loading 2s infinite alternate;
}

@keyframes mock-loading {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.mockup-card.short {
    width: 70%;
    animation-delay: 0.5s;
}

.mockup-btn {
    background: var(--secondary-color);
    color: #000;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(247, 183, 49, 0.3);
}

.mockup-map {
    flex: 1;
    background: #1e293b;
    border-radius: 12px;
    margin-top: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-map::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, #1e293b 80%),
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
}

.map-pin {
    color: var(--secondary-color);
    font-size: 28px;
    animation: bounce 2s infinite;
    z-index: 2;
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* ----- Footer ----- */
.footer {
    background-color: #030816;
    color: var(--text-muted);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-family: 'Outfit';
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    width: 25px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(74, 140, 219, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ----- Animations & Utilities ----- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add custom glow to elements when scrolling */
.animate-glow {
    animation: light-up 2s ease forwards;
}

@keyframes light-up {
    0% {
        box-shadow: 0 0 0 rgba(74, 140, 219, 0);
        border-color: rgba(255, 255, 255, 0.08);
    }

    50% {
        box-shadow: 0 0 30px rgba(74, 140, 219, 0.2);
        border-color: rgba(74, 140, 219, 0.5);
    }

    100% {
        box-shadow: var(--shadow-soft);
        border-color: rgba(255, 255, 255, 0.08);
    }
}

/* RESPONSIVE CSS */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .active-review {
        transform: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .app-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .app-content {
        max-width: 100%;
    }

    .app-features li {
        justify-content: center;
    }

    .store-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* ----- Security Admin Modal ----- */
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.admin-trigger { cursor: pointer; color: var(--text-muted); transition: 0.3s; padding: 10px; }
.admin-trigger:hover { color: var(--secondary-color); transform: scale(1.2); text-shadow: 0 0 10px var(--secondary-color); }
.admin-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.9); z-index: 10000; justify-content: center; align-items: center; backdrop-filter: blur(10px); }
.admin-modal-content { background: var(--bg-main); border: 2px solid var(--secondary-color); box-shadow: 0 0 40px rgba(247, 183, 49, 0.3); border-radius: var(--radius-lg); padding: 40px; width: 90%; max-width: 450px; position: relative; animation: scaleIn 0.3s ease; }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.close-modal:hover { color: white; }
.admin-header { text-align: center; margin-bottom: 30px; }
.admin-header i { font-size: 40px; margin-bottom: 15px; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--text-light); }
.input-group input { width: 100%; padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.2); color: #fff; font-size: 1rem; }
.input-group input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 10px rgba(247, 183, 49, 0.3); }
.error-msg { display: none; color: #e74c3c; margin-top: 15px; font-size: 0.9rem; text-align: center; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.success-alert { background: rgba(46, 204, 113, 0.1); border: 1px solid #2ecc71; color: #2ecc71; padding: 15px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.dashboard-actions { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.admin-instructions { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ===================================================
   PROJECTS GALLERY — ADMIN UPLOAD + PUBLIC VIEW
   =================================================== */

/* Section background */
.projects-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Admin upload drag-and-drop zone */
.admin-upload-bar {
    margin-bottom: 50px;
    animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.upload-zone {
    border: 2px dashed rgba(247, 183, 49, 0.5);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    background: rgba(247, 183, 49, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--secondary-color);
    background: rgba(247, 183, 49, 0.08);
    box-shadow: 0 0 30px rgba(247, 183, 49, 0.15);
}

.upload-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
    animation: bounceUpDown 2s ease-in-out infinite;
}

@keyframes bounceUpDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.upload-zone h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px !important;
}

/* Pending files before publish */
.pending-uploads {
    margin-top: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
}

.pending-uploads h4 {
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.pending-file-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
}

.pending-file-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(74,140,219,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    overflow: hidden;
}

.pending-file-thumb img,
.pending-file-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pending-file-info {
    flex: 1;
}

.pending-file-info input[type="text"] {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-top: 4px;
    transition: border-color 0.2s;
}

.pending-file-info input[type="text"]:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.pending-file-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pending-file-size {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.pending-file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.pending-file-remove:hover {
    background: rgba(231,76,60,0.15);
}

#confirm-upload-btn {
    margin-top: 20px;
    width: 100%;
}

/* ===== PUBLIC GALLERY GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.projects-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.projects-empty i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
    display: block;
}

/* Individual project card */
.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: cardFadeIn 0.5s ease both;
    aspect-ratio: 16 / 10;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(247,183,49,0.3);
    border-color: rgba(247, 183, 49, 0.4);
}

.project-card img,
.project-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img,
.project-card:hover video {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.project-card-type {
    font-size: 0.75rem;
    color: var(--secondary-color);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(247,183,49,0.2);
    border: 1px solid rgba(247,183,49,0.3);
}

/* Admin delete button on cards */
.project-card-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(231,76,60,0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-card-delete {
    opacity: 1;
}

.project-card-delete:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Video type badge */
.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
    backdrop-filter: blur(8px);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    outline: none;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    max-width: 80vw;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }
    .lightbox-nav { width: 38px; height: 38px; font-size: 1rem; }
}

/* Performance Optimizations: content-visibility for offscreen sections */
.services,
.how-it-works,
.reviews,
.projects-section,
.download-app,
.legal-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

/* ===================================================
   LEGAL AND SUPPORT SECTION STYLES
   =================================================== */
.legal-tabs-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.legal-tabs .tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.legal-tabs .tab-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.legal-tabs .tab-btn.active {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(247, 183, 49, 0.4);
    border-color: var(--secondary-color);
}

.legal-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.legal-tab-content.active {
    display: block;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.legal-header p {
    color: var(--text-muted);
}

/* Support styles */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.support-card {
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.support-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-email {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.support-email:hover {
    text-shadow: 0 0 10px var(--secondary-color);
}

.faq-container {
    margin-top: 50px;
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

.faq-container h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Privacy styles */
.policy-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.policy-text h3 {
    font-size: 1.25rem;
    margin: 30px 0 12px;
    color: var(--text-light);
}

.policy-text ul {
    margin: 15px 0 15px 20px;
    list-style-type: disc;
}

.policy-text ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    .legal-tabs {
        flex-direction: column;
        gap: 10px;
    }
    .legal-tabs-container {
        padding: 24px;
    }
}

