/* ===== GoPassy Website Styles ===== */
/* Colors from the iOS app: Navy #002B6B, Teal #2BFFFF */

:root {
  --navy: #002B6B;
  --navy-light: #003d99;
  --teal: #2BFFFF;
  --teal-muted: #1ad4d4;
  --teal-bg: #e6ffff;
  --white: #ffffff;
  --off-white: #f8fafb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --red: #ef4444;
  --green: #22c55e;
  --shadow: 0 4px 24px rgba(0, 43, 107, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 43, 107, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--teal-muted);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 43, 107, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--teal) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--navy);
  color: var(--teal);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal-muted), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 43, 107, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 43, 107, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--navy);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.phone-screen img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #FFFFFF;
}

.phone-screen .mock-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px;
  width: 90%;
  text-align: center;
}

.phone-screen .mock-card h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.phone-screen .mock-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.mock-qr {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--teal-bg);
  color: var(--teal-muted);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-muted));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--off-white), var(--white));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--teal);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.pricing-features li .check {
  color: var(--green);
  font-weight: 700;
}

.pricing-features li .cross {
  color: var(--gray-400);
  font-weight: 700;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--teal-muted);
}

.faq-chevron {
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--gray-400);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== OUR STORY SECTION ===== */
.story {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--navy) 0%, #001a42 100%);
  color: var(--white);
}

.story .section-tag {
  background: rgba(43, 255, 255, 0.15);
  color: var(--teal);
}

.story .section-header h2 {
  color: var(--white);
}

.story .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.story-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--teal);
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--teal);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links svg {
  fill: rgba(255, 255, 255, 0.5);
  transition: fill 0.2s;
}

.footer-bottom-links a:hover svg {
  fill: var(--teal);
}

/* ===== LEGAL PAGES (Privacy / Terms) ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page ul {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page ul li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--teal-muted);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
