/* ========================================
   cepMoney Landing — Premium Fintech Design
   ======================================== */

:root {
  --teal: #0891b2;
  --teal-dark: #0e7490;
  --teal-600: #0d9488;
  --teal-light: #ecfeff;
  --teal-50: #f0fdfa;
  --navy: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --green: #10b981;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-600);
  line-height: 1.6;
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfeff 30%, #e0f2fe 60%, #f0f9ff 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s var(--ease);
  min-height: 48px; padding: 0.75rem 2rem;
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); border-color: transparent;
  box-shadow: 0 4px 14px rgba(8,145,178,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8,145,178,0.35);
}
.btn-outline {
  background: transparent; color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8,145,178,0.25);
}
.btn-white {
  background: var(--white); color: var(--navy);
  border-color: var(--white); font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.btn-sm { min-height: 40px; padding: 0.5rem 1.25rem; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0.875rem 2.5rem; font-size: 1rem; }

/* ═══════ LOGO ═══════ */
.logo { display: inline-flex; align-items: baseline; font-size: 1.5rem; line-height: 1; }
.logo-cep { color: var(--teal); font-weight: 600; letter-spacing: -0.02em; }
.logo-money { color: var(--navy); font-weight: 800; letter-spacing: -0.04em; }
.logo-money-light { color: var(--white); }

/* ═══════ NAVBAR ═══════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(160deg, rgba(240,253,250,0.95), rgba(236,254,255,0.95));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.5);
  height: 72px;
  transition: all 0.3s var(--ease);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-toggle { display: none; }
.nav-toggle-label {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; cursor: pointer; z-index: 110;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle:checked ~ .nav-toggle-label .hamburger { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label .hamburger::after { top: 0; transform: rotate(-45deg); }

.nav-links {
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white);
  display: flex; flex-direction: column; align-items: stretch;
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(-120%);
  transition: transform 0.3s var(--ease);
  border-radius: 0 0 16px 16px;
}
.nav-toggle:checked ~ .nav-links { transform: translateY(0); }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--gray-600);
  padding: 0.875rem 1rem; border-radius: 10px;
  transition: all 0.2s var(--ease);
}
.nav-links a:hover { color: var(--teal); background: var(--teal-50); }
.nav-links .btn { margin-top: 0.75rem; }

/* ═══════ HERO ═══════ */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfeff 30%, #e0f2fe 60%, #f0f9ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(8,145,178,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,116,144,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 3rem; position: relative; z-index: 1;
}
.hero-content { text-align: center; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 100px; padding: 0.4rem 1rem 0.4rem 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--gray-600);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.08; letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #06b6d4 50%, var(--teal-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-500); line-height: 1.7; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

.hero-visual { max-width: 300px; width: 100%; position: relative; }
.phone-frame {
  width: 100%; height: 580px;
  background: var(--navy); border-radius: 40px;
  padding: 10px; position: relative;
  border: 3px solid var(--navy);
  box-shadow: 0 25px 60px rgba(15,23,42,0.25);
  overflow: hidden;
}
.phone-screen {
  width: 100%; background: var(--gray-50);
  border-radius: 28px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  max-height: 100%;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px; background: var(--navy);
  border-radius: 0 0 20px 20px; z-index: 2;
}
.phone-statusbar {
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: row; flex-direction: row;
  -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-align-items: center; align-items: center;
  padding: 8px 16px 4px; font-size: 11px; font-weight: 600;
  color: var(--navy); flex-shrink: 0; position: relative; z-index: 1;
  height: 28px;
}
.phone-statusbar-icons {
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: row; flex-direction: row;
  -webkit-align-items: center; align-items: center;
  gap: 4px; color: var(--navy);
}
.phone-statusbar-icons svg {
  display: inline-block; vertical-align: middle;
}
.phone-urlbar {
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: row; flex-direction: row;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  gap: 6px;
  margin: 2px 10px 4px; padding: 5px 12px;
  background: var(--white); border-radius: 8px;
  font-size: 11px; font-weight: 500; color: var(--navy);
  border: 1px solid var(--gray-200); flex-shrink: 0;
  height: 28px;
}
.phone-urlbar svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.phone-screenshot {
  width: 100%; flex: 1; object-fit: cover; object-position: top;
  display: block; min-height: 0;
}

