/* design system */
:root {
    --bg: #050505;
    --surface: #111111;
    --surface-lighter: #1a1a1a;
    --surface-glass: rgba(17, 17, 17, 0.8);
    --accent: #00F2FF;
    --accent-glow: rgba(0, 242, 255, 0.3);
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border: rgba(255, 255, 255, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-head {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: var(--surface-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled .nav-wrapper {
    padding: 5px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.nav-cta {
    background-color: var(--text);
    color: var(--bg);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn:hover {
    transform: scale(1.05);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--surface-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, 
.form-group textarea {
    background-color: var(--surface-lighter);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
}

/* Mobile Menu Active State */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }
}
