:root {
  --bg: #080a12;
  --surface: #111827;
  --surface-soft: #182033;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #38bdf8;
  --secondary: #a78bfa;
  --accent: #22c55e;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34rem), radial-gradient(circle at top right, rgba(167, 139, 250, 0.16), transparent 30rem), var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
li + li { margin-top: 8px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 780px; text-align: center; }
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(17, 24, 39, 0.72), rgba(8, 10, 18, 0)); border-block: 1px solid var(--border); }

.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px); background: rgba(8, 10, 18, 0.78); border-bottom: 1px solid var(--border); }
.nav-wrap, .nav, .cta-row, .footer-grid, .footer-bottom, .filter-bar { display: flex; align-items: center; }
.nav-wrap { justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #04111d; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 0 36px rgba(56, 189, 248, 0.35); }
.brand-logo { display: block; width: 36px; height: 36px; border-radius: 12px; box-shadow: 0 0 36px rgba(56, 189, 248, 0.35); }
.nav { justify-content: flex-end; gap: 16px; color: var(--muted); font-size: 0.94rem; flex-wrap: wrap; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav a:hover, .footer-links a:hover, .service-card a:hover { color: var(--primary); }
.nav-button { padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text) !important; background: rgba(255, 255, 255, 0.06); }

.hero { min-height: calc(100vh - 76px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: 0.95; letter-spacing: -0.08em; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.055em; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.hero-text, .section-heading p, .split-section p, .lead-card p, .page-hero p { color: var(--muted); font-size: 1.08rem; }
.cta-row { flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; color: #06111c; background: linear-gradient(135deg, var(--primary), var(--accent)); font-weight: 800; cursor: pointer; box-shadow: 0 16px 38px rgba(34, 197, 94, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(56, 189, 248, 0.25); }
.button-secondary { color: var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }

.hero-panel { position: relative; padding: 22px; border: 1px solid var(--border); border-radius: 34px; background: linear-gradient(145deg, rgba(17, 24, 39, 0.86), rgba(24, 32, 51, 0.62)); box-shadow: var(--shadow); overflow: hidden; }
.orb { position: absolute; width: 170px; height: 170px; border-radius: 50%; filter: blur(6px); opacity: 0.35; }
.orb-one { top: -64px; right: -30px; background: var(--primary); }
.orb-two { bottom: -70px; left: -40px; background: var(--secondary); }

.panel-card, .service-card, .project-card, .case-study-card, .pricing-card, .lead-card, .blog-card, .faq-item, .stat-card, .contact-card { position: relative; border: 1px solid var(--border); background: rgba(17, 24, 39, 0.78); border-radius: 24px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18); }
.panel-card { padding: 22px; }
.panel-card.large { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 16px; }
.panel-card p, .panel-card span, .service-card p, .project-card p, .case-study-card p, .pricing-card p, .blog-card p, .faq-item p, .contact-card p, .footer p, .meta { color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-grid .panel-card { display: grid; gap: 4px; }

.section-heading { max-width: 740px; margin-bottom: 34px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .project-card, .case-study-card, .pricing-card, .blog-card, .faq-item, .stat-card, .contact-card { padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.service-card:hover, .project-card:hover, .case-study-card:hover, .pricing-card:hover, .blog-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.42); background: rgba(24, 32, 51, 0.86); }
.service-card, .project-card, .pricing-card, .blog-card { display: flex; flex-direction: column; align-items: flex-start; }
.service-card .button, .project-card .button, .pricing-card .button, .blog-card .button { margin-top: auto; }
.service-card a:not(.button) { color: var(--text); font-weight: 800; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 16px; background: rgba(56, 189, 248, 0.1); color: var(--primary); font-size: 1.3rem; }
.badge { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 7px 11px; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 999px; color: #ddd6fe; background: rgba(167, 139, 250, 0.12); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.meta, .metric { margin: 8px 0 24px; color: var(--muted); font-size: 0.94rem; }
.metric { color: var(--accent); font-weight: 800; }
.featured-card, .pricing-card.featured { border-color: rgba(34, 197, 94, 0.32); background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), rgba(17, 24, 39, 0.78)); }

.page-hero { padding-bottom: 48px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.stat-card strong { display: block; font-size: 2rem; color: var(--primary); }
.split-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-item { padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255, 255, 255, 0.04); }
.timeline-item span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 14px; color: #06111c; background: linear-gradient(135deg, var(--primary), var(--accent)); font-weight: 900; }
.timeline-item p { color: var(--muted); }
.filter-bar { flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.filter-button { padding: 11px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.filter-button.active, .filter-button:hover { color: #06111c; border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.is-hidden { display: none; }

.lead-section { padding-top: 0; }
.lead-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: start; padding: 34px; background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.09)), rgba(17, 24, 39, 0.8); }
.lead-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 8px; color: var(--text); font-weight: 700; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 16px; color: var(--text); background: rgba(8, 10, 18, 0.64); outline: none; }
.field textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12); }
.form-message { min-height: 24px; margin: 0; color: var(--accent); font-weight: 800; }

.case-study-card { display: grid; gap: 16px; }
.result-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.result-list li { padding: 10px 12px; border-radius: 14px; color: var(--text); background: rgba(34, 197, 94, 0.1); }
.blog-card time { color: var(--primary); font-weight: 800; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.policy-content { display: grid; gap: 20px; }
.policy-card { padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: rgba(17, 24, 39, 0.78); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18); }
.policy-card p, .policy-card li { color: var(--muted); }
.policy-card a { color: var(--primary); font-weight: 800; }

.footer { padding: 42px 0 28px; border-top: 1px solid var(--border); background: rgba(8, 10, 18, 0.8); }
.footer-grid { justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }
.footer-bottom { justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .nav-wrap { position: relative; align-items: center; flex-direction: row; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; width: 100%; align-items: stretch; justify-content: flex-start; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 22px; background: rgba(8, 10, 18, 0.96); box-shadow: var(--shadow); }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 14px; }
  .nav a:hover { background: rgba(56, 189, 248, 0.08); }
  .nav-button { justify-content: center; text-align: center; }
  .footer-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .hero-grid, .split-section, .lead-card { grid-template-columns: 1fr; }
  .timeline, .card-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .card-grid, .timeline, .mini-grid, .stat-grid, .form-grid, .faq-grid, .policy-content { grid-template-columns: 1fr; }
  .service-card, .project-card, .case-study-card, .pricing-card, .lead-card, .blog-card, .faq-item, .stat-card, .contact-card, .policy-card { padding: 22px; }
  .button { width: 100%; }
}
