@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap");

:root {
  --bg-color: #0a0a0c;
  --card-bg: #16161a;
  --primary-color: #8b5cf6;
  --primary-hover: #7c3aed;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --border-color: #2e2e36;
  --glass-bg: rgba(22, 22, 26, 0.7);
  --glass-border: rgba(139, 92, 246, 0.2);
  --selection-bg: rgba(139, 92, 246, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-btn {
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15) 0%,
    transparent 70%
  );
  top: 20%;
  left: 10%;
  z-index: -1;
  filter: blur(60px);
  animation: floating 10s infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 70%
  );
  bottom: 20%;
  right: 10%;
  z-index: -1;
  filter: blur(50px);
  animation: floating 8s infinite alternate-reverse;
}

@keyframes floating {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-40px) scale(1.1);
  }
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-content h1 span {
  background: linear-gradient(to right, var(--primary-color), #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.secondary-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.secondary-btn:hover {
  background: var(--border-color);
}

/* Pricing Section */
.pricing {
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--bg-color), #0f0f12);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.calculator-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.calculator-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.calc-group {
  margin-bottom: 2.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calc-label span {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border-color);
  border-radius: 10px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.days-toggle {
  display: flex;
  background: var(--bg-color);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.day-opt {
  flex: 1;
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.day-opt.active {
  background: var(--primary-color);
  color: white;
}

.summary-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.summary-footer .plan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li i {
    color: var(--primary-color);
}

#subscribe-btn {
    text-align: center;
}


.price-display {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.price-display h3 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.price-amount {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.price-amount.bump {
  transform: scale(1.05);
  color: var(--primary-color);
}

.price-amount span {
  font-weight: 800;
}

.addons-list {
  margin-bottom: 2rem;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-custom.checked {
  background: var(--primary-color);
}

.checkbox-custom i {
  color: white;
  font-size: 0.7rem;
  display: none;
}

.checkbox-custom.checked i {
  display: block;
}

/* Animations Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-color);
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.hiw-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hiw-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.hiw-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hiw-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hiw-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.hiw-step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 0;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 968px) {
  .pricing-grid, .hiw-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .calculator-card, .hiw-card {
      padding: 2rem;
  }

  .price-amount {
      font-size: 3rem;
  }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Can be replaced with a hamburger menu if needed, but for static site simplicity keep it clean */
    }
    
    .day-opt {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}
