@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=JetBrains+Mono:wght@400;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0ea5e9;
  --blue-dk: #0284c7;
  --blue-glow: rgba(14,165,233,.25);
  --orange:  #4B5568;
  --orange-dk: #374151;
  --red:     #C41230;
  --dark:    #0d1117;
  --dark2:   #161b27;
  --dark3:   #1e2d3d;
  --slate:   #94a3b8;
  --border:  rgba(255,255,255,.07);
  --light:   #f1f5f9;
  --white:   #ffffff;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1e293b; background: #fff; line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .2s; border: none; letter-spacing: .01em; }
.btn:hover { transform: translateY(-1px); }
.btn-blue  { background: var(--blue); color: #fff; box-shadow: 0 0 0 0 var(--blue-glow); }
.btn-blue:hover { background: var(--blue-dk); box-shadow: 0 0 24px var(--blue-glow); }
.btn-orange { background: var(--orange); color: #fff; border: 2px solid #f97316; }
.btn-orange:hover { background: var(--orange-dk); border-color: #f97316; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-white { background: #fff; color: var(--dark); font-weight: 700; }
.btn-white:hover { background: #f1f5f9; }
.btn-full { width: 100%; text-align: center; }
.mono { font-family: 'JetBrains Mono', monospace; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-label.warm { color: var(--orange); }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: var(--dark); line-height: 1.12; letter-spacing: -.02em; }
.section-sub   { font-size: 1.05rem; color: #64748b; margin-top: 14px; max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Dot grid pattern (reusable) ── */
.dot-grid {
  background-image: radial-gradient(circle, rgba(14,165,233,.12) 1px, transparent 1px);
  background-size: 30px 30px;
}
.line-grid {
  background-image:
    linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Navbar ── */
#navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s;
}
#navbar.scrolled { border-color: rgba(14,165,233,.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--blue); }
.nav-cta { padding: 9px 22px; font-size: .85rem; color: #fff !important; font-weight: 900; letter-spacing: .01em; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 6px; border-radius: 6px; transition: background .2s; }
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #0f172a; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 999; }
.mobile-nav.open { display: block; animation: slideDown .22s ease; }
@keyframes slideDown { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform: translateY(0); } }
.mobile-nav a { display: block; padding: 13px 0; font-size: .95rem; font-weight: 500; color: var(--slate); border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s, padding-left .2s; text-decoration: none; }
.mobile-nav a:hover { color: #fff; padding-left: 6px; }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { display: block; width: 100%; text-align: center; margin-top: 14px; padding: 13px; font-size: .95rem; color: #fff !important; font-weight: 900; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--dark); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--dark) 40%, rgba(13,17,23,.6) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(14,165,233,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 100px 0; }
.hero-top-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-call-group { display: flex; align-items: center; gap: 14px; }
.hero-phone { color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,165,233,.12); color: var(--blue);
  border: 1px solid rgba(14,165,233,.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 0;
}
.btn-call { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff !important; font-weight: 700; font-size: .85rem; padding: 9px 20px; border-radius: 8px; border: 2px solid #f97316; text-decoration: none; transition: background .2s, transform .15s; letter-spacing: .02em; white-space: nowrap; }
.btn-call:hover { background: #374151; border-color: #f97316; transform: translateY(-1px); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 .accent-blue { color: var(--blue); }
.hero h1 .accent-orange { color: #f97316; }
.hero p { font-size: 1.1rem; color: #8fa4bf; max-width: 560px; margin-bottom: 40px; line-height: 1.75; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

/* ── Stats strip ── */
.stats {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat-lbl { font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }

/* ── About snippet ── */
.about-snap { padding: 110px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { border-radius: 14px; overflow: hidden; position: relative; }
.about-img::before {
  content: '';
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--blue), transparent 50%);
  border-radius: 16px;
  z-index: -1;
}
.about-img img { width: 100%; height: 480px; object-fit: cover; border-radius: 12px; }
.since-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: #64748b; margin-bottom: 16px; font-size: .97rem; line-height: 1.75; }
.check-list { list-style: none; margin: 24px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: #334155; font-weight: 500; font-size: .95rem; }
.check-list li::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: rgba(14,165,233,.12);
  color: var(--blue);
  border: 1px solid rgba(14,165,233,.3);
  border-radius: 50%; font-size: .75rem; font-weight: 800; flex-shrink: 0;
}

/* ── Services section ── */
.services-sec { padding: 110px 0; background: var(--dark); }
.services-sec.light { background: var(--light); }
.services-sec .section-title { color: #fff; }
.services-sec .section-sub { color: var(--slate); }
.services-sec .section-header { margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 28px 32px;
  transition: border-color .25s, transform .2s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { border-color: rgba(14,165,233,.35); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: #e2e8f0; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--slate); line-height: 1.7; }

/* ── Projects gallery (home) ── */
.projects-sec { padding: 110px 0; }
.projects-sec .section-header { margin-bottom: 56px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 20px;
  background: linear-gradient(transparent, rgba(13,17,23,.85));
  color: #fff; font-weight: 600; font-size: .88rem;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .04em;
}

/* ── CTA band ── */
.cta-band {
  padding: 100px 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(14,165,233,.08), transparent);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-band p  { color: var(--slate); font-size: 1.05rem; margin-bottom: 36px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 90px 0 80px; text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(14,165,233,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.page-hero p  { font-size: 1rem; color: var(--slate); max-width: 520px; margin: 0 auto; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; color: var(--blue); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }

/* ── About page ── */
.about-full { padding: 110px 0; }
.about-full p { color: #64748b; margin-bottom: 18px; font-size: 1rem; line-height: 1.8; }
.about-full .section-title { margin-bottom: 28px; }
.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.founder-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 36px;
  position: relative; overflow: hidden;
}
.founder-card::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.founder-card h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.founder-card .role { font-family: 'JetBrains Mono', monospace; color: var(--blue); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.founder-card p { font-size: .92rem; color: var(--slate); line-height: 1.75; }

/* ── Services page ── */
.services-page { padding: 100px 0; }
.services-page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.service-big {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.service-big:hover { border-color: rgba(14,165,233,.4); box-shadow: 0 12px 40px rgba(14,165,233,.08); transform: translateY(-3px); }
.service-big-header {
  background: var(--dark);
  padding: 24px 28px; display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.service-big-icon { font-size: 1.8rem; }
.service-big-header h3 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.service-big-body { padding: 24px 28px; }
.service-big-body p { color: #64748b; font-size: .95rem; line-height: 1.75; }
.service-big-body p + p { margin-top: 12px; }

/* ── Projects page ── */
.projects-page { padding: 100px 0; }
.projects-intro { margin-bottom: 60px; }
.projects-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project-card { border-radius: 14px; overflow: hidden; border: 1px solid #e2e8f0; transition: all .3s; background: #fff; }
.project-card:hover { border-color: rgba(14,165,233,.4); box-shadow: 0 16px 48px rgba(14,165,233,.1); transform: translateY(-5px); }
.project-card img { width: 100%; height: 230px; object-fit: cover; }
.project-card-body { padding: 20px 24px 24px; }
.project-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.project-card-body p { font-size: .88rem; color: #64748b; line-height: 1.65; }
.project-tag {
  display: inline-block;
  background: rgba(14,165,233,.1); color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase;
}

/* ── Contact page ── */
.contact-page { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.contact-info h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; letter-spacing: -.02em; }
.contact-info > p  { color: #64748b; margin-bottom: 36px; font-size: .97rem; line-height: 1.75; }
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.info-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.info-item h4 { font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.info-item p, .info-item a { font-size: .95rem; color: #334155; font-weight: 500; }
.info-item a:hover { color: var(--blue); }
.tech-note { margin-top: 36px; padding: 22px 24px; background: var(--dark); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 10px; }
.tech-note p { font-size: .88rem; color: var(--slate); margin: 0; line-height: 1.7; }
.tech-note strong { color: #fff; }
.contact-form { background: var(--light); border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; }
.contact-form h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 30px; letter-spacing: -.02em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600; color: #64748b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: .93rem;
  color: var(--dark); background: #fff; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; background: #f0fdf4; border: 1px solid #86efac; color: #15803d; padding: 16px 20px; border-radius: 8px; margin-top: 16px; font-weight: 600; font-size: .92rem; }

/* ── Values on about page ── */
.values-sec { padding: 100px 0; background: var(--dark); }
.values-sec .section-title { color: #fff; }
.values-sec .section-sub { color: var(--slate); }
.values-sec .section-header { margin-bottom: 60px; }

/* ── Privacy ── */
.privacy-page { padding: 100px 0; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 40px 0 12px; }
.prose p, .prose li { color: #64748b; line-height: 1.8; margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--dark); }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }

/* ── Footer ── */
footer { background: var(--dark); border-top: 1px solid var(--border); color: var(--slate); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand img { height: 40px; margin-bottom: 18px; background: rgba(255,255,255,.08); padding: 8px 12px; border-radius: 8px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 260px; }
footer h4 { font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .two-col, .contact-grid, .founder-cards { grid-template-columns: 1fr; gap: 40px; }
  .about-img { order: -1; }
  .about-img img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .hero-content { padding: 80px 0; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
