/* ============= PAYO Landing Page v2 - Dark Theme ============= */
/* Color Palette: Teal/Cyan (#00D9B4) to Purple (#7C3AED) gradient */

:root {
  /* Primary Colors */
  --primary: #00D9B4;
  --primary-dark: #00B89C;
  --secondary: #7C3AED;
  --accent: #06B6D4;
  
  /* Background Colors - Dark Theme */
  --bg: #0A0F1C;
  --bg-secondary: #111827;
  --bg-card: #1F2937;
  --bg-card-hover: #374151;
  
  /* Text Colors */
  --text: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00D9B4 0%, #06B6D4 50%, #7C3AED 100%);
  --gradient-text: linear-gradient(135deg, #00D9B4 0%, #06B6D4 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0, 217, 180, 0.3) 0%, transparent 70%);
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(0, 217, 180, 0.3);
  
  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ============= Reset & Base ============= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============= Typography ============= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 217, 180, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--primary);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }

/* ============= Navigation ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ============= Hero ============= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -150px;
  opacity: 0.2;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -200px;
  left: -150px;
  opacity: 0.15;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 217, 180, 0.1);
  border: 1px solid rgba(0, 217, 180, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 24px 0 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============= Phone Mockup ============= */
.phone-mockup {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--bg-secondary);
  border-radius: 40px;
  padding: 12px;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--primary);
}

.phone-content {
  background: var(--bg);
  border-radius: 32px;
  padding: 20px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.app-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.app-header span {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.balance-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  color: #000;
}

.balance-label {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.balance-amount {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0;
}

.balance-sub {
  font-size: 11px;
  opacity: 0.7;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.action-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.action-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 180, 0.1);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.action-item span {
  font-size: 12px;
  color: var(--text-secondary);
}

.voice-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 12px;
  border: 1px solid var(--border);
}

.voice-btn {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex-shrink: 0;
}

.voice-btn.pulse {
  animation: voicePulse 2s infinite;
}

@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 217, 180, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(0, 217, 180, 0); }
}

.voice-label {
  display: block;
  font-size: 10px;
  color: var(--primary);
  background: rgba(0, 217, 180, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 4px;
}

.voice-example {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============= Problem Section ============= */
.problem {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 16px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
}

.comparison-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.comparison-card.bad {
  border-color: rgba(239, 68, 68, 0.3);
}

.comparison-card.good {
  border-color: rgba(0, 217, 180, 0.3);
  background: linear-gradient(135deg, rgba(0, 217, 180, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
  box-shadow: var(--shadow-glow);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-icon {
  font-size: 24px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.comparison-list .x {
  color: #EF4444;
  font-weight: bold;
}

.comparison-list .check {
  color: var(--primary);
  font-weight: bold;
}

/* ============= Features Section ============= */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 968px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-card.featured {
  background: linear-gradient(135deg, rgba(0, 217, 180, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-color: var(--primary);
}

.feature-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-primary);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 217, 180, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ============= How it Works ============= */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============= Technology Section ============= */
.technology {
  padding: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr; }
}

.tech-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.tech-card:hover {
  border-color: var(--primary);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tech-card h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.tech-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============= FAQ Section ============= */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============= CTA Section ============= */
.cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
}

/* Waitlist Form */
.waitlist-form {
  max-width: 560px;
  margin: 0 auto 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.form-input option {
  color: var(--text);
  background: var(--bg-card);
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
}

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-trust svg {
  color: var(--primary);
}

.waitlist-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.waitlist-count strong {
  color: var(--primary);
}

/* ============= Footer ============= */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr 1fr; }
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ============= Animations ============= */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Spinner for form */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
