/* Golden Minutes - "Golden Grid" Design System (Ref: Provided Image) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
    /* -- Brand Colors -- */
    --brand-red: #FA0F00;
    /* High Energy Red */
    --brand-black: #0B0F19;
    /* Deep Tech Black */
    --brand-dark-blue: #0A1128;
    --text-primary: #111827;
    --text-secondary: #6B7280;

    /* -- Surfaces -- */
    --surface-white: #FFFFFF;
    --surface-light: #F9FAFB;

    /* -- Grid Pattern Color -- */
    --grid-line: #E5E7EB;

    /* -- Layout -- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-width: 1280px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* -- The "Cinematic Hero" Background (Red Vest Version) -- */
.bg-hero-cinematic {
    background-color: #f8fafc !important;
    background-image:
        /* Lighter Gradient: More image visibility, fade starts earlier */
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 25%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        /* The "Red Vest" Volunteer Image */
        url("https://images.unsplash.com/photo-1599493343339-daebbf09a061?q=80&w=2070&auto=format&fit=crop") !important;
    background-size: cover !important;
    background-position: center top !important;
    /* Focus on the person */
    background-repeat: no-repeat !important;
    min-height: 700px;
    /* Taller to show more photo */
}

/* -- The "Cinematic Hero" Background -- */
.bg-topo-map {
    background-color: #f8fafc;
    background-image:
        /* Gradient Overlay for Text Readability (White -> Transparent) */
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.2) 100%),
        /* The Volunteer Image */
        url("https://images.unsplash.com/photo-1599493343339-daebbf09a061?q=80&w=2070&auto=format&fit=crop");
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    /* Parallax effect */
}

/* No blobs, just clean structure */
.bg-blob-1,
.bg-blob-2 {
    display: none;
}

/* -- Component: Live Ticker -- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #0B0F19;
    color: white;
    padding: 10px 0;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-item i {
    color: var(--brand-red);
    margin-right: 8px;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* -- Component: App Showcase -- */
.phone-mockup-card {
    background: #F3F4F6;
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

.app-store-btn {
    background: black;
    color: white;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.8rem;
    gap: 8px;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* -- Minimalist Navbar (Enhanced) -- */
.navbar-minimal {
    background-color: rgba(255, 255, 255, 0.85);
    /* Translucent White */
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid #ef4444;
    /* Brand Red Highlight */
    backdrop-filter: blur(16px) saturate(180%);
    /* Premium Frosted Glass */
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Soft, deep shadow */
    transition: all 0.3s ease;
}

.navbar-minimal .nav-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.navbar-minimal .nav-link:hover,
.navbar-minimal .nav-link.active {
    color: #111827;
    font-weight: 600;
}

/* -- Component: Testimonials -- */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.user-avatar-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* -- Typography -- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--brand-black);
    letter-spacing: -0.02em;
}

/* -- Component: Buttons -- */
.btn-brand-primary {
    background-color: var(--brand-red);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 6px;
    /* Slightly squared per image */
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(250, 15, 0, 0.2);
}

.btn-brand-primary:hover {
    background-color: #D40C00;
    transform: translateY(-1px);
    color: white;
}

.btn-brand-outline {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid #E5E7EB;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-brand-outline:hover {
    border-color: var(--text-primary);
    background-color: #F9FAFB;
    color: var(--text-primary);
}

.btn-nav-outline {
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-nav-outline:hover {
    background: var(--brand-red);
    color: white;
}

/* -- Component: Floating Globe Card -- */
.hero-card-dark {
    background: #000000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #000;
    /* Frame effect */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* -- Component: Stats -- */
.stat-item {
    padding-right: 2rem;
    border-right: 1px solid #E5E7EB;
}

.stat-item:last-child {
    border-right: none;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* -- Floating Stats Bar (Premium Layering) -- */
.stats-floating-container {
    margin-top: -4rem;
    /* Overlap the hero */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #111827 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -- Premium Feature Cards (Holographic Touch) -- */
.feature-card-premium {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ef4444;
    /* Brand Red Accent */
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(239, 68, 68, 0.1);
}

.feature-card-premium:hover::before {
    opacity: 1;
}

.icon-box-premium {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-premium:hover .icon-box-premium {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

/* -- Component: Red CTA Section -- */
.cta-red-section {
    background-color: var(--brand-red);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.btn-white-cta {
    background: white;
    color: var(--brand-red);
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-white-cta:hover {
    transform: translateY(-2px);
    color: var(--brand-red);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.avatar-pile {
    display: flex;
    align-items: center;
    gap: -10px;
}

.avatar-pile img {
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin-right: -10px;
}

/* -- Floating SOS Button (Nuclear Alert) -- */
.sos-float-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    /* Vivid, brighter 3D gradient */
    background: radial-gradient(circle at 35% 35%, #ff5555, #cc0000);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 1100;
    /* Higher z-index */
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
    /* Massive Glowing Aura */
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.5),
        /* Highlight */
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        /* Shadow */
        0 0 0 8px rgba(255, 255, 255, 0.2),
        /* Glass Ring */
        0 15px 35px rgba(220, 38, 38, 0.6);
    /* Red Glow */
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: sos-heartbeat 2s infinite ease-in-out;
}

.sos-float-btn:hover {
    animation: none;
    /* Stop beating on hover to focus */
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        inset 3px 3px 10px rgba(255, 255, 255, 0.6),
        0 0 0 10px rgba(255, 255, 255, 0.3),
        0 20px 50px rgba(220, 38, 38, 0.8);
    /* Maximum Glow */
    cursor: pointer;
}

.sos-float-btn:active {
    transform: scale(0.95);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.4);
}

@keyframes sos-heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2), 0 15px 35px rgba(220, 38, 38, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1), 0 20px 45px rgba(220, 38, 38, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2), 0 15px 35px rgba(220, 38, 38, 0.6);
    }
}

/* Remove the old ring overlay to avoid conflict with the heartbeat */
.sos-float-btn::before {
    display: none;
}

/* -- Navbar Tweaks -- */
.navbar-minimal {
    padding: 1.2rem 0;
    background: white;
    border-bottom: 1px solid #F3F4F6;
}

/* -- Footer -- */
.footer-minimal {
    padding: 4rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--brand-red);
}

.support-box {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
}