/* ==========================================================================
   Brightside — Design Tokens
   ========================================================================== */
:root {
  /* Color */
  --bg: #07060c;
  --bg-elevated: #0d0b16;
  --bg-card: #13101f;
  --bg-card-hover: #1a1629;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #f6f4fb;
  --text-secondary: #b6afc7;
  --text-muted: #7c7590;

  --accent: #a855f7;
  --accent-strong: #7c3aed;
  --accent-soft: #c9a6ff;
  --accent-glow: rgba(147, 51, 234, 0.45);
  --accent-glow-soft: rgba(147, 51, 234, 0.18);

  --on-accent: #ffffff;

  /* Typography */
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale (marketing page: spacious) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-base: 280ms;
  --dur-slow: 500ms;

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../assets/stars.svg");
  background-repeat: repeat;
  background-size: 480px 480px;
}

@media (prefers-reduced-motion: no-preference) {
  .starfield {
    animation: starfield-drift 240s linear infinite;
  }
}

@keyframes starfield-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -480px 480px;
  }
}

.shooting-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shooting-star {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
  opacity: 0;
}

.shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
  transform: translateY(-50%);
}

.star-1 {
  top: 14%;
  left: 22%;
}

.star-2 {
  top: 8%;
  left: 68%;
}

.star-3 {
  top: 46%;
  left: 6%;
}

@media (prefers-reduced-motion: no-preference) {
  .star-1 {
    animation: shoot 13s ease-in infinite;
    animation-delay: 2s;
  }
  .star-2 {
    animation: shoot 17s ease-in infinite;
    animation-delay: 7s;
  }
  .star-3 {
    animation: shoot 21s ease-in infinite;
    animation-delay: 12s;
  }
}

@keyframes shoot {
  0% {
    transform: rotate(35deg) translateX(0);
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  6% {
    transform: rotate(35deg) translateX(340px);
    opacity: 0;
  }
  100% {
    transform: rotate(35deg) translateX(340px);
    opacity: 0;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-glow);
  color: #fff;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: var(--space-9);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent-glow);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--space-4);
}

.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-4);
  background: var(--accent-strong);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: var(--on-accent);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px -6px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-soft);
  background: rgba(168, 85, 247, 0.08);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 40px;
  padding: 0 var(--space-5);
  font-size: 14px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-4);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
    padding var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 6, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-block: var(--space-3);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px -2px var(--accent-glow);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
}

