/* style.css - Landing Page for Ahara Helper */

/* Base Reset & Variables */
:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --primary-light: rgba(59, 130, 246, 0.15);
  
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.15);
  
  --bg-main: #0B1121;
  --bg-card: rgba(30, 41, 59, 0.4);
  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-hover: 0 20px 40px -15px rgba(59, 130, 246, 0.3);
  
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
}

/* Floating Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
}

.nav-logo span span {
  color: var(--primary);
}

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

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

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

.btn-nav-download {
  padding: 10px 20px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  transition: var(--transition-smooth);
}

.btn-nav-download:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 24px 100px 24px;
  overflow: hidden;
  background-color: var(--bg-main);
}

.hero-bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow-blue {
  position: absolute;
  top: -150px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(50px);
}

.glow-indigo {
  position: absolute;
  bottom: -100px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.06) 0%, rgba(29, 78, 216, 0) 70%);
  filter: blur(50px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

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

.btn-primary-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
  position: relative;
  transition: var(--transition-smooth);
}

.btn-primary-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: var(--bg-main);
  border: var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--text-muted);
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: var(--border-subtle);
  padding-top: 32px;
}

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

.stat-item strong {
  font-size: 24px;
  font-family: var(--font-display);
  color: var(--text-main);
}

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

/* Hero Graphics & Shield Animation */
.hero-graphics {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-frame {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.4) 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.shield-graphic-container {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-glow-effect {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 65%);
  border-radius: 50%;
  animation: glowRotate 12s linear infinite;
}

.shield-circle-outer {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.08);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.8);
}

.shield-circle-mid {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.9);
}

.shield-circle-inner {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.shield-image-main {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.shield-image-main:hover {
  transform: scale(1.05);
}

.pulse-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.15);
  animation: ripplePulse 3s infinite;
  pointer-events: none;
}

/* Features Grid */
.features-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 38px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  padding: 40px 32px;
  border-radius: 20px;
  border: var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.25);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.card-icon.blue {
  background-color: var(--primary-light);
  color: var(--primary);
}

.card-icon.indigo {
  background-color: #EEF2F6;
  color: #4F46E5;
}

.card-icon.green {
  background-color: var(--success-light);
  color: var(--success);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

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

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

/* Installation Guide (Interactive Tabs) */
.install-section {
  padding: 100px 24px;
  background-color: #ffffff;
}

.install-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-main);
  border: var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  height: 480px;
}

.steps-tabs {
  background: #ffffff;
  border-right: var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.tab-btn {
  padding: 24px 20px;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background: var(--bg-main);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-left: 4px solid var(--primary);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-secondary);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.tab-btn.active .step-num {
  background: var(--primary);
  color: #ffffff;
}

.steps-panels {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.step-panel.active {
  display: block;
}

.step-panel h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.step-panel p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.code-box {
  background: #1E293B;
  color: #38BDF8;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 15px;
  margin-bottom: 24px;
  font-weight: bold;
}

.alert-info {
  background: #FFFBEB;
  border-left: 4px solid #F59E0B;
  padding: 16px;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: #78350F;
}

/* FAQ Section */
.faq-section {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 16px;
  border: var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* Footer */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 60px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo {
  width: 36px;
  height: 36px;
}

.footer-brand span span {
  color: var(--primary);
}

.footer-copy {
  font-size: 14px;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: 24px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-period {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  font-size: 15px;
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--bg-main);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: var(--border-subtle);
  transition: var(--transition-smooth);
}

.btn-pricing:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.btn-pricing.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

.btn-pricing.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}/* Post-Payment Call Banner */
.post-payment-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.banner-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 680px;
}

.btn-banner-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-banner-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-banner-call svg {
  transition: transform 0.3s ease;
}

.btn-banner-call:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

/* Keyframe Animations */
@keyframes glowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ripplePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-lead {
    margin: 0 auto 36px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .install-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .steps-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: var(--border-subtle);
  }
  .tab-btn {
    flex-shrink: 0;
    padding: 16px 20px;
  }
  .tab-btn.active {
    border-left: none;
    border-bottom: 3px solid var(--primary);
  }
  .steps-panels {
    padding: 32px 20px;
  }
  .post-payment-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .btn-banner-call {
    width: 100%;
    justify-content: center;
  }
}

/* Compliance & Legal Pages */
.legal-hero {
  padding: 120px 24px 60px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: 16px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px 24px;
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.8;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

/* ========================================== */
/* 💳 INLINE CHECKOUT MODAL OVERLAY STYLES    */
/* ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalFadeIn 0.3s ease;
}

.checkout-modal-container {
  background: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--text-main);
  transform: scale(1.1);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  min-height: 480px;
}

.modal-summary-panel {
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 30px;
}

.modal-brand span span {
  color: var(--primary);
}

.modal-product-info {
  margin-bottom: 30px;
}

.modal-plan-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
  margin-bottom: 12px;
}

.modal-plan-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-price-display {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.modal-price-display span {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

.modal-secure-seal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

.modal-form-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.modal-payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.modal-tab-btn {
  padding: 8px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.modal-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-card-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 12px;
}

.modal-btn-pay {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-btn-pay:hover {
  background: var(--primary-dark);
}

.modal-overlay-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  z-index: 10;
  border-radius: 0 24px 24px 0;
}

.modal-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: modalSpin 0.8s linear infinite;
  margin: 0 auto 20px auto;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  background: var(--success);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 26px;
  font-weight: bold;
}

.modal-success-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-success-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-btn-wa-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transition: all 0.2s ease;
}

.modal-btn-wa-call:hover {
  background: #20BA5A;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes modalSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .modal-summary-panel {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 24px;
  }
  .modal-form-panel {
    padding: 24px;
  }
}
