* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-icon {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #334155;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-link {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
}

.signup-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.signup-btn:hover {
  background: #2563eb;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 100%);
  padding: 6rem 0 8rem; /* increased padding to make section longer */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23cbd5e1" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%23cbd5e1" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%23cbd5e1" opacity="0.4"/></svg>')
    repeat;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 5.5rem; /* increased from 4.5rem to match original size */
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem; /* increased margin for better spacing */
  line-height: 1.1; /* tighter line height for better appearance */
  max-width: 900px; /* added max-width for better text wrapping */
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cta-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Investment Plans Section */
.investment-plans {
  padding: 4rem 0 2rem;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Buy Plans Section */
.buy-plans {
  padding: 2rem 0 4rem;
  background: white;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.plan-card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.plan-card.premium {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  color: #64748b;
  font-size: 0.9rem;
}

.plan-price {
  margin-bottom: 2rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
}

.period {
  color: #64748b;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.plan-features li {
  color: #64748b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.plan-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.plan-btn.primary {
  background: #3b82f6;
  color: white;
}

.plan-btn.primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.plan-btn.secondary {
  background: #e2e8f0;
  color: #64748b;
}

.plan-btn.secondary:hover {
  background: #cbd5e1;
  color: #475569;
}

/* About Section Styles */
.about {
  padding: 4rem 0;
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.about-description {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats {
  color: #64748b;
  font-size: 0.95rem;
  font-style: italic;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section Styles */
.testimonials {
  padding: 4rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  color: #1e293b;
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-content {
  margin-bottom: 0;
}

.testimonial-text {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Devices Section Styles */
.devices {
  padding: 4rem 0;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  text-align: center;
}

.devices-content {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.devices-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.devices-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.devices-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.device-icon {
  width: 60px;
  height: 60px;
  opacity: 0.9;
  transition: transform 0.3s;
  filter: brightness(0) invert(1);
}

.device-icon:hover {
  transform: scale(1.1);
}

.devices-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;
}

.device-mockup {
  background: #1e293b;
  border-radius: 8px;
  position: absolute;
}

.device-mockup.desktop {
  width: 200px;
  height: 120px;
  z-index: 1;
}

.device-mockup.tablet {
  width: 120px;
  height: 160px;
  right: 20px;
  top: 20px;
  z-index: 2;
}

.device-mockup.mobile {
  width: 60px;
  height: 100px;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.screen {
  background: #3b82f6;
  margin: 8px;
  border-radius: 4px;
  height: calc(100% - 16px);
  opacity: 0.8;
}

/* Newsletter Section Styles */
.newsletter {
  padding: 4rem 0;
  background: #f8fafc;
  text-align: center;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.newsletter-description {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter-btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.newsletter-btn.primary {
  background: #3b82f6;
  color: white;
}

.newsletter-btn.primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.newsletter-btn.secondary {
  background: transparent;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.newsletter-btn.secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Footer Styles */
.footer {
  background: #f3f4f6; /* changed to light gray background as requested */
  color: #1f2937; /* changed to dark gray text for better contrast */
  padding: 3rem 0 2rem; /* reduced padding from 3rem to 1.5rem to make footer smaller */
  border-top: 1px solid #e5e7eb;
  min-height: 120px;
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.footer-tagline {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-heading {
  color: #1f2937;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: left; /* added left alignment for footer section titles */
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-align: left;
}

.footer-links a:hover {
  color: #374151;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #e5e7eb;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.social-link:hover {
  background: #d1d5db;
}

.social-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem; /* increased mobile hero title size */
  }

  .section-title {
    font-size: 2rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-title,
  .devices-title,
  .newsletter-title {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .devices-icons {
    gap: 2rem;
  }

  .device-icon {
    font-size: 2.5rem;
  }

  .newsletter-form {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .newsletter-btn {
    width: auto;
    min-width: 120px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links a {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-title {
    font-size: 2.8rem; /* increased small mobile hero title size */
  }

  .hero-description {
    font-size: 1rem;
  }

  .devices-icons {
    gap: 1.5rem;
  }

  .device-icon {
    font-size: 2rem;
  }
}