.logo-text .accent {
  background: linear-gradient(135deg, #d8b4fe, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
  padding: var(--space-2) 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  z-index: 101;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(140px, 22vw, 200px);
  padding-bottom: var(--space-9);
  overflow: hidden;
}

.hero-visual {
  position: relative;
}

.hero-sun-graphic {
  display: block;
  width: min(880px, 108vw);
  margin: 0 auto;
  height: auto;
}

.hero-sun-halo,
.hero-sun-body {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
}

.hero-sun-hit {
  cursor: pointer;
}

.hero-sun-texture {
  mix-blend-mode: overlay;
}

.hero-sun-rim,
.hero-sun-highlight {
  mix-blend-mode: screen;
}

.hero-sun-halo.is-hover {
  transform: scale(1.14);
  filter: brightness(1.35);
}

.hero-sun-body.is-hover {
  transform: scale(1.06);
  filter: brightness(1.2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-tagline {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--accent-soft);
  position: relative;
  z-index: 1;
}

.hero-sub {
  margin-top: var(--space-3);
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-actions {
  margin-top: var(--space-7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 14px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--accent-soft);
}

/* ==========================================================================
   Chip row (trust strip)
   ========================================================================== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-9);
  position: relative;
  z-index: 1;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

/* ==========================================================================
   Cards grid — services
   ========================================================================== */
.grid {
  display: grid;
  gap: var(--space-5);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-soft);
}

.card h3 {
  font-size: 18px;
  margin-bottom: var(--space-2);
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.included-row {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ==========================================================================
   How it works — steps
   ========================================================================== */
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-soft);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  display: block;
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: var(--space-2);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.portfolio-thumb {
  height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.portfolio-thumb span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}

.thumb-1 { background: linear-gradient(135deg, #6d28d9, #1e1033); }
.thumb-2 { background: linear-gradient(135deg, #9333ea, #2a1240); }
.thumb-3 { background: linear-gradient(135deg, #4c1d95, #150a24); }
.thumb-4 { background: linear-gradient(135deg, #a855f7, #351a5c); }

.portfolio-body {
  padding: var(--space-6);
}

.portfolio-tag {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-soft);
  margin-bottom: var(--space-2);
  display: block;
}

.portfolio-body h3 {
  font-size: 19px;
  margin-bottom: var(--space-2);
}

.portfolio-body p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: var(--space-4);
}

.portfolio-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.portfolio-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-fast) var(--ease);
}

.portfolio-link:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-8);
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, #e9d5ff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), var(--bg-card) 40%);
  box-shadow: 0 20px 60px -24px var(--accent-glow);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: var(--space-7);
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-2);
}

.price-card > p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: var(--space-5);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-monthly {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: var(--space-6);
}

.price-monthly span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-amount + .price-features {
  margin-top: var(--space-4);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.price-features svg {
  width: 18px;
  height: 18px;
  color: var(--accent-soft);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.stars svg {
  width: 15px;
  height: 15px;
  color: var(--accent-soft);
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-5);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #4c1d95);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 14.5px;
  font-weight: 600;
}

.author-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   About / Team
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

.about-copy .eyebrow {
  margin-bottom: var(--space-4);
}

.about-copy h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: var(--space-5);
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--space-4);
}

.about-list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--text-primary);
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  max-width: 280px;
  margin-inline: auto;
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

.founder-card h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.founder-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  min-height: 44px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  color: var(--accent-soft);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.faq-question[aria-expanded="true"] .faq-icon svg {
  color: #fff;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--dur-base) var(--ease);
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.contact-panel {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-9) var(--space-8);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-glow-soft), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-9);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: var(--space-4);
}

.contact-copy p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--space-6);
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-point {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14.5px;
  color: var(--text-secondary);
}

.contact-point svg {
  width: 20px;
  height: 20px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Custom select (replaces native <select> so the dropdown's size/style is fully ours) */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  min-height: 48px;
  text-align: left;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.custom-select-trigger:hover {
  border-color: var(--accent-soft);
}

.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.custom-select-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}

.custom-select-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.custom-select-list {
  position: fixed;
  z-index: 200;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  max-height: 280px;
  overflow-y: auto;
}

.custom-select-list[hidden] {
  display: none;
}

.custom-select-list li {
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.custom-select-list li:hover,
.custom-select-list li.is-active {
  background: rgba(168, 85, 247, 0.14);
  color: var(--text-primary);
}

.custom-select-list li.is-selected {
  color: var(--text-primary);
  font-weight: 600;
}

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

.form-note {
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--text-muted);
}

.form-error {
  margin-top: var(--space-4);
  font-size: 13.5px;
  color: #fca5a5;
}

.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--text-primary);
  font-size: 14.5px;
  margin-bottom: var(--space-5);
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.form-success.is-visible {
  display: flex;
}

.contact-form.is-hidden {
  display: none;
}

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.final-cta {
  text-align: center;
  padding-top: var(--space-9);
}

.final-cta h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  max-width: 620px;
  margin-inline: auto var(--space-5);
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto var(--space-7);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.footer-brand p {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-brand p.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-soft);
  margin-top: var(--space-3);
}

.footer-tagline + p {
  margin-top: var(--space-2);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  color: var(--text-secondary);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-2);
    padding: 96px var(--space-6) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease);
    z-index: 99;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    padding: var(--space-3) 0;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links .btn {
    margin-top: var(--space-4);
    width: 100%;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta-desktop {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: var(--space-8);
  }
  .services-grid,
  .testimonial-grid,
  .stats-bar,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .contact-panel {
    padding: var(--space-7) var(--space-5);
  }
  .price-card.is-featured {
    order: -1;
  }
}
