*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

:root {
  --blue: #4A90E2;
  --blue-dark: #2563EB;
  --dark: #0d141a;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --radius: 999px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); line-height: 1.6; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: var(--white); border-bottom: 1px solid #e5e7eb;
  transition: box-shadow .2s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav-logo { font-size: 1.05rem; font-weight: 700; color: var(--dark); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 1.75rem; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: .875rem; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }

.btn { display: inline-block; padding: .65rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; text-decoration: none; cursor: pointer; border: none; transition: opacity .2s, transform .15s; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-outline { background: transparent; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.08); opacity: 1; }

#hamburger { display: none; background: none; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px; cursor: pointer; }

#mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 200; flex-direction: column; padding: 5rem 2rem 2rem; gap: 1.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-size: 1.1rem; font-weight: 600; color: var(--dark); text-decoration: none; padding: .75rem 0; border-bottom: 1px solid #f3f4f6; }
#mobile-menu a.btn { color: var(--white); border-bottom: none; padding: .65rem 1.5rem; }
#close-menu { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--gray); }

section { padding: 5rem 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--gray); line-height: 1.7; }

/* HERO */
#home {
  background: var(--dark);
  padding: 8rem 5% 6rem; min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
#home::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,226,.22) 0%, transparent 70%);
  pointer-events: none;
}
#home::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,226,.1) 0%, transparent 70%);
  pointer-events: none;
}
#home .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text h1 span { color: var(--blue); }
.hero-text p { color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 2rem; width: 100%; max-width: 340px;
  backdrop-filter: blur(8px);
}
.hero-card-row { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hero-card-row:last-child { border: none; }
.hc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hc-text { color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 500; }

/* FREE AUDIT */
.audit-section {
  background: var(--dark); padding: 5rem 5%;
  position: relative; overflow: hidden; text-align: center;
}
.audit-section::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,226,.18) 0%, transparent 70%);
  pointer-events: none;
}
.audit-inner { max-width: 640px; margin: 0 auto; position: relative; }
.audit-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.audit-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.audit-form input, .audit-form textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); border-radius: 10px; padding: .85rem 1rem;
  font-family: inherit; font-size: .9rem; transition: border-color .2s;
}
.audit-form input::placeholder, .audit-form textarea::placeholder { color: rgba(255,255,255,.35); }
.audit-form input:focus, .audit-form textarea:focus { outline: none; border-color: var(--blue); }
.audit-form textarea { min-height: 120px; resize: vertical; }
.audit-form .btn { align-self: stretch; text-align: center; font-size: 1rem; padding: .85rem 2rem; }
.audit-success { text-align: center; padding: 3rem 0; }
.audit-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue);
  color: var(--white); font-size: 1.75rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.25rem;
}

/* HOW IT WORKS */
#how-it-works { background: var(--gray-light); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: start; margin-top: 1rem; }
.step {
  background: var(--white); border-radius: 16px; padding: 2rem 1.5rem;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  color: var(--white); font-size: .875rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem;
}
.step-icon { font-size: 2rem; margin-bottom: .75rem; }
.step h3 { margin-bottom: .6rem; }
.step-arrow { display: flex; align-items: center; color: var(--blue); font-size: 1.5rem; padding-top: 4.5rem; }

/* SERVICES */
#services { background: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #f0f0f0;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card-photo { width: 100%; height: 175px; object-fit: cover; display: block; }
.card-body { padding: 1.5rem; border-top: 3px solid var(--blue); }
.card-body h3 { margin-bottom: .6rem; color: var(--dark); }
.card-body p { font-size: .9rem; }

/* TESTIMONIALS */
#testimonials { background: var(--gray-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-stars { font-size: 1rem; }
.testimonial-quote { font-size: .925rem; color: var(--dark); line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue);
  color: var(--white); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .875rem; color: var(--dark); }
.testimonial-title { font-size: .8rem; color: var(--gray); }

/* PRICING */
#pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--gray-light); border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  border: 2px solid transparent; position: relative;
}
.pricing-card.featured { background: var(--white); border-color: var(--blue); box-shadow: 0 8px 32px rgba(74,144,226,.15); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700;
  padding: .25rem .9rem; border-radius: var(--radius); white-space: nowrap;
}
.pricing-tier { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.pricing-tagline { font-size: .875rem; color: var(--gray); line-height: 1.5; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pricing-features li { font-size: .875rem; color: var(--dark); padding-left: 1.4rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* CONTACT */
#contact { background: var(--gray-light); }
#contact .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; }

form { display: flex; flex-direction: column; gap: 1rem; }
input, textarea {
  padding: .85rem 1rem; border: 1px solid #e5e7eb; border-radius: 10px;
  font-family: inherit; font-size: .9rem; color: var(--dark); transition: border-color .2s;
  background: var(--white);
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }

footer {
  background: var(--dark); color: var(--white); padding: 3rem 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 1.1rem; font-weight: 700; }
.footer-tagline { color: rgba(255,255,255,.45); font-size: .875rem; margin-top: .25rem; }
.footer-right { text-align: right; }
.footer-copy { color: rgba(255,255,255,.3); font-size: .8rem; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  #home .section-inner, #contact .section-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .audit-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, nav .btn { display: none; }
  #hamburger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
  .hero-ctas { flex-direction: column; }
}
