/* ================================================
   SureChatAI — Premium SaaS Styles
   ================================================ */

:root {
  /* Brand colours */
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --blue-dark: #1d4ed8;
  --blue-xlight: #eff6ff;

  /* WhatsApp */
  --wa: #25D366;
  --wa-dark: #1db355;

  /* Neutrals */
  --body: #1e293b;
  --mid: #64748b;
  --light: #94a3b8;
  --border: rgba(0, 0, 0, 0.06);
  --bg: #f8fafc;
  --white: #ffffff;

  /* Premium SaaS Shadows */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 4px rgba(37,99,235,0.04), 0 1px 2px rgba(37,99,235,0.02);
  --shadow: 0 6px 16px rgba(37,99,235,0.06);
  --shadow-md: 0 12px 32px rgba(37,99,235,0.08);
  --shadow-lg: 0 24px 48px -12px rgba(37,99,235,0.15);

  --max: 1120px;
  --hh: 88px; /* Increased header height for larger logo */
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
ul, details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ================================================
   PREMIUM BUTTONS
   ================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; line-height: 1.2; border: none;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-blue {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 14px rgba(37,99,235,0.25);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 6px 20px rgba(37,99,235,0.35); }

.btn-wa {
  background: linear-gradient(180deg, #2dd4bf 0%, #25D366 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 14px rgba(37,211,102,0.25);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 6px 20px rgba(37,211,102,0.35); }

.btn-secondary { background: var(--white); color: var(--body); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--blue-light); color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue-light); }
.btn-outline-blue:hover { background: var(--blue-light); }

/* ================================================
   SECTION HELPERS
   ================================================ */
.section-header { margin-bottom: 56px; }
.section-header.light .section-tag { color: rgba(255,255,255,0.6); }
.section-header.light h2 { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,0.7); }

.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--body); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 1.1rem; color: var(--mid); max-width: 600px; line-height: 1.6; }

/* ================================================
   HEADER & LOGO FIX
   ================================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--hh); background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s ease; }
.header.scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,0.95); }
.header-inner { display: flex; align-items: center; height: var(--hh); gap: 12px; }

/* Logo significantly bigger */
.logo-img { height: 40px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.05); }
.logo-img-sm { height: 40px; }

.header-nav { display: flex; align-items: center; gap: 8px; margin-left: 32px; }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--mid); padding: 8px 16px; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: var(--blue); background: var(--blue-xlight); }
.header-ctas { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* Hamburger Menu */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--body); border-radius: 2px; transition: all 0.2s; }

.mobile-menu { display: none; flex-direction: column; gap: 8px; padding: 16px 24px 24px; background: var(--white); border-top: 1px solid var(--border); box-shadow: var(--shadow-md); }
.mobile-menu.open { display: flex; }
.mob-link { padding: 12px 0; font-size: 1rem; font-weight: 600; color: var(--body); border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mob-link:hover { color: var(--blue); }
.mob-link:last-of-type { border-bottom: none; margin-bottom: 12px; }

/* ================================================
   HERO
   ================================================ */
.hero { background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); padding-top: var(--hh); overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; min-height: calc(100vh - var(--hh)); padding: 80px 24px; max-width: var(--max); margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; border: 1px solid var(--blue-light); }
.hero-copy h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--body); line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.15rem; color: var(--mid); max-width: 540px; margin-bottom: 36px; line-height: 1.6; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--mid); }

