/* WebMinotaur — Minimal, modern, fast */

:root {
  --bg: #0a0a0b;
  --panel: #111214;
  --text: #f5f7fa;
  --muted: #a4acb9;
  --accent: #00e0ff; /* neon blue */
  --accent-600: #00b7d1;
  --accent-700: #0aa1b8;
  --ring: rgba(0, 224, 255, 0.4);
  --radius: 14px;
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(0,224,255,0.08), transparent 60%),
              radial-gradient(900px 600px at -10% 20%, rgba(0,224,255,0.06), transparent 60%),
              var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .6rem .9rem; background: var(--accent); color: #001018; border-radius: 8px; z-index: 1000; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
  background: linear-gradient(to bottom, rgba(10,10,11,0.85), rgba(10,10,11,0.55));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; position: relative;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 28px; width: auto; }
.brand .wordmark { font-weight: 600; letter-spacing: .2px; color: var(--text); }

.nav-links {
  display: flex; align-items: center; gap: 1rem; color: var(--muted);
}
.nav-links a {
  padding: .45rem .7rem; border-radius: 8px; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text); background: rgba(0,224,255,0.12); }

.lang-switch { display: inline-flex; gap: .2rem; background: rgba(255,255,255,0.06); padding: 2px; border-radius: 8px; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: .35rem .55rem; border-radius: 6px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #001018; font-weight: 600; }

.nav-cta {
  display: none;
}

/* Mobile nav */
.burger { display: none; background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.12); padding: .45rem .6rem; border-radius: 10px; }
@media (max-width: 900px) {
  .nav { padding: .7rem 0; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: .6rem; padding: .8rem; background: #0c0d0f; border: 1px solid rgba(255,255,255,0.06); border-top: none; z-index: 60; }
  .nav-links.open { display: flex; }
  .burger { display: inline-flex; align-items: center; gap: .4rem; }
  /* Hide large CTA on small screens to keep burger aligned */
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  padding: clamp(60px, 8vw, 120px) 0 56px;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.4rem; align-items: center; }
.hero .kicker { color: var(--accent); font-weight: 600; letter-spacing: .4px; }
.hero h1 { font-size: clamp(32px, 7vw, 56px); line-height: 1.05; margin: .6rem 0 1rem; }
.hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); }

.hero-visual {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: conic-gradient(from 180deg at 50% 50%, rgba(0,224,255,0.18), rgba(0,224,255,0.08) 25%, transparent 25% 50%, rgba(0,224,255,0.12) 50% 75%, transparent 75% 100%),
              linear-gradient(180deg, #0d0f13, #0b0d10);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.cta-row { display: flex; gap: .8rem; align-items: center; margin-top: 1.4rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: #121418; color: var(--text); cursor: pointer; transition: transform .1s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(0,224,255,0.4); }
.btn.primary { background: linear-gradient(180deg, var(--accent), var(--accent-600)); color: #001018; border-color: transparent; font-weight: 700; }
.btn.ghost { background: transparent; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 .6rem; }
.section p.lead { color: var(--muted); margin: 0 0 1.2rem; }

/* Feature grid */
.grid { display: grid; gap: 1rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: 1fr; } .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, #0e1014, #0b0d10);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem; box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}
.card .icon {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(0,224,255,0.12); color: var(--accent);
}
.card h3 { margin: .6rem 0 .4rem; }
.card p { color: var(--muted); margin: 0; }

/* Portfolio grid */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.work {
  display: grid; gap: .7rem;
}
.work .thumb {
  aspect-ratio: 16/10;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(0,224,255,0.14), rgba(0,224,255,0.04));
  overflow: hidden;
}
.work .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work .meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.work .title { font-weight: 600; }
.work .link { color: var(--muted); }
.work a:hover .link { color: var(--accent); }

/* Form */
form { display: grid; gap: .8rem; }
label { font-size: .9rem; color: var(--muted); }
input, textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: #0f1116; color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--ring); border-color: var(--accent); }
textarea { min-height: 160px; resize: vertical; }

.contact-ways { display: flex; gap: .8rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .75rem; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--text); }

/* Footer */
footer { padding: 28px 0; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.06); background: #0a0b0d; }

/* Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); }
.spacer { height: 16px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
