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

:root {
  --bg-hero: #5a6a8a;
  --bg-dark: #1b2340;
  --bg-mid: #8090b0;
  --bg-light: #f0f2f8;
  --bg-white: #ffffff;
  --text-dark: #1b2340;
  --text-mid: #444466;
  --text-light: rgba(255,255,255,0.85);
  --pink: #d020d0;
  --pink-hover: #b010b0;
  --blue-icon: #4488ff;
  --purple-icon: #9944ee;
  --green-icon: #22bb55;
  --orange-icon: #ff9900;
  --yellow-icon: #ffbb00;
  --nav-height: 90px;
}

body {
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TOPBAR ---- */
.topbar {
  background: #13152e;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- HEADER / NAV ---- */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a0c1f;
  border-bottom: 1px solid rgba(208,32,208,0.18);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header-wrap.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,0.55);
  border-bottom-color: rgba(208,32,208,0.35);
}

.navbar {
  background: transparent;
  height: var(--nav-height);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 60px;
}

.nav-left {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-left a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-left a:hover {
  color: white;
  border-bottom-color: rgba(255,255,255,0.4);
}

.nav-left a.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  height: 76px;
  width: auto;
  padding: 6px 0;
  filter: brightness(1.1);
}

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

.nav-cart {
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(14, 17, 38, 0.98);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  max-height: 300px;
  padding: 16px 30px 24px;
}

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--pink); }

/* ---- BUTTONS ---- */
.btn-pink {
  display: inline-block;
  background: var(--pink);
  color: white;
  padding: 16px 44px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-transform: uppercase;
}

.btn-pink:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 32, 208, 0.35);
}

/* ---- SECTION ICONS ---- */
.section-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin: 0 auto 24px;
}
.section-icon.blue { background: var(--blue-icon); }
.section-icon.yellow { background: var(--yellow-icon); }
.section-icon.purple { background: var(--purple-icon); }

/* ---- DUAL CURRENCY ---- */
.price-eur {
  font-size: 0.6em;
  font-weight: 600;
  color: #888;
  letter-spacing: 0;
}
.price-rate-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---- EMAIL SIGNUP ---- */
.signup-section {
  background: linear-gradient(135deg, #3a4060 0%, #1a2040 100%);
  padding: 140px 40px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
  z-index: 8;
}

.signup-box {
  background: white;
  border-radius: 12px;
  padding: 60px 80px;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.signup-box h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 36px;
}

.signup-form {
  display: flex;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  padding: 16px 24px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
  color: #888;
  transition: border-color 0.2s;
}

.signup-form input:focus {
  border-color: var(--pink);
  color: var(--text-dark);
}

.signup-form .btn-pink {
  border-radius: 0 6px 6px 0;
  padding: 16px 40px;
  font-size: 16px;
}

/* ---- FOOTER SOCIAL ---- */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  color: white;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--pink);
  transform: translateY(-2px);
}
.footer-social svg { display: block; }

/* ---- FOOTER ---- */
.footer {
  background: linear-gradient(135deg, #3a4060 0%, #1a2040 100%);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px 48px;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--pink);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s, box-shadow 0.2s;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(208,32,208,0.4);
}

.scroll-top.visible { opacity: 1; }
.scroll-top:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(208,32,208,0.5); }

/* ---- CART DRAWER ---- */
.cart-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.cart-drawer.open { display: block; }

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  animation: drawerFadeIn 0.3s ease;
}
@keyframes drawerFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  animation: drawerSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes drawerSlideIn { to { transform: translateX(0); } }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #0a0c1f;
  flex-shrink: 0;
}
.cart-drawer-title {
  font-size: 16px;
  font-weight: 900;
  color: white;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cart-drawer-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s;
  font-family: inherit;
}
.cart-drawer-close:hover { color: white; }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-drawer-items::-webkit-scrollbar { width: 4px; }
.cart-drawer-items::-webkit-scrollbar-track { background: #f5f5f5; }
.cart-drawer-items::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.cart-drawer-empty {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 700;
}

.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
.cart-drawer-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 6px;
}
.cart-drawer-item-info { flex: 1; min-width: 0; }
.cart-drawer-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.cart-drawer-item-name span { font-weight: 600; color: var(--text-mid); }
.cart-drawer-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 8px;
}
.cart-drawer-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.cart-drawer-qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: #f5f5f5;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.15s;
}
.cart-drawer-qty button:hover { background: #e5e5e5; }
.cart-drawer-qty span {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  line-height: 28px;
}
.cart-drawer-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
  font-family: inherit;
}
.cart-drawer-remove:hover { color: var(--pink); background: #fff0ff; }

.cart-drawer-footer {
  padding: 18px 24px 24px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 900;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
}
.cart-drawer-btn-secondary {
  display: block;
  text-align: center;
  padding: 13px;
  border: 2px solid var(--text-dark);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}
.cart-drawer-btn-secondary:hover { background: var(--text-dark); color: white; }
.cart-drawer-btn-primary {
  display: block !important;
  text-align: center;
  padding: 14px !important;
  font-size: 14px !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-left { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 24px 40px; }
  .signup-box { padding: 40px 24px; }
  .signup-form { flex-direction: column; }
  .signup-form input { border-right: 1px solid #ddd; border-bottom: none; border-radius: 6px 6px 0 0; }
  .signup-form .btn-pink { border-radius: 0 0 6px 6px; }
  .topbar { font-size: 11px; padding: 6px 12px; letter-spacing: 0.4px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-left { display: none; }
  /* Logo left, icons right on mobile */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .nav-logo img { height: 52px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .signup-box h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .cart-drawer-panel { width: 100vw; }
}
