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

:root {
    --bg: #0a0a0b;
    --bg-elevated: #111113;
    --bg-card: #161618;
    --border: #222226;
    --border-hover: #333338;
    --text: #e4e4e7;
    --text-muted: #8b8b94;
    --text-dim: #5a5a63;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --green: #22c55e;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ NAV ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.mobile-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
}

/* ═══ HERO ═══ */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: var(--accent-glow);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

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

/* ═══ EDGE STATS ═══ */
.edge {
    padding: 40px 0 60px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.edge-number {
    display: block;
    font-family: var(--mono);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.edge-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ═══ SECTIONS ═══ */
.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* ═══ SERVICES ═══ */
.services {
    padding: 100px 0;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ═══ PROOF OF WORK ═══ */
.proof {
    padding: 100px 0;
    background: var(--bg-elevated);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s;
}

.proof-card:hover {
    border-color: var(--border-hover);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.proof-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proof-status {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.proof-status.live {
    color: var(--green);
}

.proof-status.live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s ease-in-out infinite;
}

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

.proof-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.proof-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.proof-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.proof-tech span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 4px;
}

/* ═══ HOW WE WORK ═══ */
.how {
    padding: 100px 0;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.how-step {
    text-align: center;
    padding: 24px 16px;
}

.how-num {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.how-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.how-step p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ═══ ABOUT ═══ */
.about {
    padding: 100px 0;
    background: var(--bg-elevated);
}

.about-content {
    max-width: 700px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ═══ CONTACT ═══ */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact .section-sub {
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 24px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.contact-card svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card span {
    font-size: 14px;
}

/* ═══ FOOTER ═══ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .edge-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu.open { display: flex; }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .hero-sub { font-size: 15px; }

    .services-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .edge-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 26px; }

    .contact-methods { flex-direction: column; align-items: center; }

    .footer .container { flex-direction: column; gap: 8px; text-align: center; }
}
