/* ══════════════════════════════════
   PAYBAMMITE — LANDING PAGE STYLES
   Sober & Minimalist Design System (White & Grey)
   ══════════════════════════════════ */

/* ── Variables ── */
:root {
  --primary: #111111;
  --primary-hover: #222222;
  --text-primary: #111111;
  --text-secondary: #4b5563;
  --text-tertiary: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-accent: #111111;
  --text-accent: #ffffff;
  --border-color: #e5e7eb;
  --border-color-hover: #d1d5db;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --gradient-main: linear-gradient(135deg, #111111 0%, #555555 100%);
  --gradient-soft: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── Buttons ── */
.btn-primary {
  background: var(--primary);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--primary);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════
   NAVBAR
   ══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--text-secondary);
  font-weight: 400;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--bg-primary);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid var(--primary);
}

.nav-cta:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 101;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 150px 24px 80px;
  background: radial-gradient(circle at top, rgba(4, 159, 217, 0.22), transparent 25%),
              linear-gradient(180deg, #061526 0%, #0c1a2e 45%, #111827 100%);
  color: #f8fbff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background-image: url('../asset/image/bkg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════
   RATE HIGHLIGHTS
   ══════════════════════════════════ */
.rate-highlights {
  padding: 40px 24px;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.rate-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.rate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  flex: 1;
}

.rate-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.rate-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.rate-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.rate-divider {
  width: 1px;
  height: 60px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* ══════════════════════════════════
   SECTION TITLES
   ══════════════════════════════════ */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ══════════════════════════════════
   FEATURES
   ══════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  transition: var(--transition);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ══════════════════════════════════
   HOW IT WORKS (STEPS)
   ══════════════════════════════════ */
.steps-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border-color);
  flex-shrink: 0;
  align-self: center;
  margin-top: -20px;
}

/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.pricing-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.pricing-main-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.pricing-main-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.pricing-main-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.pricing-rates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pricing-rate-value {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.pricing-rate-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-rate-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 0 0 36px;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '—';
  color: var(--text-tertiary);
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-main-card .btn-primary {
  display: block;
  width: 100%;
}

/* ══════════════════════════════════
   STATS
   ══════════════════════════════════ */
.stats {
  padding: 80px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

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

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-sm);
}

.stat-item .number {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.stat-item .label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ══════════════════════════════════
   FAQ
   ══════════════════════════════════ */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-color-hover);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ══════════════════════════════════
   CTA SECTION
   ══════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.cta-box {
  text-align: center;
  background: var(--bg-accent);
  border-radius: var(--radius);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-accent);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-box p {
  color: var(--text-tertiary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-box .btn-primary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--bg-primary);
  font-weight: 700;
}

.cta-box .btn-primary:hover {
  background: var(--bg-secondary);
  border-color: var(--bg-secondary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.85rem;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

/* ══════════════════════════════════
   SCROLL REVEAL (LINKED TO LANDING.JS)
   ══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 900px) {
  .rate-grid {
    flex-direction: column;
    padding: 40px;
    gap: 32px;
  }

  .rate-divider {
    width: 60px;
    height: 1px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .step-connector {
    width: 1px;
    height: 30px;
    margin: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-rates {
    flex-direction: column;
    gap: 20px;
  }

  .pricing-rate-divider {
    width: 50px;
    height: 1px;
  }

  .pricing-main-card {
    padding: 36px 24px;
  }
}

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

  .burger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 32px 24px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 20px;
    align-items: flex-start;
  }

  .hero {
    padding: 130px 24px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
