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

body {
  font-family: 'Londrina Sketch', cursive;
  background-color: #0b0c10;
  color: white;
  min-height: 100vh;
}

.btn-primary {
  background: linear-gradient(90deg, #9d4edd 0%, #4361ee 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 35px;
  color: ghostwhite;
  font-family: 'Londrina Sketch', cursive;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 10;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.6);
}

.app {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.grid-wrapper {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 40px;
  margin: 0 auto;
  max-width: 950px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.col-left,
.col-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Base Layout Ends */


/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1651 / 640;
  height: auto;
  overflow: hidden;
}

.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/landingPage/fullpage.png');
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 10% 8%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent, transparent);
  z-index: 10;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-family: 'Londrina Sketch', cursive;
  font-size: 4.5rem;
  color: #5DA9E9;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-family: 'Londrina Sketch', cursive;
  font-size: 2.2rem;
  color: #FFD700;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  margin-top: -5px;
}

.hero-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

/* Neon Card */
.neon-card {
  position: relative;
  height: 650px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.neon-card-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.neon-brackets {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 30px;
  right: 30px;
  z-index: 5;
  pointer-events: none;
}

.bracket-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  border-left: 1px solid #00f2fe;
  border-top: 1px solid #00f2fe;
  border-bottom: 1px solid #00f2fe;
  box-shadow: -2px 0 5px rgba(0, 242, 254, 0.4), inset 2px 0 5px rgba(0, 242, 254, 0.4);
}

.bracket-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  border-right: 1px solid #00f2fe;
  border-top: 1px solid #00f2fe;
  border-bottom: 1px solid #00f2fe;
  box-shadow: 2px 0 5px rgba(0, 242, 254, 0.4), inset -2px 0 5px rgba(0, 242, 254, 0.4);
}

.neon-img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/landingPage/neon_card.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.85;
  z-index: 1;
}

.neon-title {
  position: absolute;
  top: 35px;
  left: 35px;
  z-index: 5;
  color: white;
  font-family: 'Londrina Sketch', cursive;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.neon-text {
  position: absolute;
  z-index: 5;
  color: white;
  font-size: 0.85rem;
  display: flex;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.neon-text span {
  display: block;
  margin-bottom: 0.8rem;
}

.left-text {
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.right-text {
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.neon-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.neon-offer {
  font-family: 'Londrina Sketch', cursive;
  color: #00f2fe;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

/* Image Card */
.image-card {
  width: 100%;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.image-card-img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/landingPage/image_card.png');
  background-size: cover;
  background-position: center center;
}

/* Feature Card */
.feature-card {
  width: 100%;
  height: 310px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  overflow: hidden;
}

.feature-img-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/landingPage/feature_card.png');
  background-size: cover;
  background-position: center center;
}

.feature-overlay-shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.feature-title {
  font-family: 'Londrina Sketch', cursive;
  font-size: 2.2rem;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #1a1a24;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-actions {
  margin-top: 15px;
}
/* RESPONSIVE: MOBILE VIEW */
@media (max-width: 768px) {
  .grid-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Simplify border for mobile */
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .neon-card {
    height: auto;
    min-height: 500px;
  }

  .neon-title {
    font-size: 1.1rem;
    top: 20px;
    left: 20px;
  }

  .neon-text {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    padding: 80px 30px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .neon-footer {
    bottom: 20px;
  }
}

/* --- PRODUCT CONFIGURATOR --- */
.modal-content {
  max-width: 850px; /* Wider to accommodate side-by-side preview and selection */
  width: 95%;
  padding: 30px;
  background: #0f1014;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: block; /* Overriding previous flex */
}

.product-flow {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 10px;
}

@media (max-width: 650px) {
  .product-flow {
    flex-direction: column;
    align-items: center;
  }
}

.product-preview {
  flex: 1;
  background: #1a1b21;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

.product-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
}

.product-choices {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.product-choices h2 {
  font-family: 'Londrina Sketch', cursive;
  font-size: 2.5rem;
  color: #5DA9E9;
  margin-bottom: 5px;
}

.choice-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 10px;
  display: block;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  max-width: 320px; /* Constrain to ensure 6 per row look balanced */
  margin-bottom: 10px;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: #5DA9E9;
  transform: scale(1.1);
}

.size-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Londrina Sketch', cursive;
  font-size: 1.2rem;
}

.size-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.size-btn.active {
  background: #5DA9E9;
  border-color: #5DA9E9;
  color: black;
  box-shadow: 0 0 15px rgba(93, 169, 233, 0.4);
}

.selection-info {
  margin-top: 10px;
  font-size: 1rem;
  color: #ddd;
}

.selection-info span {
  color: #5DA9E9;
  font-weight: bold;
}

.checkout-btn {
  margin-top: 20px;
  width: 100%;
}

/* --- STICKY CART BUTTON --- */
.sticky-cart-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s;
}

.sticky-cart-btn:hover {
  transform: scale(1.1);
  background: #5DA9E9;
  color: black;
}

.cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #000;
}

/* --- CART REVIEW MODAL --- */
.cart-review {
  text-align: left;
}

.cart-review h2 {
  font-family: 'Londrina Sketch', cursive;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #5DA9E9;
}

.cart-items-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1b21;
}

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

.cart-item-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: #888;
}

.cart-empty-msg {
  text-align: center;
  padding: 40px 0;
  color: #666;
}

.cart-total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.checkout-complete-btn {
  width: 100%;
  margin-top: 20px;
}
