/*
  global
    buttons
    section_titles
  header_
    payment_confirmation
  footer_
  media_queries
*/
/* ============================================
                    global
============================================ */
:root {
  --bg: #050816;
  --bg-secondary: #0d1226;
  --card: rgba(16, 24, 48, 0.78);
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: #9da6c0;
  --primary: #6c63ff;
  --primary-soft: rgba(108, 99, 255, 0.15);
  --gradient: linear-gradient(135deg, #6c63ff 0%, #7c4dff 50%, #2ec5ff 100%);
  --shadow: 0 25px 60px rgba(0,0,0,0.35);
  --radius: 24px;
  --container: 1240px;
  --tj_green: #45A29E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(108,99,255,0.15), transparent 28%), var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.blur {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(108,99,255,0.12);
  filter: blur(90px);
  z-index: -1;
}
/* ========== buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 12px 35px rgba(108,99,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
/* ========== section_titles ========== */
section {
  padding: 80px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  /* justify-content: space-between; */
  gap: 10px;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
  /* line-height: 1.1; */
  /* max-width: 700px; */
}

.section-title p {
  color: var(--muted);
  line-height: 1.5;
  /* max-width: 500px; */
}
/* ============================================
                    header_
============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 22, 0.72);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* .logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(108,99,255,0.4);
} */
.logo img {
  width: 44px;
  height: 44px;
}
.logo span {
  font-family: 'Sora', sans-serif;
  color: var(--tj_green);
  letter-spacing: -0.03em;
  font-weight: 600;
  font-size: 25px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  transition: 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
/* ========== payment_confirmation ========== */
.paymentMsg {
  position: fixed;
  z-index: 1000;
  top: 100px;
  width: 100%;
  display: none;
  justify-content: center;
}
.paymentMsg > div {
  display: none;
  padding: 13px 30px;
  border-radius: 30px;
}
.paymentMsg > div.success {
  background-color: rgba(0, 100, 0);
}
.paymentMsg > div.failure {
  background-color: rgba(150, 0, 0);
}
.paymentMsg span {}
.paymentMsg .check {
  margin-left: 15px;
  display: inline-block;
  transform: rotate(45deg);
  height: 18px;
  width: 9px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
}

.paymentMsg .close {
  display: inline;
  font-size: 20px;
  margin-left: 5px;
  opacity: 0.9;
}
/* ============================================
                    footer_
============================================ */
footer {
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

footer .container {
  display: none;
}

footer .cont {
  text-align: center;
}
footer .cont span {
  color: darkgrey;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 999px;
}
/* ============================================
                 media_queries
============================================ */
@media (max-width: 1100px) {
  .hero-grid,
  .product-page-layout,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: relative;
    top: 0;
  }

  .categories,
  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(5,8,22,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding-top: 70px;
  }

  .categories,
  .features-grid,
  .products-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .footer-content,
  .pricing-box,
  .hero-actions,
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    padding: 50px 28px;
  }

  .gallery-main {
    height: 320px;
  }
}
