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

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --bg: #FAFBFF;
  --bg-dark: #0F0A2A;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --success: #00B894;
  --danger: #FF6B6B;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(108, 92, 231, 0.08);
  --shadow-lg: 0 12px 48px rgba(108, 92, 231, 0.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; }
a { text-decoration: none; color: inherit; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #F0EEFF; transform: translateY(-1px); }
.btn-nav { padding: 8px 20px; font-size: 14px; }

/* ═══ Navbar ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══ Hero ═══ */
.hero {
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #F0EEFF;
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #A29BFE, #74B9FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ Phone Mockup ═══ */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 300px;
  background: var(--white);
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  transform: perspective(800px) rotateY(-5deg);
  transition: transform 0.5s;
}
.phone-mockup:hover { transform: perspective(800px) rotateY(0deg); }
.phone-screen {
  background: #F8F9FA;
  border-radius: 24px;
  overflow: hidden;
}
.mock-header {
  background: linear-gradient(135deg, var(--primary), #A29BFE);
  color: var(--white);
  padding: 32px 20px 24px;
}
.mock-greeting { font-size: 14px; opacity: 0.8; margin-bottom: 4px; }
.mock-balance-label { font-size: 12px; opacity: 0.7; }
.mock-balance { font-size: 32px; font-weight: 800; }
.mock-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: var(--white);
}
.mock-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}
.mock-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.mock-action-icon.green { background: #00B894; }
.mock-action-icon.blue { background: #0984E3; }
.mock-action-icon.purple { background: var(--primary); }
.mock-action-icon.orange { background: #FDCB6E; color: #2D3436; }
.mock-transactions { padding: 12px 16px 16px; }
.mock-tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F1F2F6;
}
.mock-tx:last-child { border: none; }
.mock-tx-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.mock-tx-icon.in { background: #E8F8F5; color: #00B894; }
.mock-tx-icon.out { background: #FDECEA; color: #FF6B6B; }
.mock-tx-info { flex: 1; }
.mock-tx-info div { font-size: 13px; font-weight: 500; }
.mock-tx-info small { font-size: 11px; color: var(--text-muted); }
.mock-tx-amount { font-size: 14px; font-weight: 700; white-space: nowrap; }
.mock-tx-amount.green { color: #00B894; }
.mock-tx-amount.red { color: #FF6B6B; }

/* ═══ Features ═══ */
.features {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(108, 92, 231, 0.06);
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.15);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: #F0EEFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ How it works ═══ */
.how-it-works {
  padding: 100px 0;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.step {
  text-align: center;
  max-width: 280px;
  padding: 32px;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
}
.step-arrow {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ═══ Security ═══ */
.security {
  padding: 100px 0;
  background: var(--white);
}
.security-content { max-width: 700px; margin: 0 auto; }
.security-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}
.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.security-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.security-list li svg { flex-shrink: 0; margin-top: 2px; }
.security-list li strong { display: block; font-size: 17px; margin-bottom: 4px; }
.security-list li p { font-size: 15px; color: var(--text-muted); }

/* ═══ CTA ═══ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), #A29BFE);
}
.cta-inner {
  text-align: center;
  color: var(--white);
}
.cta-inner h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* ═══ Footer ═══ */
.footer {
  padding: 60px 24px 32px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
}
.footer > .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer .footer-top {
  display: grid !important;
  grid-template-columns: 280px 1fr !important;
  gap: 64px !important;
  margin-bottom: 40px !important;
}
.footer .footer-brand .logo { margin-bottom: 12px; }
.footer .footer-brand .logo .logo-icon { background: rgba(255,255,255,0.15); }
.footer .footer-brand .logo span { color: var(--white); }
.footer .footer-brand p { font-size: 14px; }
.footer .footer-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.5;
}
.footer .footer-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 32px !important;
}
.footer .footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer .footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer .footer-col a:hover { color: var(--white); }
.footer .footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* ═══ Mobile ═══ */
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-desc { margin: 0 auto 24px; font-size: 16px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 260px; transform: none; }

  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }

  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .cta-inner h2 { font-size: 28px; }

  .footer .footer-top { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer .footer-links { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
}
