:root {
    --bg: #07090E;
    --surface: #0E131F;
    --surface-2: #141B2D;
    --border: #1E293B;
    --text: #E2E8F0;
    --text-dim: #94A3B8;
    --text-mute: #64748B;
    --emerald: #10B981;
    --emerald-soft: rgba(16, 185, 129, 0.12);
    --cyan: #06B6D4;
    --grad: linear-gradient(90deg, #34D399, #99F6E4, #22D3EE);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg); color: var(--text);
    font-family: var(--font-body); font-size: 16px; line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(16,185,129,.35); color: #ECFEFF; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7,9,14,.88); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(30,41,59,.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: 13.5px; color: var(--text-dim); transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #34D399; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 999px; color: var(--text); width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--emerald); color: #06231A; font-weight: 700; font-size: 14px;
    padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
    transition: box-shadow .25s, background .25s;
}
.btn:hover { background: #34D399; box-shadow: 0 0 30px rgba(16,185,129,.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #334155; }
.btn-ghost:hover { border-color: rgba(16,185,129,.6); color: #34D399; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: rgba(16,185,129,.14); top: -140px; left: -120px; }
.hero::after { width: 420px; height: 420px; background: rgba(6,182,212,.1); bottom: -160px; right: -80px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; position: relative; }
.badge {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid rgba(16,185,129,.35); background: var(--emerald-soft);
    border-radius: 999px; padding: 8px 18px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #34D399;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 12px #34D399; }
.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -1.5px; margin: 26px 0 20px; color: #F8FAFC; }
.hero p.lead { color: var(--text-dim); font-size: 17px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 24px; border: 1px solid var(--border); display: block; width: 100%; }
.hero-photo::after {
    content: ''; position: absolute; inset: 14px -14px -14px 14px;
    border: 1px solid rgba(16,185,129,.3); border-radius: 24px; z-index: -1;
}
.trust-strip {
    position: relative; margin-top: 64px; border: 1px solid var(--border); border-radius: 16px;
    background: rgba(14,19,31,.85); padding: 20px 28px; text-align: center;
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .5px; color: var(--text-dim);
}
.trust-strip strong { color: #34D399; font-weight: 600; }
.trust-strip .sep { color: var(--text-mute); margin: 0 14px; }

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: rgba(14,19,31,.4); border-top: 1px solid rgba(30,41,59,.5); border-bottom: 1px solid rgba(30,41,59,.5); }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #34D399; margin-bottom: 14px; }
h2.title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.8px; line-height: 1.15; color: #F1F5F9; max-width: 680px; }
.section-desc { color: var(--text-dim); margin-top: 16px; max-width: 680px; }
.page-head { padding: 90px 0 40px; }
.page-head h1.title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.8px; line-height: 1.12; color: #F8FAFC; max-width: 800px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 50px; }
.rich p { color: var(--text-dim); margin-bottom: 16px; }
.rich strong { color: var(--text); }
.diff-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; margin-bottom: 14px; transition: border-color .25s, box-shadow .25s; }
.diff-card:hover { border-color: rgba(16,185,129,.5); box-shadow: 0 0 25px rgba(16,185,129,.1); }
.diff-card h3 { font-family: var(--font-display); font-size: 16px; color: #F1F5F9; margin-bottom: 6px; }
.diff-card p { font-size: 14px; color: var(--text-dim); }

/* checkmark list */
.check-list { list-style: none; margin-top: 30px; display: grid; gap: 14px; max-width: 760px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 15px; }
.check-list li::before {
    content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
    background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
    border: 1px solid rgba(16,185,129,.4);
}

/* services (homepage mini grid + services page) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: border-color .25s; display: flex; flex-direction: column; }
.svc-card:hover { border-color: rgba(16,185,129,.5); }
.svc-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: #22D3EE; text-transform: uppercase; }
.svc-card h3 { font-family: var(--font-display); font-size: 18px; color: #F1F5F9; margin: 10px 0 8px; }
.svc-card p { font-size: 14px; color: var(--text-dim); flex: 1; }
.svc-card ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.svc-card ul li { font-size: 13px; color: var(--text-dim); padding-left: 16px; position: relative; }
.svc-card ul li::before { content: '›'; position: absolute; left: 0; color: #34D399; }
.svc-card .best { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-mute); }
.svc-card .best strong { color: #34D399; font-weight: 600; }

/* services rows (numbered) */
.svc-list { margin-top: 50px; border-top: 1px solid var(--border); }
.svc-row { display: grid; grid-template-columns: 70px 1fr 2fr; gap: 24px; align-items: baseline; padding: 30px 10px; border-bottom: 1px solid var(--border); transition: background .25s; }
.svc-row:hover { background: rgba(16,185,129,.04); }
.svc-row .num { font-family: var(--font-mono); font-size: 14px; color: #34D399; }
.svc-row h3 { font-family: var(--font-display); font-size: 20px; color: #F1F5F9; }
.svc-row p { font-size: 14px; color: var(--text-dim); }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; transition: border-color .25s, transform .25s; }
.tool-card:hover { border-color: rgba(16,185,129,.5); transform: translateY(-3px); }
.tool-card .t { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #F1F5F9; }
.tool-card .u { font-size: 12px; color: var(--text-mute); margin-top: 5px; }

/* ---------- results ---------- */
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px; transition: border-color .25s; }
.result-card:hover { border-color: rgba(16,185,129,.45); }
.result-card .m { font-family: var(--font-mono); font-size: clamp(28px, 3vw, 38px); font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-card h3 { font-family: var(--font-display); font-size: 17px; color: #F1F5F9; margin: 10px 0 8px; }
.result-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- faq ---------- */
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 24px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: #F1F5F9; list-style: none; padding: 18px 0; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; float: right; color: #34D399; font-family: var(--font-mono); font-size: 18px; }
details.faq[open] summary::after { content: '–'; }
details.faq[open] { border-color: rgba(16,185,129,.4); }
details.faq p { font-size: 14px; color: var(--text-dim); margin: 0 0 18px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { border: 1px solid var(--border); background: rgba(14,19,31,.8); border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--text-dim); transition: border-color .2s, color .2s; }
.chip:hover { border-color: rgba(16,185,129,.5); color: #34D399; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: rgba(16,185,129,.5); transform: translateY(-4px); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #0E131F, #14253a); display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb.placeholder { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: rgba(52,211,153,.35); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 1px; }
.post-card h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.4; color: #F1F5F9; margin: 10px 0; }
.post-card h3 a:hover { color: #34D399; }
.post-card .excerpt { font-size: 13.5px; color: var(--text-dim); flex: 1; }
.post-card .more { margin-top: 16px; font-size: 13px; font-weight: 700; color: #34D399; }
.pagination { display: flex; gap: 10px; justify-content: center; margin: 60px 0 0; }
.pagination a, .pagination span.cur { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.pagination a:hover { border-color: rgba(16,185,129,.5); color: #34D399; }
.pagination span.cur { background: var(--emerald); border-color: var(--emerald); color: #06231A; font-weight: 700; }

/* ---------- single post ---------- */
.post-hero { padding: 70px 0 30px; max-width: 800px; margin: 0 auto; }
.crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mute); margin-bottom: 22px; }
.crumbs a { color: #34D399; }
.post-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.8px; color: #F8FAFC; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.post-featured { max-width: 900px; margin: 34px auto 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); }
.post-body { max-width: 800px; margin: 0 auto; padding: 40px 0 20px; }
.post-body h2 { font-family: var(--font-display); font-size: 26px; color: #F1F5F9; margin: 42px 0 14px; letter-spacing: -0.4px; }
.post-body h3 { font-family: var(--font-display); font-size: 20px; color: #F1F5F9; margin: 34px 0 12px; }
.post-body h4 { font-family: var(--font-display); font-size: 17px; color: #F1F5F9; margin: 26px 0 10px; }
.post-body p { color: #B8C2D4; margin-bottom: 16px; }
.post-body a { color: #34D399; text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { color: #B8C2D4; margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 8px; }
.post-body img { border-radius: 14px; border: 1px solid var(--border); margin: 10px 0; }
.post-body figure { margin: 22px 0; }
.post-body figcaption { font-size: 12px; color: var(--text-mute); text-align: center; margin-top: 8px; font-family: var(--font-mono); }
.post-body blockquote { border-left: 3px solid var(--emerald); background: var(--emerald-soft); border-radius: 0 14px 14px 0; padding: 16px 22px; margin: 22px 0; color: var(--text); }
.post-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 10px 14px; color: #B8C2D4; }
.post-body th { background: var(--surface-2); color: #F1F5F9; font-family: var(--font-display); }
.post-body pre, .post-body code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border-radius: 8px; }
.post-body pre { padding: 18px; overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); }
.post-body p code, .post-body li code { padding: 2px 7px; color: #34D399; }
.related { max-width: 1140px; margin: 0 auto; padding: 60px 24px 90px; }

/* ---------- CTA + contact ---------- */
.cta-band { background: linear-gradient(120deg, rgba(16,185,129,.12), rgba(14,19,31,.6) 50%, rgba(6,182,212,.1)); border: 1px solid rgba(16,185,129,.3); border-radius: 28px; padding: 60px 56px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: #F8FAFC; letter-spacing: -0.6px; }
.cta-band p { color: var(--text-dim); max-width: 600px; margin: 14px auto 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; margin-bottom: 14px; }
.contact-info-card .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mute); }
.contact-info-card .v { font-size: 16px; color: #F1F5F9; margin-top: 5px; }
.contact-info-card a:hover { color: #34D399; }
form.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
    width: 100%; background: rgba(7,9,14,.7); border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 18px; color: var(--text); font-family: var(--font-body); font-size: 14px; margin-bottom: 14px;
}
form.contact-form select { appearance: none; }
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus { outline: none; border-color: rgba(16,185,129,.6); }
form.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 11px; color: var(--text-mute); text-align: center; margin-top: 10px; }
.form-status { font-size: 13px; margin-top: 10px; text-align: center; min-height: 18px; }
.form-status.ok { color: #34D399; }

/* ---------- social links ---------- */
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
    width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-dim); transition: color .25s, border-color .25s, box-shadow .25s;
}
.social-link:hover { color: #34D399; border-color: rgba(16,185,129,.5); box-shadow: 0 0 18px rgba(16,185,129,.15); }
.social-link svg { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(30,41,59,.7); background: #05070B; padding: 54px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--text-dim); }
.footer-nav a:hover { color: #34D399; }
.footer-about { color: var(--text-mute); font-size: 13px; max-width: 620px; margin-top: 26px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(30,41,59,.5); margin-top: 30px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-mute); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
    .hero-photo { max-width: 420px; }
    .blog-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .result-grid { grid-template-columns: 1fr; }
    .svc-row { grid-template-columns: 50px 1fr; }
    .svc-row p { grid-column: 2; }
}
@media (max-width: 720px) {
    .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: rgba(7,9,14,.97); border-bottom: 1px solid var(--border); padding: 18px 24px 26px; gap: 16px; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .blog-grid, .svc-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 44px 26px; }
    .header-inner .btn { display: none; }
    .trust-strip .sep { margin: 0 8px; }
    .trust-strip { font-size: 11.5px; }
}
