:root {
  --blue: #00c8ff;
  --blue2: #087dff;
  --gold: #ffc928;
  --bg: #080d17;
  --card: #111b2b;
  --white: #f4f8ff;
  --muted: #9aa9bd;
  --green: #00e676;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1100px, 92%); margin: auto; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, #003e7330, transparent 40%),
    radial-gradient(circle at 90% 60%, #006b9d20, transparent 40%),
    radial-gradient(circle at 50% 90%, #002a5020, transparent 40%);
}

/* NAV */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  background: rgba(8,13,23,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff12;
}
nav {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
}
.brand-tagline {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  color: var(--gold);
  margin-top: 2px;
}
.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.35));
}
.logo span { color: var(--blue); }
.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: .3s;
}
.back-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #00c8ff45;
  background: #0d1726;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: #b7c8dd;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  transition: .2s;
  white-space: nowrap;
}
.lang-btn.active {
  background: linear-gradient(110deg,var(--blue),#75e5ff);
  color: #00111b;
}
@media(max-width:550px) {
  .brand-tagline { font-size: 8.5px; }
  .back-btn { padding: 7px 10px; font-size: 11px; }
  .lang-btn { font-size: 10px; padding: 3px 6px; }
}

/* PAGE HEADER */
.page-hero {
  padding: 110px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid #00c8ff45;
  border-radius: 50px;
  background: #00c8ff0b;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}
.page-hero .tag i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(90deg,#00c8ff,#6b9fff,#ffc928);
  -webkit-background-clip: text;
  color: transparent;
}
.page-hero p {
  color: var(--muted);
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* BUILDER LAYOUT */
.builder-section { padding: 10px 0 80px; }

.builder-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* STEP CARDS */
.step-card {
  background: linear-gradient(145deg, #17263a, #0b1320);
  border: 1px solid #ffffff13;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: .3s;
}
.step-card::before {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -100px; top: -100px;
  border-radius: 50%;
  background: #00c8ff;
  filter: blur(90px);
  opacity: .08;
}
.step-card:hover { border-color: #00c8ff40; }

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c8ff30, #007dff15);
  border: 1px solid #00c8ff55;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
}
.step-header h3 {
  font-size: 17px;
  font-weight: 800;
}
.step-header small {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-top: 3px;
}

/* OPTIONS GRID */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.options-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.option-item {
  position: relative;
}
.option-item input[type="checkbox"],
.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #ffffff15;
  border-radius: 12px;
  background: #0d1a28;
  cursor: pointer;
  transition: .25s;
  user-select: none;
}
.option-label:hover {
  border-color: #00c8ff50;
  background: #0f1f33;
}
.option-item input:checked + .option-label {
  border-color: var(--blue);
  background: #00c8ff10;
  box-shadow: 0 0 18px #00c8ff15;
}
.option-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.option-text {
  flex: 1;
}
.option-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.option-text span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.check-indicator {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid #ffffff25;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: .2s;
}
.radio-indicator {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff25;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: .2s;
}
.option-item input:checked + .option-label .check-indicator {
  background: var(--blue);
  border-color: var(--blue);
}
.option-item input:checked + .option-label .check-indicator::after {
  content: "✓";
  font-size: 11px;
  color: #00111b;
  font-weight: 900;
}
.option-item input:checked + .option-label .radio-indicator {
  border-color: var(--blue);
}
.option-item input:checked + .option-label .radio-indicator::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  display: block;
}

/* QUANTITY SELECTOR */
.qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.qty-box {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #ffffff20;
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px;
  background: #0d1a28;
  border: none;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  transition: .2s;
}
.qty-btn:hover { background: #00c8ff20; }
.qty-input {
  width: 55px; height: 38px;
  background: #07101b;
  border: none;
  border-left: 1px solid #ffffff15;
  border-right: 1px solid #ffffff15;
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  font-family: inherit;
}
.qty-label {
  font-size: 13px;
  color: var(--muted);
}

/* TEXT INPUT */
.form-row {
  margin-top: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: #0d1a28;
  border: 1.5px solid #ffffff15;
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  transition: .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  background: #0f1e30;
}
.form-textarea { resize: vertical; min-height: 90px; }

/* STICKY SUMMARY */
.summary-card {
  position: sticky;
  top: 95px;
  background: linear-gradient(145deg, #131f30, #0a1525);
  border: 1px solid #00c8ff30;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px #00000060, 0 0 30px #00c8ff10;
}
.summary-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.summary-title span {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #00c8ff, #007dff);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.summary-list {
  min-height: 80px;
  margin-bottom: 20px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff0d;
  font-size: 12.5px;
  gap: 10px;
}
.summary-item:last-child { border-bottom: none; }
.summary-item-name { color: #c3d5e8; flex: 1; }
.summary-item-tag {
  background: #00c8ff18;
  color: var(--blue);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  flex-shrink: 0;
}
.summary-empty {
  text-align: center;
  padding: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
.summary-empty div { font-size: 28px; margin-bottom: 8px; }

.customer-info {
  margin-bottom: 18px;
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-btn {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(110deg, #25D366, #128C7E);
  color: white;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .3s;
  box-shadow: 0 8px 25px #25D36630;
  cursor: pointer;
}
.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px #25D36650;
}
.wa-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.wa-icon { font-size: 20px; }

.wa-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.required-badge {
  display: inline-block;
  font-size: 10px;
  color: #ff6b6b;
  margin-left: 5px;
  font-weight: 700;
}

/* PROGRESS BAR */
.progress-wrap {
  margin-bottom: 10px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.progress-bar {
  height: 4px;
  background: #ffffff10;
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), #6b9fff);
  transition: width .4s ease;
  width: 0%;
}

/* FLOATING WA BUTTON */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px #25D36650;
  z-index: 999;
  transition: .3s;
  text-decoration: none;
}
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 12px 35px #25D36670; }

/* FOOTER */
footer {
  background: #060b13;
  border-top: 1px solid #ffffff0d;
  padding: 25px 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
footer a { color: var(--blue); }

/* MOBILE */
@media(max-width: 850px) {
  .builder-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .options-grid.two-col { grid-template-columns: 1fr; }
}
@media(max-width: 500px) {
  .options-grid, .options-grid.two-col { grid-template-columns: 1fr; }
  .page-hero h1 { letter-spacing: -1px; }
}