/* Premium Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-frame { background: var(--white); border-radius: 32px; overflow: hidden; width: 100%; max-width: 340px; box-shadow: var(--shadow-lg); border: 8px solid #ffffff; position: relative; }
.phone-bar { background: var(--bg); padding: 14px 20px; display: flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--border); }
.phone-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.wa-header { background: #075E54; padding: 16px; display: flex; align-items: center; gap: 12px; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wa-name { font-size: 0.95rem; font-weight: 600; color: var(--white); display: block; }
.wa-online { font-size: 0.75rem; color: rgba(255,255,255,0.8); display: block; }
.wa-body { background: #e5ddd5; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 320px; }
.wa-msg { display: flex; flex-direction: column; gap: 4px; max-width: 85%; }
.wa-msg span:first-child { padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.4; box-shadow: var(--shadow-sm); }
.wa-time { font-size: 0.65rem !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; color: rgba(0,0,0,0.4) !important; align-self: flex-end; }
.wa-msg.received { align-self: flex-start; }
.wa-msg.received span:first-child { background: var(--white); color: #111; border-top-left-radius: 4px; }
.wa-msg.sent { align-self: flex-end; }
.wa-msg.sent span:first-child { background: #dcf8c6; color: #111; border-top-right-radius: 4px; }
.wa-msg.confirmed-msg span:first-child { background: #dcf8c6; border: 1px solid #a3e0a3; }

/* Animations */
.wa-msg { opacity: 0; animation: bubbleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.wa-msg:nth-child(1) { animation-delay: 0.3s; }
.wa-msg:nth-child(2) { animation-delay: 0.8s; }
.wa-msg:nth-child(3) { animation-delay: 1.3s; }
.wa-msg:nth-child(4) { animation-delay: 1.8s; }
.wa-msg:nth-child(5) { animation-delay: 2.3s; }
.wa-msg:nth-child(6) { animation-delay: 2.8s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: none; } }

/* ================================================
   WHO STRIP
   ================================================ */
.who-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 40px 0; text-align: center; }
.strip-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); margin-bottom: 20px; }
.who-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.who-pills span { background: var(--bg); border: 1px solid var(--border); color: var(--mid); padding: 8px 20px; border-radius: 100px; font-size: 0.9rem; font-weight: 600; transition: all 0.2s; }
.who-pills span:hover { border-color: var(--blue-light); color: var(--blue); background: var(--blue-xlight); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ================================================
   HOW IT WORKS
   ================================================ */
.how { padding: 100px 0; background: var(--bg); }
.steps { display: flex; align-items: flex-start; gap: 24px; }
.step-card { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.step-num { position: absolute; top: 24px; right: 24px; font-size: 0.85rem; font-weight: 800; color: var(--mid); background: var(--bg); border-radius: 100px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--body); margin-bottom: 12px; line-height: 1.3; }
.step-card p { font-size: 0.95rem; color: var(--mid); line-height: 1.6; }
.how-footnote { margin-top: 40px; text-align: center; font-size: 0.9rem; color: var(--mid); background: var(--blue-xlight); border-radius: 8px; padding: 16px; border: 1px solid var(--blue-light); font-weight: 500; }

/* ================================================
   DEMO VIDEO
   ================================================ */
.demo { background: #0f172a; padding: 100px 0; text-align: center; position: relative; }
.demo-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.video-container { width: 100%; max-width: 800px; margin: 0 auto 32px; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.6); background: #000; aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,0.1); }
.demo-vid { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ================================================
   FEATURES
   ================================================ */
.features { padding: 100px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { 
  background: var(--bg); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 32px 24px; 
  transition: all 0.3s ease; 
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); 
  display: flex; /* Added for centering */
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); background: var(--white); border-color: var(--blue-light); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.feat-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--body); margin-bottom: 8px; line-height: 1.3; }
.feat-card p { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }

/* ================================================
   PRICING
   ================================================ */
.pricing { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); }
.pricing-inner { max-width: 800px; margin: 0 auto; }
.pricing-inner .section-header { text-align: center; }
.pricing-card { 
  background: var(--white); 
  border: 1px solid var(--border); 
  border-radius: 24px; 
  padding: 48px; 
  position: relative; 
  box-shadow: var(--shadow-lg); 
  display: flex; /* Centering content */
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-launch-tag { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px solid #fcd34d; color: #92400e; padding: 8px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 800; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.pricing-amounts-row { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; width: 100%; }
.price-block { display: flex; flex-direction: column; gap: 4px; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--body); line-height: 1; letter-spacing: -0.03em; }
.price-when { font-size: 0.9rem; font-weight: 600; color: var(--mid); }
.price-plus { font-size: 2rem; color: var(--light); font-weight: 300; line-height: 1; padding-bottom: 16px; }
.pricing-first-month { font-size: 1rem; color: var(--mid); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); line-height: 1.6; max-width: 500px; }

