/* BOXWELL v2.1 - safe enhancement layer. Loaded after the original site CSS. */
:root {
  --bw-red: #ef3040;
  --bw-red-deep: #8f111d;
  --bw-black: #050607;
  --bw-panel: #0d0f12;
  --bw-line: rgba(255,255,255,.13);
  --bw-muted: #9ca1a9;
  --bw-safe-bottom: max(22px, env(safe-area-inset-bottom));
}
html { scroll-behavior: smooth; background: var(--bw-black); }
body { background: var(--bw-black); }
body.fast-open, body.bw-modal-open { overflow: hidden !important; }
main { overflow: clip; }
section[id] { scroll-margin-top: 96px; }

/* Header and navigation */
.topbar { grid-template-columns: 190px minmax(0,1fr) auto; }
.topbar nav { gap: clamp(15px, 1.65vw, 30px); }
.topbar nav a, .topbar nav button {
  color:#c8c9cc; letter-spacing:.075em; text-transform:uppercase;
  background:transparent; border:0; padding:8px 0; cursor:pointer;
  font:750 11px/1 var(--font-geist-sans, Arial, sans-serif); white-space:nowrap;
}
.topbar nav a:hover, .topbar nav button:hover, .topbar nav .active { color:#fff; }
.topbar nav .active { box-shadow: inset 0 -2px var(--bw-red); }
.bw-fast-nav { color:#fff !important; }
.bw-fast-nav::after { content:""; width:6px; height:6px; margin-left:7px; border-radius:50%; background:var(--bw-red); display:inline-block; box-shadow:0 0 14px var(--bw-red); }

/* Hero: premium parallax layer without scroll-jacking */
.hero { --bw-hero-progress: 0; }
.hero-media { transform: scale(calc(1 + var(--bw-hero-progress) * .035)); transform-origin:center; will-change:transform; }
.hero-content { opacity: calc(1 - var(--bw-hero-progress) * .78); transform: translateY(calc(var(--bw-hero-progress) * -26px)); will-change:opacity,transform; }
.hero-stats, .hero-nav { opacity: calc(1 - var(--bw-hero-progress) * .55); }
.page-progress { width:var(--bw-page-progress,0%); background:linear-gradient(90deg,var(--bw-red),#ff5a66); box-shadow:0 0 15px #ef30408a; height:3px; position:fixed; z-index:120; left:0; top:0; }

/* Shared section motion */
.bw-stage { position:relative; }
.bw-stage::before { content:""; position:absolute; inset:8% -12% auto; height:55%; pointer-events:none; background:radial-gradient(circle at 50% 20%, rgba(239,48,64,.09), transparent 66%); opacity:var(--bw-stage-opacity,.35); }
[data-bw-reveal] { opacity:0; transform:translateY(28px) scale(.988); transition:opacity .72s cubic-bezier(.22,.8,.2,1),transform .72s cubic-bezier(.22,.8,.2,1); }
[data-bw-reveal].is-visible { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  [data-bw-reveal] { opacity:1!important; transform:none!important; }
}

/* System section */
#sistem .manifesto-copy h2 { max-width:720px; }
#sistem .manifesto-points { margin-top:34px; }
#sistem .manifesto-points span { min-height:88px; }
@media (min-width: 900px) {
  #sistem .manifesto-media { position:sticky; top:115px; }
}

/* Reflex */
#refleks .reflex-console { align-items:center; }
#refleks .reflex-info h3 { max-width:560px; }
#refleks .bw-reflex-note { color:#c4c7cc; border-left:2px solid var(--bw-red); margin-top:22px; padding:12px 0 12px 16px; font-size:12px; line-height:1.65; }
#refleks .reflex-board { margin-inline:auto; }
#refleks .reflex-pad { background:radial-gradient(circle, transparent 53%, rgba(0,0,0,.34) 59%, rgba(255,255,255,.13) 66%, transparent 72%); }
/* Corrected target positions on the real pad centers */
#refleks .reflex-pad.p1 { width:12.8%; height:18.7%; top:15.1%; left:13.5%; }
#refleks .reflex-pad.p2 { width:13.2%; height:18.5%; top:8.7%; left:28.2%; }
#refleks .reflex-pad.p3 { width:13.2%; height:18.5%; top:8.7%; left:46.9%; }
#refleks .reflex-pad.p4 { width:12.8%; height:18.7%; top:15.1%; left:61.3%; }
#refleks .reflex-pad.p5 { width:12.1%; height:16.3%; top:40.1%; left:31.5%; }
#refleks .reflex-pad.p6 { width:12.1%; height:16.3%; top:40.1%; left:45.2%; }
#refleks .kick-pad { left:25.5%; right:35.5%; bottom:5.8%; height:23%; }

/* Modes: fixed dimensions on every state */
#modlar .mode-console { height:680px; min-height:680px; }
#modlar .mode-screen { height:100%; min-height:0; }
#modlar .mode-overlay { min-height:190px; display:flex; flex-direction:column; justify-content:flex-end; padding-right:120px; }
#modlar .mode-overlay h3 { min-height:1.05em; }
#modlar .mode-overlay p { min-height:5.2em; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }

/* New performance video carousel */
#performans-hikayeleri .reel-grid { display:none !important; }
.bw-carousel-shell { position:relative; margin-top:44px; }
.bw-reel-carousel { display:flex; gap:18px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding:2px 8% 14px 0; }
.bw-reel-carousel::-webkit-scrollbar { display:none; }
.bw-reel-card { flex:0 0 calc(36% - 12px); aspect-ratio:9/16; min-width:260px; scroll-snap-align:start; border:1px solid var(--bw-line); background:#111; border-radius:22px; position:relative; overflow:hidden; cursor:pointer; text-align:left; padding:0; color:#fff; }
.bw-reel-card > img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s,filter .5s; }
.bw-reel-card::after { content:""; position:absolute; inset:0; background:linear-gradient(rgba(0,0,0,.38),transparent 42%,rgba(0,0,0,.92)); }
.bw-reel-card:hover > img { transform:scale(1.025); filter:brightness(.82); }
.bw-reel-card .bw-card-tag, .bw-reel-card .bw-card-copy, .bw-reel-card .bw-play { position:absolute; z-index:2; }
.bw-card-tag { top:18px; left:18px; letter-spacing:.12em; text-transform:uppercase; font-size:9px; background:rgba(0,0,0,.48); border:1px solid rgba(255,255,255,.24); border-radius:7px; padding:7px 9px; }
.bw-card-copy { left:20px; right:20px; bottom:22px; }
.bw-card-copy b { font-size:clamp(18px,2vw,26px); display:block; }
.bw-card-copy small { color:#b6bac1; }
.bw-play { width:62px; height:62px; border-radius:50%; border:1px solid rgba(255,255,255,.48); background:rgba(0,0,0,.48); backdrop-filter:blur(10px); display:grid; place-items:center; left:50%; top:50%; transform:translate(-50%,-50%); }
.bw-play svg { width:22px; height:22px; fill:#fff; margin-left:3px; }
.bw-carousel-ui { display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; margin-top:18px; }
.bw-carousel-ui button { width:44px; height:44px; border-radius:50%; border:1px solid var(--bw-line); background:#0b0d0f; color:#fff; cursor:pointer; font-size:24px; }
.bw-carousel-ui .bw-progress { height:3px; background:rgba(255,255,255,.13); border-radius:99px; overflow:hidden; }
.bw-carousel-ui .bw-progress i { display:block; width:var(--bw-carousel-progress,16.66%); height:100%; background:var(--bw-red); transition:width .25s; }
.bw-carousel-label { color:#8f949c; text-transform:uppercase; letter-spacing:.12em; font-size:9px; margin-top:9px; }

/* Evolution */
.evolution { width:min(1460px,calc(100% - 64px)); margin:0 auto; padding:96px 0; }
.evolution .section-head { max-width:940px; }
.evolution .section-head .eyebrow { color:var(--bw-red); letter-spacing:.14em; font-size:10px; font-weight:850; text-transform:uppercase; margin-bottom:16px; display:block; }
.evolution .bw-compare { --split:52%; position:relative; aspect-ratio:16/8.1; margin-top:42px; border:1px solid var(--bw-line); border-radius:22px; overflow:hidden; background:#090a0c; box-shadow:0 35px 90px rgba(0,0,0,.45); }
.evolution .bw-compare > img, .evolution .bw-compare-after, .evolution .bw-compare-after img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.evolution .bw-compare > img { object-position:center; }
.evolution .bw-compare-after { width:var(--split); overflow:hidden; border-right:2px solid #fff; }
.evolution .bw-compare-after img { width:calc(100% * 100 / max(1, var(--split))); max-width:none; object-position:center; }
.evolution .bw-compare input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; z-index:8; }
.evolution .bw-compare-handle { position:absolute; z-index:7; left:var(--split); top:50%; width:52px; height:52px; border-radius:50%; transform:translate(-50%,-50%); background:var(--bw-red); border:2px solid #fff; display:grid; place-items:center; font-weight:900; box-shadow:0 0 35px rgba(239,48,64,.55); }
.evolution .bw-compare-label { position:absolute; z-index:6; bottom:18px; padding:8px 11px; border-radius:7px; border:1px solid rgba(255,255,255,.55); background:rgba(0,0,0,.58); font-size:9px; font-weight:850; letter-spacing:.11em; }
.evolution .bw-compare-label.old { left:16px; }
.evolution .bw-compare-label.new { right:16px; background:var(--bw-red); }
.bw-evolution-diffs { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:18px; }
.bw-evolution-diffs article { border:1px solid var(--bw-line); background:#0d0f12; border-radius:13px; padding:22px; min-height:130px; }
.bw-evolution-diffs small { color:var(--bw-red); font-weight:850; letter-spacing:.1em; }
.bw-evolution-diffs b { display:block; margin:15px 0 7px; font-size:13px; }
.bw-evolution-diffs p { color:#8f949c; font-size:11px; line-height:1.55; }
.bw-evolution-actions { display:flex; gap:10px; margin-top:24px; }
#showroom > .compare { display:none !important; }

/* Set and payment cards */
#setler .set-card, #odeme .payment-console { min-height:0; }
#odeme .payment-console { overflow:hidden; }
#odeme .purchase-plans button, #odeme .rental-plans button { min-height:116px; }

/* Showroom carousel */
#showroom .showroom-steps { position:relative; }
.bw-showroom-carousel-ui { display:none; }
#showroom .showroom-title p { max-width:760px; }

/* Media hub */
#medya .catalog-links .catalog-link b { font-size:18px; }
#medya .social-card .bw-platform-icon { position:absolute; z-index:3; top:22px; right:22px; width:32px; height:32px; background:rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.25); border-radius:9px; padding:7px; }
#medya .social-card .bw-platform-icon svg { width:100%; height:100%; fill:#fff; display:block; }

/* FAST panel */
.bw-fast-panel { position:fixed; z-index:250; inset:0; background:radial-gradient(circle at 50% 0,rgba(239,48,64,.13),transparent 32%),#050607; opacity:0; visibility:hidden; transform:translateY(18px); transition:opacity .3s,transform .3s,visibility .3s; overflow:auto; padding:max(24px,env(safe-area-inset-top)) 20px var(--bw-safe-bottom); }
.bw-fast-panel.open { opacity:1; visibility:visible; transform:none; }
.bw-fast-card { width:min(460px,100%); min-height:calc(100svh - 48px); margin:0 auto; border:1px solid var(--bw-line); border-radius:26px; background:linear-gradient(165deg,#111317,#08090b 72%); box-shadow:0 35px 120px rgba(0,0,0,.72); padding:24px; display:flex; flex-direction:column; }
.bw-fast-head { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.bw-fast-head img { width:172px; height:auto; }
.bw-fast-close { width:46px; height:46px; border-radius:14px; border:1px solid var(--bw-line); background:#0b0d0f; color:#fff; font-size:25px; cursor:pointer; }
.bw-fast-copy { margin:62px 0 30px; }
.bw-fast-copy h1 { letter-spacing:-.06em; font-size:clamp(42px,12vw,70px); line-height:.9; }
.bw-fast-copy p { color:var(--bw-muted); line-height:1.7; margin-top:18px; }
.bw-fast-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.bw-fast-grid a, .bw-fast-grid button { min-height:92px; color:#fff; text-align:left; border:1px solid var(--bw-line); background:#0a0c0e; border-radius:15px; padding:16px; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; transition:transform .2s,border-color .2s,background .2s; }
.bw-fast-grid a:hover, .bw-fast-grid button:hover { transform:translateY(-2px); border-color:var(--bw-red); background:#161014; }
.bw-fast-grid svg { width:23px; height:23px; stroke:var(--bw-red); fill:none; stroke-width:1.8; }
.bw-fast-grid b { font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.bw-fast-grid small { color:#858a91; margin-top:5px; }
.bw-fast-foot { margin-top:auto; padding-top:28px; color:#686d74; font-size:9px; letter-spacing:.11em; text-transform:uppercase; }

/* Custom video modal */
.bw-video-modal { position:fixed; z-index:300; inset:0; background:rgba(0,0,0,.92); display:none; align-items:center; justify-content:center; padding:20px; }
.bw-video-modal.open { display:flex; }
.bw-video-dialog { width:min(520px,100%); max-height:92svh; position:relative; }
.bw-video-dialog video { display:block; width:100%; max-height:84svh; aspect-ratio:9/16; object-fit:cover; background:#000; border:1px solid rgba(255,255,255,.2); border-radius:22px; }
.bw-video-close { position:absolute; z-index:4; top:12px; right:12px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.35); color:#fff; background:rgba(0,0,0,.58); font-size:25px; cursor:pointer; }
.bw-video-controls { position:absolute; left:14px; right:14px; bottom:14px; z-index:4; padding:11px; background:rgba(0,0,0,.65); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,.2); border-radius:14px; display:grid; grid-template-columns:44px 1fr 44px 44px; align-items:center; gap:8px; }
.bw-video-controls button { width:44px; height:44px; border-radius:10px; border:0; background:transparent; color:#fff; display:grid; place-items:center; cursor:pointer; }
.bw-video-controls svg { width:21px; height:21px; fill:#fff; }
.bw-video-controls input { accent-color:var(--bw-red); width:100%; }

/* Mobile */
@media (max-width: 899px) {
  section[id] { scroll-margin-top:84px; }
  .topbar { width:calc(100% - 22px); height:66px; top:10px; grid-template-columns:1fr auto; padding:0 12px 0 18px; border-radius:20px; }
  .topbar nav { max-height:calc(100svh - 100px); overflow:auto; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
  .topbar nav .bw-fast-nav { border:1px solid rgba(239,48,64,.35); border-radius:12px; padding:14px 16px; }
  .hero { min-height:720px; }
  .quick-nav-shell { width:100%; padding-inline:15px; }
  .quick-nav { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border-radius:18px; scrollbar-width:none; padding-right:42px; }
  .quick-nav::-webkit-scrollbar { display:none; }
  .quick-nav a { flex:0 0 44%; min-height:98px; scroll-snap-align:start; border-left:1px solid var(--bw-line); padding:16px; }
  .quick-nav a:first-child { border-left:0; }
  .manifesto,.reflex-section,.modes,.reels,.sets,.payment,.showroom,.ecosystem,.media-hub,.evolution { width:calc(100% - 32px); padding:74px 0; }
  .section-head h2, .manifesto-copy h2 { font-size:clamp(36px,11.2vw,52px); line-height:.96; }
  .section-head p, .manifesto-copy>p { font-size:15px; line-height:1.72; }
  #sistem .manifesto { gap:30px; }
  #sistem .manifesto-points { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:10px; border:0; margin-top:26px; scrollbar-width:none; }
  #sistem .manifesto-points::-webkit-scrollbar { display:none; }
  #sistem .manifesto-points span { flex:0 0 82%; min-height:132px; scroll-snap-align:start; border:1px solid var(--bw-line); background:#0d0f12; border-radius:15px; padding:18px; grid-template-columns:28px 1fr; }
  #sistem .manifesto-media { height:390px; }
  #refleks .reflex-console { gap:28px; }
  #refleks .reflex-info h3 { font-size:clamp(34px,10vw,48px); line-height:.96; }
  #refleks .reflex-board { width:100%; }
  #modlar .mode-console { height:650px; min-height:650px; }
  #modlar .mode-tabs { grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(2,1fr); height:190px; }
  #modlar .mode-screen { min-height:460px; }
  #modlar .mode-overlay { min-height:176px; left:22px; right:22px; bottom:58px; padding-right:0; }
  #modlar .mode-overlay h3 { font-size:38px; }
  #modlar .mode-overlay p { min-height:5.1em; -webkit-line-clamp:3; font-size:13px; line-height:1.65; }
  #modlar .mode-guide { left:20px; right:20px; bottom:18px; justify-content:space-between; }
  #modlar .mode-guide>span { flex:1; }
  .bw-reel-carousel { gap:10px; padding-right:10%; }
  .bw-reel-card { flex-basis:46%; min-width:0; border-radius:16px; }
  .bw-play { width:48px; height:48px; }
  .bw-card-copy { left:13px; right:13px; bottom:14px; }
  .bw-card-copy b { font-size:14px; }
  .bw-card-copy small, .bw-card-tag { font-size:7px; }
  .evolution .bw-compare { aspect-ratio:1/1.02; border-radius:17px; }
  .evolution .bw-compare > img, .evolution .bw-compare-after img { object-position:center; }
  .bw-evolution-diffs { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:10px; scrollbar-width:none; }
  .bw-evolution-diffs::-webkit-scrollbar { display:none; }
  .bw-evolution-diffs article { flex:0 0 72%; min-height:142px; scroll-snap-align:start; }
  .bw-evolution-actions { display:grid; grid-template-columns:1fr 1fr; }
  .bw-evolution-actions .button { min-width:0; padding-inline:10px; justify-content:center; }
  #odeme .payment-console { padding:16px; }
  #odeme .plan-kinds { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:8px; scrollbar-width:none; }
  #odeme .plan-kinds::-webkit-scrollbar { display:none; }
  #odeme .plan-kinds button { flex:0 0 78%; min-height:92px; scroll-snap-align:start; }
  #odeme .purchase-plans, #odeme .rental-plans { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:8px; scrollbar-width:none; }
  #odeme .purchase-plans::-webkit-scrollbar, #odeme .rental-plans::-webkit-scrollbar { display:none; }
  #odeme .purchase-plans button, #odeme .rental-plans button { flex:0 0 78%; min-height:126px; scroll-snap-align:center; }
  #odeme .calculation { min-height:220px; }
  #showroom .showroom-steps { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:10px; scrollbar-width:none; padding-bottom:8px; }
  #showroom .showroom-steps::-webkit-scrollbar { display:none; }
  #showroom .showroom-steps article { flex:0 0 73%; min-height:170px; scroll-snap-align:start; padding:20px; }
  #showroom .showroom-steps h3 { margin:20px 0 7px; }
  .bw-showroom-carousel-ui { display:grid; grid-template-columns:44px 1fr 44px; gap:10px; align-items:center; margin-top:12px; }
  .bw-showroom-carousel-ui button { width:44px; height:44px; border-radius:50%; border:1px solid var(--bw-line); background:#0b0d0f; color:#fff; font-size:24px; }
  .bw-showroom-carousel-ui i { display:block; height:3px; background:linear-gradient(90deg,var(--bw-red) var(--bw-showroom-progress,25%),rgba(255,255,255,.13) var(--bw-showroom-progress,25%)); }
  #showroom .showroom-video { grid-template-columns:1fr; min-height:0; }
  #showroom .showroom-video>img { min-height:390px; max-height:490px; object-position:center 34%; }
  #showroom .showroom-video>div { padding:28px 22px 34px; }
  #showroom .showroom-video h3 { font-size:38px; }
  #medya .catalog-links { grid-template-columns:1fr 1fr; gap:8px; }
  #medya .catalog-link { min-width:0; padding:15px; }
  #medya .catalog-link b { font-size:13px!important; }
  #medya .catalog-link small { font-size:8px; }
  #medya .platform-grid { grid-template-columns:1fr 1fr; gap:10px; }
  #medya .spotify-card { grid-column:1/-1; min-height:260px; }
  #medya .social-card { min-height:270px; padding:15px; border-radius:15px; }
  #medya .social-card h3 { font-size:18px; word-break:break-word; }
  #medya .social-card p { font-size:10px; }
  #medya .social-card .bw-platform-icon { width:29px; height:29px; top:12px; right:12px; }
  .mobile-actions { z-index:110; bottom:max(10px,env(safe-area-inset-bottom)); }
  body { padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .bw-fast-card { min-height:calc(100svh - 32px); padding:20px; }
  .bw-fast-copy { margin-top:48px; }
  .bw-fast-grid a, .bw-fast-grid button { min-height:88px; padding:13px; }
  .bw-video-modal { padding:10px; }
}
.bw-sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.bw-inline-wordmark { display:inline-flex; align-items:center; vertical-align:.03em; margin:0 .12em; height:.78em; }
.bw-inline-wordmark img { display:block; width:auto; height:100%; object-fit:contain; }
#medya .catalog-link .bw-inline-wordmark { height:1em; margin-left:0; }
.topbar nav [data-route="deneyim"]{order:1}.topbar nav [data-route="modlar"]{order:2}.topbar nav [data-route="setler"]{order:3}.topbar nav [data-route="showroom"]{order:4}.topbar nav [data-route="teknolojiler"]{order:5}.topbar nav [data-route="fast"]{order:6}.topbar nav [data-route="iletisim"]{order:7}
/* final polish */
section[id] { scroll-margin-top:120px; }
.topbar nav a[href="#deneyim"]{order:1}.topbar nav a[href="#modlar"]{order:2}.topbar nav a[href="#setler"]{order:3}.topbar nav a[href="#showroom"]{order:4}.topbar nav a[href="#teknolojiler"],.topbar nav a[href="#ekosistem"]{order:5}.topbar nav .bw-fast-nav{order:6}.topbar nav a[href="#iletisim"]{order:7}
.bw-fast-grid > a > span,.bw-fast-grid > button > span,.bw-fast-grid b,.bw-fast-grid small{display:block}.bw-fast-grid b{line-height:1.25}.bw-fast-grid small{line-height:1.45;margin-top:6px}
.mobile-actions{transition:transform .26s ease,opacity .26s ease}.mobile-actions.is-hidden{transform:translateY(calc(100% + 22px));opacity:0;pointer-events:none}
@media(max-width:899px){section[id]{scroll-margin-top:106px}.music-toggle{bottom:104px!important;right:14px!important}.music-toggle small{display:none!important}}
