:root {
  --bg: #0b0f16;
  --bg-alt: #0f1826;
  --panel: #121c2c;
  --panel-strong: #17253a;
  --text: #f5f7fb;
  --muted: #a6b2c7;
  --accent: #4ad6c7;
  --accent-dark: #29b6a4;
  --accent-2: #f1b86a;
  --outline: rgba(255, 255, 255, 0.07);
  --outline-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px rgba(3, 8, 18, 0.5);
  --radius: 20px;
  --font-main: "Space Grotesk", sans-serif;
  --font-mono: "DM Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(74, 214, 199, 0.12), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(241, 184, 106, 0.08), transparent 40%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.7;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.06rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(10, 15, 23, 0.88);
  border-bottom: 1px solid var(--outline-strong);
  box-shadow: 0 8px 24px rgba(5, 10, 18, 0.45);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--outline);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  background: var(--accent-dark);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(88, 240, 192, 0.18);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px clamp(72px, 9vw, 120px);
}

.hero {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(32px, 6vw, 72px);
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.95), rgba(10, 15, 22, 0.95));
  border-radius: var(--radius);
  border: 1px solid var(--outline-strong);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  color: var(--accent-2);
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.04;
  margin-top: 12px;
}

.subheadline {
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  color: var(--muted);
  margin-top: 18px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg);
  box-shadow: 0 15px 30px rgba(88, 240, 192, 0.22);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(88, 240, 192, 0.3);
}

.btn.ghost {
  border-color: var(--outline);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(88, 240, 192, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(4, 10, 20, 0.35);
}

.btn.ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at top left, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn.ghost:hover::after {
  opacity: 1;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: rgba(11, 15, 20, 0.6);
  color: var(--text);
  font-weight: 500;
}

.prompt-bar {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--outline-strong);
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.92), rgba(12, 18, 28, 0.92));
  box-shadow: 0 18px 38px rgba(4, 9, 18, 0.4);
}

.prompt-input {
  display: grid;
  gap: 6px;
}

.prompt-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.prompt-input input {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 1rem;
}

.prompt-input input::placeholder {
  color: rgba(166, 178, 199, 0.7);
}

.prompt-input input:focus {
  outline: none;
  box-shadow: none;
}

.prompt-submit {
  justify-self: start;
  white-space: nowrap;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--outline-strong);
  background: rgba(12, 18, 28, 0.7);
  padding: 8px 12px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.panel {
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.95), rgba(12, 18, 28, 0.9));
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--outline-strong);
  box-shadow: var(--shadow);
}

.panel-title {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--outline);
  font-size: 0.92rem;
}

.panel-row:last-child {
  border-bottom: none;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel-strong);
  border: 1px solid var(--outline-strong);
}

.metric strong {
  font-size: 1.8rem;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-header {
  max-width: 720px;
  display: grid;
  gap: 14px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin: 0;
}

.section-subtext {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  font-size: clamp(0.98rem, 0.5vw + 0.9rem, 1.08rem);
}

.stats {
  background: linear-gradient(180deg, rgba(18, 28, 44, 0.85), rgba(11, 15, 23, 0.98));
  border-radius: var(--radius);
  padding: 60px 24px;
  border: 1px solid var(--outline);
}

.stat-grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  margin-top: 28px;
}

.stat-card {
  background: var(--panel-strong);
  border: 1px solid var(--outline-strong);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 8px;
}

.stat-value {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  margin-top: 0;
}

.card-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-top: 32px;
}

.card {
  background: linear-gradient(145deg, rgba(18, 28, 44, 0.95), rgba(12, 18, 28, 0.95));
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--outline-strong);
  box-shadow: 0 20px 50px rgba(3, 8, 18, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card {
  cursor: pointer;
}

.plan-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 240, 192, 0.45);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.price {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 0;
  font-family: var(--font-mono);
}

.card ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 600;
}

.card.highlight {
  border-color: rgba(88, 240, 192, 0.55);
  background: linear-gradient(160deg, rgba(20, 30, 46, 0.98), rgba(12, 18, 28, 0.9));
  position: relative;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent-2);
  color: #241a0b;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.maintenance {
  background: linear-gradient(180deg, rgba(18, 26, 40, 0.88), rgba(10, 15, 23, 0.95));
  border-radius: var(--radius);
  padding: 60px 24px;
  border: 1px solid var(--outline);
}

.portfolio-grid .card {
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.9), rgba(12, 18, 28, 0.85));
}

.about {
  background: linear-gradient(135deg, rgba(16, 26, 42, 0.95), rgba(12, 18, 28, 0.9));
  border-radius: var(--radius);
  padding: 60px 24px;
  border: 1px solid var(--outline);
}

.about-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  color: var(--muted);
}

.about-grid h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.about-grid ul {
  display: grid;
  gap: 10px;
}

.contact {
  background: linear-gradient(135deg, rgba(18, 28, 44, 0.92), rgba(10, 15, 23, 0.92));
  border-radius: var(--radius);
  padding: 60px 24px;
  border: 1px solid var(--outline);
}

.contact-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: 32px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

input,
textarea,
select {
  background: rgba(12, 18, 28, 0.85);
  border: 1px solid var(--outline-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: none;
  overflow: hidden;
}

select {
  appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b6c0d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(104, 245, 194, 0.12);
}

.form-status {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.time-field {
  border: 1px solid var(--outline-strong);
  background: rgba(12, 18, 28, 0.6);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  margin: 0;
}

.time-field legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--muted);
}

.time-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.time-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-slot {
  background: rgba(12, 18, 28, 0.85);
  border: 1px solid var(--outline-strong);
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.time-slot:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.time-slot.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-details {
  display: grid;
  gap: 18px;
  align-content: start;
  color: var(--muted);
}

.contact-card {
  background: var(--panel-strong);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--outline-strong);
}

.contact-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--outline-strong);
  background: rgba(10, 15, 23, 0.7);
  padding: 40px 20px;
  color: var(--muted);
}

.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-blurb {
  display: grid;
  gap: 12px;
  max-width: 360px;
}

.footer-title {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-note {
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-links a {
  color: var(--text);
  font-weight: 500;
}


.copyright {
  max-width: 1160px;
  margin: 18px auto 0;
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .nav-links.open {
    display: grid;
    gap: 12px;
    padding: 16px 20px 24px;
    background: rgba(11, 15, 20, 0.95);
    border-top: 1px solid var(--outline);
  }
}

@media (max-width: 520px) {
  .time-picker {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.section {
  opacity: 0;
  scroll-margin-top: 96px;
}

.hero.in-view,
.section.in-view {
  animation: fadeUp 0.6s ease both;
}
