/* CSS Variables for theming */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --secondary: #404040;
  --primary: #D52B1E;
  --text-muted: #a3a3a3;
  --border: #333333;
  --hero-bg: rgb(29, 28, 28);
  --footer-bg: #000000;
  --footer-border: #333333;
  --primary-hover: #b91c1c;
  --card-bg: #232323;
  --card-hover: #2a2a2a;
  --input-bg: #181818;
  --primary-foreground: #ffffff;
}

[data-theme="light"] {
  --background: #ffffff;
  --foreground: #000000;
  --secondary: #f5f5f5;
  --primary: #D52B1E;
  --text-muted: #666666;
  --border: #e5e5e5;
  --hero-bg: #f8f8f8;
  --footer-bg: #f5f5f5;
  --footer-border: #e5e5e5;
  --primary-hover: #b91c1c;
  --card-bg: #f0f0f0;
  --card-hover: #e8e8e8;
  --input-bg: #ffffff;
  --primary-foreground: #ffffff;
}

/* Navigation Styles */
.signup-btn {
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Main Layout */
.main {
  /* padding-top: 80px; */
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

/* Hero Section */
section.internet-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  background-color: rgb(29, 28, 28) !important;
  background: rgb(29, 28, 28) !important;
  padding: 4rem 2rem !important;
  transition: background-color 0.3s ease !important;
}

[data-theme="light"] section.internet-hero {
  background-color: #f8f8f8 !important;
  background: #f8f8f8 !important;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-icon svg {
  color: var(--foreground);
  transition: color 0.3s ease;
}

.internet-hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Plans Section */
.plans-section {
  padding: 4rem 2rem;
  background: var(--background);
}

.plans-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Plan Cards */
.plan-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--card-hover);
}

.plan-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  background: var(--card-bg);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Plan Header */
.plan-header {
  margin-bottom: 2rem;
}

.plan-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

/* Speed Display */
.plan-speed {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.speed {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.unit {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-price {
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
}

.period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.plan-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Plan Features */
.plan-features {
  flex: 1;
  margin-bottom: 2rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.plan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  color: var(--foreground);
}

.plan-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--primary);
  font-weight: 600;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Plan Actions */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.primary-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.primary-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.secondary-button {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.secondary-button:hover {
  background: var(--card-hover);
  border-color: var(--primary);
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  background: var(--hero-bg);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 3rem;
}

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

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  color: white;
}

.feature-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .internet-hero h1 {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .plan-card.featured {
    transform: none;
  }
  
  .plan-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .features-section h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .speed {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .internet-hero h1 {
    font-size: 2rem;
  }
  
  .plans-section {
    padding: 2rem 1rem;
  }
  
  .plan-card {
    padding: 2rem 1.5rem;
  }
  
  .speed {
    font-size: 2rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .features-section {
    padding: 3rem 1rem;
  }
}
