/* ============================================================
   Cybersecurity Awareness Month — Landing Page
   Modern, creative, animated one-pager
   ============================================================ */

:root {
    --bg: #05060a;
    --bg-2: #0a0d16;
    --primary: #ff5d20;
    --primary-2: #ff8a3d;
    --accent: #22d3ee;
    --accent-2: #a855f7;
    --text: #e6e9f0;
    --muted: #9aa3b2;
    --card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; line-height: 1.15; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ============================================================
   Animated background
   ============================================================ */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: var(--primary); top: -120px; left: -100px; }
.orb-2 { width: 380px; height: 380px; background: var(--accent); bottom: -100px; right: -80px; animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; background: var(--accent-2); top: 40%; left: 55%; animation-delay: -8s; opacity: 0.35; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ============================================================
   Layout
   ============================================================ */
.landing { position: relative; z-index: 1; }

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(5, 6, 10, 0.6);
    border-bottom: 1px solid var(--border);
}
.logo-wrap { display: flex; align-items: center; }
.logo { height: 52px; width: auto; filter: drop-shadow(0 0 12px rgba(255, 93, 32, 0.4)); }
.landing-nav { display: flex; align-items: center; gap: 2rem; }
.landing-nav a { font-weight: 500; color: var(--muted); transition: color 0.3s; }
.landing-nav a:hover { color: var(--text); }
.nav-cta {
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary) !important;
}
.nav-cta:hover { background: var(--primary); color: #fff !important; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--card);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}
.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(255, 93, 32, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 93, 32, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255, 93, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 93, 32, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.grad-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-sub {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================================
   Countdown
   ============================================================ */
.countdown {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}
.count-box {
    min-width: 96px;
    padding: 1.4rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.count-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.count-num {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, #fff, #b9c0cf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.count-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
}
.count-sep {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn-glow {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    box-shadow: 0 0 24px rgba(255, 93, 32, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(255, 93, 32, 0.7); }
.btn-ghost {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border);
    transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover { border-color: var(--accent); background: var(--card); }
.btn-block { display: block; width: 100%; }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--muted);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.wheel {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--primary);
    animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 6rem 2rem; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.section-text { max-width: 640px; margin: 0 auto 3rem; color: var(--muted); }

/* Footer */
.landing-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-2);
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer-inner p { color: var(--muted); font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem !important; opacity: 0.7; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .landing-header { padding: 1rem 1.5rem; }
    .landing-nav { gap: 1rem; }
    .landing-nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
    .countdown { gap: 0.5rem; }
    .count-box { min-width: 70px; padding: 1rem 0.5rem; }
    .count-num { font-size: 1.8rem; }
    .count-sep { font-size: 1.5rem; }
    .hero { padding: 3rem 1.25rem; }
}
