* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", sans-serif;
}

body {
  background: #0e0e0e;
  color: #fff;
  overflow-x: hidden;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 5%;
  overflow: hidden;
  background: #0e0e0e;
}

/* GLASS TEXT PANEL */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 40px;
  



}

/* HEADLINE */
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

/* SUBTEXT */
.hero p {
  margin-top: 20px;
  font-size: 1.2rem;
  opacity: 0.85;
}

/* IMAGE BEHIND */
.hero-image {
  position: absolute;
  right: -5%;
  bottom: -20px;
  z-index: 1;
  opacity: 0.95;
}

.hero-image img {
  width: 650px;
  max-width: none;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8));
}

/* DARK GRADIENT FADE (LEFT SIDE) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(14,14,14,0.95) 40%,
    rgba(14,14,14,0.6) 70%,
    transparent 100%
  );
  z-index: 2;
}

/* SUBTLE LIGHT GLOW */
.hero::before {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 80px 20px;
  }

  .hero-content {
    max-width: 100%;
    padding: 25px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* IMAGE STACKS BELOW */
  .hero-image {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 40px;
  }

  .hero-image img {
    width: 100%;
    max-width: 350px;
  }

  /* REMOVE OVERLAY FOR SMALL SCREENS */
  .hero::after {
    display: none;
  }

  .hero::before {
    display: none;
  }
}
.section {
  padding: 120px 10%;
}

.dark {
  background: #0e0e0e;
}

.light {
  background: #f5f5f5;
  color: #111;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.product img {
  width: 100%;
}

.metrics h3 {
  font-size: 3rem;
}

.cta {
  padding: 100px;
  text-align: center;
  background: #222;
}

.btn {
  padding: 15px 40px;
  margin-top: 20px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
}
/* MODAL BACKDROP */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
}

/* GLASS PANEL */
.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 35px;
  width: 90%;
  max-width: 650px;
  border-radius: 24px;

  /* Apple glass */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.15);

  /* depth */
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.2);

  color: #fff;
}

/* LIGHT EDGE GLOW */
.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.15),
    transparent 40%
  );
  pointer-events: none;
}

/* CLOSE */
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 26px;
  cursor: pointer;
  opacity: 0.7;
}

.close-btn:hover {
  opacity: 1;
}

/* GRID FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

/* FULL WIDTH ITEMS */
.full {
  grid-column: span 2;
}

/* INPUT STYLING */
.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(0,0,0,0.4);
  color: #fff;

  outline: none;
  transition: 0.3s;
}

/* FOCUS EFFECT */
.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.6);
}

/* TOTAL */
.total {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* BUTTON */
.modal .btn {
  margin-top: 10px;
  background: #fff;
  color: #000;
  border-radius: 12px;
}

@media (max-width: 768px) {

  .modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 95%;
    max-width: 500px;
  }

  /* KEEP 2 COLUMNS */
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* tighter spacing */
  .modal input,
  .modal select,
  .modal textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  /* allow some elements to stay full width */
  .full {
    grid-column: span 2;
  }

  /* reduce heading size */
  .modal-content h2 {
    font-size: 1.4rem;
  }

  /* improve touch spacing */
  .modal .btn {
    padding: 12px;
  }
}

/* COLOR PICKER */
.color-picker label {
  display: block;
  margin-bottom: 8px;
  opacity: 0.8;
}

.color-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* OPTION CARD */
.color-option {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;

  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.3s;
}

/* HOVER */
.color-option:hover {
  border-color: rgba(255,255,255,0.3);
}

/* ACTIVE */
.color-option.active {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* SWATCH */
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
}

/* COLORS */
.grey { background: #888; }
.burgundy { background: #800020; }
.green { background: #1e7f3f; }
.yellow { background: #e6c200; }

