/* ============================================================
   ALINO WEB DESIGN — Main Stylesheet
   Light-default + dark toggle · Emerald accent · Glassmorphism
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties — LIGHT (default) ---------- */
:root {
  /* Palette — Light */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-card:       #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass:      rgba(255, 255, 255, 0.75);

  --accent:        #10b981;
  --accent-light:  #34d399;
  --accent-dark:   #059669;
  --accent-glow:   rgba(16, 185, 129, 0.18);

  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;

  --border:        rgba(15, 23, 42, 0.08);
  --border-hover:  rgba(15, 23, 42, 0.16);

  --card-shadow:   0 1px 3px rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
  --card-shadow-hover: 0 8px 30px rgba(15,23,42,0.10);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.85);
  --overlay-text:  #f1f5f9;

  /* Typography */
  --font:          'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad:   clamp(3rem, 6vw, 4.5rem) clamp(1rem, 5vw, 6rem);

  /* Radius */
  --radius-sm:     0.5rem;
  --radius-md:     0.75rem;
  --radius-lg:     1rem;
  --radius-xl:     1.25rem;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- DARK theme override ---------- */
[data-theme="dark"] {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #111118;
  --bg-card:       #16161f;
  --bg-card-hover: #1c1c28;
  --bg-glass:      rgba(22, 22, 31, 0.6);

  --accent-glow:   rgba(16, 185, 129, 0.25);

  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  --border:        rgba(255, 255, 255, 0.06);
  --border-hover:  rgba(255, 255, 255, 0.12);

  --card-shadow:   none;
  --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.3);
  --nav-scrolled-bg: rgba(10, 10, 15, 0.85);
  --overlay-text:  #f1f5f9;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.35s var(--ease);
}

.navbar.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  box-shadow: var(--card-shadow);
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.theme-toggle:hover svg {
  transform: rotate(20deg);
}
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Ambient glow background */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s 0.1s var(--ease) both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent), #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}



/* ============================================================
   WHY US — Bento Grid
   ============================================================ */
.why-us {
  padding: var(--section-pad);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--card-shadow);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  padding: var(--section-pad);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin-inline: auto;
}

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  box-shadow: var(--card-shadow);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #f1f5f9;
}

.portfolio-overlay p {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-pad);
  position: relative;
}

.pricing-banner {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-light));
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.pricing-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}

.pricing-banner h3 {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

.pricing-banner span {
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  box-shadow: var(--card-shadow);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.pricing-card.popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(16,185,129,0.06) 0%, var(--bg-card) 40%);
  transform: scale(1.03);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.pricing-amount .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-amount .value {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-amount .period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.pricing-card .btn {
  width: 100%;
}

/* Custom Design Card */
.design-card-wrapper {
  margin-bottom: 3rem;
}

.design-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.design-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.design-card-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.design-card-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.design-card-pricing {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-glow);
}

.design-card-pricing .price-from {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.design-card-pricing .price-value {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.design-card-pricing .price-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.design-card-pricing .price-note s {
  opacity: 0.6;
}

.design-card-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.design-card-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.design-card-features span svg {
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Target audience subtitle */
.pricing-target {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Launch special note */
.pricing-note-line {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
.pricing-note-line s {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 0.25rem;
}

/* £499+ plus sign */
.value-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Hosting divider */
.hosting-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin: 4rem 0 2.5rem;
}

/* Billing Toggle */
.billing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  box-shadow: var(--card-shadow);
}

.billing-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}

.billing-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.save-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease);
  flex-shrink: 0;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 23px; /* Default: annual (right) */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: left 0.3s var(--ease-spring);
}

.toggle-track.monthly .toggle-thumb {
  left: 3px;
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.footer {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}

.footer-info {
  display: block;
}

.footer-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-info h3 span {
  color: var(--accent);
}

.footer-info p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.25s var(--ease);
}
.footer-email:hover { color: var(--accent-light); }

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-address svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--text-primary); }

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom .footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom .footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.footer-bottom .footer-links a:hover {
  color: var(--accent);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  min-height: 100vh;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-page .legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page ul li {
  list-style: disc;
}

.legal-page ol li {
  list-style: decimal;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover {
  color: var(--accent-light);
}

.legal-page .highlight-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--accent-glow);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-page .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: gap 0.25s var(--ease);
}
.legal-back:hover {
  gap: 0.6rem;
  text-decoration: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-grid > .bento-card:last-child {
    grid-column: 1 / -1;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  .bento-grid,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid > .bento-card:last-child {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .portfolio-overlay {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: 6rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pricing-banner h3 { font-size: 0.95rem; }
  .design-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .design-card-pricing {
    margin: 0 auto;
    max-width: 200px;
  }
  .design-card-features {
    justify-content: center;
  }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
