/* ===== Theme ===== */
:root {
  --bg: #050506;
  --bg-2: #0b0c0e;
  --bg-3: #101216;
  --panel: #121418;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f6f8;
  --muted: #9aa3ad;
  --accent: #5bc6e8;
  --accent-2: #2f9bc4;
  --accent-glow: rgba(91, 198, 232, 0.45);
  --radius: 16px;
  --max: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 8px 30px -8px var(--accent-glow);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--accent-glow); }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 0 20px -4px var(--accent-glow);
}
.nav__name {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  display: flex;
  gap: 0.4ch;
}
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links > a:not(.btn) {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(47, 155, 196, 0.14), transparent 60%),
    linear-gradient(180deg, #070809, var(--bg));
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  right: -10%; top: 10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(40px);
  opacity: 0.4;
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}
.hero__content { width: 100%; }

/* Instagram card */
.ig-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px var(--accent-glow);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ig-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 198, 232, 0.45);
  box-shadow: 0 40px 90px -30px var(--accent-glow);
}
.ig-card__top { display: flex; align-items: center; gap: 0.9rem; }
.ig-card__icon { width: 40px; height: 40px; color: var(--accent); flex: none; }
.ig-card__label {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}
.ig-card__handle { color: var(--muted); font-size: 0.9rem; }
.ig-card__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.ig-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.ig-card:hover .ig-card__media img { transform: scale(1.05); }
.ig-card__cta {
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}
.hero__title .accent { text-shadow: 0 0 40px var(--accent-glow); }
.hero__lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: "Orbitron", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}
.stat__label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }

/* ===== Sections ===== */
.section { padding: 6rem 1.5rem; max-width: var(--max); margin: 0 auto; }
.section--dark {
  max-width: none;
  background: linear-gradient(180deg, var(--bg), var(--bg-2), var(--bg));
}
.section--dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.section__sub { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.section__note {
  text-align: center;
  color: var(--muted);
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 198, 232, 0.4);
  box-shadow: 0 20px 50px -20px var(--accent-glow);
}
.card--featured {
  border-color: rgba(91, 198, 232, 0.35);
  box-shadow: 0 20px 60px -25px var(--accent-glow);
}
.card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.card__icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--accent-glow);
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text);
}
.card__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ===== Work ===== */
.work {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px var(--accent-glow);
  max-width: 760px;
  margin: 0 auto;
}
.work__img { width: 100%; height: auto; display: block; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.feature {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature:hover { border-color: rgba(91, 198, 232, 0.35); transform: translateY(-4px); }
.feature__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(91, 198, 232, 0.12);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(800px 400px at 50% 0%, rgba(47, 155, 196, 0.16), transparent 65%), var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__glow {
  position: absolute;
  width: 500px; height: 500px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta__logo {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px var(--line), 0 0 40px -6px var(--accent-glow);
}
.cta__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.cta__sub { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta__meta {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}
.cta__meta a { transition: color 0.2s var(--ease); }
.cta__meta a:hover { color: var(--accent); }

/* ===== Quote form ===== */
.quote {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
  text-align: left;
}
.quote__intro .cta__logo { margin-bottom: 1.2rem; }
.quote__intro .cta__title, .quote__intro .cta__sub { text-align: left; }
.quote__intro .cta__sub { margin-bottom: 1.6rem; }
.quote__contact { display: flex; flex-direction: column; gap: 0.7rem; }
.quote__contact a, .quote__contact span { color: var(--muted); font-size: 0.98rem; transition: color 0.2s var(--ease); }
.quote__contact a:hover { color: var(--accent); }

.quote__form {
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 30px 70px -30px var(--accent-glow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label, .field__legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }
.field input {
  background: #0a0b0d;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: #5c646d; }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 198, 232, 0.15);
}
.field input.invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.15); }

.choices { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.2rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.2s var(--ease);
  user-select: none;
}
.choice input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.choice:hover { border-color: rgba(91, 198, 232, 0.4); color: var(--text); }
.choice:has(input:checked) {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(91, 198, 232, 0.1);
}
.quote__submit { margin-top: 0.4rem; width: 100%; }
.quote__status { font-size: 0.92rem; min-height: 1.2rem; text-align: center; }
.quote__status.ok { color: var(--accent); }
.quote__status.err { color: #e5484d; }

/* ===== Footer ===== */
.footer { padding: 3rem 1.5rem; background: var(--bg); }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand .nav__name { font-size: 1rem; margin-bottom: 0.4rem; }
.footer__brand p { color: var(--muted); font-size: 0.88rem; }
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
}
.footer__contact a { font-family: "Orbitron", sans-serif; color: var(--accent); font-weight: 600; }
.footer__contact span { color: var(--muted); font-size: 0.82rem; }

/* ===== Floating call button ===== */
.fab {
  position: fixed;
  bottom: 1.4rem; right: 1.4rem;
  z-index: 90;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  font-weight: 700;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 12px 34px -8px var(--accent-glow);
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease);
  display: none;
}
.fab:hover { transform: scale(1.05); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ig-card { max-width: 420px; }
  .quote { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .card--featured { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(8, 9, 11, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links > a:not(.btn) { font-size: 1.15rem; }
  .nav__toggle { display: flex; }
  .hero__stats { gap: 1.8rem; }
  .footer__inner { flex-direction: column; text-align: center; align-items: center; }
  .footer__contact { align-items: center; text-align: center; }
  .fab { display: inline-flex; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .quote__form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .nav__name { font-size: 0.9rem; }
}
