/* ========== Reset / Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a202c;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: italic; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========== Header ========== */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
}
.brand img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 36px; align-items: center; flex: 1; justify-content: center; }
.main-nav a { font-weight: 500; color: #2d3748; font-size: 15px; transition: color 0.15s; }
.main-nav a:hover { color: #1a4f99; }
.main-nav a[aria-current="page"] { color: #1a4f99; font-weight: 600; }
.contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: #1a202c;
  font-weight: 600; font-size: 15px; padding: 8px 12px;
  transition: color 0.15s;
}
.contact-link:hover { color: #1a4f99; }
.contact-link svg { color: #1a4f99; }
.menu-toggle { display: none; font-size: 24px; background: none; border: none; color: #2d3748; padding: 4px 8px; }
.mobile-nav { display: none; background: #f7fafc; border-top: 1px solid #e2e8f0; padding: 8px 0; }
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav a, .mobile-contact-btn {
  padding: 14px 24px; border-bottom: 1px solid #e2e8f0;
  font-weight: 500; color: #2d3748; background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left; font-size: 15px;
}

/* ========== Popup ========== */
.popup-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 100;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
  animation: fadeIn 0.2s;
}
.popup-overlay.open { display: flex; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
.popup-card {
  background: white; border-radius: 16px;
  padding: 40px; max-width: 420px; width: 100%;
  position: relative; text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: scaleIn 0.2s;
}
@keyframes scaleIn { from {transform:scale(0.95);} to {transform:scale(1);} }
.popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: #718096; padding: 4px; border-radius: 50%; transition: color 0.15s; }
.popup-close:hover { color: #1a202c; }
.popup-card h2 { font-size: 24px; margin: 0 0 8px; font-weight: 700; color: #1a202c; }
.popup-sub { font-size: 17px; font-weight: 600; color: #4a5568; margin: 0 0 28px; }
.popup-contact {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 14px 20px; font-size: 17px;
  color: #1a202c; font-weight: 500; border-radius: 10px;
  transition: background 0.15s; margin-bottom: 8px;
}
.popup-contact:hover { background: #f7fafc; }
.popup-contact svg { color: #1a4f99; flex-shrink: 0; }

/* ========== Hero ========== */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 78% 18%, rgba(89, 111, 226, 0.22) 0%, rgba(89, 111, 226, 0) 55%),
    radial-gradient(circle at 18% 86%, rgba(253, 164, 116, 0.22) 0%, rgba(253, 164, 116, 0) 52%),
    linear-gradient(130deg, #fff7f1 0%, #f5f6ff 48%, #e4e9ff 100%);
}
.hero::before, .hero::after {
  content: ''; position: absolute; pointer-events: none;
  filter: blur(60px); opacity: 0.45; z-index: 0;
}
.hero::before {
  top: -180px; right: -220px;
  width: clamp(420px, 40vw, 620px); height: clamp(420px, 40vw, 620px);
  background: radial-gradient(circle, rgba(16, 29, 84, 0.25), rgba(16, 29, 84, 0));
}
.hero::after {
  bottom: -220px; left: -160px;
  width: clamp(320px, 34vw, 520px); height: clamp(320px, 34vw, 520px);
  background: radial-gradient(circle, rgba(249, 116, 22, 0.18), rgba(249, 116, 22, 0));
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 {
  /* Fixed: no gradient, no clip-text (was cutting off the g descender) */
  font-size: clamp(48px, 6.5vw, 72px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 20px; color: #101d54;
  line-height: 1.1;
  padding-bottom: 4px;
}
.hero-subtitle {
  font-size: 20px; color: #475569;
  margin: 0 0 36px; max-width: 520px;
  line-height: 1.5;
}
.hero-form {
  display: flex; gap: 12px;
  max-width: 560px; margin-bottom: 18px;
}
.hero-form input[type="text"] {
  flex: 1; padding: 18px 20px; font-size: 16px;
  border: 2px solid rgba(203, 213, 224, 0.6);
  border-radius: 12px; background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit; color: #1a202c;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.hero-form input[type="text"]:focus {
  outline: none; border-color: #1a4f99;
  box-shadow: 0 0 0 3px rgba(26, 79, 153, 0.15), 0 4px 12px rgba(0,0,0,0.04);
}
.hero-helper { margin: 0 0 28px; font-size: 14px; color: #4a5568; min-height: 18px; }
.hero-helper.success { color: #2f855a; font-weight: 600; }
.hero-helper.error { color: #c53030; font-weight: 600; }
/* Stronger features list — Ryan's feedback */
.hero-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-features li {
  display: flex; align-items: center; gap: 14px;
  color: #1a202c; font-size: 17.5px; font-weight: 600;
}
.feature-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(16, 29, 84, 0.1); color: #1a4f99;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.feature-text { line-height: 1.4; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  padding-top: 4px;
}
.trust-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.hero-trust p { margin: 0; font-size: 14px; color: #4a5568; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; max-width: 580px; margin: 0 auto;
  border-radius: 20px; display: block;
  filter: drop-shadow(0 20px 40px rgba(26, 79, 153, 0.12));
}

/* ========== Buttons ========== */
.btn-primary {
  background: #101d54; color: white;
  padding: 18px 32px; border: none;
  border-radius: 999px;
  font-size: 16px; font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap; display: inline-block;
  text-decoration: none;
  box-shadow: 0 25px 35px -18px rgba(15, 23, 42, 0.55), 0 12px 20px -15px rgba(15, 23, 42, 0.35);
}
.btn-primary:hover {
  background: #0a153b; transform: translateY(-2px);
  box-shadow: 0 28px 40px -16px rgba(15, 23, 42, 0.6), 0 14px 24px -14px rgba(15, 23, 42, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #a0aec0; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========== Common sections ========== */
.section-eyebrow {
  text-align: center; font-size: 13px;
  font-weight: 700; letter-spacing: 0.12em;
  color: #1a4f99; margin: 0 0 12px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(32px, 4.5vw, 42px);
  font-weight: 700; text-align: center;
  margin: 0 0 16px; color: #0f172a;
  letter-spacing: -0.02em; line-height: 1.2;
  padding-bottom: 4px;
}
.section-subtitle {
  font-size: 18px; color: #475569;
  text-align: center; margin: 0 auto 56px;
  max-width: 640px; line-height: 1.5;
}

/* ========== Logo gallery (MATCHES AI LOGO GENERATOR EXACTLY) ========== */
.logo-gallery {
  padding: 80px 0;
  background: #F5F7FB;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.gallery-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 22px 38px -28px rgba(15, 23, 42, 0.55), 0 8px 16px -12px rgba(15, 23, 42, 0.25);
  transition: all 0.3s ease;
  aspect-ratio: 1;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 45px -26px rgba(15, 23, 42, 0.6), 0 12px 20px -14px rgba(15, 23, 42, 0.28);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.gallery-cta, .how-cta, .guide-cta {
  text-align: center;
  margin-top: 32px;
}

/* ========== Why section ========== */
.why {
  padding: 100px 0;
  background: white;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #F9FAFB; border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.25s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  background: white;
}
.why-icon { font-size: 36px; margin-bottom: 16px; line-height: 1; display: block; }
.why-card h3 {
  font-size: 20px; margin: 0 0 10px;
  font-weight: 700; color: #0f172a;
  letter-spacing: -0.01em;
}
.why-card p {
  margin: 0; color: #475569;
  font-size: 15px; line-height: 1.6;
}

/* ========== How it Works (3 bold steps) ========== */
.how {
  padding: 100px 0; background: #F5F7FB;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-bottom: 48px;
}
.how-step {
  background: white;
  border-radius: 24px;
  padding: 40px 32px 36px;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.25s;
  position: relative;
}
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -20px rgba(15, 23, 42, 0.2), 0 12px 24px -12px rgba(15, 23, 42, 0.1);
}
.how-step-visual {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 24px;
}
.how-step-num {
  position: absolute;
  top: -12px; right: -12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97416 0%, #fb923c 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 16px rgba(249, 116, 22, 0.4);
  z-index: 2;
}
.how-step-icon {
  width: 88px; height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, #101d54 0%, #1a4f99 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -12px rgba(16, 29, 84, 0.5);
}
.how-step h3 {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.how-step p {
  margin: 0; color: #475569;
  font-size: 16px; line-height: 1.6;
}

/* ========== Video Section ========== */
.video-section {
  padding: 100px 0;
  background: white;
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 35px 75px -28px rgba(15, 23, 42, 0.4), 0 12px 24px -12px rgba(15, 23, 42, 0.15);
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========== Reviews ========== */
.reviews {
  padding: 100px 0; background: #F5F7FB;
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: white; border-radius: 20px;
  padding: 28px 26px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.25s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.review-head {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 14px;
}
.review-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.review-meta strong { display: block; font-size: 16px; font-weight: 700; color: #0f172a; }
.review-meta span { font-size: 13px; color: #64748b; }
.review-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #334155; }

/* ========== Guide (NEW SEO SECTION) ========== */
.guide {
  padding: 100px 0;
  background: white;
}
.guide-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.guide-content h3:first-child { margin-top: 0; }
.guide-content p {
  font-size: 16.5px;
  color: #334155;
  line-height: 1.75;
  margin: 0 0 16px;
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
  background: #F5F7FB;
}
.faq-item {
  background: white; border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.faq-item summary {
  cursor: pointer; padding: 22px 28px;
  font-size: 17px; font-weight: 600;
  color: #0f172a; list-style: none;
  position: relative; padding-right: 60px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px; font-weight: 300;
  color: #1a4f99; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 28px 22px; margin: 0;
  color: #475569; font-size: 15.5px;
  line-height: 1.65;
}

/* ========== CTA Bottom ========== */
.cta-bottom {
  background: linear-gradient(135deg, #101d54 0%, #1a4f99 100%);
  color: white; text-align: center;
  padding: 96px 0; position: relative;
  overflow: hidden;
}
.cta-bottom::before {
  content: ''; position: absolute;
  top: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-bottom::after {
  content: ''; position: absolute;
  bottom: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249, 116, 22, 0.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-bottom h2 { color: white; margin: 0 0 16px; position: relative; }
.cta-bottom p {
  font-size: 19px; margin: 0 0 36px;
  opacity: 0.9; position: relative;
}
.cta-bottom .btn-primary {
  background: white; color: #101d54;
  padding: 20px 40px; font-size: 17px;
  position: relative;
}
.cta-bottom .btn-primary:hover { background: #edf2f7; }

/* ========== Footer ========== */
.site-footer {
  background: #0f1419; color: #cbd5e0;
  padding: 64px 0 24px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 14px; font-weight: 700;
  color: white; margin: 0 0 20px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a { color: #cbd5e0; font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-brand-link {
  display: inline-block; margin-bottom: 18px;
  padding: 10px 14px; background: white;
  border-radius: 10px;
}
.footer-brand-link img { height: 28px; width: auto; display: block; }
.footer-tagline {
  font-size: 14px; color: #94a3b8;
  margin: 0 0 18px; line-height: 1.6;
  max-width: 280px;
}
.footer-contact { font-size: 14px; margin: 0; line-height: 1.8; }
.footer-contact a { color: #cbd5e0; }
.footer-contact a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px; text-align: center;
  font-size: 14px; color: #94a3b8;
}
.footer-bottom p { margin: 0; }

/* ========== Responsive ========== */
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: clamp(44px, 8vw, 60px); }
  .hero-subtitle { max-width: 100%; }
  .main-nav { gap: 24px; }
  /* HIDE hero image on mobile (Ryan's request) */
  .hero-image { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 700px) {
  .main-nav, .contact-link { display: none; }
  .menu-toggle { display: inline-block; }
  .hero-form { flex-direction: column; max-width: 100%; }
  .hero-form input[type="text"], .btn-primary { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .logo-gallery, .why, .how, .video-section, .reviews, .guide, .faq, .cta-bottom { padding: 64px 0; }
  .why-grid, .reviews-grid { grid-template-columns: 1fr; }
  .how-step { padding: 32px 24px 28px; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
}
