/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0f19;
  color: #eaeaf0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   UTILITIES
========================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #4f7cff, #6dd5ff);
  color: #fff;
}

.btn.primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn.ghost {
  border: 1px solid #2a2f45;
  color: #eaeaf0;
}

.btn.ghost:hover {
  background: #1a1f36;
}

.btn.lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* =========================
   PRELOADER
========================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #2a2f45;
  border-top-color: #6dd5ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   HEADER
========================= */
.header {
  width: 100%;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #1a1f36;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #bfc5ff;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #0b0f19;
  display: none;
  flex-direction: column;
  padding: 25px;
  gap: 18px;
  z-index: 999;
  border-top: 1px solid #1a1f36;
}

.mobile-menu a {
  font-size: 1rem;
  color: #eaeaf0;
}

.mobile-menu .primary-link {
  background: linear-gradient(135deg, #4f7cff, #6dd5ff);
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  color: #fff;
}

/* show mobile menu */
.mobile-menu.show {
  display: flex;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at top, #1a2250, transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.15;
  color: #fff;
}

.hero-text h1 span {
  color: #6dd5ff;
}

.hero-text p {
  margin: 22px 0 32px;
  color: #b8c0ff;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: #9aa4ff;
}

.trust i {
  color: #6dd5ff;
  margin-right: 6px;
}

/* =========================
   FEATURES
========================= */
.features {
  padding: 90px 0;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 55px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #13182a;
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.feature-card i {
  font-size: 1.9rem;
  color: #6dd5ff;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* =========================
   STATS
========================= */
.stats {
  background: #0f1430;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stats h3 {
  font-size: 2.3rem;
  color: #6dd5ff;
  margin-bottom: 6px;
}

/* =========================
   CTA
========================= */
.cta {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, #1c2a6d, #16204d);
}

.cta h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  color: #cdd3ff;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0b0f19;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer p {
  color: #9aa4ff;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #9aa4ff;
  font-size: 0.95rem;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 0.85rem;
  color: #777;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .nav-links,
  .auth-buttons {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust {
    justify-content: center;
  }
  
  /* ===========================
   ACCOUNTS PAGE STYLES
=========================== */

/* Hero Section */
.hero-accounts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    background: #f9fafb;
    gap: 40px;
}
.hero-accounts .hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 20px;
}
.hero-accounts .hero-text p {
    font-size: 1.1rem;
    color: #536072;
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-accounts .hero-actions .btn {
    margin-right: 15px;
}

/* Accounts Cards Grid */
.accounts-cards {
    padding: 80px 0;
    background: #fff;
}
.accounts-cards h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0a2540;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.account-card {
    background: #f6f8fa;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.account-card i {
    font-size: 2.5rem;
    color: #1d4ed8;
    margin-bottom: 20px;
}
.account-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0a2540;
}
.account-card p {
    font-size: 1rem;
    color: #536072;
    margin-bottom: 20px;
}
.account-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.account-card ul li {
    margin-bottom: 10px;
    color: #0a2540;
}
.account-card .btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}
.account-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Popular Card Highlight */
.account-card.popular {
    border: 2px solid #1d4ed8;
    background: #e0e7ff;
}

/* Security & Support Grid */
.security-support {
    background: #f9fafb;
    padding: 80px 0;
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.support-grid i {
    font-size: 2rem;
    color: #1d4ed8;
    margin-bottom: 15px;
}
.support-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0a2540;
}
.support-grid p {
    font-size: 0.95rem;
    color: #536072;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #1d4ed8;
    color: #fff;
    text-align: center;
}
.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cta .btn {
    background: #fff;
    color: #1d4ed8;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
}
.cta .btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
}

/* Footer Refinements */
.footer {
    background: #0a2540;
    color: #fff;
    padding: 60px 0 20px 0;
}
.footer a {
    color: #fff;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer a:hover {
    color: #1d4ed8;
}
.footer h4 {
    margin-bottom: 15px;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-accounts {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-accounts .hero-text {
        margin-bottom: 40px;
    }
}

}

.accounts-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #1b1f3b, #050714);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  border-radius: 18px;
  transition: all .3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: #5f8cff;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.type-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 32px;
  border-radius: 22px;
  position: relative;
}

.type-card.highlight {
  border: 1px solid #5f8cff;
  box-shadow: 0 0 40px rgba(95,140,255,.25);
}


.steps-timeline {
  display: grid;
  gap: 32px;
  border-left: 2px solid rgba(255,255,255,0.1);
  padding-left: 40px;
}

.step-item span {
  background: #5f8cff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
}

.container {
  max-width: 1200px;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.hero-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  box-shadow:
    0 40px 120px rgba(90,120,255,0.35);
  transform: translateY(-20px);
}

/* ================================
   MOBILE FIXES – HOME PAGE
================================ */
@media (max-width: 768px) {

  /* GENERAL */
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* HEADER */
  .header-inner {
    height: 64px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-links,
  .auth-buttons {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 1.3rem;
  }

  /* HERO */
  .hero {
    padding: 80px 0 60px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust {
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  /* FEATURES */
  .features {
    padding: 80px 0;
  }

  .features h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    text-align: center;
    padding: 28px 22px;
  }

  /* STATS */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }

  .stats-grid h3 {
    font-size: 1.4rem;
  }

  /* CTA */
  .cta {
    padding: 80px 0;
    text-align: center;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta .btn {
    width: 100%;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

