/* Web3 Ops Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #08090c;
    --surface: #0f1117;
    --surface-2: #161923;
    --border: #1e2230;
    --text: #e4e5ea;
    --text-dim: #7a7d8a;
    --accent: #4af0c0;
    --accent-dim: rgba(74, 240, 192, 0.08);
    --accent-glow: rgba(74, 240, 192, 0.15);
    --gold: #d4a853;
    --red: #f04a4a;
    --red-dim: rgba(240, 74, 74, 0.08);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.mono { font-family: 'DM Mono', monospace; }

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 16px;
    height: 16px;
}

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

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

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

.nav-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #3dd4a8;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    border-color: rgba(74, 240, 192, 0.3);
    background: var(--accent-dim);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--accent-dim);
    border: 1px solid rgba(74, 240, 192, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent);
    width: fit-content;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #2dd4a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-label {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 600px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

/* Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
    border-color: rgba(74, 240, 192, 0.2);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border: 1px solid rgba(74, 240, 192, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
}

.service-card .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.service-tag {
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(74, 240, 192, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-family: 'DM Mono', monospace;
}

/* Credential Strip */
.credentials {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
}

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

.cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cred-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cred-text p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}

.cred-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cred-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cred-marker {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
}

.cred-item-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.cred-item-text p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Pricing */
.pricing {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.price-includes {
    text-align: left;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.price-check {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}

/* Page Header */
.page-header {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
}

.page-header .hero-sub {
    margin-bottom: 0;
}

/* Case Study */
.case-study-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.case-study-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--accent-dim);
    border: 1px solid rgba(74, 240, 192, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    margin-bottom: 1.5rem;
}

.case-study-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.case-study-card .summary {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.metric .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.metric .label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}

.contributions-list {
    display: grid;
    gap: 0.75rem;
}

.contribution {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.contribution .check {
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group label .optional {
    color: var(--text-dim);
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-control::placeholder {
    color: var(--text-dim);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237a7d8a'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success .check-circle {
    width: 64px;
    height: 64px;
    background: var(--accent-dim);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.form-error {
    display: none;
    padding: 0.75rem 1rem;
    background: var(--red-dim);
    border: 1px solid rgba(240, 74, 74, 0.2);
    border-radius: 10px;
    color: var(--red);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Closing */
.closing {
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.closing h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.closing p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

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

/* Mobile */
@media (max-width: 768px) {
    nav { padding: 1rem 1.25rem; }
    .nav-links { display: none; }
    .hero { padding: 7rem 1.25rem 3rem; }
    .hero-stats { gap: 2rem; }
    .section { padding: 4rem 1.25rem; }
    .services-grid { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pricing { padding: 4rem 1.25rem; }
    .price-card { padding: 2rem; }
    .closing { padding: 4rem 1.25rem 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .page-header { padding: 7rem 1.25rem 3rem; }
    .metrics-row { grid-template-columns: 1fr 1fr; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 9, 12, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        gap: 1rem;
    }
    .nav-links.open a {
        font-size: 1rem;
    }
}
