/* ============================================
   DATA CHITKA � STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f4f8fc;
  color: #1e293b;
  line-height: 1.6;
}

/* -- LAYOUT -- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* -- HEADER -- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 118, 210, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.15);
}

.header-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}

nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

nav .nav-cta {
  background: #fff;
  color: #1976d2;
  font-weight: 600;
  margin-left: 0.4rem;
}

nav .nav-cta:hover {
  background: #e3f0ff;
  color: #1565c0;
}

/* -- HERO -- */
.hero {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%);
  width: 85%;
  margin: 2rem auto 0 auto;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(25, 118, 210, 0.18);
  color: #fff;
  overflow: hidden;
}

.hero-content {
  padding: 4rem 3rem 3.5rem 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  overflow-wrap: break-word;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #1976d2;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
  background: #e3f0ff;
}

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.cta-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* -- STATS BAR -- */
.stats-bar {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.07);
  border-top: 3px solid #1976d2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1976d2;
}

.stat-label {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

/* -- SECTIONS -- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #fff;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1976d2;
  background: #e3f0ff;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.08rem;
  color: #475569;
  max-width: 680px;
  line-height: 1.7;
}

.section-desc strong {
  color: #1976d2;
}

/* -- FEATURES GRID -- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: #f4f8fc;
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  border: 1px solid #e2eaf4;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.12);
  border-color: #1976d2;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.97rem;
  color: #64748b;
  line-height: 1.6;
}

/* -- ROADMAP -- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.roadmap-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 14px rgba(25, 118, 210, 0.07);
  border-left: 5px solid #42a5f5;
  transition: transform 0.2s, box-shadow 0.2s;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.12);
}

.roadmap-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.roadmap-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.roadmap-card p {
  font-size: 0.97rem;
  color: #64748b;
  line-height: 1.6;
}

/* -- CONTACT -- */
.section-contact {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 60%, #42a5f5 100%);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  width: 85%;
  margin: 0 auto 3rem auto;
}

.section-contact .section-label {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.section-contact .section-title {
  color: #fff;
}

.section-contact .section-desc {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 2rem auto;
}

.section-contact .cta-btn {
  font-size: 1.05rem;
}

/* -- FOOTER -- */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2rem 0;
}

.footer-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.footer-copy {
  font-size: 0.88rem;
  color: #64748b;
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
}

.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s;
}

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

/* -- RESPONSIVE -- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }
  .hero-content {
    padding: 2.5rem 1.2rem 2rem 1.2rem;
  }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }
  nav { flex-wrap: wrap; gap: 0.2rem; }
  nav a { font-size: 0.88rem; padding: 0.3rem 0.6rem; }

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

  .section-contact {
    width: 100%;
    border-radius: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav { justify-content: center; flex-wrap: wrap; }

  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.5rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.3rem; }
  .hero p { font-size: 0.9rem; }
  .cta-btn, .cta-btn-outline { font-size: 0.88rem; padding: 0.6rem 1.2rem; }
  .stat-num { font-size: 1.4rem; }
  .brand { font-size: 1.1rem; }
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.announcement-bar strong {
  color: #fff;
  font-weight: 600;
}
.announcement-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

/* ── AUTH NAV ELEMENTS ── */
.nav-login-btn {
  background: #fff;
  color: #1976d2;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  font-family: inherit;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.nav-login-btn:hover {
  background: #e3f0ff;
  transform: translateY(-1px);
}

.user-menu { position: relative; margin-left: 0.5rem; }

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.18s;
}
.user-avatar-btn:hover { background: rgba(255,255,255,0.25); }

.user-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #1976d2;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-chevron { font-size: 0.75rem; opacity: 0.8; }

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  min-width: 200px;
  z-index: 200;
  padding: 0.5rem 0;
  border: 1px solid #e2eaf4;
}
.user-dropdown.open { display: block; }

.user-dropdown-info { padding: 0.8rem 1rem 0.6rem; }
.user-dropdown-name { display: block; font-weight: 600; color: #1e293b; font-size: 0.95rem; }
.user-dropdown-provider { display: block; font-size: 0.8rem; color: #64748b; margin-top: 0.1rem; }

.dropdown-divider { border: none; border-top: 1px solid #e2eaf4; margin: 0.2rem 0; }

.dropdown-item {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-item:hover { background: #f4f8fc; }
.dropdown-logout { color: #dc2626; }
.dropdown-logout:hover { background: #fef2f2; }

/* ── AUTH MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem 2rem 2rem 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  color: #64748b;
  transition: background 0.15s;
}
.modal-close:hover { background: #e2e8f0; }

.modal-tabs {
  display: flex;
  gap: 0.3rem;
  background: #f1f5f9;
  border-radius: 100px;
  padding: 0.25rem;
  margin-bottom: 1.8rem;
}

.modal-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.modal-tab.active {
  background: #fff;
  color: #1976d2;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.35rem;
}
.modal-subtitle {
  font-size: 0.93rem;
  color: #64748b;
  margin-bottom: 1.6rem;
}

.provider-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.provider-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid #e2eaf4;
  background: #fff;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  color: #1e293b;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.provider-btn:hover {
  background: #f4f8fc;
  border-color: #1976d2;
  transform: translateY(-1px);
}
.provider-icon { width: 20px; height: 20px; flex-shrink: 0; }

.modal-note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
}
.modal-note a { color: #1976d2; text-decoration: none; font-weight: 500; }
.modal-note a:hover { text-decoration: underline; }

.modal-terms {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}
.modal-terms a { color: #1976d2; text-decoration: none; }

/* Divider between social and email */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
  color: #cbd5e1;
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2eaf4;
}
.auth-divider span { color: #94a3b8; white-space: nowrap; }

/* Email provider button */
.provider-email {
  color: #1e293b;
  border-color: #cbd5e1;
  background: #f8fafc;
}
.provider-email:hover {
  background: #f1f5f9;
  border-color: #1976d2;
}

@media (max-width: 480px) {
  .modal-box { margin: 1rem; padding: 1.5rem 1.2rem; border-radius: 18px; }
  .modal-title { font-size: 1.2rem; }
}
