/* Base Variables & Reset */
:root {
    --primary: #7a1532;
    --primary-light: #9a1a3f;
    --secondary: #fcf1f3;
    --accent: #e7b86b;
    --accent-light: #f0cc8a;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Glassmorphism tokens */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-strong: rgba(255, 255, 255, 0.22);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-blur: blur(18px);
    /* Glow */
    --glow-primary: 0 0 20px rgba(122, 21, 50, 0.4), 0 0 60px rgba(122, 21, 50, 0.15);
    --glow-accent: 0 0 20px rgba(231, 184, 107, 0.5), 0 0 60px rgba(231, 184, 107, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
    background-size: 200% 100%;
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
    animation: progressShimmer 2s infinite linear;
}

@keyframes progressShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-badge {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Animations Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.appear {
    opacity: 1;
    transform: translate(0);
}

/* ═══════════════════════════════════════
   ON-SCROLL ANIMATION ENGINE
   data-scroll-anim types:
   zoom-in | flip-left | slide-up | slide-down | slide-left | slide-right | clip-reveal | parallax
═══════════════════════════════════════ */

/* ── Base hidden state for all scroll-animated elements ── */
[data-scroll-anim] {
    opacity: 0;
    will-change: transform, opacity;
}

/* ── zoom-in ── */
[data-scroll-anim="zoom-in"] {
    transform: scale(0.75) translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-anim="zoom-in"].sa-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ── slide-up (default gentle rise) ── */
[data-scroll-anim="slide-up"] {
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-anim="slide-up"].sa-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── slide-down ── */
[data-scroll-anim="slide-down"] {
    transform: translateY(-30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-anim="slide-down"].sa-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── slide-right (slides in from left) ── */
[data-scroll-anim="slide-right"] {
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-anim="slide-right"].sa-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── slide-left (slides in from right) ── */
[data-scroll-anim="slide-left"] {
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-anim="slide-left"].sa-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── flip-left (3D card flip on Y axis) ── */
[data-scroll-anim="flip-left"] {
    transform: perspective(700px) rotateY(-30deg) translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

[data-scroll-anim="flip-left"].sa-visible {
    opacity: 1;
    transform: perspective(700px) rotateY(0deg) translateX(0);
}

/* ── clip-reveal (heading reveal via @keyframes — reliable) ── */
[data-scroll-anim="clip-reveal"] {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
}

@keyframes headingReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.005);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[data-scroll-anim="clip-reveal"].sa-visible {
    animation: headingReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── parallax (handled in JS, just set a smooth transition) ── */
[data-scroll-anim="parallax"] {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.1s linear;
}

[data-scroll-anim="parallax"].sa-visible {
    opacity: 1;
}

/* Counter animation pop */
.counter-val {
    display: inline-block;
    transition: transform 0.3s ease;
}

.counter-val.pop {
    animation: counterPop 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes counterPop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* Section badge wiggle on reveal */
@keyframes badgeWiggle {
    0% {
        transform: translateY(-30px) rotate(-3deg);
        opacity: 0;
    }

    60% {
        transform: translateY(3px) rotate(1deg);
        opacity: 1;
    }

    80% {
        transform: translateY(-2px) rotate(-0.5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

[data-scroll-anim="slide-down"].sa-visible {
    animation: badgeWiggle 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 1;
}



/* Floating Orbs */
.orbs-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
    animation-duration: 14s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation-delay: -8s;
    animation-duration: 10s;
    opacity: 0.15;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(25px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 20px) scale(0.97);
    }
}

/* Shimmer effect utility */
.shimmer-card {
    position: relative;
    overflow: hidden;
}

.shimmer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 5;
    pointer-events: none;
}

.shimmer-card:hover::before {
    left: 160%;
}

/* Header & Navbar */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(122, 21, 50, 0.08);
    border-bottom: 1px solid rgba(122, 21, 50, 0.07);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    font-weight: 600;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-register,
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(122, 21, 50, 0.3);
}

.btn-register::after,
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-register:hover::after,
.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    padding: 14px 32px;
}

.btn-register:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background-color: var(--black);
    /* Fallback color while video loads */
    overflow: hidden;
    /* Keeps the video contained within the section */
}

/* New Video Styling */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    /* Ensures it acts like a background image */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Keep your existing gradient */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2) 40%, rgba(54, 54, 54, 0.458));
    z-index: 1;
    /* Sits directly above the video */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Sits above the overlay */
    text-align: center;
    width: 100%;
}

