﻿:root {
    --bg-dark: #050816;
    --bg-dark-alt: #0a0f24;
    --accent: #1f6feb;
    --accent-soft: rgba(31, 111, 235, 0.18);
    --text-main: #f5f7ff;
    --text-muted: #a5afc7;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #101735 0, #050816 55%, #02030a 100%);
    color: var(--text-main);
    min-height: 100vh;
}

.page {
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, 100% - 32px);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: rgba(5, 8, 22, 0.82);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-brand-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-brand-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--text-main);
    }

.nav-cta {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 111, 235, 0.6);
    color: var(--text-main);
    text-decoration: none;
    font-size: 12px;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.2), transparent);
}

.form-message {
    margin-top: 10px;
}

    .form-message.success {
        color: green;
    }

    .form-message.error {
        color: red;
    }

/* HERO */
.hero {
    padding: 140px 16px 80px;
    display: flex;
    justify-content: center;
}

.hero-inner {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 8, 22, 0.8);
    width: fit-content;
    font-size: 11px;
    color: var(--text-muted);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #60a5fa, #1d4ed8);
}

.hero-title {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

    .hero-title span {
        color: #7dd3fc;
    }

.hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #f9fafb;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
}

/* RIGHT HERO PANEL */
.hero-right {
    position: relative;
    height: 360px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 10% 0, #1f2937 0, #020617 55%, #000 100%);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.18;
    mix-blend-mode: screen;
}

.orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.orb-blue {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 30% 0, #60a5fa, #1d4ed8);
    top: -40px;
    right: -60px;
    opacity: 0.35;
}

.orb-cyan {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 0, #22d3ee, #0f766e);
    bottom: -40px;
    left: -40px;
    opacity: 0.22;
}

.logo-watermark {
    position: absolute;
    bottom: 40px; /* adjust as needed */
    right: 40px; /* adjust as needed */
    display: flex;
    align-items: center;
    gap: 12px; /* spacing between text and logo */
    opacity: 0.15; /* watermark feel */
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    pointer-events: none; /* ensures it doesn't interfere with UI */
}

    .logo-watermark .logo-img {
        height: 80px; /* adjust size */
        width: auto;
        opacity: 0.9;
    }

    .logo-watermark .logo-text {
        letter-spacing: 2px;
    }

/* SECTIONS */
section {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 80px 16px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.section-sub {
    color: var(--text-muted);
    max-width: 40rem;
    margin-bottom: 40px;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .service-card h3 {
        margin-bottom: 10px;
    }

    .service-card p {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.5;
    }

/* APPROACH */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.step-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.step-text {
    color: var(--text-muted);
    font-size: 14px;
}

/ /* CONTACT BOX */
.contact-box {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* Center the form itself */
.contact-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 420px; /* keeps layout tight and centered */
    width: 100%;
    margin: 0 auto; /* centers the form */
}

/* Inputs and textarea */
.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    box-sizing: border-box;
}

/* Labels */
.contact-box label {
    text-align: left; /* keep labels readable */
    font-weight: 600;
    color: var(--text-muted);
}

/* Button */
.contact-box button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: var(--accent, #4a8cff);
    color: white;
    cursor: pointer;
    font-size: 1rem;
    width: fit-content; /* button no longer stretches full width */
    align-self: center; /* centers the button */
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: -1;
        height: 320px;
    }

    .nav-links {
        display: none;
    }
}
