/* === BASE & RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --black: #07080A;
    --dark: #0E1015;
    --dark-2: #151820;
    --dark-3: #1E222D;
    --dark-4: #272C3A;
    --accent: #C8FF00;
    --accent-dim: rgba(200, 255, 0, 0.08);
    --accent-hover: #DFFF4F;
    --white: #F0F2F5;
    --gray-100: #E8EAF0;
    --gray-200: #C8CBD6;
    --gray-300: #8A8FA0;
    --gray-400: #5C6178;
    --gray-500: #3A3F52;
    --text: #F0F2F5;
    --text-dim: #8A8FA0;
    --text-muted: #5C6178;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --glow: 0 0 80px rgba(200, 255, 0, 0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.4);
    --radius: 0px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.6;
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideRight {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(3%, -15%); }
    50% { transform: translate(12%, 9%); }
    70% { transform: translate(9%, 4%); }
    90% { transform: translate(-1%, 7%); }
}

.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === GRAIN OVERLAY === */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    animation: grain 8s steps(10) infinite;
    opacity: 0.35;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -0.035em;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '//';
    opacity: 0.4;
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 4rem;
    max-width: 540px;
    line-height: 1.75;
    font-weight: 300;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--black);
    box-shadow: 0 0 40px rgba(200, 255, 0, 0.2);
}

.btn-dark {
    background: var(--white);
    color: var(--black);
}

.btn-dark:hover {
    background: var(--gray-100);
    box-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-light);
    padding: 17px 39px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--gray-300);
}

.btn-text {
    background: none;
    padding: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-text::after {
    content: ' →';
    transition: transform var(--transition);
    display: inline-block;
}

.btn-text:hover {
    color: var(--accent-hover);
}

.btn-text:hover::after {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-nav {
    padding: 10px 28px;
    background: var(--accent);
    color: var(--black) !important;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-nav:hover {
    background: var(--accent-hover);
    color: var(--black) !important;
    box-shadow: 0 0 30px rgba(200, 255, 0, 0.15);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.logo-mark {
    width: 3px;
    height: 32px;
    background: var(--accent);
    display: inline-block;
    box-shadow: 0 0 12px rgba(200, 255, 0, 0.3);
}

.logo-svg {
    height: 24px;
    width: auto;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(200, 255, 0, 0.15));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-300);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

/* === HERO === */
.hero {
    background: var(--black);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

/* Grid pattern overlay */
.hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 720px;
    padding: 180px 0 140px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s 0.2s both;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.8rem;
    letter-spacing: -0.04em;
    line-height: 1.02;
    animation: fadeInUp 1s 0.3s both;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 3.5rem;
    line-height: 1.85;
    max-width: 540px;
    font-weight: 300;
    animation: fadeInUp 1s 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.5s both;
}

/* === DIVIDER === */
.yellow-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.2);
}

/* === SERVICES === */
.services {
    padding: 140px 0;
    background: var(--dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    padding: 52px 44px;
    background: var(--dark);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, var(--accent-dim), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    background: var(--dark-2);
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    color: var(--white);
    font-weight: 700;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
    line-height: 1.75;
    font-weight: 300;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.service-list li {
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 400;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--accent);
    transform: translateY(-50%);
}

/* === BANNER === */
.banner {
    background: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.banner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 255, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.banner-text h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.banner-text p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
}

.banner-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.banner-stat {
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid var(--border-light);
}

.banner-stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.banner-stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* === WHY US === */
.why-us {
    padding: 140px 0;
    background: var(--dark);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.why-card {
    padding: 60px 52px;
    background: var(--dark);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.why-card:hover {
    background: var(--dark-2);
}

.why-icon {
    width: 48px;
    height: 48px;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.why-card:hover .why-icon {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.08);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
    color: var(--white);
    font-weight: 700;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.75;
    font-weight: 300;
}

/* === ABOUT === */
.about {
    padding: 140px 0;
    background: var(--black);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.about-left .section-title {
    font-size: 2.6rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    font-size: 1.02rem;
    line-height: 1.85;
    font-weight: 300;
}

.about-text p:first-child {
    color: var(--gray-200);
    font-size: 1.12rem;
    font-weight: 400;
}

/* === CONTACT === */
.contact {
    padding: 140px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.contact .section-title {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.contact .section-subtitle {
    color: var(--text-dim);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 100px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-item p,
.contact-item a {
    color: var(--gray-200);
    font-size: 0.98rem;
    font-weight: 400;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--dark-2);
    padding: 52px;
    border: 1px solid var(--border);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid var(--dark-4);
    font-size: 0.95rem;
    font-family: var(--font-display);
    color: var(--white);
    background: transparent;
    transition: border-color var(--transition);
    outline: none;
    font-weight: 400;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-500);
    font-weight: 300;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form select option {
    background: var(--dark-2);
    color: var(--white);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* === FOOTER === */
.footer {
    background: var(--black);
    padding: 52px 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--accent);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    gap: 36px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container {
        padding: 0 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .banner-content {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(7, 8, 10, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 36px 24px;
        gap: 28px;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 140px 0 100px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services,
    .why-us,
    .about,
    .contact {
        padding: 100px 0;
    }

    .service-card,
    .why-card {
        padding: 40px 28px;
    }

    .banner-stats {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 36px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}
