@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-deeper: #047857;
  --primary-light: #D1FAE5;
  --primary-ultra-light: #ECFDF5;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --accent: #6366F1;
  --bg: #FAFBFC;
  --bg-dark: #0F172A;
  --text: #0F172A;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #06B6D4 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.feature-card, .step-card, .pricing-card, .industry-card, .contact-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 16px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }

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

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.08) 0%, transparent 70%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(16,185,129,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.hero-content { animation: fadeUp 0.8s ease; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-ultra-light);
  border: 1px solid var(--primary-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 900;
  display: block;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeIn 1s ease 0.3s both;
}

.phone-mockup {
  width: 280px;
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: white;
  border-radius: 26px;
  padding: 24px 20px;
  min-height: 420px;
}

.phone-header {
  text-align: center;
  margin-bottom: 28px;
}

.phone-logo {
  font-size: 18px;
  font-weight: 800;
}

.phone-amount-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.phone-amounts {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.phone-amount-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: #F1F5F9;
  color: var(--text);
  cursor: pointer;
}

.phone-amount-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.phone-total {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.phone-pay-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 1px solid rgba(0,0,0,0.04);
}

.float-1 {
  top: 15%;
  right: -10%;
  animation: float 4s ease-in-out infinite;
}

.float-2 {
  bottom: 20%;
  left: -5%;
  animation: floatSlow 5s ease-in-out infinite;
}

.float-icon { font-size: 28px; }
.float-title { font-size: 14px; font-weight: 700; }
.float-desc { font-size: 12px; color: var(--text-muted); }

/* ==================== TRUST ==================== */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.trust-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.trust-logo:hover { color: var(--primary); }

/* ==================== SECTIONS ==================== */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  padding: 6px 16px;
  background: var(--primary-ultra-light);
  border: 1px solid var(--primary-light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================== FEATURES ==================== */
.features { background: white; }

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-icon.green { background: #D1FAE5; }
.feature-icon.blue { background: #DBEAFE; }
.feature-icon.purple { background: #E0E7FF; }
.feature-icon.orange { background: #FEF3C7; }
.feature-icon.rose { background: #FFE4E6; }
.feature-icon.teal { background: #CCFBF1; }

.feature-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ==================== HOW IT WORKS ==================== */
.how-it-works { background: var(--bg); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  flex: 1;
  max-width: 250px;
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-light);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.step-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.step-connector {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 100px;
  flex-shrink: 0;
}

/* ==================== INDUSTRIES ==================== */
.industries { background: white; }

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

.industry-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  background: var(--bg);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.industry-emoji { font-size: 40px; margin-bottom: 14px; }
.industry-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.industry-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ==================== PRICING ==================== */
.pricing { background: var(--bg); }

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

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
  transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-4px); }

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-name { font-size: 16px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border: none; }

/* ==================== CTA ==================== */
.cta-section { padding: 80px 0; background: white; }

.cta-card {
  background: linear-gradient(135deg, var(--bg-dark), #1E293B);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.15) 0%, transparent 70%);
}

.cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-buttons .btn-ghost { color: rgba(255,255,255,0.7); }
.cta-buttons .btn-ghost:hover { color: white; }

/* ==================== CONTACT ==================== */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--primary-light); }

.contact-icon { font-size: 28px; }
.contact-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-size: 15px; font-weight: 700; margin-top: 2px; }

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 18px; }

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); background: white; }

.form-textarea { resize: vertical; min-height: 100px; }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo .brand-text { color: white; }

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .float-1 { right: 5%; }
  .float-2 { left: 5%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-wrap: wrap; }
  .step-connector { display: none; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    gap: 12px;
  }
  .mobile-toggle { display: flex; }
  .navbar-actions .btn-ghost { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .cta-card { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
