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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: #888;
}

a:hover {
  color: #0056b3;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand i {
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.nav-links a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ccc !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  padding-right: 1.5rem;
}

/* Hero Section */
.hero {
  background-color: #000;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero h1,
.hero h2,
.hero .intro {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero .intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.section h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

/* About Section */
.about .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #000;
}

.feature i {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.5rem;
  display: block;
}

.feature strong {
  display: block;
  margin-bottom: 0.25rem;
}

.about-content {
  padding: 2rem;
  background-color: #000;
  color: #fff;
  border-radius: 8px;
}

.about-content h4 {
  color: #fff;
}

.about-content ul.casual-list {
  list-style: none;
  margin: 1rem 0;
}

.about-content ul.casual-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #444;
}

.about-content ul.casual-list li:last-child {
  border-bottom: none;
}

.about-content .outro {
  font-style: italic;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Savings Section */
.savings {
  background-color: #f9f9f9;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.savings ul.benefits-list {
  list-style: none;
  margin: 1rem 0;
}

.savings ul.benefits-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.savings .note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  border-left: 3px solid #999;
  padding-left: 0.75rem;
}

/* Plans/Coverage Section */
.coverage {
  background-color: #000;
  color: #fff;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.coverage h3 {
  color: #fff;
  text-align: center;
}

.coverage p {
  text-align: center;
}

.plan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.plan {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.plan h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.plan .price {
  font-weight: bold;
  font-size: 1.2rem;
}

.plan .plan-type {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.plan ul {
  list-style: disc;
  margin: 0 0 0.75rem 1.5rem;
  padding-left: 0.25rem;
}

.plan ul li {
  padding: 0.3rem 0;
  color: #333;
}

.register-btn {
  display: block;
  width: 100%;
  background-color: #000;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 1rem;
  text-align: center;
}

.register-btn:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.register-text {
  background-color: #1a1a1a;
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem auto 0 auto;
  text-align: center;
  border: 2px solid #fff;
}

.register-text p {
  margin: 0;
}

/* FAQ Section */
.faq {
  background-color: #f5f5f5;
}

.accordion {
  max-width: 700px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid #000;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: #000;
  color: #fff;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #333;
}

.accordion-header i {
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.accordion-header.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9f9f9;
}

.accordion-content p {
  padding: 1rem 1.25rem;
  margin: 0;
  color: #333;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

/* Terms Section */
.terms {
  background-color: #fff;
}

.terms h4 {
  font-size: 1.1rem;
}

.terms-list {
  list-style: none;
  margin: 1rem 0;
}

.terms-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.terms-list li:last-child {
  border-bottom: none;
}

.billing-info {
  background-color: #fff;
  padding: 1rem;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid #000;
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  background-color: #000;
  color: #fff;
  padding: 3rem 2rem;
}

.contact h3 {
  color: #fff;
  text-align: center;
}

.contact-list {
  list-style: none;
  max-width: 500px;
  margin: 1.5rem auto;
}

.contact-list li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-list a {
  color: #007bff;
  text-decoration: none;
}

.contact-list a:visited {
  color: #ea8080;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact .trust-section,
.contact .no-office,
.contact .final-note {
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 8px;
}

.contact h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  z-index: 1001;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}

.back-to-top:focus {
  outline: 3px solid #ccc;
}

/* Footer */
.footer {
  background-color: #000;
  color: #888;
  text-align: center;
  padding: 1.5rem;
}

/* Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background-color: #000;
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #fff;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-modal {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: #ccc;
}

.popup-modal h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.popup-modal p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.popup-btn {
  display: inline-block;
  background-color: #fff;
  color: #000 !important;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.popup-btn:hover {
  background-color: #ccc;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .hamburger {
    display: block;
    order: 1;
    z-index: 1001;
  }

  .nav-brand {
    order: 0;
  }

  .nav-links {
    display: none;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: #000;
    padding: 0 1rem;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
  }

  .nav-links.open {
    display: flex;
    visibility: visible;
    max-height: 500px;
    opacity: 1;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    text-align: center;
  }

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

  .hero h2 {
    font-size: 1.2rem;
  }

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

  .section {
    padding: 2rem 1rem;
  }

  .section h3 {
    font-size: 1.5rem;
  }

  .plan-container {
    grid-template-columns: 1fr;
  }

  .accordion-header {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .accordion-content p {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .contact-list li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-brand {
    font-size: 1.25rem;
  }

  .section {
    padding: 1.5rem 1rem;
  }
}