/* Centered grid for the list items */
.pricing-features-grid { 
  display: inline-grid; 
  grid-template-columns: auto auto; 
  gap: 16px 32px; 
  margin: 0 auto 32px; 
  text-align: left; /* Keeps the text in the grid left-aligned so it looks neat */
}
.pf-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; font-weight: 500; color: var(--body); line-height: 1.4; }
.pf-item svg { flex-shrink: 0; margin-top: 2px; }
.pricing-urgency { background: #fffbeb; border: 1px dashed #fcd34d; color: #92400e; padding: 16px 24px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; margin-bottom: 32px; }
.pricing-cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; width: 100%; }

/* ================================================
   FAQ
   ================================================ */
.faq { padding: 100px 0; background: var(--white); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-inner .section-header { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.2s; }
.faq-item:hover { border-color: var(--blue-light); }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-size: 1.05rem; font-weight: 700; color: var(--body); display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--blue); flex-shrink: 0; line-height: 1; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
details[open].faq-item { border-color: var(--blue-light); background: var(--white); box-shadow: var(--shadow-sm); }
details[open] > summary::after { transform: rotate(45deg); }
details[open] > summary { color: var(--blue); }
.faq-body { padding: 0 24px 24px; font-size: 0.95rem; color: var(--mid); line-height: 1.7; }

/* ================================================
   CONTACT
   ================================================ */