.hero-text-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.2rem;
    color: var(--white);
    margin: 20px 0 10px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
    animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    letter-spacing: -0.5px;
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-divider {
    width: 150px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.bottom-divider {
    filter: invert(18%) sepia(50%) saturate(3015%) hue-rotate(323deg) brightness(85%) contrast(100%);
    opacity: 1;
    margin-top: 20px;
}

/* Glassmorphism Quick Search */
.quick-search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 20px;
    font-family: var(--font-main);
    font-size: 1.2rem;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 150px;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-family: var(--font-main);
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition);
}

.form-group select:focus {
    border-color: var(--accent);
}

.age-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-inputs span {
    color: var(--white);
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    height: 44px;
}

.btn-search:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.hero-bottom-text {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    margin-top: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    letter-spacing: 1px;
    animation: fadeUp 1s 0.6s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, #5c0e24 0%, var(--primary) 50%, #9a1a3f 100%);
    padding: 50px 0;
    color: var(--white);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--glass-bg-strong);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 6px;
    filter: drop-shadow(0 0 10px rgba(231, 184, 107, 0.5));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.stat-info h4 {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-images {
    flex: 1;
}

.image-grid {
    position: relative;
    height: 500px;
}

.img-1 {
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.img-2 {
    width: 60%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    border: 10px solid var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* App Download Section */
.app-section {
    padding: 50px 0;
    background: linear-gradient(160deg, #fff5f7 0%, var(--secondary) 60%, #fffaf0 100%);
    position: relative;
    overflow: hidden;
}

.app-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-content {
    flex: 1;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary);
}

.btn-download-apk {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(122, 21, 50, 0.3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.btn-download-apk::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-download-apk:hover::before {
    opacity: 1;
}

.btn-download-apk:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-primary);
    color: var(--white);
}

.btn-download-apk i {
    font-size: 2.2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.btn-text strong {
    font-size: 1.2rem;
    font-weight: 600;
}

.app-mockups {
    flex: 1;
    position: relative;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.glow-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, var(--primary) 40%, transparent 70%);
    opacity: 0.18;
    border-radius: 50%;
    z-index: 0;
    animation: pulse 5s infinite alternate;
    filter: blur(20px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.mockup-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(122, 21, 50, 0.12), 0 0 0 1px rgba(231, 184, 107, 0.3);
    z-index: 20;
    width: 80%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mockup-description h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.mockup-description p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
}

.mockup-1,
.mockup-2,
.mockup-3 {
    width: 240px;
    border-radius: 35px;
    position: absolute;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 8px solid var(--white);
    background: var(--white);
    cursor: pointer;
}

/* Base States */
.mockup-1 {
    transform: translateX(-110px) translateY(20px) rotate(-8deg) scale(0.9);
    z-index: 1;
    box-shadow: -15px 25px 40px rgba(0, 0, 0, 0.1);
}

.mockup-2 {
    transform: translateX(0) translateY(-20px) rotate(0) scale(1.05);
    z-index: 3;
    box-shadow: 0 30px 60px rgba(122, 21, 50, 0.25);
}

.mockup-3 {
    transform: translateX(110px) translateY(40px) rotate(8deg) scale(0.9);
    z-index: 2;
    box-shadow: 15px 25px 40px rgba(0, 0, 0, 0.1);
}

/* Active States (Controlled by JS) */
.app-mockups.active-1 .mockup-1 {
    transform: translateX(-140px) translateY(10px) rotate(-12deg) scale(0.95);
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.15);
    z-index: 4;
}

.app-mockups.active-1 .mockup-2 {
    transform: translateX(30px) translateY(0) rotate(5deg) scale(0.95);
    z-index: 2;
    opacity: 0.8;
}

.app-mockups.active-2 .mockup-2 {
    transform: translateX(0) translateY(-40px) rotate(0) scale(1.1);
    box-shadow: 0 40px 70px rgba(122, 21, 50, 0.35);
    z-index: 4;
}

.app-mockups.active-3 .mockup-3 {
    transform: translateX(140px) translateY(30px) rotate(12deg) scale(0.95);
    box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.15);
    z-index: 4;
}

.app-mockups.active-3 .mockup-2 {
    transform: translateX(-30px) translateY(0) rotate(-5deg) scale(0.95);
    z-index: 2;
    opacity: 0.8;
}

/* Info Banner Section */
.info-banner {
    position: relative;
    padding: 130px 0;
    background-image: url('assets/infobanner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    min-height: 300px;
}

@media (max-width: 768px) {
    .info-banner {
        padding: 60px 24px;
        min-height: auto;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        /* Prevents iOS fixed-background bug */
    }

    .info-title {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .info-title br {
        display: none;
        /* Let text wrap naturally on mobile */
    }

    .info-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(90, 10, 30, 0.7) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.info-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.info-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.info-title {
    font-size: 2.8rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 20px;
}

.play-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

/* Footer Section */
.footer {
    background: linear-gradient(160deg, #5c0e24 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background var(--transition), transform var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul a:hover {
    color: var(--accent);
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    align-items: center;
}

.contact-info i {
    color: var(--accent);
}

.footer-download {
    margin-top: 25px;
}

.btn-footer-download {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all var(--transition);
    width: fit-content;
}

.btn-footer-download:hover {
    background: var(--white);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.bottom-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-search {
        width: 100%;
        margin-top: 10px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-images {
        margin-top: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .img-1 {
        position: relative;
        margin-left: 50px;
    }

    .img-2 {
        bottom: -30px;
        left: -20px;
    }

    .app-mockups {
        transform: scale(0.8);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    /* Curtain Style Mobile Menu */
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
        padding: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
    }

    .auth-buttons {
        display: none;
    }

    /* Active states triggered by JavaScript */
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 2rem;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        color: var(--primary);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.4s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.5s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.6s;
    }

    .mobile-toggle {
        display: block;
        z-index: 1000;
        position: relative;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text-wrap {
        margin-top: 40px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    /* Fix About Us Image Stacking */
    .image-grid {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .img-1,
    .img-2 {
        position: static;
        /* Removes the absolute overlap */
        width: 90%;
        height: auto;
        margin: 0;
        border-width: 5px;
    }

    /* --- REPLACE FROM HERE --- */
    .app-container {
        flex-direction: column;
        text-align: center;
        overflow: visible;
        /* Allow shadows to show */
        gap: 30px;
        /* Add space between the button and the mockups */
    }

    .app-mockups {
        transform: none;
        width: 100%;
        /* Fixes the squished text box */
        min-height: 550px;
        /* Gives enough room so nothing overlaps */
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .mockup-description {
        width: 90%;
        max-width: 400px;
        bottom: 0;
        /* Anchors it cleanly to the bottom */
        padding: 15px;
        z-index: 30;
        /* Ensures it stays above the phones */
    }

    .mockup-1,
    .mockup-2,
    .mockup-3 {
        width: 160px;
        border-width: 4px;
        top: 20px;
        /* Pushes the phones down from the top edge */
    }

    /* Update base positions - pushed down slightly so they don't hit the button */
    .mockup-1 {
        transform: translateX(-60px) translateY(50px) rotate(-8deg) scale(0.9);
    }

    .mockup-2 {
        transform: translateX(0) translateY(20px) rotate(0) scale(1.05);
    }

    .mockup-3 {
        transform: translateX(60px) translateY(60px) rotate(8deg) scale(0.9);
    }

    /* Update active animations */
    .app-mockups.active-1 .mockup-1 {
        transform: translateX(-70px) translateY(30px) rotate(-12deg) scale(0.95);
        z-index: 10;
    }

    .app-mockups.active-1 .mockup-2 {
        transform: translateX(30px) translateY(40px) rotate(5deg) scale(0.95);
    }

    .app-mockups.active-2 .mockup-2 {
        transform: translateX(0) translateY(10px) rotate(0) scale(1.1);
        z-index: 10;
    }

    .app-mockups.active-3 .mockup-3 {
        transform: translateX(70px) translateY(50px) rotate(12deg) scale(0.95);
        z-index: 10;
    }

    .app-mockups.active-3 .mockup-2 {
        transform: translateX(-30px) translateY(40px) rotate(-5deg) scale(0.95);
    }

    /* --- TO HERE --- */

    .btn-download-apk {
        margin: 20px auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flex-between {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* --- Premium Pricing Section --- */
.pricing-section {
    padding: 100px 0;
    background: var(--secondary);
    /* The soft pinkish background */
    position: relative;
}

.text-center {
    text-align: center;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.billing-toggle {
    background: var(--white);
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    border: 1px solid rgba(122, 21, 50, 0.1);
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(122, 21, 50, 0.3);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
    /* Aligns items in center so highlighted card can be larger */
    max-width: 1100px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 21, 50, 0.06);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(231, 184, 107, 0.08) 60deg, transparent 120deg);
    animation: cardRotate 6s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

@keyframes cardRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(122, 21, 50, 0.18);
}

/* Highlighted (Premium) Card Style */
.pricing-card.highlight {
    background: linear-gradient(145deg, #7a1532 0%, #9a1a3f 50%, #7a1532 100%);
    color: var(--white);
    transform: scale(1.06);
    border: 1px solid rgba(231, 184, 107, 0.4);
    box-shadow: 0 20px 60px rgba(122, 21, 50, 0.35), 0 0 0 1px rgba(231, 184, 107, 0.2);
}

.pricing-card.highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(231, 184, 107, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent);
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: inherit;
}

.pricing-card:not(.highlight) .plan-name {
    color: var(--primary);
}

.plan-price-wrapper {
    margin-bottom: 25px;
    min-height: 80px;
    /* Prevents layout jump when switching months */
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.plan-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.discount-tag {
    display: inline-block;
    background: #10b981;
    /* Success green */
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Features List */
.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.plan-features li i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Buttons inside cards */
.pricing-card .btn-primary {
    width: 100%;
    text-align: center;
}

.pricing-card.highlight .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.pricing-card.highlight .btn-primary:hover {
    background: var(--accent);
    color: var(--black);
}

/* Loading Pulse */
.loading-wrapper {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--primary);
}

.loader-pulse {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 100%;
    margin: 0 auto 15px;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@keyframes sk-scaleout {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1.0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.highlight {
        transform: scale(1);
    }

    .pricing-card.highlight:hover {
        transform: translateY(-10px);
    }
}


/* --- HOW IT WORKS SECTION --- */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

/* Optional dashed line connecting steps */
@media(min-width: 900px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        width: 80%;
        height: 2px;
        border-top: 2px dashed rgba(122, 21, 50, 0.2);
        z-index: 0;
    }
}

.step-card {
    text-align: center;
    background: var(--white);
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    border: 1px solid rgba(122, 21, 50, 0.05);
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(122, 21, 50, 0.12);
    border-color: rgba(231, 184, 107, 0.3);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(122, 21, 50, 0.1);
    transition: background var(--transition), color var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: var(--white);
}

.step-card h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- TRUST & SECURITY SECTION --- */
.security-section {
    background: linear-gradient(145deg, #5c0e24 0%, var(--primary) 60%, #9a1a3f 100%);
    padding: 90px 0;
    overflow: hidden;
    position: relative;
}

.security-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 184, 107, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.security-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.security-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.security-text {
    flex: 1.2;
}

.security-list {
    margin-top: 30px;
}

.security-list li {
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.security-list li i {
    color: var(--accent);
    font-size: 1.3rem;
    width: 25px;
}

.security-graphics {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px;
}

.main-shield {
    font-size: 10rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

.shield-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.2;
    animation: pulseShield 3s infinite ease-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulseShield {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* --- SUCCESS STORIES SECTION --- */
.success-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #fff5f7 0%, var(--secondary) 50%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}

.success-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 184, 107, 0.1) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}

/* Horizontal scrolling wrapper for cards */
.stories-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.stories-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.story-card {
    min-width: 350px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.story-card:hover::before {
    opacity: 1;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(122, 21, 50, 0.15);
}

.story-img {
    height: 220px;
    overflow: hidden;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-img img {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(231, 184, 107, 0.4);
}

.story-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
}

/* Mobile Adjustments for New Sections */
@media (max-width: 768px) {
    .security-container {
        flex-direction: column;
        text-align: center;
    }

    .security-list li {
        justify-content: center;
        text-align: left;
    }

    .story-card {
        min-width: 280px;
        /* Slightly smaller cards on mobile */
    }
}

/* --- LEGAL PAGES (Terms & Privacy) --- */
.page-header {
    background: var(--primary);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.legal-content {
    padding: 80px 0;
    background: var(--white);
}

.legal-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-wrap h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(122, 21, 50, 0.1);
}

.legal-wrap p,
.legal-wrap ul {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-wrap ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-wrap ul li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .legal-wrap {
        padding: 20px;
    }
}