/* Kobey Dev Services — personal brand / conversion landing page.
   Modern, professional, indigo-on-light. */

:root {
  --ink: #0f172a;
  --slate: #475569;
  --slate-300: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft-2: #f1f5f9;
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-50: #eef2ff;
  --accent: #06b6d4;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1100px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --gap: clamp(1rem, 3vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
svg, img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 .7rem; }
.grad { background: linear-gradient(100deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--brand); color: #fff; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: 2px solid var(--brand);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79,70,229,.32); background: var(--brand-600); border-color: var(--brand-600); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--slate-300); }
.btn-ghost:hover { background: var(--brand-50); box-shadow: none; }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bg-soft-2); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.brand-mark { color: var(--brand); font-family: var(--font-body); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a { font-weight: 500; color: var(--slate); transition: color .15s ease; }
.nav-menu a:hover { color: var(--brand); }
.nav-menu .btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* Hero */
.hero { padding: clamp(3rem, 9vw, 6rem) 0; background:
  radial-gradient(900px 420px at 75% -10%, rgba(79,70,229,.10), transparent 60%),
  radial-gradient(700px 360px at 10% 0%, rgba(6,182,212,.08), transparent 55%); }
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: .4em; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.trust-row { list-style: none; display: flex; gap: 2rem; padding: 0; margin: 2.2rem 0 0; flex-wrap: wrap; color: var(--slate); font-size: .95rem; }
.trust-row strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.cred-strip { display: grid; gap: .55rem; margin-top: 1.8rem; max-width: 720px; }
.cred-strip a { display: block; color: var(--brand-600); background: rgba(238,242,255,.8); border: 1px solid #dbe2ff; border-radius: var(--radius-sm); padding: .75rem .95rem; font-weight: 600; font-size: .95rem; }
.cred-strip a:hover { border-color: var(--brand); background: #fff; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--slate); font-size: 1.08rem; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--bg-soft-2); border-radius: var(--radius); padding: 1.7rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.card-icon { font-size: 1.7rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand-50); border-radius: 12px; margin-bottom: 1rem; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0 0 .6rem; color: var(--slate); }
.card-tag { font-size: .82rem; font-weight: 600; color: var(--brand); margin: 0; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.work-card { background: #fff; border: 1px solid var(--bg-soft-2); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.work-card h3 { margin-bottom: .4rem; }
.work-card p { color: var(--slate); flex: 1; }
.work-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.pill { font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--slate-300); color: var(--slate); transition: all .15s ease; }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill-live { background: var(--brand); color: #fff; border-color: var(--brand); }
.pill-live:hover { background: var(--brand-600); color: #fff; }
.work-more { text-align: center; margin-top: 2rem; color: var(--slate); }
.work-more a { color: var(--brand); font-weight: 600; }

/* Proof */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.proof-card { background: #fff; border: 1px solid var(--bg-soft-2); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.proof-card p { color: var(--slate); }
.proof-card a { color: var(--brand); font-weight: 700; }
.proof-card a:hover { color: var(--brand-600); }

/* About */
.about-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.about-badge { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; box-shadow: var(--shadow-lg); max-width: 240px; }
.about-badge span { font-family: var(--font-body); font-weight: 700; font-size: clamp(2.5rem, 6vw, 3.5rem); color: #fff; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.check-list li { padding-left: 1.8rem; position: relative; font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: center; word-break: break-word; }
.contact-list a:hover { color: var(--brand); }
.contact-form { background: #fff; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--bg-soft-2); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm); font: inherit; background: var(--bg-soft); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.2); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; }
.error { color: #dc2626; font-size: .82rem; min-height: 1em; display: block; margin-top: .25rem; }
.form-note { background: var(--brand-50); color: var(--brand-600); padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-top: 1rem; font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 2.2rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: var(--accent); }
.copyright { margin: 0; color: var(--slate-300); font-size: .9rem; }

/* Reveal hooks stay in markup, but content is never hidden on a sales page. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 1; transform: none; transition: transform .25s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 820px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-badge { max-width: 160px; }
  .nav-toggle { display: flex; }
  .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--bg-soft-2); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-menu.open { max-height: 340px; }
  .nav-menu a { padding: .9rem 1.25rem; border-top: 1px solid var(--bg-soft-2); }
  .nav-menu .btn { margin: .8rem 1.25rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
}
