* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1020;
  color: #ffffff;
  line-height: 1.6;
}

/* ===== CART ICON ===== */
.header-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aeb5c8;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
}

.header-cart:hover,
.header-cart.active {
    color: #ffffff;
}

.cart-count {
    background: #8b9cff;
    color: #0b1020;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-left: 2px;
}

/* ===== BUTTON CART ===== */
.btn-cart {
    background: linear-gradient(135deg, #8b9cff, #6b7fd9);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 156, 255, 0.4);
}

.btn-cart.added {
    background: #2ecc71;
}

.btn-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== POPUP ===== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-box {
    background: #151c30;
    border: 2px solid #8b9cff;
    border-radius: 16px;
    padding: 30px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popupFade 0.3s ease;
}

.popup-box .popup-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.popup-box h3 {
    color: #2ecc71;
    font-size: 24px;
    margin-bottom: 10px;
}

.popup-box p {
    color: #aeb5c8;
    font-size: 14px;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 16, 32, 0.95);
  border-bottom: 1px solid #252c43;
}

.nav-wrapper {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #aeb5c8;
  font-size: 15px;
  transition: 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  color: #8b9cff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero p {
  color: #aeb5c8;
  font-size: 17px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ===== HERO IMAGE ===== */
.hero-image {
  animation: fadeInUp 0.8s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  display: block;
}

.hero-image img:hover {
  transform: scale(1.02);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e8ecf5 100%);
  color: #0b1020;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #38415d;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #8b9cff;
  background: rgba(139, 156, 255, 0.08);
}

/* ===== PRODUCT CARD BUTTON ===== */
.btn-cart {
  background: linear-gradient(135deg, #8b9cff, #6b7fd9);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 156, 255, 0.4);
}

.btn-cart.added {
  background: #2ecc71;
}

/* ===== HERO CARD ===== */
.hero-card {
  background: linear-gradient(145deg, #171e34, #11172a);
  border: 1px solid #2a3450;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #8b9cff;
  color: #0b1020;
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 25px;
}

.hero-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.hero-card p {
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 9px 0;
  border-bottom: 1px solid #283149;
  color: #c1c7d6;
}

.hero-card li:last-child {
  border-bottom: 0;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}

.section-dark {
  background: #10162a;
  border-top: 1px solid #202941;
  border-bottom: 1px solid #202941;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 15px;
}

.section-heading p {
  color: #aeb5c8;
  font-size: 17px;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #151c30;
  border: 1px solid #283149;
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #465276;
}

.card-number {
  color: #8b9cff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p {
  color: #aeb5c8;
  font-size: 15px;
  margin-bottom: 22px;
}

.card a {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.card h4 {
  color: #8b9cff;
  font-size: 16px;
  margin-top: 15px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  background: #151c30;
  border: 1px solid #283149;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #8b9cff;
}

.product-card .product-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.product-card .price {
  color: #8b9cff;
  font-size: 20px;
  font-weight: 800;
  margin: 10px 0;
}

.product-card p {
  color: #aeb5c8;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 30px;
  border: 1px solid #283149;
  border-radius: 16px;
  background: #151c30;
}

.step > span {
  display: block;
  color: #8b9cff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.step p {
  color: #aeb5c8;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 850px;
}

.faq-item {
  border-bottom: 1px solid #29324a;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.faq-question span {
  color: #8b9cff;
  font-size: 24px;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
}

.faq-answer p {
  color: #aeb5c8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== CTA ===== */
.cta {
  padding: 90px 0;
  text-align: center;
  background: #151c30;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 45px);
  margin-bottom: 15px;
}

.cta p {
  max-width: 650px;
  margin: 0 auto;
  color: #aeb5c8;
}

.cta .btn {
  margin-top: 28px;
}

.cta-button {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button.primary {
  background: linear-gradient(135deg, #ffffff 0%, #e8ecf5 100%);
  color: #0b1020;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.35);
}

/* ===== FORM SUBMIT ===== */
.form-submit-btn {
  padding: 16px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #e8ecf5 100%);
  color: #0b1020;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.form-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(255, 255, 255, 0.3);
}

/* ===== CARD LINK ===== */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b9cff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: #ffffff;
  gap: 12px;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #080c17;
  padding-top: 60px;
  border-top: 1px solid #1a2444;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1a2444;
   align-items: start; 
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-brand {
  font-size: 20px !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-description {
  color: #8992a9;
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #8992a9;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links strong {
  color: #aeb5c8;
  font-weight: 600;
}

.footer-social {
  margin-top: 20px;
}

.footer-social h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26, 36, 68, 0.8);
  border: 1px solid #283149;
  border-radius: 6px;
  color: #aeb5c8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-subscribe {
  margin-top: 20px;
}

.footer-subscribe h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 10px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 300px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  background: #0b1020;
  border: 1px solid #283149;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #8b9cff;
}

.subscribe-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #8b9cff, #6b7fd9);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 156, 255, 0.4);
}

.footer-bottom {
  padding: 25px 0 20px;
  text-align: center;
}

.footer-bottom p {
  color: #6f7890;
  font-size: 13px;
  margin: 4px 0;
  line-height: 1.6;
}

.footer-bottom p:first-child {
  color: #8992a9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0b1020;
    border-bottom: 1px solid #252c43;
    padding: 20px 6%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .main-nav.show {
    display: flex;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-description {
    max-width: 100%;
  }

  .subscribe-form {
    max-width: 100%;
  }

  .social-links {
    gap: 8px;
  }

  .social-link {
    padding: 5px 12px;
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-card {
    padding: 24px;
  }

  .section {
    padding: 65px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .form-submit-btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .cta {
    background: #151c30 !important;
  }
}