/* PothGo Technologies LLC — site styles */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #14181f;
  --bg2: #1a1f28;
  --bg3: #232a36;
  --text: #f2f4f7;
  --muted: #9aa4b2;
  --accent: #3fd0e0;
  --accent2: #b98af0;
  --border: rgba(140, 155, 180, 0.22);
  --radius: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(63, 208, 224, 0.07), transparent 60%),
    radial-gradient(1000px 520px at 92% 0%, rgba(185, 138, 240, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.grad-text {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.grid > .reveal:nth-child(1) { transition-delay: 0s; }
.grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .route-dash { animation: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(63, 208, 224, 0.35); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  background: rgba(20, 24, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; }
.brand-sub { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { font-weight: 600; color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.active .icon-menu { display: none; }
.nav-toggle.active .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a { padding: 14px 4px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--accent); font-weight: 600; }
.mobile-menu.open { display: flex; }
.mobile-menu .mobile-cta {
  border-bottom: none;
  margin-top: 14px;
  width: 100%;
  padding: 14px 28px;
  color: #0d1116;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-primary { background: var(--accent); color: #0d1116; position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(63, 208, 224, 0.35); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); background: rgba(63, 208, 224, 0.08); }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 96px 0 100px;
}
.hero-copy { flex: 1.1; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.badge {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 52px; line-height: 1.1; font-weight: 700; }
.hero-copy p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

.hero-art { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-glow {
  position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(185, 138, 240, 0.25), transparent 70%);
  filter: blur(10px);
}
.hero-panel {
  position: relative; width: 100%; aspect-ratio: 1 / 0.86;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  overflow: hidden;
}
.route-dash { stroke-dasharray: 6 10; animation: dashmove 3.5s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -160; } }

/* ---------- Page header (inner pages) ---------- */

.page-header { padding: 96px 0 56px; }
.page-header h1 { font-size: 44px; font-weight: 700; margin-bottom: 20px; max-width: 700px; }
.page-header p { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0; }

/* ---------- Sections & cards ---------- */

section { padding: 0; }
.section { padding: 100px 0; }
.section-band { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 560px; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; font-weight: 600; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 175, 200, 0.45);
  box-shadow: 0 20px 40px -16px rgba(63, 208, 224, 0.22);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(63, 208, 224, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.card h3 { font-size: 16.5px; font-weight: 600; }
.card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

.feature { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 16px; font-weight: 600; margin-top: 4px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

.step { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; border-top: 2px solid var(--border); }
.step.first { border-top-color: var(--accent); }
.step-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
}
.step.first .step-num { background: var(--accent); color: #0d1116; border-color: transparent; }
.step h3 { font-size: 15.5px; font-weight: 600; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.55; }

/* ---------- CTA band ---------- */

.cta-box {
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.cta-box h2 { font-size: 32px; font-weight: 600; }
.cta-box > p { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 440px; }
.cta-contacts { display: flex; gap: 32px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.cta-contacts div { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; max-width: 260px; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col span.head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; color: var(--muted); font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .socials { display: flex; gap: 20px; }

/* ---------- Contact form ---------- */

.contact-layout { display: flex; gap: 56px; align-items: flex-start; }
.contact-form {
  flex: 1.4; background: var(--bg2); border: 1px solid var(--border); border-radius: 20px;
  padding: 44px; display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-size: 14px; font-family: inherit;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b7a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }

.contact-info { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(63, 208, 224, 0.12); display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.info-card .label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.info-card .value { font-size: 15px; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .container { padding: 0 32px; }
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { padding-left: 24px; padding-right: 24px; }
  .hero { flex-direction: column; padding: 56px 0 64px; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-copy, .hero-copy p { align-items: center; text-align: center; max-width: 100%; }
  .hero-copy { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; overflow: hidden; }
  .hero-glow { width: 70vw; height: 70vw; max-width: 300px; max-height: 300px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section, .section-band .container { padding: 64px 0; }
  .why-layout { flex-direction: column; gap: 32px !important; }
  .why-layout > div:first-child { position: static !important; }
  .contact-layout { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-strip { flex-direction: column; }
  .cta-box { padding: 40px 28px; }
  .cta-contacts { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .brand-sub { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-copy p { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-header { padding: 72px 0 40px; }
  .page-header h1 { font-size: 28px; }
  .section-head h2 { font-size: 26px; }
  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: 22px; }
  .contact-form { padding: 24px 20px; }
  .info-card { padding: 18px; }
  .about-strip { padding: 32px 20px !important; }
}