/* ═══════ STATS BAR ═══════ */
.stats-bar {
  padding: 3rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.2;
}
.stat-number .teal { color: var(--teal); }
.stat-label {
  font-size: 0.85rem; color: var(--gray-400);
  font-weight: 500; margin-top: 0.25rem;
}

/* ═══════ FEATURES ═══════ */
.features { padding: 5rem 0; background: var(--gray-50); }
.section-eyebrow {
  font-size: 0.8rem; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.1em;
  text-align: center; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--navy);
  text-align: center; margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-500);
  text-align: center; margin-bottom: 3.5rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal-light), #cffafe);
  border-radius: 14px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem; color: var(--gray-500); line-height: 1.65;
}

/* ═══════ HOW IT WORKS ═══════ */
.how-it-works { padding: 5rem 0; background: var(--white); }
.steps {
  display: flex; flex-direction: column;
  align-items: center; gap: 0; max-width: 800px; margin: 0 auto;
}
.step { text-align: center; max-width: 280px; padding: 1.25rem 0; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white); font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(8,145,178,0.25);
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--gray-500); }
.step-connector {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, var(--teal), var(--gray-200));
  opacity: 0.4;
}

/* ═══════ BUSINESS ═══════ */
.business { padding: 5rem 0; background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.business::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,145,178,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.business-inner {
  display: flex; flex-direction: column; gap: 3rem;
  align-items: center; position: relative; z-index: 1;
}
.business-content { max-width: 520px; }
.business-content .section-eyebrow { text-align: left; color: var(--teal); }
.business-content .section-title { text-align: left; color: var(--white); }
.business-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.business-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.business-features li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.8);
}
.business-features li svg { flex-shrink: 0; }
.check-circle {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(8,145,178,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.business-visual { max-width: 420px; width: 100%; }
.dashboard-mockup {
  background: var(--navy-800); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.dash-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r { background: #ef4444; }
.dash-dot.y { background: #eab308; }
.dash-dot.g { background: #22c55e; }
.dash-stat-row { display: flex; gap: 10px; margin-bottom: 12px; }
.dash-stat {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px;
}
.dash-stat-label { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 500; }
.dash-stat-value { font-size: 18px; font-weight: 800; color: var(--white); margin-top: 2px; }
.dash-stat-value.teal { color: var(--teal); }
.dash-stat-value.green { color: var(--green); }
.dash-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px; height: 120px;
  position: relative; overflow: hidden;
}
.dash-chart svg { width: 100%; height: 100%; }

/* ═══════ CTA ═══════ */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--teal) 0%, #0e7490 50%, #155e75 100%);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.cta p {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ═══════ FOOTER ═══════ */
.footer { background: #050d1a; color: rgba(255,255,255,0.5); padding: 4rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem; line-height: 1.7; margin-top: 1rem;
  max-width: 300px; color: rgba(255,255,255,0.4);
}
.footer-col h4 {
  color: var(--white); font-size: 0.85rem; font-weight: 700;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: 0.5rem;
  text-align: center; font-size: 0.8rem;
}
.footer-legal { font-size: 0.75rem; opacity: 0.5; }

/* ═══════ RESPONSIVE ═══════ */
@media (min-width: 768px) {
  .nav-toggle-label { display: none; }
  .nav-links {
    position: static; flex-direction: row; align-items: center;
    gap: 0.25rem; padding: 0; box-shadow: none;
    transform: none; background: transparent; border-radius: 0;
  }
  .nav-links .btn { margin-top: 0; }

  .hero-inner { flex-direction: row; text-align: left; }
  .hero-content { text-align: left; flex: 1; }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { flex: 0 0 300px; }

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

  .steps { flex-direction: row; align-items: flex-start; }
  .step-connector {
    width: 60px; height: 2px;
    background: linear-gradient(to right, var(--teal), var(--gray-200));
    margin-top: 28px;
  }

  .business-inner { flex-direction: row; align-items: center; }
  .business-content { flex: 1; }
  .business-visual { flex: 0 0 380px; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .hero { padding: 10rem 0 6rem; min-height: 90vh; display: flex; align-items: center; }
  .hero-visual { flex: 0 0 340px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .step-connector { width: 80px; }
}

@media (min-width: 1280px) {
  .hero-visual { flex: 0 0 380px; }
}
