:root {
    --bg-color: #020617; /* Very dark slate, almost black */
    --surface-color: rgba(30, 41, 59, 0.4);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary: #0ea5e9; /* Vibrant Cyan/Ocean */
    --primary-hover: #0284c7;
    --secondary: #3b82f6; /* Deep Blue */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-text: linear-gradient(135deg, #38bdf8, #818cf8);
    --glow: rgba(14, 165, 233, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cyan-text {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-primary-sm {
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem;
}

.btn-primary-sm:hover {
    background-color: var(--primary-hover);
}

.full-width {
    width: 100%;
}

.mt-4 {
    margin-top: 2rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.logo-mark {
    width: 24px;
    height: 24px;
    background: var(--gradient-text);
    border-radius: 4px;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary-sm) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--text-main);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero p {
    margin: 0 auto 2.5rem auto;
    font-size: 1.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Layout Utilities */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.cards-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Cards & Glassmorphism */
.glass {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.card-img-placeholder {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.card-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.card-content {
    padding: 2rem;
}

.card-content.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.features {
    list-style: none;
    margin-top: 1.5rem;
    border-top: 1px solid var(--surface-border);
    padding-top: 1.5rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.features li span {
    color: var(--primary);
}

/* Sections */
.dark-section {
    background: linear-gradient(180deg, rgba(2, 6, 23, 1) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.government-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.2);
}

.gov-benefits {
    list-style: none;
    margin-top: 2rem;
}

.gov-benefits li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-graphic {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(30,41,59,0.5), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-circle {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px dashed rgba(14, 165, 233, 0.3);
    animation: rotate 20s linear infinite;
    position: absolute;
}

.graphic-element {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.g1 { width: 12px; height: 12px; top: 20%; left: 30%; animation: pulse 3s infinite alternate; }
.g2 { width: 8px; height: 8px; bottom: 30%; right: 20%; background: #a78bfa; box-shadow: 0 0 20px #a78bfa; animation: pulse 4s infinite alternate; }
.g3 { width: 16px; height: 16px; top: 50%; right: 10%; background: #38bdf8; box-shadow: 0 0 20px #38bdf8; animation: pulse 2.5s infinite alternate; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 1; }
}


/* Forms */
.glass-form {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--surface-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-radius: 8px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 2rem;
    background: rgba(2, 6, 23, 0.9);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAnim 0.8s forwards;
}

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .dual-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-side {
        order: -1; /* image on top on mobile */
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
    
    .nav-links {
        display: none; /* simple mobile approach for setup */
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
