@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --primary: #0a2342;
  --primary-light: #1a3a5c;
  --accent: #e8b86d;
  --accent-light: #f5d49a;
  --surface: #f7f8fc;
  --white: #ffffff;
  --text-dark: #0a1628;
  --text-muted: #6b7a99;
  --border: #e2e8f0;
  --success: #22c55e;
  --danger: #ef4444;
  --card-shadow: 0 4px 24px rgba(10,35,66,0.08);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── NAVBAR ─────────────────────────────────────── */
.navbar-axis {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10,35,66,0.06);
}

.navbar-brand .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.navbar-brand .logo-text span {
  color: var(--accent);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-dark) !important;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  border-radius: 6px;
}

.nav-link:hover { color: var(--primary) !important; background: var(--surface); }

.btn-nav-login {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-login:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-nav-open {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ── HERO ────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0f3460 60%, #1a4a7a 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,184,109,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,184,109,0.15);
  border: 1px solid rgba(232,184,109,0.3);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,184,109,0.35);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Hero Card Mock */
.hero-card-mockup {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transition: var(--transition);
}

.hero-card-mockup:hover {
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
}

.card-chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #c9943a 100%);
  border-radius: 6px;
  margin-bottom: 2rem;
}

.card-number {
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.card-holder {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.card-name {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.card-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* ── STATS ───────────────────────────────────────── */
.stats-section {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

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

.stat-divider {
  width: 1px;
  background: var(--border);
  height: 60px;
}

/* ── FEATURES ────────────────────────────────────── */
.features-section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(10,35,66,0.08), rgba(10,35,66,0.04));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.4rem;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── OFFERS ──────────────────────────────────────── */
.offers-section {
  background: var(--primary);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.offers-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=1600&q=80') center/cover no-repeat;
  opacity: 0.05;
}

.offer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}

.offer-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232,184,109,0.4);
  transform: translateY(-4px);
}

.offer-card.featured {
  border-color: var(--accent);
  background: rgba(232,184,109,0.08);
}

.offer-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.offer-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.offer-price sup { font-size: 1rem; }
.offer-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.5); }

.offer-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.offer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.offer-features li {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-features li i { color: var(--accent); font-size: 0.8rem; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials-section {
  padding: 6rem 0;
  background: var(--white);
}

.testimonial-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

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

.testimonial-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 1rem; }

/* ── PHOTO SECTION ───────────────────────────────── */
.photo-section {
  padding: 6rem 0;
}

.photo-grid img {
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  transition: var(--transition);
}

.photo-grid img:hover { transform: scale(1.02); }

.photo-main { height: 400px; }
.photo-sm { height: 190px; }

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #c9943a 100%);
  padding: 5rem 0;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
}

.cta-text {
  color: rgba(10,35,66,0.7);
  font-size: 1.05rem;
  max-width: 500px;
}

.btn-cta {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,35,66,0.25);
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--primary);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}

footer .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}

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

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 1rem;
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
  margin-right: 6px;
}

.social-icons a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── AUTH PAGES ──────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, #0f3460 100%);
  display: flex;
  align-items: center;
}

.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
}

.btn-primary-axis {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
  width: 100%;
  transition: var(--transition);
}

.btn-primary-axis:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.divider-text {
  position: relative;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.divider-text::before, .divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}

.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

/* ── DASHBOARD ───────────────────────────────────── */
.dashboard-sidebar {
  background: var(--primary);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1.5rem;
  z-index: 100;
}

.sidebar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.sidebar-logo span { color: var(--accent); }

.sidebar-nav { list-style: none; padding: 0; }

.sidebar-nav li { margin-bottom: 4px; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.sidebar-nav a.active { border-left: 3px solid var(--accent); }

.sidebar-nav a i { width: 20px; font-size: 1rem; }

.sidebar-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 1rem 14px 0.5rem;
}

.dashboard-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--surface);
}

.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-greeting {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.dashboard-content { padding: 2rem; }

.balance-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4a7a 100%);
  border-radius: 20px;
  padding: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.balance-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.balance-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.balance-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0.25rem 0 0.75rem;
}

