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

:root {
    --deep: #070e1a;
    --navy: #0a1628;
    --navy-mid: #0d1b2a;
    --navy-light: #112240;
    --blue: #2196F3;
    --blue-light: #64b5f6;
    --blue-glow: rgba(33, 150, 243, 0.15);
    --blue-glow-strong: rgba(33, 150, 243, 0.35);
    --white: #e8edf3;
    --white-dim: #8899b3;
    --white-muted: #4a6fa5;
    --trace: rgba(33, 150, 243, 0.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Mono', monospace;
    background: var(--deep);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

/* ============================================
   GLOBAL CIRCUIT CANVAS
   ============================================ */
#circuit-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

nav.scrolled {
    background: rgba(7, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--trace);
    padding: 0.8rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--white);
}

.nav-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    clip-path: circle(30% at center);
    transition: transform 0.3s ease;
}

.nav-logo:hover img { transform: rotate(15deg) scale(1.05); }

.nav-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--white-dim);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    color: var(--blue) !important;
    border: 1px solid rgba(33, 150, 243, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--blue-glow);
    border-color: var(--blue);
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.hero-text { position: relative; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1rem;
    color: var(--white-dim);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--deep);
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(33, 150, 243, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(136, 153, 179, 0.3);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.6s forwards;
}

.hero-orb {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    position: relative;
}

.hero-orb::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--trace);
    animation: orbPulse 4s ease-in-out infinite;
}

.hero-orb::after {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px dashed rgba(33, 150, 243, 0.12);
    animation: orbSpin 30s linear infinite;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.orb-ring:nth-child(1) {
    inset: 60px;
    border-color: rgba(33, 150, 243, 0.06);
    animation: orbSpin 20s linear infinite reverse;
}

.orb-ring:nth-child(2) {
    inset: 90px;
    border-color: rgba(33, 150, 243, 0.04);
    animation: orbSpin 25s linear infinite;
}

.hero-orb-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    clip-path: circle(30% at center);
}

.orb-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue);
}

.orb-node:nth-child(4) { top: 10%; left: 50%; animation: nodePulse 3s ease-in-out infinite; }
.orb-node:nth-child(5) { top: 50%; right: 5%; animation: nodePulse 3s ease-in-out 0.5s infinite; }
.orb-node:nth-child(6) { bottom: 10%; left: 50%; animation: nodePulse 3s ease-in-out 1s infinite; }
.orb-node:nth-child(7) { top: 50%; left: 5%; animation: nodePulse 3s ease-in-out 1.5s infinite; }
.orb-node:nth-child(8) { top: 20%; right: 15%; animation: nodePulse 3s ease-in-out 0.8s infinite; }
.orb-node:nth-child(9) { bottom: 20%; left: 15%; animation: nodePulse 3s ease-in-out 1.3s infinite; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Mono', monospace;
}

.section-label::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--blue);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.section-desc {
    color: var(--white-dim);
    max-width: 560px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--trace);
    border-radius: 8px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(33, 150, 243, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--white-muted);
    letter-spacing: 0.05em;
}

.about-text p {
    color: var(--white-dim);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.about-text p:first-of-type::first-letter {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    float: left;
    color: var(--blue);
    line-height: 0.8;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--navy);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--trace), var(--blue-glow), var(--trace), transparent);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header .section-desc {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(7, 14, 26, 0.6);
    border: 1px solid var(--trace);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--blue-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    border-color: rgba(33, 150, 243, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: #2196F3;
    stroke-width: 1.5;
    fill: none;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.15);
}

.service-card:hover .service-icon svg {
    stroke: #64B5F6;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--white-dim);
    font-size: 0.85rem;
    line-height: 1.7;
}

.service-tag {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.7rem;
    color: var(--blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ============================================
   WHY CHOOSE
   ============================================ */
.why {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.why-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.why-marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--blue-glow);
    border: 1px solid rgba(33, 150, 243, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.why-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.why-item p {
    color: var(--white-dim);
    font-size: 0.85rem;
}

.why-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-window {
    width: 100%;
    max-width: 440px;
    background: rgba(7, 14, 26, 0.8);
    border: 1px solid rgba(33, 150, 243, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(17, 34, 64, 0.5);
    border-bottom: 1px solid var(--trace);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-body {
    padding: 1.5rem;
    font-size: 0.8rem;
    line-height: 2;
    min-height: 240px;
}

.terminal-line { color: var(--white-dim); }
.terminal-line .prompt { color: var(--blue); }
.terminal-line .cmd { color: var(--white); }
.terminal-line .flag { color: var(--blue-light); }
.terminal-line .comment { color: var(--white-muted); }
.terminal-line .success { color: #28c840; }

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--blue);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(7, 14, 26, 0.6);
    border: 1px solid var(--trace);
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 2rem;
    flex: 1;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -1.2rem;
    left: -0.5rem;
    font-size: 4rem;
    color: var(--blue);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-quote p {
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--trace);
}

.testimonial-author-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
    stroke-width: 1.5;
    fill: none;
}

.testimonial-author-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-author-info span {
    font-size: 0.75rem;
    color: var(--white-dim);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* If there's an odd number of testimonials, center the last lone card on
   its own row instead of leaving it dangling at the left. */
@media (min-width: 769px) {
    .testimonials-grid .testimonial-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 1rem);
        justify-self: center;
    }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--navy-mid);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--trace), var(--blue-glow), var(--trace), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--blue-glow);
    border: 1px solid rgba(33, 150, 243, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-detail h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-detail p, .contact-detail a {
    color: var(--white-dim);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover { color: var(--blue); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-muted);
}

.form-group input, .form-group textarea, .form-group select {
    background: rgba(7, 14, 26, 0.6);
    border: 1px solid rgba(74, 111, 165, 0.2);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--white);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.btn-submit {
    align-self: flex-start;
    background: var(--blue);
    color: var(--deep);
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.15);
}

.btn-submit:hover {
    box-shadow: 0 0 50px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--trace);
    padding: 2.5rem 2rem;
    background: var(--deep);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--white-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--white-muted);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.3s ease;
}

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

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

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

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.03); opacity: 0.8; }
}

@keyframes orbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

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

@keyframes typeIn {
    from { width: 0; }
    to { width: 100%; }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; }
    .hero-orb { width: 280px; height: 280px; }
    .hero-orb-logo { width: 160px; height: 160px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-stats { order: 2; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-visual { order: -1; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
    section { padding: 4rem 1.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--trace);
        gap: 1rem;
    }
    .mobile-toggle { display: block; }
    .hero { padding: 6rem 1.2rem 3rem; }
    .hero-actions { flex-direction: column; }
    .hero-orb { width: 220px; height: 220px; }
    .hero-orb-logo { width: 130px; height: 130px; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