.contact { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-left h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--body); line-height: 1.2; margin-bottom: 16px; }
.contact-desc { font-size: 1.05rem; color: var(--mid); line-height: 1.6; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; color: var(--body); transition: color 0.2s; padding: 12px 20px; background: var(--white); border-radius: 12px; border: 1px solid var(--border); width: fit-content; box-shadow: var(--shadow-sm); }
.contact-item:hover { color: var(--blue); border-color: var(--blue-light); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Form */
.lead-form { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 800; color: var(--body); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select { padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px; font-size: 0.95rem; font-weight: 500; color: var(--body); background: var(--bg); transition: all 0.2s; appearance: none; -webkit-appearance: none; }
.form-group input::placeholder { color: var(--light); font-weight: 400; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px var(--blue-light); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.form-group.has-error input, .form-group.has-error select { border-color: #ef4444; background: #fef2f2; }
.field-err { font-size: 0.8rem; font-weight: 600; color: #ef4444; display: none; margin-top: 4px; }
.form-group.has-error .field-err { display: block; }
.form-note { margin-top: 16px; text-align: center; font-size: 0.85rem; color: var(--mid); font-weight: 500; }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: #0f172a; padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-logo { margin-bottom: 8px; }
.footer-logo img { filter: brightness(0) invert(1); mix-blend-mode: normal; opacity: 0.8; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.3); margin-top: 16px; }

/* ================================================
   FLOATING WHATSAPP
   ================================================ */
.wa-fab { position: fixed; bottom: 32px; right: 32px; z-index: 300; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(180deg, #2dd4bf 0%, #25D366 100%); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(37,211,102,0.4); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 12px 40px rgba(37,211,102,0.6); }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,0.4); animation: pulse-ring 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 32px; }
  .contact-inner { gap: 40px; }
}
@media (max-width: 900px) {
  .hero-inner { 
    grid-template-columns: 1fr; 
    min-height: auto; 
    padding: 40px 24px 60px; /* Slightly tighter padding for mobile */
    text-align: center; 
    gap: 40px; /* Creates a clean gap between text and the mockup */
  }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  
  /* INSTEAD OF HIDING IT, WE SCALE IT NEATLY FOR MOBILE */
  .hero-visual { 
    display: flex; 
    justify-content: center; 
    width: 100%; 
  }
  .phone-frame {
    max-width: 300px; /* Scaled down slightly to fit small mobile screens */
    border-width: 4px; /* Thinner outer border for extra screen real estate */
  }
  .wa-body {
    min-height: 280px; /* Slightly more compact chat window */
  }

  .hero-btns { justify-content: center; width: 100%; }
  .hero-trust { justify-content: center; }
  .steps { flex-direction: column; gap: 24px; }
  .contact-inner { grid-template-columns: 1fr; text-align: center; }
  .contact-details { align-items: center; }
}
@media (max-width: 768px) {
  .header-nav, .header-ctas { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .pricing-amounts-row { flex-direction: column; align-items: center; gap: 8px; }
  .price-plus { display: none; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .pricing-cta-row { flex-direction: column; }
  .pricing-cta-row .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .price-amount { font-size: 2.5rem; }
  .wa-fab { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .wa-fab svg { width: 28px; height: 28px; }
}

/* ... All your previous variables and resets ... */

/* NEW: Comparison Grid */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.comp-card { padding: 32px; border-radius: 20px; border: 1px solid var(--border); }
.comp-card.manual { background: #fef2f2; color: #991b1b; }
.comp-card.premium { background: #f0fdf4; color: #166534; border: 2px solid var(--wa); box-shadow: var(--shadow-md); }
.comp-card h3 { margin-bottom: 20px; font-weight: 800; }
.comp-card ul { display: flex; flex-direction: column; gap: 12px; }

/* NEW: Button Spinner */
.spinner {
  display: none; width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Mobile Sticky Footer */
@media (max-width: 768px) {
  .comp-grid { grid-template-columns: 1fr; }
  .header-ctas { display: flex; position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
}


/* Fix for the Contact Section Layout */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  padding: 100px 0;
}

/* The Card Look */
.lead-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); /* Uses your premium shadow variable */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Beautiful Input Styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--bg);
  transition: all 0.2s ease;
  width: 100%;
}

/* The "Glow" effect when typing */
.form-group input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--blue-light);
}

.form-note {
  font-size: 0.8rem;
  color: var(--mid);
  text-align: center;
  margin-top: 10px;
}

/* Mobile Responsive Fix */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}


/* Contact Layout */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
}

/* The Card */
.lead-form {
  background: #ffffff;
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08); /* Premium soft shadow */
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Input Styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input {
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 1rem;
  background: #f8fafc; /* Light grey background from your image */
  color: #1e293b;
  transition: all 0.2s ease;
}

/* Focus State */
.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

/* Mobile Tweak */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .lead-form { padding: 32px 24px; }
}


/* Final Alignment Polish */
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Gives the text a bit more room */
  gap: 60px;
  align-items: center; /* Vertically centers the text relative to the card */
  padding: 120px 0; /* Creates a clean, purposeful gap from the section above */
}

.contact-left h2 {
  font-size: clamp(2.5rem, 4vw, 3rem); /* Makes the headline more dominant */
  margin-top: 0; /* Ensures it aligns with the top of the card */
  line-height: 1.1;
}

.contact-desc {
  font-size: 1.2rem;
  margin-top: 24px;
  color: var(--mid); /* Uses your existing variable for a professional grey */
}

/* Card Depth Fix */
.lead-form {
  background: #ffffff;
  padding: 48px;
  border-radius: 32px;
  /* Stronger shadow to make the card feel 'closer' to the user */
  box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.12), 
              0 18px 36px -18px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Reduce the padding on both sections */
.pricing {
  padding: 80px 0 40px 0; /* Less padding at the bottom */
  background: var(--bg);
}

.contact {
  padding: 40px 0 100px 0; /* Less padding at the top */
  background: var(--bg);
}

/* Ensure no extra margins are pushing the sections apart */
.pricing-card {
  margin-bottom: 0; 
}

.contact-inner {
  padding-top: 0; /* Remove top padding if it exists here */
}


/*TESTING*/

/* Optional: Subtle transition gradient */
.pricing {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.contact {
  background: #ffffff;
}




/* Spinner Animation */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Reveal Initial State */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* Tighten the Demo Section */
.demo {
  padding: 60px 0; /* Reduced from 100px */
  background: #0f172a;
}

.demo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Reduced from 32px */
}

.video-container {
  margin-bottom: 0; /* Ensures no extra push below the video */
}

/* Tighten the spacing for the button below the video */
.demo-inner > div {
  margin-top: 10px !important; /* Overrides the previous 40px margin */
}

