/* ==========================================================================
   INFOCYS TECHNOLOGY — COMING SOON MODERN DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #050811;
    --bg-deep: #080d1c;
    --bg-card: rgba(13, 22, 44, 0.65);
    --bg-card-hover: rgba(18, 30, 60, 0.85);
    --bg-card-solid: #0d162c;
    
    /* Brand Accents */
    --brand-blue: #0066ff;
    --brand-cyan: #00d2ff;
    --brand-cyan-glow: rgba(0, 210, 255, 0.45);
    --brand-blue-glow: rgba(0, 102, 255, 0.4);
    --brand-purple: #7928ca;
    --brand-emerald: #10b981;
    
    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-highlight: #38bdf8;
    
    /* Borders & Glass */
    --border-glass: rgba(56, 189, 248, 0.2);
    --border-glass-hover: rgba(0, 210, 255, 0.5);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    /* Fonts */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-main);
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-cyan);
}

/* ==========================================================================
   Background & Ambient Effects
   ========================================================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-1 {
    top: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
}

.glow-2 {
    top: 30%;
    right: -150px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #00d2ff 0%, transparent 70%);
    animation-delay: -4s;
}

.glow-3 {
    bottom: -150px;
    left: 20%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    animation-delay: -8s;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.45; }
    100% { transform: scale(0.95) translate(-20px, 30px); opacity: 0.3; }
}

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

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */
.site-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    width: 100%;
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    background: rgba(5, 8, 17, 0.7);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Brand Logo Badge */
.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 7px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-bounce);
}

.brand-badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.4), 0 0 0 2px var(--brand-cyan);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Status Pill */
.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #34d399;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
}

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-glass);
}

.sound-toggle-btn.sound-on {
    color: var(--brand-cyan);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.08);
}

.btn-early-access {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0099ff 100%);
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--brand-blue-glow);
    transition: var(--transition-bounce);
}

.btn-early-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.6);
    filter: brightness(1.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 4rem;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Launch Tag */
.launch-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--brand-cyan);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
    animation: fadeInDown 0.8s ease backwards;
}

.tag-sparkle {
    color: var(--brand-cyan);
    animation: spinSlow 6s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tag-badge {
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
}

/* Titles */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    animation: fadeInUp 0.9s ease backwards 0.1s;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #38bdf8 55%, #0066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 20px rgba(0, 210, 255, 0.3));
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 2.75rem;
    line-height: 1.7;
    animation: fadeInUp 0.9s ease backwards 0.2s;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================================================
   COUNTDOWN TIMER — 3D FLIP CARDS & SVG RINGS
   ========================================================================== */
.countdown-container {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 2.25rem 2rem;
    margin-bottom: 3.5rem;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.9s ease backwards 0.3s;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-cyan);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-cyan);
    animation: pulseDot 1.5s infinite;
}

.target-date-display {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.target-date-display span {
    color: var(--text-highlight);
    font-weight: 600;
}

/* Countdown Units Grid */
.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.unit-ring-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Progress Ring */
.progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 1;
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 5;
}

