/* ====== Base Styles ====== */
:root {
  --blue: #1565c0;
  --teal: #0097a7;
  --bg: #f8fafc;
  --border: #e0e7ef;
  --radius: 1.2rem;
  --shadow: 0 2px 12px 0 rgba(21,101,192,0.08);
  --font-main: 'Poppins', 'Roboto', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: #222;
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
}

/* ====== Header & Navbar ====== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--blue);
  letter-spacing: 0.5px;
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-style: normal;

}

.navbar ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
}

.navbar a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 0.3rem 0.8rem;
}

.navbar a:hover,
.navbar a:focus {
  background: var(--teal);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== Hero Section ====== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3.5rem 2rem 2.5rem 2rem;
  background: linear-gradient(90deg, #e3f2fd 60%, #e0f7fa 100%);
  border-radius: var(--radius);
  margin: 2rem auto 1.5rem auto;
  max-width: 1200px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-content {
  flex: 1 1 340px;
  min-width: 290px;
}

.hero-content h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.7rem;
  animation: fly-in 0.8s cubic-bezier(.5,1.6,.5,1) 0.1s both;
}

.hero-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.4rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--teal) 60%, var(--blue) 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,151,167,0.10);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(21,101,192,0.15);
  background: linear-gradient(90deg, var(--blue) 60%, var(--teal) 100%);
}

.hero-banner {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  animation: morph 1.2s cubic-bezier(.68,-0.55,.27,1.55) 0.2s both;
}

.hero-banner img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(21,101,192,0.12);
  object-fit: cover;
}

/* ====== Plans Section ====== */
.plans-section {
  max-width: 1150px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

.plans-section h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1.7rem;
  text-align: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.plan-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.3rem 1.5rem 1.3rem;
  text-align: center;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  animation: bounce-end 0.9s cubic-bezier(.5,1.6,.5,1) both;
}

.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0,151,167,0.13);
  border-color: var(--teal);
}

.plan-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: 1rem;
  background: #e0f7fa;
  display: inline-block;
  padding: 0.6rem;
}

.plan-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.plan-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.1rem;
}

.place-order-btn {
  margin-top: 0.4rem;
  width: 80%;
}

/* ====== How it Works ====== */
.how-it-works {
  background: #f1f8fd;
  border-radius: var(--radius);
  margin: 2.5rem auto;
  max-width: 1100px;
  padding: 2.6rem 2rem 2.1rem 2rem;
  box-shadow: var(--shadow);
}

.how-it-works h2 {
  text-align: center;
  color: var(--teal);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,151,167,0.07);
  padding: 1.7rem 1.2rem 1.3rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.18s;
}

.step .icon {
  margin-bottom: 1rem;
}

.step h3 {
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step p {
  color: #444;
  font-size: 0.98rem;
}

/* ====== Terms & Conditions ====== */
.terms {
  max-width: 800px;
  margin: 2.5rem auto 2rem auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 1.7rem 2rem;
}

.terms h2 {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.terms ul {
  list-style: disc inside;
  color: #444;
  font-size: 1.02rem;
  line-height: 1.7;
  padding-left: 1.1rem;
}

.terms li {
  margin-bottom: 0.7rem;
}

/* ====== FAQ Section ====== */
.faq-section {
  max-width: 900px;
  margin: 2.5rem auto 2rem auto;
  padding: 0 2rem;
}

.faq-section h2 {
  color: var(--teal);
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(21,101,192,0.07);
  transition: border-color 0.18s;
}

.faq-question {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  color: var(--blue);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  transition: background 0.18s;
}

.faq-question:hover,
.faq-item.open .faq-question {
  background: #e0f7fa;
}

.faq-answer {
  padding: 0 1.3rem 1.1rem 1.3rem;
  color: #444;
  font-size: 0.98rem;
  display: none;
  animation: fade-in 0.3s;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ====== Contact Section ====== */
.contact-section {
  max-width: 700px;
  margin: 2.5rem auto 2rem auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 1.7rem 2rem;
  text-align: center;
}

.contact-section h2 {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #e0f7fa;
  color: var(--teal);
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,151,167,0.06);
  transition: background 0.18s, color 0.18s;
}

.contact-btn:hover,
.contact-btn:focus {
  background: var(--teal);
  color: #fff;
}

.contact-btn img {
  vertical-align: middle;
}

/* ====== Modal ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21,101,192,0.14);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal-overlay.active {
  display: flex;
  animation: fade-in 0.2s;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,151,167,0.13);
  padding: 2.2rem 2rem 1.5rem 2rem;
  width: 95%;
  max-width: 370px;
  position: relative;
  animation: fly-in 0.4s cubic-bezier(.5,1.6,.5,1) both;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--blue);
  cursor: pointer;
  transition: color 0.18s;
}

.modal-close:hover {
  color: var(--teal);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.1rem 0 1.3rem 0;
  font-size: 1rem;
  color: #444;
}

.modal-note {
  font-size: 0.96rem;
  color: #888;
  margin-top: 1.1rem;
}

/* ====== Utility Animations ====== */
@keyframes morph {
  0% { border-radius: 40% 60% 60% 40%/60% 40% 60% 40%; }
  100% { border-radius: var(--radius); }
}

@keyframes bounce-end {
  0% { transform: scale(0.85) translateY(50px);}
  60% { transform: scale(1.05) translateY(-10px);}
  100% { transform: scale(1) translateY(0);}
}

@keyframes fly-in {
  0% { opacity: 0; transform: translateY(50px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes fade-in {
  from { opacity: 0;}
  to { opacity: 1;}
}

/* ====== Responsive Design ====== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.2rem 1rem 1.5rem 1rem;
  }
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 1rem 1rem;
  }
  .navbar ul {
    flex-direction: column;
    gap: 1.3rem;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 1rem;
    width: 180px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.3rem 0;
    display: none;
    z-index: 25;
  }
  .navbar.open ul {
    display: flex;
    animation: fade-in 0.2s;
  }
  .hamburger {
    display: flex;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods {
    flex-direction: column;
    gap: 1.1rem;
  }
}

/* ====== Accessibility ====== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
