/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary: #16a34a;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #f8fafc;
  --card-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --accent: #f1f5f9;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --container-max-width: 1280px;
  --section-padding: 4rem 0;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: bold;
  font-size: 1.125rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--foreground);
}

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

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background-color: #15803d;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--accent);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Hero Section */
.hero {
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 100%;
}

.hero-image {
  max-width: 600px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-tagline {
  margin: 1rem 0 2rem 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.text-primary {
  color: var(--primary);
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Speed Test Section */
.speed-test {
  padding: var(--section-padding);
  background-color: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.section-description {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.speed-test-card {
  max-width: 28rem;
  margin: 0 auto;
}

.card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.speed-display {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.speed-label {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: var(--section-padding);
}

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

.service-card {
  text-align: center;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
}

/* Service Highlights Section */
.service-highlights {
  padding: var(--section-padding);
  background-color: var(--muted);
}

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

.highlight-card {
  text-align: center;
  background-color: var(--background);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  text-align: left;
}

.feature-list .feature-item {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* How It Works Section */
.how-it-works {
  padding: var(--section-padding);
  background-color: var(--background);
}

.how-it-works-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.placeholder-content {
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 1rem;
  background-color: var(--muted);
}

.placeholder-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  color: var(--muted-foreground);
}

.placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.placeholder-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.placeholder-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.placeholder-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

/* Detailed Services Section */
.detailed-services {
  padding: var(--section-padding);
}

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

.detailed-service-card {
  text-align: center;
}

.detailed-service-card .feature-list {
  text-align: left;
  margin-top: 1rem;
}

.detailed-service-card .feature-item {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  padding-left: 0.5rem;
}

/* Plans Section */
.plans {
  padding: var(--section-padding);
  background-color: var(--card);
}

.plans-description {
  max-width: 48rem;
  margin: 0 auto;
}

.plans-description .section-description {
  margin-bottom: 1rem;
}

.plans-description .section-description:last-child {
  margin-bottom: 0;
}

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

.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: var(--card-foreground);
}

.card-footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Business Models Section */
.business-models {
  margin-top: 2rem;
  text-align: center;
}

.business-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.business-model-card {
  text-align: left;
}

.business-models-footer {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 1rem;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: var(--muted);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-item {
  text-align: center;
}

.about-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1rem;
}

/* Terms and Conditions */
.terms {
  padding: var(--section-padding);
  background-color: var(--background);
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-item {
  margin-bottom: 2rem;
}

.terms-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.terms-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.terms-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.terms-list li {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

/* Additional Terms Styles */
.terms-intro {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--muted);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

.refund-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.refund-header {
  margin-bottom: 2rem;
}

.refund-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.terms-ordered-list {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.terms-ordered-list li {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.email-link, .phone-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover, .phone-link:hover {
  text-decoration: underline;
}

.contact-info {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--muted);
  border-radius: 0.5rem;
}

.contact-item {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.plan-card {
  position: relative;
}

.popular-plan {
  border-color: var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popular-badge {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-top: 1rem;
}

.price-period {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.checkmark {
  color: var(--primary);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  text-align: center;
}

.contact-content {
  max-width: 4rem;
  margin: 0 auto;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Footer */
.footer {
  background-color: var(--card);
  padding: 3rem 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.footer-links {
  list-style: none;
}

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

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons,
  .contact-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-content,
  .contact-content {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 5rem 1rem 3rem;
  }

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

  .hero-description {
    font-size: 1.125rem;
  }

  .services-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}
