/* ============================================
   SECTIONS — Hero, Features, etc.
   ============================================ */

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,179,74,0.08) 0%, transparent 70%);
  top: -100px;
  left: -200px;
  filter: blur(40px);
}
.hero-bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  filter: blur(60px);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,179,74,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,179,74,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-eyebrow { margin-bottom: 24px; }
.hero-title {
  margin-bottom: 24px;
}
.hero-title .line-accent {
  display: block;
}
.hero-subtitle {
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.hero-sp-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero-sp-text strong {
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--surface-0);
  background: var(--surface-3);
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 580px;
}

.hero-phone {
  position: relative;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(0deg); }
}

/* Float cards positioning */
.hero-float-1 {
  top: 60px;
  left: -130px;
}
.hero-float-2 {
  top: 160px;
  right: -140px;
}
.hero-float-3 {
  bottom: 180px;
  left: -120px;
}
.hero-float-4 {
  bottom: 80px;
  right: -110px;
}

/* ---- PROBLEM SECTION ---- */
.problem-section {
  padding: var(--section-pad);
  position: relative;
}
.problem-intro {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--dur-mid) var(--ease);
}
.problem-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-3px);
}
.problem-card-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--surface-4);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

/* ---- FEATURES SECTION ---- */
.features-section {
  padding: var(--section-pad);
  position: relative;
}
.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17,25,22,0.5) 50%, transparent 100%);
  pointer-events: none;
}
.features-header {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- AI SECTION ---- */
.ai-section {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.ai-section-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(56,179,74,0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}
.ai-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.ai-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.insight-card-pattern {
  color: var(--green-400);
  background: rgba(56,179,74,0.08);
}
.insight-card-warning {
  color: var(--gold-400);
  background: rgba(201,168,76,0.08);
}
.insight-card-rec {
  color: #60c8c8;
  background: rgba(96,200,200,0.08);
}
.insight-card-positive {
  color: var(--green-300);
  background: rgba(56,179,74,0.08);
}

/* ---- HOW IT WORKS ---- */
.how-section {
  padding: var(--section-pad);
}
.how-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-green), var(--border-green), transparent);
}
.how-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--green-400);
  position: relative;
  z-index: 1;
  transition: all var(--dur-mid) var(--ease);
}
.how-step:hover .how-step-num {
  background: rgba(56,179,74,0.15);
  box-shadow: 0 0 24px rgba(56,179,74,0.2);
}
.how-step h3 {
  margin-bottom: 8px;
}

/* ---- SCREENS SECTION ---- */
.screens-section {
  padding: var(--section-pad);
  overflow: hidden;
}
.screens-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.screens-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 24px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-default) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.screens-scroll::-webkit-scrollbar { height: 4px; }
.screens-scroll::-webkit-scrollbar-track { background: transparent; }
.screens-scroll::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 2px; }

.screen-item {
  flex-shrink: 0;
  scroll-snap-align: start;
}
.screen-phone {
  width: 220px;
  border-radius: 36px;
  background: var(--surface-1);
  border: 1.5px solid var(--border-default);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  transition: transform var(--dur-mid) var(--ease);
}
.screen-phone:hover { transform: translateY(-8px) scale(1.02); }
.screen-notch {
  width: 70px;
  height: 22px;
  background: var(--surface-0);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}
.screen-body {
  padding: 12px;
  background: var(--surface-0);
  min-height: 380px;
}
.screen-label {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- SECURITY ---- */
.security-section {
  padding: var(--section-pad);
}
.security-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 64px;
}
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.security-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--dur-mid) var(--ease);
  text-align: center;
}
.security-card:hover {
  border-color: var(--border-green);
  transform: translateY(-3px);
}
.security-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
}

/* ---- COMPARISON ---- */
.compare-section {
  padding: var(--section-pad);
}
.compare-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}
.compare-wrap {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ---- SUPPORT ---- */
.support-section {
  padding: var(--section-pad);
}
.support-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.support-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--dur-mid) var(--ease);
}
.support-card:hover {
  border-color: var(--border-green);
  transform: translateY(-3px);
}

/* ---- FAQ ---- */
.faq-section {
  padding: var(--section-pad);
}
.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ---- COMING SOON ---- */
.coming-section {
  padding: var(--section-pad);
  position: relative;
}
.coming-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,25,22,0.5), rgba(31,46,32,0.3));
  pointer-events: none;
}
.coming-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.coming-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}
.coming-item {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--dur-mid);
}
.coming-item:hover {
  border-color: var(--border-green);
  color: var(--text-primary);
}
.coming-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.7;
}

/* ---- FINAL CTA ---- */
.cta-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, rgba(56,179,74,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at center bottom, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand p {
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.footer-link:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ---- PHONE SCREEN UI ---- */
.pui-header {
  background: var(--surface-1);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.pui-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pui-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.pui-subtitle {
  font-size: 10px;
  color: var(--text-muted);
}
.pui-balance-card {
  background: linear-gradient(135deg, var(--green-900), var(--surface-3));
  border: 1px solid var(--border-green);
  border-radius: 14px;
  padding: 18px;
  margin: 12px;
  text-align: center;
}
.pui-balance-label { font-size: 10px; color: var(--green-300); margin-bottom: 4px; }
.pui-balance-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pui-row {
  display: flex;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.pui-metric {
  flex: 1;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.pui-metric-label { font-size: 9px; color: var(--text-muted); margin-bottom: 2px; }
.pui-metric-value { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
.pui-insight {
  background: rgba(56,179,74,0.08);
  border: 1px solid var(--border-green);
  border-radius: 10px;
  margin: 0 12px 10px;
  padding: 10px 12px;
}
.pui-insight-label { font-size: 9px; color: var(--green-400); font-weight: 600; margin-bottom: 3px; }
.pui-insight-text { font-size: 10px; color: var(--text-secondary); line-height: 1.4; }
.pui-cat-row {
  padding: 0 12px;
}
.pui-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pui-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pui-cat-name { font-size: 10px; color: var(--text-secondary); flex: 1; }
.pui-cat-amt { font-size: 10px; font-weight: 600; color: var(--text-primary); }
.pui-add-btn {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  border-radius: 10px;
  margin: 10px 12px 0;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .how-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-visual { min-height: 400px; }
  .problem-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-insights-grid { grid-template-columns: 1fr; }
  .security-cards { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-section { padding: 100px 0; }
}
