@property --holo-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg:      #020409;
  --bg2:     #040b16;
  --cyan:    #00d4ff;
  --cyan2:   #38bdf8;
  --purple:  #7c3aed;
  --gold:    #f59e0b;
  --gold2:   #fbbf24;
  --text:    #e0f7ff;
  --muted:   rgba(224,247,255,0.5);
  --glass:   rgba(0,212,255,0.04);
  --gb:      rgba(0,212,255,0.12);
  --r:       14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  overflow-x: hidden;
}

/* ── CURSOR ── */
#cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, border-color .25s, background .25s;
  mix-blend-mode: screen;
}
#cursor-ring.big { width: 70px; height: 70px; border-color: var(--gold); background: rgba(245,158,11,.08); }
#cursor-dot {
  position: fixed; width: 5px; height: 5px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
#cursor-trail {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
  background: rgba(2,4,9,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gb);
}
.nav-logo { text-decoration: none; font-weight: 900; font-size: 1.1rem; letter-spacing: 2px; }
.logo-pane { color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }
.logo-sep { color: var(--muted); font-size: .85rem; }
.logo-glass { color: var(--gold); text-shadow: 0 0 20px var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: rgba(0,212,255,0.12) !important;
  border: 1px solid var(--gb) !important;
  color: var(--cyan) !important;
  padding: .45rem 1.25rem;
  border-radius: 99px;
  font-weight: 700 !important;
  transition: all .2s;
}
.nav-cta:hover { background: rgba(0,212,255,0.22) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
#three-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100% !important; height: 100% !important;
}
#wipe-canvas { position: absolute; inset: 0; z-index: 2; cursor: none; }
.hero-content { position: relative; z-index: 3; max-width: 820px; padding: 0 2rem; pointer-events: none; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan); padding: .4rem 1.1rem; border-radius: 99px;
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 7px; height: 7px; background: var(--cyan);
  border-radius: 50%; animation: badge-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--cyan);
}
@keyframes badge-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 1.25rem;
}
.hero-title .line { display: block; }
.hero-title .line-accent { color: var(--cyan); text-shadow: 0 0 40px rgba(0,212,255,.5); }
.hero-title em { color: var(--gold); font-style: normal; text-shadow: 0 0 30px rgba(245,158,11,.5); }

.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7; }

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; pointer-events: all; }

.hero-scroll-hint {
  margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--muted); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.scroll-line {
  width: 1.5px; height: 50px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim { 0%,100%{opacity:.3;transform:scaleY(.5) translateY(-10px)} 50%{opacity:1;transform:scaleY(1) translateY(0)} }

.hero-wipe-hint {
  position: absolute; bottom: 6.5rem; left: 50%; transform: translateX(-50%);
  z-index: 4; color: var(--muted); font-size: .8rem;
  pointer-events: none; animation: hint-fade 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes hint-fade { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2rem; border-radius: 99px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.btn-gold { background: var(--gold); color: #1a0a00; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,158,11,.5); }
.btn-glass {
  background: rgba(255,255,255,0.06); color: var(--text);
  border: 1px solid var(--gb); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,.4); transform: translateY(-3px); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), #0284c7); color: #000; font-weight: 800; }
.btn-cyan:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,212,255,.4); }
.w-full { width: 100%; justify-content: center; }

/* ── STATS ── */
.stats-section {
  background: var(--bg2);
  border-top: 1px solid var(--gb); border-bottom: 1px solid var(--gb);
  padding: 4rem 2rem;
}
.stats-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0; }
.stat-item { text-align: center; padding: 0 3rem; }
.stat-divider { width: 1px; height: 60px; background: var(--gb); flex-shrink: 0; }
.stat-num { font-size: 3rem; font-weight: 900; color: var(--cyan); text-shadow: 0 0 20px rgba(0,212,255,.4); line-height: 1; }
.gold-text { color: var(--gold); text-shadow: 0 0 20px rgba(245,158,11,.4); }
.stat-label { color: var(--muted); font-size: .82rem; margin-top: .5rem; letter-spacing: .5px; }

/* ── SECTION BASE ── */
.section-pad { padding: 6rem 2rem; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block; color: var(--cyan); font-size: .75rem;
  font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 540px; line-height: 1.75; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

.service-card {
  position: relative; overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--gb);
  border-radius: var(--r); padding: 2rem;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px) scale(1.01); }

