/* --- Variables --- */
/* Palette: HSV(201.5, 64.9, …) — base, darker, lighter + analogous relaxed blues */
:root {
  --bg: #0f1620;           /* deep blue-black */
  --surface: #1a2332;      /* dark blue-gray */
  --surface-soft: #222d40; /* slightly lighter surface */
  --border: #2d3a4d;       /* muted blue-gray */
  --border-soft: rgba(45, 58, 77, 0.6);
  --text: #e4eaf2;         /* soft blue-white */
  --text-muted: #8b9cb8;   /* relaxed blue-gray */
  --text-soft: #a8b8cc;    /* secondary muted (analogous) */
  --accent: rgba(80, 175, 228, 1);      /* base: HSV(201.5, 64.9, 89.4) */
  --accent-dim: rgba(62, 136, 177, 1);  /* darker: HSV(201.5, 64.9, 69.4) */
  --accent-light: rgba(89, 196, 255, 1); /* lighter: HSV(201.5, 64.9, 100) */
  --accent-tint: rgba(80, 175, 228, 0.08); /* very subtle fill */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-contact: 1.5rem;
  --radius: 8px;
  --radius-lg: 12px;
}

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 22, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.navbar__brand {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

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

.navbar__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.navbar__links > li > a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
  padding: var(--space-xs) 0;
}

.navbar__links a:hover {
  color: var(--accent);
}

/* --- Navbar dropdown --- */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs) 0;
  min-height: 0;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.navbar__dropdown-trigger:hover {
  color: var(--accent);
}

.navbar__dropdown-trigger::after {
  content: "▾";
  font-size: 0.75rem;
  opacity: 0.8;
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: var(--space-xs) 0;
  list-style: none;
  min-width: 12rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 22, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar__dropdown-menu a:hover {
  background: var(--accent-tint);
  color: var(--accent);
}

/* --- Inner page layout --- */
.page-content {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.page-content h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 500;
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.page-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 var(--space-md);
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* --- Sections: ~1.5 viewports total (half a page each) --- */
section {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  box-sizing: border-box;
}

section + section {
  border-top: 1px solid var(--border);
}

/* --- Hero (Section 1) — parallax wrapper --- */
.hero {
  text-align: center;
  position: relative;
}

.hero__parallax-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  width: 100%;
}

.hero__content {
  max-width: 640px;
  will-change: transform;
}

.hero__title {
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.hero__tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* --- Value (Section 2) --- */
.value {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.value__text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}

/* --- Services (Section 3) --- */
.services {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.services__text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* --- Contact CTA (Section 4) --- */
.contact-cta {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.contact-cta__hook {
  font-size: 1.125rem;
  color: var(--text);
  margin: 0 0 var(--space-lg);
}

.contact-cta__hook {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 var(--space-lg);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-contact);
}

/* --- Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__submit {
  align-self: flex-start;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--accent-dim);
}

.contact-form__submit:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Site footer (landing) --- */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Web development: pricing tiers --- */
.pricing-tiers {
  display: flex;
  flex-direction: row;
  /* align-items: flex-start; */
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-lg) 0;
  align-items: stretch;
}

.pricing-tier {
  flex:1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  flex: 0 0 11rem;
  width: 11rem;
  min-height: 22rem;
  /* align-self: center; */
  border-color: var(--accent-dim);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-tier--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-tier__name {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text);
  margin: 0 0 var(--space-sm);
  text-align: center;
}

.pricing-tier__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.pricing-tier > ul {
  padding:0em 0em 0em 1em;
}

.addons-list {
  margin: var(--space-xl) 0 0;
  padding: var(--space-lg);
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.addons-list__title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 var(--space-xs);
}

.addons-list__intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.5;
}

.addons-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: var(--space-sm);
}

.addons-list__items li {
  font-size: 0.9375rem;
  color: var(--text);
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent-tint);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.addons-list__items li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
}
