/* ── Variables ──────────────────────────────────────────────────── */
:root {
    --green:      #7fc319;
    --peach:      #fcc2ac;
    --peach-dim:  rgba(252, 194, 172, 0.18);
    --peach-glow: rgba(252, 194, 172, 0.08);
    --bg:         #0e0c0b;
    --surface:    #17120f;
    --border:     rgba(252, 194, 172, 0.14);
    --text:       #f0e8e4;
    --muted:      #9a8880;
    --grid-color: rgba(252, 194, 172, 0.05);

    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: 'Fira Mono', 'Consolas', monospace;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Background SVG ─────────────────────────────────────────────── */
.bg-svg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 12, 11, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.logo span { color: var(--green); }

nav { display: flex; align-items: center; gap: 2rem; }
nav a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.2s;
}
nav a:hover { color: var(--text); }

.btn-nav {
    background: rgba(127, 195, 25, 0.1);
    border: 1px solid rgba(127, 195, 25, 0.25);
    color: var(--green) !important;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: background 0.2s, border-color 0.2s;
}
.btn-nav:hover {
    background: rgba(127, 195, 25, 0.18);
    border-color: rgba(127, 195, 25, 0.4);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
}
.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-family: var(--mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid var(--border);
    background: var(--peach-glow);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.accent { color: var(--green); }
.hero-sub {
    max-width: 520px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: #0a0f04;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Services ───────────────────────────────────────────────────── */
.services {
    padding: 5rem 0 6rem;
    position: relative;
}
.services h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--text);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.service-card:hover {
    border-color: rgba(252, 194, 172, 0.45);
    background: rgba(252, 194, 172, 0.04);
    transform: translateY(-2px);
}
.service-icon {
    width: 36px;
    height: 36px;
    color: var(--green);
    margin-bottom: 1rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contact {
    padding: 5rem 0 7rem;
    position: relative;
}
.contact-inner {
    text-align: center;
}
.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.contact p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.contact .btn-primary {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ── Animated nodes ─────────────────────────────────────────────── */
.node-dot {
    fill: var(--peach);
    opacity: 0;
    animation: pulse-dot 4s ease-in-out infinite;
}
.node-dot.bright {
    fill: #fff0ea;
}
.node-line {
    stroke: rgba(252, 194, 172, 0.25);
    stroke-width: 0.7;
    stroke-dasharray: 4 4;
    animation: dash-move 6s linear infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 0;   r: 1.5; }
    50%       { opacity: 0.9; r: 3;   }
}
@keyframes dash-move {
    to { stroke-dashoffset: -24; }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 5rem 0 4rem; }
    nav a:not(.btn-nav) { display: none; }
    .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
