/* === Reset & Root Variables === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00a1c9;
    --primary-purple: #7c3aed;
    --primary-orange: #f97316;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --bg-dark: #0E141B;
    --bg-light: #1A212B;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition-fast: 0.3s ease;
}

/* === Body & Base === */
body {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Background Animation === */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
    z-index: -1;
}

/* === Navigation === */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: var(--primary-cyan);
    transition: width var(--transition-fast);
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav-links a:hover {
    color: var(--primary-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* === Buttons === */
.cyber-button, .btn-primary, .btn-secondary {
    padding: 0.9rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 161, 201, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}

/* === Hero Section === */
.hero {
    padding: 160px 2rem 100px;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-nexus {
    background: linear-gradient(135deg, var(--primary-cyan), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-flow {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Sections === */
section {
    padding: 100px 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-weight: 400;
}

/* === About Section === */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text, .about-image {
    flex: 1;
    min-width: 300px;
}

/* === Features Section === */
.features-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 161, 201, 0.3);
}

.feature-card h3 {
    margin: 1rem 0;
    color: var(--primary-cyan);
}

/* === Stats Section === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.stat-label {
    color: var(--text-secondary);
}

/* === Contact Form === */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
}

.contact-form button {
    align-self: flex-start;
}

.footer {
    background: #0E141B;
    color: #f5f9fc;
    padding: 4rem 2rem 2rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00a1c9f3;
    margin-bottom: 0.5rem;
}

.footer p {
    color: #8a9ba8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: #f5f9fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #00a1c9f3;
}

.footer-social .social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #f5f9fc;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #00a1c9f3;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1A212B;
    color: #8a9ba8;
    font-size: 0.9rem;
}

/* === Fade Up Animation === */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Mobile Menu === */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
}