/* Animated neon border on hover */
.service-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: var(--r);
  background: linear-gradient(var(--border-angle), var(--cyan), var(--purple), var(--gold), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
  padding: 1px; opacity: 0;
  animation: border-spin 4s linear infinite;
  transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }
@keyframes border-spin { to { --border-angle: 360deg; } }

/* Holographic shimmer */
.holo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: conic-gradient(from var(--holo-angle) at 50% 50%,
    transparent 0deg, rgba(0,212,255,.06) 60deg, rgba(124,58,237,.06) 120deg,
    rgba(245,158,11,.06) 180deg, transparent 240deg);
  animation: holo-spin 6s linear infinite;
  pointer-events: none; border-radius: var(--r);
}
@keyframes holo-spin { to { --holo-angle: 360deg; } }

.card-glow {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,.08), transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.service-card:hover .card-glow { opacity: 1; }

.card-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.04) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s;
  border-radius: var(--r);
}
.service-card:hover .card-shine { transform: translateX(100%); }

.service-icon { font-size: 2rem; margin-bottom: 1.25rem; display: block; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.service-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ── BEFORE/AFTER ── */
.ba-section { background: var(--bg2); }
.ba-wrap { max-width: 860px; margin: 0 auto; }
.ba-container {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--gb);
  aspect-ratio: 16/9; cursor: ew-resize;
  box-shadow: 0 0 60px rgba(0,212,255,.08);
  user-select: none;
}
.ba-side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ba-after { background: linear-gradient(135deg, #042a40 0%, #0369a1 50%, #7dd3fc 100%); }
.ba-before { clip-path: inset(0 50% 0 0); background: linear-gradient(135deg, #110a02 0%, #3d2008 50%, #1a0e04 100%); }

.ba-scene { width: 75%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.ba-window-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.ba-pane { aspect-ratio: 1; border-radius: 8px; }
.ba-pane.clean {
  background: rgba(125,211,252,0.3);
  border: 1px solid rgba(125,211,252,0.5);
  box-shadow: inset 0 0 20px rgba(125,211,252,0.2), 0 0 10px rgba(125,211,252,.1);
  animation: pane-shimmer 3s ease-in-out infinite;
}
@keyframes pane-shimmer {
  0%,100%{ box-shadow: inset 0 0 20px rgba(125,211,252,.2), 0 0 10px rgba(125,211,252,.1); }
  50%{ box-shadow: inset 0 0 40px rgba(125,211,252,.4), 0 0 20px rgba(125,211,252,.2); }
}
.ba-pane.dirty {
  background: rgba(80,50,20,0.5);
  border: 1px solid rgba(100,70,30,0.3);
  position: relative; overflow: hidden;
}
.ba-pane.dirty::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg,transparent,transparent 8px,rgba(60,35,5,.4) 8px,rgba(60,35,5,.4) 10px);
}
.ba-label {
  background: rgba(0,212,255,0.2); border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan); padding: .3rem .9rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.ba-label-left { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.1); color: var(--muted); }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255,255,255,.9); transform: translateX(-50%); z-index: 10;
}
.ba-handle-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: white; color: #000; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 900; box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

/* ── PRICE CALC ── */
.calc-box {
  max-width: 760px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--gb);
  border-radius: 24px; padding: 3rem; backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(0,212,255,.06);
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.calc-label { color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .75rem; }
.calc-big-num { font-size: 4rem; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: .75rem; }
.range-slider {
  width: 100%; -webkit-appearance: none; height: 3px;
  background: rgba(0,212,255,.2); border-radius: 2px; outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: var(--cyan); border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 14px rgba(0,212,255,.7);
}
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; margin-top: .4rem; }

.story-btns { display: flex; gap: .5rem; }
.story-btn {
  flex: 1; padding: .7rem; border: 1px solid var(--gb);
  background: var(--glass); color: var(--muted);
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all .2s;
}
.story-btn.active { background: rgba(0,212,255,.15); border-color: var(--cyan); color: var(--text); box-shadow: 0 0 20px rgba(0,212,255,.2); }

.addon-list { display: flex; flex-direction: column; gap: .5rem; }
.addon-toggle {
  padding: .55rem .9rem; border: 1px solid var(--gb);
  background: var(--glass); color: var(--muted);
  border-radius: 8px; font-size: .85rem; cursor: pointer; transition: all .2s;
}
.addon-toggle.active { border-color: var(--cyan); color: var(--text); background: rgba(0,212,255,.08); }

