/* Fonts - Tech/SaaS Style */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ccff00;
    /* Acid Green */
    --accent-glow: rgba(204, 255, 0, 0.25);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Configs */
    --container-width: 1100px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    /* Clean tech font for body */
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(204, 255, 0, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    /* Futuristic font for headings */
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin-top: 1rem;
    border-radius: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1.25rem 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle - Hidden by default on Desktop */
.menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
    /* Centralized */
}

/* Glow in the center of Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Gradient Text: White to Light Gray */
    background: linear-gradient(180deg, #FFFFFF 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* Buttons - Smaller & Tech */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    /* Smaller padding */
    font-size: 0.875rem;
    /* Smaller font */
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    background: #fff;
    color: #000;
}

.btn:hover {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Glassmorphism Cards (Services) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    /* Glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--transition);
}

/* Hover Glow Effect on Cards */
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.icon-box {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Methodology - Vertical Steps */
.methodology {
    background: linear-gradient(180deg, transparent 0%, rgba(204, 255, 0, 0.02) 50%, transparent 100%);
}

.section-header h2 {
    font-size: 2.5rem;
}

.steps-container {
    margin-top: 4rem;
    border-left: 1px solid var(--border-color);
    margin-left: 1rem;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    position: relative;
}

/* Dot on text timeline */
.step-item::before {
    content: '';
    position: absolute;
    left: -3.35rem;
    /* Align with border line */
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--bg-main);
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.step-number {
    display: block;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-secondary);
    max-width: 600px;
}

/* Mission Box - Featured Glass */
.mission-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient line top */
.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.mission-box .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mission-box p {
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Split Section (About) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: #020202;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {

    /* Header */
    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        /* Hide links on mobile for now, can be toggled via JS */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #050505;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }

    /* Show menu button if using JS, otherwise just hide links */
    /* For this CSS-only pass, we ensure layout doesn't break */

    .hero {
        padding-top: 120px;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .mission-box {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
}