/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --dark: #1d1d1f;
  --dark-2: #2b2b2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

img#header-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-text::first-letter {
  color: var(--primary);
}

nav#nav-bar ul {
  display: flex;
  gap: 30px;
}

nav#nav-bar a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

nav#nav-bar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

nav#nav-bar a:hover {
  color: var(--primary);
}

nav#nav-bar a:hover::after {
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1d1d1f 0%, #2b2b2e 50%, #3a3a3d 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Subscribe Section ===== */
.subscribe-section {
  padding: 80px 0;
  background: var(--light);
}

.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subscribe-form h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.form-subtitle {
  color: var(--gray);
  margin-bottom: 30px;
}

input#email {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  margin-bottom: 20px;
  transition: var(--transition);
  outline: none;
}

input#email:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

input#submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

input#submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

/* ===== Video Section ===== */
.video-section {
  padding: 80px 0;
  background: var(--white);
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.video-wrapper video::part(controls) {
  background: var(--dark);
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
  background: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.about-text p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Products Section ===== */
.products-section {
  padding: 80px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.product-info > p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.product-features {
  margin-bottom: 20px;
}

.product-features li {
  padding: 6px 0;
  color: var(--gray);
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Packages Section ===== */
.packages-section {
  padding: 80px 0;
  background: var(--light);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.package-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--white) 0%, #fff5f5 100%);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.package-header {
  text-align: center;
  margin-bottom: 30px;
}

.package-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.package-features {
  flex: 1;
  margin-bottom: 30px;
}

.package-features li {
  padding: 10px 0;
  color: var(--gray);
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 25px;
}

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

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.package-card .btn {
  width: 100%;
}

/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.inline-link {
  color: var(--primary);
  font-weight: 500;
}

.inline-link:hover {
  text-decoration: underline;
}

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  header#header {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }

  nav#nav-bar ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav#nav-bar a {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 150px;
  }

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

  .hero p {
    font-size: 1rem;
  }

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

  .products-grid,
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .subscribe-form {
    padding: 30px 20px;
  }

  .subscribe-form h2 {
    font-size: 1.6rem;
  }

  .about-stats {
    flex-direction: column;
  }

  .stat {
    min-width: auto;
  }
}

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

  .logo-text {
    font-size: 1.1rem;
  }

  nav#nav-bar ul {
    gap: 12px;
  }

  nav#nav-bar a {
    font-size: 0.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
