@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==================== Landing Page Variables ==================== */
:root {
  --landing-text: #ffffff;
  --landing-subtext: rgba(255, 255, 255, 0.85);
  --landing-muted: rgba(255, 255, 255, 0.65);
  --earth-blue-1: #000510;
  --earth-blue-2: #000b1a;
  --earth-blue-3: #001428;
  --earth-cyan: #002d5c;
  --earth-dark: #000000;
  --earth-glow: rgba(0, 45, 92, 0.5);
}

/* ==================== Global Landing Styles ==================== */
/* ==================== Global Landing Styles ==================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  background-color: #050812;
  /* Fallback */
  color: var(--landing-text);
}

spline-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform: scale(1.5) translateY(3%);
}

/* ==================== Earth-like Animated Background ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

/* Rotating sphere effect overlay - REMOVED */
.hero-section::before {
  display: none;
}

/* Glowing particles effect - REMOVED */
.hero-section::after {
  display: none;
}

/* Keyframes removed as they are no longer used */

/* ==================== Hero Content ==================== */
.hero-section .container {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 1.5rem;
  text-shadow:
    0 0 20px rgba(0, 45, 92, 0.6),
    0 0 40px rgba(0, 45, 92, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.02em;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--landing-subtext);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== Navigation ==================== */
.landing-nav {
  background: rgba(5, 8, 18, 0.9) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.landing-nav .nav-link {
  color: var(--landing-subtext) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.landing-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5865F2, #6C63FF);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.landing-nav .nav-link:hover {
  color: var(--landing-text) !important;
  background: rgba(88, 101, 242, 0.15);
}

.landing-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: var(--landing-text);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(88, 101, 242, 0.3);
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

/* ==================== Buttons ==================== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--earth-blue-2) 0%, var(--earth-blue-3) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  box-shadow:
    0 10px 30px rgba(0, 11, 26, 0.6),
    0 0 20px rgba(0, 45, 92, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(0, 11, 26, 0.7),
    0 0 30px rgba(0, 45, 92, 0.6);
  color: white;
}

.btn-primary-custom:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgba(0, 45, 92, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-custom:hover {
  background: rgba(0, 45, 92, 0.3);
  border-color: var(--earth-cyan);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 45, 92, 0.5);
  color: white;
}

.btn-secondary-custom:active {
  transform: translateY(-1px) scale(1.02);
}

/* ==================== Sections ==================== */
.features-section,
.why-section,
.pricing-section,
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: transparent;
}

.features-section {
  background: transparent;
}

.why-section {
  background: transparent;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--landing-text);
  margin-bottom: 3rem;
  text-align: center;
  text-shadow: 0 0 30px rgba(0, 45, 92, 0.5);
  letter-spacing: -0.01em;
}

/* ==================== Feature Rows ==================== */
.feature-row {
  padding: 2rem 0;
}

.feature-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.feature-image-container:hover {
  transform: translateY(-5px);
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.feature-image-container:hover .feature-img {
  transform: scale(1.03);
}

.feature-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--landing-text);
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--landing-subtext);
  margin: 0;
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(88, 101, 242, 0.1);
  color: #5865F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ==================== Why Section ==================== */
.why-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.why-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.why-content strong {
  color: #3b82f6;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ==================== Pricing Section ==================== */
/* ==================== Pricing Section ==================== */
.apple-pricing-card {
  background: rgba(5, 10, 24, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.apple-pricing-card.featured {
  border: 1px solid #F59E0B;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.apple-pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.featured-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: #F59E0B;
  color: #000;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.pricing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.duration {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.price {
  font-size: 4.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.price .currency {
  font-size: 2rem;
  margin-top: 0.5rem;
  color: #fff;
}

.price .amount.free-text {
  font-size: 3.5rem;
}

.savings {
  color: #10B981;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  min-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.features {
  margin-bottom: 2.5rem;
  text-align: right;
  flex: 1;
  padding: 0 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
  font-size: 0.95rem;
}

.feature-item i {
  color: #10B981;
  font-size: 1rem;
  min-width: 20px;
}

.apple-btn-select {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #2563EB;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.apple-btn-select:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white;
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: #000000;
  text-align: center;
  padding: 8rem 0;
}

.cta-section h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(0, 45, 92, 0.6);
}

.cta-section p {
  font-size: 1.35rem;
  color: var(--landing-subtext);
  margin-bottom: 3rem;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section .subtitle {
    font-size: 1.2rem;
  }

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

  .cta-section h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section .subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-section,
  .why-section,
  .pricing-section,
  .cta-section {
    padding: 4rem 0;
  }

  .feature-card {
    padding: 2rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .cta-section {
    padding: 5rem 0;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .price {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== Smooth Scroll Behavior ==================== */
html {
  scroll-behavior: smooth;
}

/* ==================== Selection Styling ==================== */
::selection {
  background: rgba(0, 45, 92, 0.5);
  color: white;
}

::-moz-selection {
  background: rgba(0, 45, 92, 0.5);
  color: white;
}