/* =====================================================
   Tradigo.store — Premium Light + Blue Theme v2
   ===================================================== */

:root {
  --primary: #1a56db;
  --primary-dark: #123a9c;
  --primary-light: #eaf1ff;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0b1220;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --border: #e6ebf3;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 86, 219, 0.10);
  --shadow-lg: 0 24px 60px rgba(26, 86, 219, 0.18);
  --shadow-glow: 0 0 0 1px rgba(26,86,219,.06), 0 20px 50px rgba(26,86,219,.14);
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ---------- ANNOUNCEMENT BAR ---------- */
.announce-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent-2));
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  letter-spacing: 0.2px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  display: inline-block;
}

.logo span.muted { color: var(--text); }

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

.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.2s;
}

.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn):hover::after { width: 100%; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #1e293b; transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background:
    radial-gradient(circle at 30% 30%, rgba(26, 86, 219, 0.14), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.12), transparent 55%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.stats-grid > div {
  flex: 1 1 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* ---------- SECTION HEAD ---------- */
.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
  border-color: rgba(26,86,219,0.18);
}

.card-body { padding: 30px; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- GRID ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  flex: 1 1 260px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 22px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark) 60%, var(--accent-2));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%);
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 30px;
  font-size: 16px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}
.cta-banner .btn-primary:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--surface);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.auth-box {
  max-width: 420px;
  margin: 60px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.auth-box h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.auth-box .subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

/* ---------- ALERTS ---------- */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-success { background: #ecfdf3; color: var(--success); border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* ---------- FOOTER ---------- */
.footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 70px 0 28px;
  margin-top: 0;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid > div:first-child { flex: 2 1 260px; }
.footer-col { flex: 1 1 140px; }

.footer .brand {
  font-weight: 800;
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block !important;
  color: #94a3b8;
  margin-bottom: 10px;
  transition: color 0.2s;
  font-size: 13.5px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
}

/* ---------- MOBILE MENU TOGGLE ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 16px; }

  .menu-toggle { display: flex; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 90px 28px 28px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 200;
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-links a:not(.btn)::after { display: none; }

  .nav-links .btn { width: 100%; margin-top: 16px; justify-content: center; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,18,32,0.5);
    z-index: 150;
  }

  .nav-overlay.open { display: block; }

  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 26px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid > div, .step { flex: 1 1 100%; }
  .footer-grid > div, .footer-col { flex: 1 1 100%; }
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 50px 0; }
  .announce-bar { font-size: 11.5px; padding: 8px 12px; }
}
