/* ===== BeachPay Shared Design System ===== */
:root {
  --background: 60 33% 98%;
  --foreground: 222 47% 11%;
  --primary: 35 100% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 174 72% 56%;
  --secondary-foreground: 0 0% 100%;
  --accent: 348 83% 47%;
  --accent-foreground: 0 0% 100%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 222 47% 45%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 35 100% 55%;
  --radius: 1rem;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); text-align: center; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; text-align: center; color: hsl(var(--muted-foreground)); max-width: 640px; margin: 0 auto 3rem; }
.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-accent { color: hsl(var(--accent)); }
.bg-muted { background: hsl(var(--muted)); }
.bg-primary-soft { background: hsl(var(--primary) / 0.06); }
.bg-secondary-soft { background: hsl(var(--secondary) / 0.06); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; font-family: var(--font-body);
  transition: all 0.2s ease; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / 0.9); box-shadow: 0 4px 20px hsl(var(--primary) / 0.35); }
.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-secondary:hover { background: hsl(var(--secondary) / 0.9); box-shadow: 0 4px 20px hsl(var(--secondary) / 0.3); }
.btn-accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-accent:hover { background: hsl(var(--accent) / 0.9); box-shadow: 0 4px 20px hsl(var(--accent) / 0.3); }
.btn-outline { border: 2px solid hsl(var(--primary)); color: hsl(var(--primary)); background: transparent; }
.btn-outline:hover { background: hsl(var(--primary) / 0.08); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Cards */
.card {
  background: #fff; border-radius: 1.5rem; padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid hsl(var(--border));
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: hsla(var(--background) / 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header-logo { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; }
.header-logo img { width: 36px; height: 36px; border-radius: 10px; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a { font-weight: 500; font-size: 0.95rem; color: hsl(var(--muted-foreground)); transition: color 0.2s; }
.header-nav a:hover { color: hsl(var(--primary)); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.mobile-toggle { display: none; background: none; border: none; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: hsl(var(--foreground)); margin: 5px 0; transition: 0.3s; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: hsla(var(--background) / 0.95); backdrop-filter: blur(12px); padding: 1.5rem; border-bottom: 1px solid hsl(var(--border)); flex-direction: column; gap: 1rem; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 500; font-size: 1.05rem; padding: 0.5rem 0; }
.mobile-menu .btn { width: 100%; }

/* Footer */
.footer { background: hsl(var(--foreground)); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-brand .header-logo { color: #fff; margin-bottom: 0; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: hsl(var(--primary)); }
.footer-col span.nolink { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: hsl(var(--primary)); }

/* Sticky WhatsApp */
.whatsapp-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.2s, box-shadow 0.2s;
  color: #fff; font-size: 1.5rem;
}
.whatsapp-cta:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: hsl(var(--foreground)); color: #fff;
  padding: 1.25rem 1.5rem; display: none; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: 0.875rem; flex: 1; min-width: 240px; }
.cookie-banner p a { color: hsl(var(--primary)); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-actions .btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.375rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid hsl(var(--border));
  border-radius: 0.75rem; font-family: var(--font-body); font-size: 0.95rem;
  background: hsl(var(--background)); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.form-consent input[type="checkbox"] { width: auto; margin-top: 3px; }

/* Feature list */
.feature-list { margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.feature-list li::before { content: '✓'; color: hsl(var(--secondary)); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Feature section */
.feature-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-section.reverse { direction: rtl; }
.feature-section.reverse > * { direction: ltr; }
.feature-content h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
.feature-content p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; font-size: 1.05rem; }
.feature-visual {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.08), hsl(var(--secondary) / 0.08));
  border-radius: 2rem; padding: 3rem; display: flex; align-items: center; justify-content: center; min-height: 360px;
}
.feature-visual-inner { text-align: center; }
.feature-visual-icon { font-size: 4rem; margin-bottom: 1rem; }
.feature-visual-label { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: hsl(var(--muted-foreground)); }

/* Page Hero */
.page-hero {
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1.25rem; }
.page-hero-content p { font-size: 1.15rem; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }
.page-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { text-align: center; padding: 2.5rem 2rem; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; background: hsl(var(--primary));
  color: #fff; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step-card p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }

/* Steps 4-col */
.steps-4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.audience-card { padding: 2.5rem 2rem; text-align: center; }
.audience-icon { font-size: 3rem; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.audience-card p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card { padding: 2rem; }
.benefit-icon { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); }

/* Benefits 4-col */
.benefits-4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Pricing / Packages */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.package-card { padding: 2rem 1.5rem; text-align: center; position: relative; }
.package-card.featured { border: 2px solid hsl(var(--primary)); transform: scale(1.03); }
.package-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: hsl(var(--primary)); color: #fff; padding: 0.25rem 1rem; border-radius: 2rem;
  font-weight: 700; font-size: 0.75rem; white-space: nowrap;
}
.package-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.package-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.package-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.package-features { text-align: left; margin-bottom: 1.5rem; }
.package-features li { font-size: 0.85rem; padding: 0.375rem 0; border-bottom: 1px solid hsl(var(--border) / 0.5); }
.package-features li:last-child { border-bottom: none; }

/* Beach grid */
.beach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.beach-card { overflow: hidden; padding: 0; }
.beach-card-image {
  height: 200px; background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--secondary) / 0.2));
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.beach-card-body { padding: 1.5rem; }
.beach-card-body h3 { font-size: 1.15rem; margin-bottom: 0.375rem; }
.beach-card-body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.beach-status {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 2rem;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem;
}
.beach-status.active { background: hsl(var(--secondary) / 0.15); color: hsl(var(--secondary)); }
.beach-status.deploying { background: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }
.beach-status.study { background: hsl(var(--muted-foreground) / 0.12); color: hsl(var(--muted-foreground)); }
.beach-status.soon { background: hsl(var(--accent) / 0.12); color: hsl(var(--accent)); }
.beach-card-actions { display: flex; gap: 0.5rem; }
.beach-card-actions .btn { flex: 1; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid hsl(var(--border)); border-radius: 1rem; margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; text-align: left; font-weight: 600; font-size: 1rem;
  font-family: var(--font-body); display: flex; justify-content: space-between; align-items: center;
  background: none; cursor: pointer;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: hsl(var(--primary)); flex-shrink: 0; margin-left: 1rem; }
.faq-question.active::after { content: '−'; }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: hsl(var(--muted-foreground)); font-size: 0.95rem; }
.faq-answer.open { display: block; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(222 47% 18%) 100%);
  color: #fff; border-radius: 2rem; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.2) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; position: relative; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; }
.cta-section .btn { position: relative; }

/* Stats */
.stats-grid { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: hsl(var(--primary)); }
.stat-label { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }

/* Tags / Tabs */
.tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.5rem 1.25rem; border-radius: 2rem; font-weight: 600; font-size: 0.875rem;
  border: 1px solid hsl(var(--border)); background: #fff; color: hsl(var(--muted-foreground));
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { background: hsl(var(--primary)); color: #fff; border-color: hsl(var(--primary)); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-4-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-4-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-4-grid { grid-template-columns: 1fr 1fr; }
  .feature-section { grid-template-columns: 1fr; gap: 2rem; }
  .feature-section.reverse { direction: ltr; }
  .feature-visual { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section { padding: 3.5rem 0; }
  .packages-grid { grid-template-columns: 1fr; }
  .beach-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { gap: 1.5rem; }
  .page-hero { padding: 7rem 0 3rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps-4-grid { grid-template-columns: 1fr; }
  .benefits-4-grid { grid-template-columns: 1fr; }
}

/* Form success state */
.form-success {
  animation: fadeInUp 0.4s ease forwards;
}
.form-success h3 {
  color: hsl(var(--primary));
}

/* Audience-specific nav CTA classes (for analytics/scoping) */
.btn-nav-kiosk { }
.btn-nav-brand { }
.btn-nav-city { }
.btn-nav-app { }
.btn-nav-adv { }