.calc-result {
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(124,58,237,.05));
  border: 1px solid rgba(0,212,255,.2); border-radius: 16px;
  padding: 2.5rem; text-align: center;
}
.result-label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.result-price { font-size: 5rem; font-weight: 900; color: var(--gold); line-height: 1; text-shadow: 0 0 30px rgba(245,158,11,.4); margin: .25rem 0; }
.result-range { color: var(--muted); font-size: .88rem; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg2); }
.t-wrap { overflow: hidden; }
.t-track { display: flex; gap: 1.5rem; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.t-card {
  min-width: calc(33.333% - 1rem); flex-shrink: 0;
  background: var(--glass); border: 1px solid var(--gb);
  border-radius: var(--r); padding: 2rem;
}
.t-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; text-shadow: 0 0 10px rgba(245,158,11,.4); }
.t-text { color: var(--muted); font-size: .92rem; line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.t-name { font-weight: 700; font-size: .9rem; }
.t-loc { color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.t-dots { display: flex; gap: .75rem; justify-content: center; margin-top: 2rem; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gb); cursor: pointer; transition: all .25s; }
.t-dot.active { background: var(--cyan); width: 24px; border-radius: 4px; box-shadow: 0 0 10px rgba(0,212,255,.5); }

/* ── STAR PICKER ── */
.star-picker { display: flex; gap: .4rem; font-size: 2.4rem; margin-bottom: .5rem; cursor: pointer; }
.star-picker span { color: rgba(255,255,255,.12); transition: color .15s, text-shadow .15s; line-height: 1; }
.star-picker span.active { color: var(--gold); text-shadow: 0 0 12px rgba(245,158,11,.6); }

/* ── FORMS ── */
.glass-form-box {
  background: var(--glass); border: 1px solid var(--gb);
  border-radius: 24px; padding: 2.5rem; backdrop-filter: blur(20px);
  max-width: 600px;
}
.contact-section .glass-form-box { max-width: none; }
.form-title { font-size: 1.25rem; font-weight: 700; color: var(--cyan); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { display: block; font-size: .73rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .5rem; }
.form-input {
  width: 100%; background: rgba(0,212,255,.04); border: 1px solid var(--gb);
  border-radius: 10px; padding: .8rem 1rem;
  color: var(--text); font-size: .92rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 16px rgba(0,212,255,.15); }
.form-input::placeholder { color: rgba(255,255,255,.2); }
.form-input option { background: #040b16; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-success { display: none; text-align: center; padding: 2rem; color: #34d399; font-weight: 700; font-size: 1.05rem; }

/* ── CONTACT ── */
.contact-section { border-top: 1px solid var(--gb); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--text);
  padding: 1rem; border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.contact-item:hover { background: var(--glass); border-color: var(--gb); }
.c-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(0,212,255,.08); border: 1px solid var(--gb);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.c-main { font-weight: 700; font-size: .95rem; }
.c-sub { color: var(--muted); font-size: .8rem; margin-top: .2rem; }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--gb); padding: 2.5rem 2rem; text-align: center; }
footer p { color: var(--muted); font-size: .88rem; margin-bottom: .4rem; }
footer strong { color: var(--text); }
footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-copy { margin-top: .75rem; font-size: .78rem; }

/* ── FLOAT CALL ── */
.float-call {
  display: none; position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500;
  background: var(--gold); color: #1a0a00;
  padding: .85rem 1.5rem; border-radius: 99px;
  font-weight: 900; text-decoration: none; font-size: .9rem;
  box-shadow: 0 8px 32px rgba(245,158,11,.5);
  animation: float-pulse 2.5s ease-in-out infinite;
}
@keyframes float-pulse { 0%,100%{box-shadow:0 8px 32px rgba(245,158,11,.5)} 50%{box-shadow:0 8px 48px rgba(245,158,11,.75)} }

/* ── SCRAMBLE ── */
.scramble-char { color: var(--cyan); opacity: .7; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .t-card { min-width: calc(50% - .75rem); }
}
@media (max-width: 700px) {
  body { cursor: auto; }
  #cursor-ring, #cursor-dot, #cursor-trail { display: none; }
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(2,4,9,.97); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gb);
  }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 2rem; }
  .stat-divider { display: none; }
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .t-card { min-width: 100%; }
  .float-call { display: flex; align-items: center; gap: .5rem; }
  .section-pad { padding: 4rem 1.25rem; }
  .hero-title { letter-spacing: -1px; }
  .glass-form-box { padding: 1.75rem; }
  .calc-box { padding: 2rem 1.5rem; }
}
