/* ========================================
   Nag & Dag — Minimal Design System
   Black. White. Product.
   ======================================== */

:root {
  --black: #000000;
  --dark: #111111;
  --mid: #888888;
  --light: #e5e5e5;
  --off-white: #fafafa;
  --white: #ffffff;
  --ease: cubic-bezier(0.25, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 1px solid var(--dark);
  outline-offset: 2px;
}

/* ========================================
   Nav
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav-logo span {
  color: var(--mid);
  font-weight: 300;
  margin: 0 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border: 1px solid var(--light);
  border-radius: 4px;
  color: var(--mid);
  transition: all 0.2s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.cart-btn {
  position: relative;
  color: var(--dark);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s var(--ease);
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Hero — full split
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  overflow: hidden;
  margin-top: 64px;
}

.hero-half {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.hero-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-nag { background: var(--black); }
.hero-dag { background: var(--off-white); }
.hero-dag img { object-position: center center; }

.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.hero-center h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.4);
  line-height: 1;
}

.hero-center h1 span {
  font-weight: 300;
  opacity: 0.7;
  margin: 0 4px;
}

.hero-center p {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-top: 12px;
  font-weight: 300;
  text-shadow: 0 1px 20px rgba(0,0,0,0.6), 0 0 60px rgba(0,0,0,0.3);
}

/* ========================================
   Product Sections
   ======================================== */
.product-section {
  padding: 0;
}

.product-section-dark {
  background: var(--black);
  color: var(--white);
}

.product-section-light {
  background: var(--off-white);
  color: var(--dark);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: center;
}

.product-layout-reverse {
  direction: rtl;
}

.product-layout-reverse > * {
  direction: ltr;
}

.product-photo {
  height: 100%;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-section-light .product-photo img {
  object-position: center center;
}

.product-text {
  padding: 80px 64px;
  max-width: 520px;
}

.product-layout-reverse .product-text {
  margin-left: auto;
}

.product-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
  font-weight: 500;
}

.product-text h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 1.1rem;
  opacity: 0.6;
  margin-bottom: 32px;
  font-weight: 300;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.product-specs {
  margin-bottom: 40px;
}

.product-specs li {
  padding: 6px 0;
  font-size: 0.85rem;
  opacity: 0.5;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.product-action {
  display: flex;
  align-items: center;
  gap: 24px;
}

.product-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid;
  transition: all 0.2s var(--ease);
}

.product-section-dark .btn {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.product-section-dark .btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.product-section-light .btn {
  border-color: var(--dark);
  color: var(--dark);
}

.product-section-light .btn:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-full {
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity 0.2s var(--ease);
}

.btn-full:hover {
  opacity: 0.8;
}

.btn-added {
  background: var(--dark) !important;
  color: var(--white) !important;
  border-color: var(--dark) !important;
  pointer-events: none;
}

/* ========================================
   Bundle
   ======================================== */
.bundle-section {
  padding: 80px 24px;
  background: var(--black);
  text-align: center;
}

.bundle-inner {
  max-width: 400px;
  margin: 0 auto;
}

.bundle-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  font-weight: 500;
}

.bundle-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  font-weight: 300;
}

.bundle-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.bundle-old {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: rgba(255,255,255,0.3);
}

.bundle-new {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.bundle-section .btn,
.bundle-section .add-bundle {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  padding: 12px 40px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.3);
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  font-family: inherit;
}

.bundle-section .btn:hover,
.bundle-section .add-bundle:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

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

.testimonial p {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 16px;
}

.testimonial span {
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.02em;
}

/* ========================================
   Info Strip
   ======================================== */
.info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-item {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
}

.info-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--light);
}

/* ========================================
   FAQ
   ======================================== */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.faq-list {
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  opacity: 0.3;
  transition: transform 0.3s var(--ease);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 40px 0 24px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--dark);
}

.footer-brand span {
  color: var(--mid);
  margin: 0 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--mid);
  transition: color 0.2s var(--ease);
}

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

.footer-legal {
  font-size: 0.7rem;
  color: var(--light);
  text-align: center;
}

