/* ========================================
   GoldenAge Compass - Main Styles
   ======================================== */

/* Color Palette */
:root {
  --primary-blue: #1a4d7a;
  --deep-blue: #0f2942;
  --charcoal: #2d3436;
  --gold: #d4af37;
  --teal: #2d8a8c;
  --light-gray: #f5f6fa;
  --medium-gray: #95a5a6;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;

  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* High Contrast Mode */
body.high-contrast {
  --primary-blue: #0066cc;
  --deep-blue: #003366;
  --charcoal: #000000;
  --gold: #ffcc00;
  --teal: #00cccc;
  --light-gray: #ffffff;
  --medium-gray: #666666;
  --text-dark: #000000;
  --text-light: #333333;
}

body.high-contrast {
  background: var(--white) !important;
  color: var(--charcoal) !important;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-gray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Lato", sans-serif;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

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

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-deal,
.btn-chat,
.btn-full {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-deal {
  background: var(--gold);
  color: var(--deep-blue);
  font-weight: 700;
}

.btn-deal:hover {
  background: #c09825;
  transform: scale(1.05);
}

.btn-full {
  width: 100%;
}

/* High Contrast Toggle */
.contrast-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contrast-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand h1 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin: 0;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.btn-signin {
  background: var(--primary-blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
}

.btn-signin:hover {
  background: var(--deep-blue);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-split {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.hero-side {
  flex: 1;
  overflow: hidden;
}

.hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
  background: rgba(15, 41, 66, 0.85);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Deal Ticker */
.deal-ticker {
  background: var(--gold);
  color: var(--deep-blue);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-weight: 600;
  font-size: 1rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Featured Deals */
.featured-deals {
  padding: 5rem 0;
  background: var(--light-gray);
}

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: all;
}

.deal-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.deal-card.pulse {
  animation: pulse 2s infinite;
}

.deal-badge {
  background: var(--gold);
  color: var(--deep-blue);
  padding: 8px 16px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
}

.deal-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.deal-content {
  padding: 2rem;
}

.deal-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.deal-price {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--medium-gray);
  margin-right: 10px;
}

.new-price {
  color: var(--teal);
  font-weight: 700;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.carousel-btn.prev {
  left: -60px;
}

.carousel-btn.next {
  right: -60px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-gray);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-blue);
  transform: scale(1.3);
}

/* Resource Finder */
.resource-finder {
  padding: 5rem 0;
  background: var(--white);
}

.finder-tool {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.finder-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.finder-results {
  min-height: 300px;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-placeholder {
  text-align: center;
  color: var(--medium-gray);
}

.results-placeholder svg {
  margin: 0 auto 1rem;
}

/* Safety Scan */
.safety-scan {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
}

.scan-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.scan-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.scan-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.scan-visual img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: var(--deep-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Auth Page */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
}

.auth-box {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.auth-title {
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.auth-form input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.auth-form small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.forgot-link {
  font-size: 0.9rem;
}

.auth-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--medium-gray);
}

.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}

.auth-divider span {
  background: var(--white);
  padding: 0 1rem;
  color: var(--text-light);
}

.btn-social {
  width: 100%;
  padding: 12px;
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-social:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow);
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
}

/* Added Sign-In Popup Styles */
.signin-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.popup-content {
  position: relative;
  z-index: 2001;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  animation: modalFadeIn 0.4s ease;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--medium-gray);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
}

.popup-title {
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.popup-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.popup-form .form-group {
  margin-bottom: 1.5rem;
}

.popup-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.popup-form input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light-gray);
}

.popup-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.popup-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.popup-footer a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* About Content */
.about-content {
  padding: 5rem 0;
}

.content-section {
  margin-bottom: 4rem;
}

.content-section h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.content-section p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.features-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item,
.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.feature-item:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.8;
  color: var(--text-light);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
  font-size: 1.2rem;
}

.cta-section {
  text-align: center;
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 12px;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-method:hover {
  box-shadow: var(--shadow);
}

.method-icon {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.contact-method h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.contact-hours {
  font-size: 0.9rem;
  color: var(--text-light);
}

.btn-chat {
  margin-top: 0.5rem;
  padding: 8px 16px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-chat:hover {
  background: #247072;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
}

.faq-question h3 {
  margin: 0;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

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

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Legal Pages */
.legal-page {
  padding: 3rem 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.legal-section h3 {
  color: var(--teal);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-section li {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.legal-back {
  text-align: center;
  margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .carousel-btn.prev {
    left: -25px;
  }
  .carousel-btn.next {
    right: -25px;
  }

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

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }

  .finder-filters {
    grid-template-columns: 1fr;
  }

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

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

  .page-title {
    font-size: 2rem;
  }

  /* Responsive adjustments for sign-in popup */
  .popup-content {
    padding: 2rem;
  }

  .popup-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .deal-card {
    margin: 0 1rem;
  }

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

  /* Further responsive adjustments for sign-in popup */
  .popup-content {
    padding: 1.5rem;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .popup-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}
