/* ==========================================================================
   Passport Studio - Fixed Header & Hero Mobile Mockup UI System
   Features:
   - Fixed navbar logo & link overlapping bug
   - Clean spacious navbar with proper flex gaps & text clipping protection
   - Phone Frame integrated right into the primary Home Hero Section (no scrolling needed)
   - Nauki Campus quick action cards integrated alongside phone frame in Hero
   - 100% Light Theme System, Zero Gradient Colors
   ========================================================================== */

:root {
  --primary: #1E3A8A;         /* Navy Primary */
  --primary-hover: #0F172A;   /* Dark Navy Hover */
  --primary-light: #EFF6FF;   /* Soft Ice Blue Accent */
  --accent-blue: #2563EB;
  --accent-emerald: #059669;  /* Emerald Green Success */
  --accent-emerald-bg: #ECFDF5;

  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;

  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;

  --border-light: #E2E8F0;
  --border-strong: #CBD5E1;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-phone: 0 20px 48px rgba(15, 23, 42, 0.16);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Banner */
.top-announcement-banner {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 10px 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.banner-pill-link {
  background-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: var(--ease-smooth);
}

.banner-pill-link:hover {
  background-color: #FFFFFF;
  color: var(--primary);
}

/* Fixed Header Navbar Layout - Solves Text Overlap */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.badge-pill-free {
  background-color: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid #A7F3D0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-main);
  margin: 4px 0;
  border-radius: 2px;
}

/* Home Hero Section with Phone Frame & Naukri Cards Integrated */
.hero-section-main {
  padding: 56px 0 80px;
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-left-content {
  text-align: left;
}

.hero-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.chip-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-headline-highlight {
  color: var(--accent-emerald);
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Naukri Campus Quick Action Cards in Hero */
.hero-quick-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-action-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-bounce);
}

.hero-action-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.action-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  flex-grow: 1;
}

.action-arrow {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}

/* Trust Badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-label strong {
  color: var(--text-main);
}

/* Right Side: Smartphone App Mockup Frame IN HOME SECTION */
.hero-phone-container {
  display: flex;
  justify-content: center;
}

.smartphone-frame {
  width: 300px;
  height: 580px;
  background-color: #0F172A;
  border: 10px solid #0F172A;
  border-radius: 44px;
  box-shadow: var(--shadow-phone);
  position: relative;
  overflow: hidden;
}

.smartphone-notch {
  width: 110px;
  height: 22px;
  background-color: #0F172A;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  padding: 32px 14px 16px;
  display: flex;
  flex-direction: column;
}

.smartphone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.smartphone-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.smartphone-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.smartphone-logo span {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-main);
}

.smartphone-free-tag {
  background-color: var(--accent-emerald);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.smartphone-scan-area {
  background-color: #F8FAFC;
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.smartphone-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  animation: smartphoneLaser 3s infinite ease-in-out;
}

@keyframes smartphoneLaser {
  0% { top: 5%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

.smartphone-photo-stage {
  width: 115px;
  height: 145px;
  margin: 0 auto;
  position: relative;
  border-radius: 8px;
  border: 2px solid var(--accent-emerald);
  background-color: #FFFFFF;
  overflow: hidden;
}

.smartphone-head {
  width: 44px;
  height: 44px;
  background-color: #FDBA74;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 33px;
}

.smartphone-body {
  width: 74px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 30px 30px 0 0;
  position: absolute;
  bottom: 0;
  left: 18px;
}

.smartphone-status-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-top: 8px;
}

.smartphone-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.smartphone-tool-btn {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
}

.smartphone-export-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: auto;
}

/* Studio Sections */
.features-section, .how-section, .countries-section, .faq-section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background-color: #EFF6FF;
  color: var(--primary);
  border: 1px solid #BFDBFE;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background-color: #EFF6FF;
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}

.free-pill {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #065F46;
  background-color: var(--accent-emerald-bg);
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* Steps */
.how-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  transition: var(--ease-smooth);
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Countries */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.country-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--ease-bounce);
}

.country-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.flag {
  font-size: 2rem;
  line-height: 1;
}

.country-h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.country-p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
  transition: transform 0.3s var(--ease-bounce);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

.faq-item.active .faq-content {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* Bottom CTA Banner */
.bottom-cta-banner {
  padding: 64px 0 80px;
}

.bottom-cta-card {
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.bottom-cta-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: #FFFFFF;
  padding: 4px;
  margin-bottom: 16px;
}

.bottom-cta-card h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.bottom-cta-card p {
  font-size: 1.1rem;
  color: #DBEAFE;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 64px 0 32px;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFFFFF;
}

.footer-text {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 16px;
  max-width: 380px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #64748B;
}

.footer-h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease-smooth);
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Legal Content Page Styling */
.legal-header {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 56px 0;
  text-align: center;
}

.legal-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.legal-header p {
  color: #94A3B8;
}

.legal-card {
  max-width: 860px;
  margin: 48px auto;
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-block {
  margin-bottom: 32px;
}

.legal-block h2 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-light);
}

.legal-block p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.legal-block ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.legal-block li {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 6px;
}

/* Reveal Observer */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s var(--ease-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.3rem;
  }
  .hero-quick-cards-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-card);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