/* ========================================
   Cart Drawer
   ======================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.cart-drawer.active { transform: translateX(0); }

.cart-header,
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-header h3,
.checkout-header h3 {
  font-size: 1rem;
}

.close-btn {
  font-size: 1.3rem;
  color: var(--mid);
  padding: 4px;
  transition: color 0.2s var(--ease);
}

.close-btn:hover { color: var(--dark); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  text-align: center;
  color: var(--light);
  padding: 40px 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.9rem;
}

.cart-item-icon.nag-icon {
  background: var(--black);
  color: var(--white);
}

.cart-item-icon.dag-icon {
  background: var(--off-white);
  border: 1px solid var(--light);
  color: var(--dark);
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.cart-item-info .item-price {
  font-size: 0.8rem;
  color: var(--mid);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--mid);
  transition: all 0.2s var(--ease);
}

.cart-qty button:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.cart-qty span {
  font-weight: 500;
  min-width: 16px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cart-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #2a9d2a;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ========================================
   Checkout Modal
   ======================================== */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: 440px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  z-index: 301;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

#checkoutOverlay { z-index: 300; }

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light);
  transition: background 0.2s var(--ease);
}

.dot.active { background: var(--black); }

.dot-line {
  width: 20px;
  height: 1px;
  background: var(--light);
}

.checkout-form { padding: 24px; }

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--mid);
  letter-spacing: 0.02em;
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--light);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease);
  background: var(--white);
  border-radius: 0;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--dark);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-summary {
  background: var(--off-white);
  padding: 16px;
  margin-bottom: 20px;
}

.order-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--mid);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.9rem;
  padding-top: 8px;
  border-top: 1px solid var(--light);
  margin-top: 4px;
}

.back-btn {
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 20px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  border: none;
  background: none;
  transition: color 0.2s var(--ease);
}

.back-btn:hover { color: var(--dark); }

.secure-text {
  text-align: center;
  font-size: 0.7rem;
  color: var(--light);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ========================================
   Age Gate
   ======================================== */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease);
}

.age-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-modal {
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.age-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.age-brand span {
  opacity: 0.4;
  margin: 0 2px;
}

.age-modal p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}

.age-modal .btn {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.age-modal .btn:hover {
  opacity: 0.9;
}

.age-exit {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  transition: color 0.2s var(--ease);
}

.age-exit:hover { color: rgba(255,255,255,0.6); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .hero {
    height: 100dvh;
    height: 100vh;
    flex-direction: column;
    margin-top: 0;
    padding-top: 64px;
  }

  .hero-half {
    flex: 1;
    min-height: 0;
  }

  .hero-center {
    top: calc(50% + 32px);
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    width: auto;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-center h1 {
    font-size: 2rem;
    text-shadow: none;
  }

  .hero-center p {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    text-shadow: none;
    margin-top: 6px;
  }

  .product-layout,
  .product-layout-reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    direction: ltr;
  }

  .product-photo {
    height: 75vh;
    width: 100%;
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .product-text {
    padding: 48px 24px;
    max-width: none;
  }

  .product-layout-reverse .product-text {
    margin-left: 0;
  }

  .product-text h2 {
    font-size: 2.5rem;
  }

  .product-tagline {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .product-description {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .product-action {
    gap: 16px;
  }

  .product-price {
    font-size: 1.6rem;
  }

  .bundle-section {
    padding: 60px 24px;
  }

  .bundle-new {
    font-size: 2rem;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial p {
    font-size: 0.9rem;
  }

  .info-strip {
    flex-direction: column;
    gap: 10px;
    padding: 32px 24px;
    text-align: center;
  }

  .info-dot { display: none; }

  .faq-section {
    padding: 60px 0;
  }

  .faq-question {
    font-size: 0.85rem;
    padding: 16px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .checkout-modal {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    top: 0;
    left: 0;
    transform: translateY(100%);
    border-radius: 0;
  }

  .checkout-modal.active {
    transform: translateY(0);
  }
}

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .product-photo {
    height: 60vh;
  }

  .product-text {
    padding: 36px 20px;
  }

  .product-text h2 {
    font-size: 2.2rem;
  }

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