/* Base */
:root {
  --bg: #0b1220;
  --surface: #0f172a;
  --surface-2: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #22d3ee;
  --brand-ink: #0e7490;
  --ring: rgba(34, 211, 238, 0.4);
  --maxw: 1120px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #172554 10%, transparent 60%),
              radial-gradient(800px 400px at 90% 10%, #0e7490 0%, transparent 60%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .2px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; }

/* Hero */
.hero { padding: 80px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero-copy p { font-size: clamp(16px, 2vw, 20px); color: var(--muted); margin: 0 0 24px; }
.cta-group { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.trust-badges { display: flex; gap: 16px; padding: 0; margin: 10px 0 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-art { width: 100%; height: auto; max-height: 360px; display: block; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); background: #0f172a; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-title { font-size: 28px; margin: 0 0 22px; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: var(--text); background: rgba(255,255,255,0.04); transition: transform .02s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.06); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--brand), #20bcd3); color: #042c34; border-color: rgba(34,211,238,0.8); box-shadow: 0 8px 24px rgba(34,211,238,0.25); font-weight: 600; }
.btn-primary:hover { background: linear-gradient(180deg, #37e6ff, var(--brand)); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.16); }

/* Cards */
.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin: 2px 0 8px; font-size: 20px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* Work */
.work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-item { margin: 0; }
.work-thumb { height: 160px; border-radius: 14px; background: linear-gradient(135deg, rgba(34,211,238,.12), rgba(59,130,246,.10)); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); }
.work-img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); background: #0f172a; }
.work figcaption { margin-top: 10px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.work figcaption strong { color: var(--text); }
.skeleton { position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.08), rgba(255,255,255,0)); transform: translateX(-100%); animation: shimmer 2s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* About */
.about { display: grid; gap: 32px; grid-template-columns: 1.2fr .8fr; }
.list-checks { list-style: none; padding: 0; margin: 14px 0 0; }
.list-checks li { margin: 8px 0; padding-left: 26px; position: relative; }
.list-checks li::before { content: "✔"; position: absolute; left: 0; color: var(--brand); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats div { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; text-align: center; }
.stats strong { font-size: 20px; }
.stats span { display: block; color: var(--muted); font-size: 13px; }

/* Contact */
.contact { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; margin-top: 14px; }
.contact-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: var(--text); text-decoration: none; }
.contact-card.wide { grid-column: auto; }
.contact-card div { display: flex; flex-direction: column; line-height: 1.35; }
.contact-card strong { display: block; font-size: 16px; margin-bottom: 4px; white-space: nowrap; }
.contact-card span { display: block; font-size: 15px; color: var(--text); opacity: .9; overflow-wrap: normal; }
.contact-card .value { white-space: nowrap; overflow: visible; text-overflow: clip; }
.contact-card:hover { border-color: rgba(255,255,255,0.16); }
.contact-card .icon { font-size: 18px; line-height: 1; margin-top: 2px; }
.contact-form { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea { width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(17, 24, 39, .6); color: var(--text); outline: none; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.fineprint { color: var(--muted); font-size: 12px; margin-top: 8px; }

/* Footer */
.site-footer { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(6px); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.footer-inner .brand { justify-self: start; }
.footer-nav { display: flex; gap: 12px; justify-self: center; }
.legal { justify-self: end; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards, .work, .about, .stats { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card.wide { grid-column: auto; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .cards, .work, .about, .stats { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}