.ring-bar {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    /* Circumference = 2 * PI * 62 = ~389.56 */
    stroke-dasharray: 389.56;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-days {
    stroke: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.ring-hours {
    stroke: #00d2ff;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.6));
}

.ring-minutes {
    stroke: #0066ff;
    filter: drop-shadow(0 0 6px rgba(0, 102, 255, 0.7));
}

.ring-seconds {
    stroke: #00f0ff;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.9));
}

/* ==========================================================================
   Split-Flap Clock Mechanism with Hardware-Accelerated 3D Flip Roll
   ========================================================================== */
.flip-clock {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
}

.clock-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(180deg, #182544 0%, #111a30 50%, #0d1527 50.5%, #080f1d 100%);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(56, 189, 248, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 500px;
    -webkit-perspective: 500px;
}

/* Central dividing split line */
.card-groove {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 3;
    pointer-events: none;
}

/* Clock Digits */
.clock-card .digit {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
    display: inline-block;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transform-origin: center center;
    will-change: transform, opacity;
}

/* 3D Flip-Roll Keyframe Animation */
.clock-card .digit.flip {
    animation: flipDigit 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flipDigit {
    0% {
        transform: translateY(0) scale(1) rotateX(0deg);
        opacity: 1;
    }
    45% {
        transform: translateY(-22%) scale(0.9) rotateX(-75deg);
        opacity: 0.15;
    }
    55% {
        transform: translateY(22%) scale(0.9) rotateX(75deg);
        opacity: 0.15;
    }
    100% {
        transform: translateY(0) scale(1) rotateX(0deg);
        opacity: 1;
    }
}

/* Separator Colon */
.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: rgba(56, 189, 248, 0.5);
    margin-top: -24px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
    animation: blinkSep 1s infinite alternate;
}

@keyframes blinkSep {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Labels below unit */
.unit-label-box {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.unit-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.unit-name-active {
    color: var(--brand-cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.unit-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

/* Milestone Progress Bar */
.milestone-box {
    margin-top: 2.25rem;
    background: rgba(8, 13, 28, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
}

.milestone-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.milestone-title {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.milestone-title i {
    color: var(--brand-cyan);
}

.milestone-percentage {
    color: var(--brand-cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-cyan) 80%, #ffffff 100%);
    border-radius: 9999px;
    position: relative;
    box-shadow: 0 0 15px var(--brand-cyan);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    animation: progressShine 2.5s infinite linear;
}

@keyframes progressShine {
    from { transform: translateX(-100%); }
    to { transform: translateX(200%); }
}

.milestone-stages {
    display: flex;
    justify-content: space-between;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.stage {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stage.done {
    color: #34d399;
}

.stage.active {
    color: var(--brand-cyan);
    font-weight: 600;
}

/* ==========================================================================
   VIP NOTIFY & SUBSCRIPTION SECTION
   ========================================================================== */
.notify-card {
    width: 100%;
    background: linear-gradient(145deg, rgba(16, 26, 52, 0.7) 0%, rgba(8, 14, 30, 0.8) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 102, 255, 0.1);
    position: relative;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--text-highlight);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.notify-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.notify-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.notify-form {
    max-width: 650px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(6, 11, 24, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
}

.input-icon {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-right: 12px;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 1rem;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #00a2ff 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6);
    filter: brightness(1.1);
}

.submit-btn .btn-arrow {
    transition: transform 0.2s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-loader {
    display: none;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-arrow {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

/* Role Selector Pills */
.role-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.role-prompt {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 4px;
}

.role-pill {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.role-pill input {
    display: none;
}

.role-pill:hover {
    border-color: var(--border-glass);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.role-pill.active {
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Success Card */
.notify-success {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 18px;
    padding: 2rem;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    align-items: flex-start;
    gap: 1.5rem;
    animation: zoomIn 0.4s ease;
}

.notify-success.show {
    display: flex;
}

.success-icon-box {
    font-size: 2.2rem;
    color: #10b981;
}

.success-details h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-reset-notify {
    background: none;
    border: none;
    color: var(--brand-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.security-note {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   FEATURES SNEAK PEEK
   ========================================================================== */
.features-preview {
    width: 100%;
    margin-bottom: 3rem;
}

.section-title-wrap {
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    transition: var(--transition-bounce);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.icon-blue {
    background: rgba(0, 102, 255, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.icon-cyan {
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.icon-purple {
    background: rgba(121, 40, 202, 0.15);
    color: #a855f7;
    border: 1px solid rgba(121, 40, 202, 0.3);
}

.icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.feature-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--text-highlight);
}

/* Quick Action Bar */
.quick-action-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-primary);
    border-color: var(--border-glass);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    width: 100%;
    background: #03060c;
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 2rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-wrap {
    display: inline-block;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    width: fit-content;
}

.footer-logo {
    height: 32px;
    display: block;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--brand-cyan);
    width: 16px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--brand-cyan);
}

.footer-social-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.social-icon:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--brand-blue-glow);
    border-color: transparent;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.time-stamp {
    font-family: var(--font-mono);
    color: var(--text-highlight);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   ABOUT MODAL
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: #0b1328;
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    max-width: 550px;
    width: 100%;
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 210, 255, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-window {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.modal-logo-badge {
    display: inline-block;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.modal-logo {
    height: 30px;
    display: block;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--brand-cyan);
    font-weight: 600;
}

.modal-body {
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.modal-highlights {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: 12px;
}

.highlight-item i {
    color: var(--brand-cyan);
    font-size: 1.1rem;
    margin-top: 2px;
}

.highlight-item h4 {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.highlight-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-modal-action {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0099ff 100%);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-modal-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--brand-blue-glow);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: #0f1a36;
    border: 1px solid var(--border-glass);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.toast-success {
    border-color: #10b981;
}

.toast.toast-success i {
    color: #10b981;
}

@keyframes toastIn {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3000;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive Adaptations & Mobile Performance Optimizations
   ========================================================================== */
@media (max-width: 1024px) {
    .countdown-grid {
        gap: 1rem;
    }
    
    .unit-ring-wrapper {
        width: 115px;
        height: 115px;
    }
    
    .flip-clock {
        width: 82px;
        height: 82px;
    }
    
    .clock-card .digit {
        font-size: 2.3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* 1. Stop GPU Overdraw & Layer Repainting Lag on Mobile */
    .ambient-glow {
        animation: none !important;
        filter: blur(35px) !important;
        opacity: 0.22 !important;
    }
    .glow-1 { width: 260px; height: 260px; top: -50px; left: -50px; }
    .glow-2 { width: 260px; height: 260px; top: 40%; right: -50px; }
    .glow-3 { display: none !important; }
    
    .grid-overlay {
        background-size: 30px 30px;
        opacity: 0.6;
    }

    .navbar {
        padding: 0.85rem 1rem;
    }
    
    .brand-logo {
        height: 32px;
    }
    
    .status-pill {
        display: none;
    }

    .hero-section {
        padding: 2rem 0.85rem 2.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 4px;
    }
    
    /* 2. Single-Row, Responsive Countdown Grid */
    .countdown-container {
        padding: 1.5rem 0.65rem;
        background: #091024;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 20px;
        margin-bottom: 2.5rem;
    }
    
    .countdown-header {
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.85rem;
    }

    .countdown-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: clamp(2px, 1.2vw, 8px);
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .countdown-unit {
        flex: 1;
        min-width: 0;
    }

    .unit-ring-wrapper {
        width: clamp(68px, 20vw, 88px);
        height: clamp(68px, 20vw, 88px);
    }
    
    .flip-clock {
        width: clamp(50px, 14.5vw, 66px);
        height: clamp(50px, 14.5vw, 66px);
    }

    .clock-card {
        border-radius: clamp(10px, 2.5vw, 14px);
    }
    
    .clock-card .digit {
        font-size: clamp(1.4rem, 4.3vw, 1.9rem);
    }
    
    .countdown-separator {
        display: block;
        font-size: clamp(1.1rem, 3.5vw, 1.6rem);
        margin-top: -14px;
        color: rgba(56, 189, 248, 0.45);
        flex: 0 0 auto;
    }

    .unit-label-box {
        margin-top: 0.45rem;
        gap: 1px;
    }

    .unit-name {
        font-size: clamp(0.62rem, 2vw, 0.75rem);
        letter-spacing: 0.05em;
    }

    .unit-sub {
        font-size: clamp(0.55rem, 1.7vw, 0.65rem);
        white-space: nowrap;
    }

    .milestone-box {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .milestone-stages {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        font-size: 0.72rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 360px) {
    .unit-sub {
        display: none; /* Hide subtext on very small screens (iPhone SE, narrow Android) */
    }
    
    .countdown-separator {
        display: none;
    }
}
