@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Raleway:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

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

:root {
  --blue: #0057D9;
  --blue-dark: #0044b0;
  --blue-deeper: #003080;
  --pink: #E91E63;
  --pink-dark: #c2185b;
  --mint: #B2F5EA;
  --yellow: #FFD700;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --light-text: #94a3b8;
  --success: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,87,217,0.08);
  --shadow-lg: 0 12px 48px rgba(0,87,217,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: 'Open Sans', sans-serif; }

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--blue); letter-spacing: -0.5px;
}
.nav-logo span { color: var(--pink); }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu a {
  padding: 0.5rem 0.85rem; font-size: 0.88rem; font-weight: 600;
  color: var(--muted); border-radius: 8px; transition: all 0.18s;
  font-family: 'Poppins', sans-serif;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); background: #eff6ff; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-login-btn {
  padding: 0.5rem 1.1rem; font-size: 0.85rem; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: 100px;
  background: white; color: var(--text); transition: all 0.18s;
  font-family: 'Poppins', sans-serif;
}
.nav-login-btn:hover { border-color: var(--blue); color: var(--blue); }
.nav-book-btn {
  padding: 0.55rem 1.3rem; font-size: 0.88rem; font-weight: 700;
  background: var(--pink); color: white; border: none;
  border-radius: 100px; transition: all 0.2s;
  font-family: 'Raleway', sans-serif; letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(233,30,99,0.3);
}
.nav-book-btn:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(233,30,99,0.4); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 999; padding: 2rem 1.5rem;
  flex-direction: column; gap: 0.5rem; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.9rem 1rem; font-size: 1rem; font-weight: 600;
  color: var(--text); border-radius: 10px; transition: all 0.18s;
  font-family: 'Poppins', sans-serif;
}
.mobile-menu a:hover { background: var(--light-gray); color: var(--blue); }
.mobile-menu .mobile-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: none; border-radius: 100px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: 'Raleway', sans-serif; letter-spacing: 0.02em; }
.btn-primary { background: var(--pink); color: white; box-shadow: 0 4px 18px rgba(233,30,99,0.35); }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233,30,99,0.45); }
.btn-blue { background: var(--blue); color: white; box-shadow: 0 4px 18px rgba(0,87,217,0.3); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,87,217,0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: white; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-md { padding: 0.75rem 1.75rem; font-size: 0.95rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.05rem 2.6rem; font-size: 1.1rem; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }
.container { max-width: 1120px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pink); margin-bottom: 0.75rem; font-family: 'Raleway', sans-serif; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 580px; line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--blue); color: white;
  padding: 0.85rem 2rem;
  display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; font-family: 'Poppins', sans-serif; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }

/* ===== CARDS ===== */
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all 0.2s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-2px); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; font-family: 'Poppins', sans-serif; }
.card-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== FORMS ===== */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--muted); font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; color: var(--text); background: white;
  transition: border-color 0.2s; font-family: 'Open Sans', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,217,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

/* ===== FOOTER ===== */
.footer { background: #0a1929; color: rgba(255,255,255,0.75); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 0.75rem; font-size: 1.4rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer-brand .tagline { font-style: italic; color: var(--mint); font-size: 0.82rem; margin-top: 0.5rem; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700; color: white; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-contact-item { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-contact-item strong { color: white; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 100px; font-family: 'Poppins', sans-serif; }
.badge-blue { background: #dbeafe; color: var(--blue); }
.badge-pink { background: #fce7f3; color: var(--pink); }
.badge-mint { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef9c3; color: #854d0e; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 100%); color: white; padding: 4rem 2rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* ===== TABS ===== */
.tab-nav { display: flex; gap: 0.5rem; border-bottom: 2px solid var(--border); margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; font-weight: 600; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--muted); cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.18s; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== PORTAL STYLES ===== */
.portal-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--off-white); padding: 2rem 1rem; }
.portal-card { background: white; border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.portal-logo { text-align: center; margin-bottom: 2rem; }
.portal-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; font-family: 'Poppins', sans-serif; }
.portal-sub { font-size: 0.88rem; color: var(--muted); }
.portal-tabs { display: flex; background: var(--light-gray); border-radius: 100px; padding: 4px; gap: 4px; margin-bottom: 2rem; }
.portal-tab { flex: 1; padding: 0.6rem; font-size: 0.85rem; font-weight: 700; background: none; border: none; border-radius: 100px; color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: 'Poppins', sans-serif; }
.portal-tab.active { background: white; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.portal-forgot { font-size: 0.8rem; color: var(--blue); text-align: right; display: block; margin-top: -0.5rem; margin-bottom: 1rem; cursor: pointer; }
.portal-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--muted); font-size: 0.8rem; }
.portal-divider::before, .portal-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.sidebar { background: var(--blue-deeper); color: white; padding: 2rem 0; }
.sidebar-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.7); transition: all 0.18s; font-family: 'Poppins', sans-serif; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.sidebar-section { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); padding: 1.5rem 1.5rem 0.5rem; font-family: 'Raleway', sans-serif; }
.dash-content { padding: 2rem; background: var(--off-white); }
.dash-header { margin-bottom: 2rem; }
.dash-header h2 { font-size: 1.6rem; font-weight: 800; }
.dash-header p { color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: white; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--blue); font-family: 'Poppins', sans-serif; }
.stat-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.pricing-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; transition: all 0.2s; }
.pricing-card.featured { border-color: var(--pink); box-shadow: 0 8px 32px rgba(233,30,99,0.12); }
.pricing-name { font-size: 1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Raleway', sans-serif; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.8rem; font-weight: 900; color: var(--text); font-family: 'Poppins', sans-serif; line-height: 1; margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); vertical-align: middle; }
.pricing-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.pricing-features { flex: 1; margin-bottom: 1.75rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; margin-bottom: 0.6rem; line-height: 1.5; }
.pricing-feature .check { color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 1rem; }
  .nav-menu { display: none; }
  .nav-actions .nav-login-btn { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 1rem; }
}