.balance-iban {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

.quick-action {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.quick-action:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.quick-action i {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.quick-action span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.widget-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.widget-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.transaction-item:last-child { border-bottom: none; }

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.transaction-name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.transaction-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.transaction-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: auto;
}

.transaction-amount.credit { color: var(--success); }
.transaction-amount.debit { color: var(--danger); }

.virtual-card {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8e 100%);
  border-radius: 16px;
  padding: 1.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.virtual-card::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.card-mini-chip {
  width: 30px;
  height: 22px;
  background: linear-gradient(135deg, var(--accent), #c9943a);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.card-mini-number {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ── VIREMENT ─────────────────────────────────────── */
.virement-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  max-width: 600px;
}

.step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 18px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step:last-child::after { display: none; }

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.step.active .step-circle {
  background: var(--primary);
  color: var(--white);
}

.step.done .step-circle {
  background: var(--success);
  color: var(--white);
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.step.active .step-label { color: var(--primary); font-weight: 600; }

.alert-axis {
  border-radius: 10px;
  border: none;
  font-size: 0.88rem;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991px) {
  .dashboard-sidebar { width: 220px; }
  .dashboard-main { margin-left: 220px; }
}

/* ── TABLET ──────────────────────────────────────── */
@media (max-width: 768px) {
  .dashboard-sidebar { display: none; }
  .dashboard-main { margin-left: 0; }
  .hero-title { font-size: 2rem; }
  .stat-divider { display: none; }
  .hero-card-mockup { transform: none; margin-top: 2rem; }
}

/* ── MOBILE (Android / ≤576px) ───────────────────── */
/* ── MOBILE ANDROID (≤576px) ─────────────────────── */
@media (max-width: 576px) {

  /* Global spacing reset */
  .container { padding-left: 12px; padding-right: 12px; }
  .row { --bs-gutter-x: 0.6rem; }

  /* ---- NAVBAR ---- */
  .navbar-axis { padding: 0.35rem 0; }
  .navbar-brand { margin-right: 0.5rem; }
  .navbar-collapse .d-flex {
    flex-direction: column;
    gap: 0.35rem !important;
    margin-top: 0.6rem;
  }
  .btn-nav-login,
  .btn-nav-open {
    width: 100%;
    text-align: center;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem;
  }

  /* ---- HERO ---- */
  .hero-section { min-height: auto; padding: 1.5rem 0 1.25rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.65rem; margin-bottom: 0.6rem; }
  .hero-title { font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.5rem; }
  .hero-subtitle { font-size: 0.78rem; line-height: 1.5; margin-bottom: 0.75rem; }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }
  .d-flex.flex-wrap.gap-3.fade-in-up.delay-3 { gap: 0.4rem !important; }
  .hero-card-mockup {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 12px;
  }
  .card-logo { font-size: 0.75rem; margin-bottom: 0.5rem; }
  .card-chip { width: 28px; height: 20px; margin-bottom: 0.6rem; }
  .card-number { font-size: 0.75rem; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
  .card-holder { font-size: 0.6rem; }
  .card-name { font-size: 0.75rem; }
  /* Mini-stats under hero */
  .d-flex.gap-4.mt-4,
  .d-flex.flex-wrap.gap-3.gap-sm-4.mt-4 { gap: 0.5rem !important; margin-top: 0.75rem !important; }
  .d-flex.gap-4.mt-4 > div > div:first-child { font-size: 0.95rem !important; }
  .d-flex.gap-4.mt-4 > div > div:last-child  { font-size: 0.67rem; }

  /* ---- STATS SECTION ---- */
  .stats-section { padding: 0.85rem 0; }
  .stat-item { padding: 0.4rem 0.25rem; }
  .stat-number { font-size: 1.15rem; }
  .stat-label { font-size: 0.65rem; }

  /* ---- SECTION COMMON ---- */
  .section-label { font-size: 0.7rem; margin-bottom: 0.25rem; }
  .section-title { font-size: 1.1rem; margin-bottom: 0.4rem; }
  .section-subtitle { font-size: 0.78rem; }

  /* ---- FEATURES ---- */
  .features-section { padding: 1.5rem 0; }
  .features-section .row.mb-5 { margin-bottom: 1rem !important; }
  .feature-card { padding: 0.85rem; border-radius: 12px; }
  .feature-icon { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.6rem; }
  .feature-title { font-size: 0.85rem; margin-bottom: 0.3rem; }
  .feature-text { font-size: 0.75rem; line-height: 1.45; }

  /* ---- PHOTO GRID ---- */
  .photo-section { padding: 1rem 0; }
  .photo-section .photo-main { border-radius: 10px; }
  .photo-sm { border-radius: 10px; }

  /* ---- OFFERS ---- */
  .offers-section { padding: 1.5rem 0; }
  .offer-card { padding: 1rem; border-radius: 14px; }
  .offer-name { font-size: 1rem; }
  .offer-desc { font-size: 0.72rem; }
  .offer-price { font-size: 1.7rem; margin: 0.3rem 0; }
  .offer-price sup { font-size: 0.8rem; }
  .offer-price span { font-size: 0.72rem; }
  .offer-features { margin-bottom: 0.75rem !important; }
  .offer-features li { font-size: 0.72rem; padding: 0.15rem 0; }
  .offer-badge { font-size: 0.65rem; padding: 0.2rem 0.5rem; margin-bottom: 0.5rem; }

  /* ---- TESTIMONIALS ---- */
  .testimonials-section { padding: 1.5rem 0; }
  .testimonials-section .mb-5 { margin-bottom: 1rem !important; }
  .testimonial-card { padding: 0.85rem; border-radius: 12px; }
  .stars { font-size: 0.7rem; margin-bottom: 0.4rem; }
  .testimonial-text { font-size: 0.72rem; line-height: 1.45; margin-bottom: 0.6rem; }
  .testimonial-avatar img { width: 30px; height: 30px; }
  .testimonial-name { font-size: 0.78rem; }
  .testimonial-role { font-size: 0.65rem; }

  /* ---- CTA ---- */
  .cta-section { padding: 1.25rem 0; }
  .cta-title { font-size: 1.1rem; margin-bottom: 0.3rem; }
  .cta-text { font-size: 0.75rem; margin-top: 0.25rem !important; }
  .btn-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
  }
  .btn-cta + .btn-cta { margin-left: 0 !important; }

  /* ---- FOOTER ---- */
  footer { padding: 1.25rem 0 0.75rem; }
  footer .row.g-5 { --bs-gutter-y: 0.75rem; }
  .footer-desc { font-size: 0.72rem; margin-top: 0.4rem; }
  .social-icons { margin-top: 0.5rem !important; }
  .social-icons a { font-size: 0.85rem; margin-right: 0.5rem; }
  .footer-title { font-size: 0.75rem; margin-bottom: 0.4rem; }
  .footer-links li { margin-bottom: 0.15rem; }
  .footer-links a { font-size: 0.7rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.65rem;
    gap: 0.25rem !important;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

}
