/* styles.css */
:root {
    --bg-dark: #0b0e14;
    --bg-card: #151921;
    --bg-card-hover: #1e2430;
    --primary: #2979ff;
    --accent: #00e5ff;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border-color: #2d3748;
    --font-main: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
p { color: var(--text-muted); margin-bottom: 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1a5cbf);
    color: white;
    box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 121, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: white; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(41, 121, 255, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.05), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    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: 50px 50px;
    z-index: -1;
}

.hero-content { max-width: 800px; }
.hero-tag {
    display: inline-block;
    background: rgba(41, 121, 255, 0.1);
    border: 1px solid rgba(41, 121, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}
.feature-list li i { color: var(--accent); font-size: 0.8rem; }

/* Stats Section */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.stat-item h3 { font-size: 3rem; color: var(--accent); margin-bottom: 5px; }
.stat-item p { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-control {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: white;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(41, 121, 255, 0.2);
}

/* Footer */
footer {
    background: #05070a;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-menu-btn { display: block; }
    .grid-2, .footer-grid { grid-template-columns: 1fr; }
}