/* =============================================
   CODEBUZZ.AI — style.css
   Dark theme · Syne + DM Sans · Fully responsive
   ============================================= */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== VARIABLES ===== */
:root {
  --brand:    #00C2FF;
  --brand-dk: #0095CC;
  --brand-lt: #66DAFF;
  --accent:   #FF6B35;
  --bg:       #0D1117;
  --surface:  #161B22;
  --elevated: #1C2333;
  --border:   #30363D;
  --text:     #E6EDF3;
  --muted:    #8B949E;
  --dim:      #6E7681;
  --white:    #FFFFFF;
  --font-b:   'DM Sans', sans-serif;
  --r:        12px;
  --r-lg:     20px;
  --trans:    0.3s ease;
  --shadow:   0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg:0 8px 48px rgba(0,0,0,0.6);
  --glow:     0 0 40px rgba(0,194,255,0.14);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-b); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.text-cyan { color: var(--brand); }
.accent    { color: var(--brand); }
.req       { color: var(--accent); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--trans);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #0D1117;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-lt);
  border-color: var(--brand-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,194,255,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #0D1117;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}
.btn-sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-full{ width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-b);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.logo-badge {
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #0D1117;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links li a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--trans);
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: rgba(13,17,23,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { max-height: 520px; }
.mobile-nav-inner {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav ul li a {
  display: block;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all var(--trans);
}
.mobile-nav ul li a:hover,
.mobile-nav ul li a:focus { color: var(--text); background: rgba(255,255,255,0.06); }
.mobile-nav .btn-full { margin-top: 12px; border-radius: 12px; }

/* ===== SECTION BASE ===== */
section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { color: var(--white); margin-bottom: 16px; }
.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-tag {
  display: inline-block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,17,23,0.93) 0%,
    rgba(13,17,23,0.78) 55%,
    rgba(0,194,255,0.07) 100%
  );
}
.hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,194,255,0.1);
  border: 1px solid rgba(0,194,255,0.28);
  color: var(--brand);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero-h1 {
  font-family: var(--font-b);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(22,27,34,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}
.stat strong {
  font-family: var(--font-b);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat span {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== VALUE PROPS ===== */
.values { background: var(--surface); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: all 0.45s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,194,255,0.38);
  box-shadow: var(--glow);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,194,255,0.09);
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}
.value-card h3 { font-family: var(--font-b); color: var(--white); margin-bottom: 12px; font-size: 1.15rem; }
.value-card p  { color: var(--muted); line-height: 1.75; font-size: 0.95rem; }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.45s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,194,255,0.28);
  box-shadow: var(--shadow-lg);
}
.service-img { height: 190px; overflow: hidden; }
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,194,255,0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 14px;
}
.service-icon-lg { width: 60px; height: 60px; border-radius: 14px; }
.service-card h3 { font-family: var(--font-b); color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.service-card p  { color: var(--muted); font-size: 0.93rem; line-height: 1.75; margin-bottom: 14px; flex: 1; }
.service-plain .service-body { padding: 36px; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.service-features li { color: var(--muted); font-size: 0.88rem; }
.service-link {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}
.service-link:hover { gap: 8px; }

/* ===== ABOUT ===== */
.about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img { position: relative; }
.about-img img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brand);
  color: #0D1117;
  padding: 20px 24px;
  border-radius: var(--r);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge strong {
  display: block;
  font-family: var(--font-b);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge span { font-size: 0.78rem; font-weight: 600; }
.about-content .section-tag { display: block; margin-bottom: 12px; }
.about-content h2 { color: var(--white); margin-bottom: 18px; }
.about-content > p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.97rem; }
.highlights { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.highlight { display: flex; align-items: flex-start; gap: 14px; }
.highlight-icon {
  width: 32px;
  height: 32px;
  background: rgba(0,194,255,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight strong { display: block; color: var(--white); font-size: 0.93rem; margin-bottom: 2px; }
.highlight span   { color: var(--muted); font-size: 0.88rem; }

/* ===== WHO WE SERVE ===== */
.serve { background: var(--bg); }
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.serve-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: all 0.4s ease;
}
.serve-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,194,255,0.28);
}
.serve-emoji { font-size: 2.4rem; margin-bottom: 14px; }
.serve-card h3 { font-family: var(--font-b); color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.serve-card p  { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.serve-card-cta {
  background: linear-gradient(135deg, rgba(0,194,255,0.08), rgba(255,107,53,0.04));
  border-color: rgba(0,194,255,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.serve-card-cta p { margin-bottom: 4px; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--surface); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, var(--brand), rgba(0,194,255,0.1), transparent);
  z-index: 0;
  pointer-events: none;
}
.how-step {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}
.how-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,194,255,0.3);
  box-shadow: var(--glow);
}
.step-num {
  font-family: var(--font-b);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(0,194,255,0.14);
  line-height: 1;
  margin-bottom: 10px;
}
.step-icon {
  width: 58px;
  height: 58px;
  background: rgba(0,194,255,0.09);
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin: 0 auto 18px;
}
.how-step h3 { font-family: var(--font-b); color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.how-step p  { color: var(--muted); font-size: 0.88rem; line-height: 1.75; }

/* ===== PRICING ===== */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-popular {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(0,194,255,0.06) 0%, var(--surface) 100%);
  box-shadow: 0 0 64px rgba(0,194,255,0.09);
  transform: scale(1.03);
}
.pricing-popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #0D1117;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-head { margin-bottom: 28px; }
.pricing-head h3 {
  font-family: var(--font-b);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.price strong {
  font-family: var(--font-b);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.price-from, .price-period { color: var(--muted); font-size: 0.88rem; }
.pricing-head > p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
}
.price-features li svg { color: var(--brand); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq { background: var(--surface); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.active { border-color: rgba(0,194,255,0.38); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--brand); }
.faq-item.active .faq-q { color: var(--brand); }
.faq-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--brand); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}
.faq-a.open { max-height: 320px; }
.faq-a p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #0D1117 0%, #0F1E33 50%, #0D1117 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,194,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-b);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-inner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; }
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,194,255,0.09);
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 4px; }
.contact-item span,
.contact-item a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.contact-item a:hover { color: var(--brand); }
.contact-social { display: flex; gap: 12px; margin-top: 4px; }
.contact-social a {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.contact-social a:hover { color: var(--brand); border-color: var(--brand); background: rgba(0,194,255,0.08); }
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px;
  overflow:hidden;
  height:430px;
}

.contact-form-wrap iframe {
  position: relative;
  top: -60px;
}
#contactForm { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { color: var(--text); font-size: 0.875rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,194,255,0.14);
}
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: var(--elevated); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { border-color: var(--accent) !important; }
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(0,194,255,0.09);
  border: 1px solid rgba(0,194,255,0.28);
  border-radius: 10px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-success.show { display: flex; }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.footer-social a:hover { color: var(--brand); border-color: var(--brand); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-b);
  font-size: 0.82rem;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a,
.footer-col ul li span { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--dim); font-size: 0.84rem; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 0.85s forwards cubic-bezier(0.22,1,0.36,1);
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.10s; }
.reveal.delay-2 { transition-delay: 0.20s; }
.reveal.delay-3 { transition-delay: 0.30s; }

/* ===== RESPONSIVE — TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .how-grid       { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
  .about-grid     { gap: 48px; }
  .contact-grid   { grid-template-columns: 1fr 1.5fr; gap: 40px; }
}

/* ===== RESPONSIVE — MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  /* Hero */
  .hero-h1 { font-size: clamp(2.2rem, 7.5vw, 3.4rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { padding: 20px 16px; gap: 0; width: 100%; }
  .stat { flex: 1; padding: 0 10px; }
  .stat strong { font-size: 1.5rem; }
  .hero-content { padding-bottom: 32px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: -10px; right: 12px; }

  /* Who We Serve */
  .serve-grid { grid-template-columns: 1fr 1fr; }

  /* How It Works */
  .how-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-4px); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Section header */
  .section-header { margin-bottom: 48px; }
  .section-header p { font-size: 1rem; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; }
}

/* ===== RESPONSIVE — SMALL MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-badge { font-size: 0.76rem; padding: 7px 14px; }
  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
  }
  .stat { flex-direction: row; justify-content: space-between; align-items: center; padding: 8px 0; }
  .stat span { text-align: right; }
  .stat-divider { width: 100%; height: 1px; }

  .serve-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }

  .pricing-card { padding: 28px 22px; }
  .price strong { font-size: 2.4rem; }

  .how-step { padding: 28px 20px; }

  h2 { font-size: 1.75rem; }

  .about-badge {
    position: static;
    display: inline-block;
    margin-top: 16px;
    border-radius: var(--r);
  }

  .nav-inner { height: 64px; }

  .contact-form-wrap { padding: 22px 16px; }

  .value-card { padding: 28px 24px; }
}
