/* ── CSS Variables ── */
:root {
  --bg: #FAF7F5;
  --ink: #111111;
  --muted: #5C5853;
  --border: #E0DAD6;
  --light: #F0EBE8;
  --red: #990011;
  --red-h: #B31217;
  --white: #FFFFFF;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--serif); background: var(--bg); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; display: block; }

/* ── Splash ── */
@keyframes strokeIn { to { stroke-dashoffset: 0; } }

#splash {
  position: fixed; inset: 0; background: #0c0c0c; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: transform 1.1s cubic-bezier(.76,0,.24,1), opacity .4s ease .85s;
  overflow: hidden;
}
#splash.exit { transform: translateY(-100%); opacity: 0; pointer-events: none; }
#splash::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .05;
}
.sp-bar { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--red); width: 0; animation: pBar 3.2s ease forwards; }
@keyframes pBar { to { width: 100%; } }

.splash-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; pointer-events: none; }
.splash-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(153,0,17,.12); animation: ringExpand 3s ease-out forwards; }
.splash-ring:nth-child(1) { width: 120px; height: 120px; animation-delay: .2s; opacity: 0; }
.splash-ring:nth-child(2) { width: 220px; height: 220px; animation-delay: .5s; opacity: 0; }
.splash-ring:nth-child(3) { width: 340px; height: 340px; animation-delay: .8s; opacity: 0; }
.splash-ring:nth-child(4) { width: 460px; height: 460px; animation-delay: 1.1s; opacity: 0; }
@keyframes ringExpand { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.5); } 30% { opacity: .5; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.1); } }

.splash-orbit {
  position: absolute; top: 50%; left: 50%; width: 190px; height: 190px;
  transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(153,0,17,.2);
  animation: orbitSpin 8s linear infinite; opacity: 0; animation-delay: .4s; animation-fill-mode: forwards;
}
@keyframes orbitSpin { 0% { opacity: 0; transform: translate(-50%,-50%) rotate(0deg); } 5% { opacity: 1; } 100% { opacity: .5; transform: translate(-50%,-50%) rotate(360deg); } }
.splash-orbit::before { content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; background: var(--red); border-radius: 50%; box-shadow: 0 0 12px var(--red); }

.splash-in {
  position: relative; z-index: 2; text-align: center; display: flex;
  flex-direction: column; align-items: center;
  opacity: 0; animation: splashIn 1s cubic-bezier(.16,1,.3,1) .3s forwards;
}
@keyframes splashIn { 0% { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
.sp-logo { width: 90px; height: 90px; filter: drop-shadow(0 0 30px rgba(153,0,17,.4)); }
.sp-wm { font-family: var(--sans); font-size: clamp(28px,6vw,54px); font-weight: 900; color: #fff; letter-spacing: -1.5px; line-height: 1; margin-top: 20px; opacity: 0; animation: sUp .7s ease 1s forwards; }
.sp-wm .thin { font-weight: 400; color: rgba(255,255,255,.4); }
.sp-rule { width: 0; height: 1px; background: rgba(255,255,255,.18); margin: 14px auto 12px; animation: rExpand .65s ease 1.6s forwards; }
@keyframes rExpand { to { width: 100%; } }
.sp-sub { font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: 5px; text-transform: uppercase; color: rgba(255,255,255,.35); opacity: 0; animation: sUp .5s ease 2.1s forwards; }
.sp-tag { font-family: var(--serif); font-size: clamp(13px,1.8vw,16px); font-style: italic; color: var(--red); opacity: 0; animation: sUp .5s ease 2.5s forwards; margin-top: 32px; }
@keyframes sUp { to { opacity: 1; transform: translateY(0); } }

/* ── Site Wrapper ── */
#site { opacity: 0; transition: opacity .65s ease; }
#site.on { opacity: 1; }

/* ── Topbar ── */
.topbar { background: var(--ink); padding: 8px 60px; display: flex; justify-content: center; gap: 32px; font-family: var(--sans); font-size: 11px; font-weight: 700; }
.topbar a { color: rgba(255,255,255,.5); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { flex-shrink: 0; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,247,245,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 13px 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: box-shadow .3s;
}
.nav-l { display: flex; gap: 20px; align-items: center; }
.nav-r { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
nav a { font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative; transition: color .2s; }
nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--red); transition: width .3s; }
nav a:hover { color: var(--red); }
nav a:hover::after { width: 100%; }

.logo-block { text-align: center; display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.logo-icon { width: 30px; height: 30px; margin-bottom: 4px; }
.logo-wm { font-family: var(--sans); font-size: 15px; font-weight: 900; color: var(--ink); letter-spacing: -.4px; line-height: 1; }
.logo-wm .thin { font-weight: 400; color: var(--muted); }
.logo-rule { display: block; width: 100%; height: 1px; background: var(--ink); margin: 3px 0; }
.logo-sub { font-family: var(--sans); font-size: 6px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 800; }

.nav-cta { background: var(--red) !important; color: #fff !important; padding: 9px 20px; border-radius: 2px; font-size: 10px !important; font-weight: 900 !important; letter-spacing: 1.2px; text-transform: uppercase !important; transition: background .2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-h) !important; }
.nav-ig { display: flex !important; align-items: center; gap: 5px; font-size: 10px !important; font-weight: 700 !important; color: var(--muted) !important; text-transform: none !important; }
.nav-ig::after { display: none !important; }
.nav-ig:hover { color: var(--red) !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; position: absolute; right: 24px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s; }

/* ── Mobile Nav ── */
.mob-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 500; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mob-nav.on { display: flex; }
.mob-nav a { font-family: var(--sans); font-size: 28px; font-weight: 900; color: var(--ink); text-decoration: none; letter-spacing: -1px; transition: color .2s; }
.mob-nav a:hover { color: var(--red); }
.mob-x { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 24px; cursor: pointer; font-family: var(--sans); font-weight: 900; }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 88px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 60px 60px; gap: 60px;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero::before {
  content: ''; position: absolute;
  width: 800px; height: 800px;
  background: rgba(176,0,32,0.15); filter: blur(90px);
  top: -100px; right: -100px; z-index: 1; pointer-events: none;
}
.hero-glow {
  position: absolute; width: 500px; height: 500px;
  background: rgba(153,0,17,0.18); filter: blur(120px);
  bottom: -250px; left: -200px; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .18; z-index: 0;
}

.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(153,0,17,.06); border: 1px solid rgba(153,0,17,.2); border-radius: 100px; padding: 6px 18px; font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 36px; opacity: 0; animation: fUp .6s ease 3.4s forwards; }
.bdot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .1; } }

.hero-hl { font-family: var(--sans); font-size: clamp(44px,6vw,88px); font-weight: 900; line-height: .95; letter-spacing: -3px; color: var(--ink); margin-bottom: 28px; }
.hlw { overflow: hidden; display: block; }
.hli { display: block; opacity: 0; transform: translateY(115%); animation: lineUp .9s cubic-bezier(.16,1,.3,1) forwards; }
.hlw:nth-child(1) .hli { animation-delay: 3.45s; }
.hlw:nth-child(2) .hli { animation-delay: 3.62s; }
.hlw:nth-child(3) .hli { animation-delay: 3.79s; }
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }
.hl-red { color: var(--red); }
.hl-serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .88em; }
@keyframes fUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-desc { font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--muted); line-height: 1.82; max-width: 500px; margin-bottom: 40px; opacity: 0; animation: fUp .6s ease 4s forwards; }
.hero-desc strong { font-style: normal; color: var(--ink); }
.hero-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; opacity: 0; animation: fUp .6s ease 4.15s forwards; }
.hero-in{
  position: relative;
  z-index: 10;
}

.hero-btns a{
  position: relative;
  z-index: 20;
}
.btn-p { display: inline-flex; align-items: center; gap: 9px; background: var(--red); color: #fff; padding: 16px 32px; font-family: var(--sans); font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; border-radius: 2px; border: none; cursor: pointer; transition: background .2s, transform .25s; }
.btn-p:hover { background: var(--red-h); transform: translateY(-3px); }
.btn-s { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); padding: 16px 24px; border: 1.5px solid var(--border); border-radius: 2px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: border-color .2s, transform .25s; }
.btn-s:hover { border-color: var(--ink); transform: translateY(-3px); }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 36px; opacity: 0; animation: fUp .6s ease 4.3s forwards; }
.hero-trust-item { font-family: var(--sans); font-size: 10px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.hero-trust-item span { font-size: 18px; }
.hero-trust-sep { width: 1px; height: 24px; background: var(--border); }

/* ── Hero Visual (Browser Mockup) ── */
.hero-visual { position: relative; z-index: 2; opacity: 0; animation: fUp .8s ease 3.8s forwards; }
.hv-watch-badge { position: absolute; top: -14px; right: 20px; background: var(--red); color: #fff; font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; box-shadow: 0 8px 24px rgba(153,0,17,.4); animation: badgePulse 2.5s ease-in-out infinite; z-index: 10; white-space: nowrap; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.hv-browser { background: #1a1a1a; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.3), 0 8px 32px rgba(0,0,0,.15); border: 1px solid rgba(255,255,255,.07); }
.hv-topbar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #111; border-bottom: 1px solid rgba(255,255,255,.06); }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; }
.hv-dot:nth-child(1) { background: #ff5f57; }
.hv-dot:nth-child(2) { background: #ffbd2e; }
.hv-dot:nth-child(3) { background: #28c840; }
.hv-urlbar { flex: 1; background: rgba(255,255,255,.06); border-radius: 20px; padding: 5px 12px; font-family: var(--sans); font-size: 10px; color: rgba(255,255,255,.28); margin-left: 8px; letter-spacing: .3px; }
.hv-live-pill { background: var(--red); color: #fff; font-family: var(--sans); font-size: 8px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 10px; margin-left: 8px; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.hv-tabs { display: flex; gap: 2px; padding: 10px 14px 0; background: #111; }
.hv-tab { font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 7px 13px; border-radius: 5px 5px 0 0; border: none; cursor: pointer; transition: all .2s; color: rgba(255,255,255,.3); background: none; }
.hv-tab.active { background: #0d1117; color: #58a6ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 20px rgba(88,166,255,.12); }
.hv-tab:hover:not(.active) { color: rgba(255,255,255,.55); }

.hv-split { display: grid; grid-template-columns: 1fr 1fr; height: 280px; }
.hv-code-panel { background: #0d1117; border-right: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; overflow: hidden; }
.hv-code-header { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #161b22; border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.hv-code-filename { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .8px; color: rgba(255,255,255,.3); }
.hv-code-status { width: 6px; height: 6px; background: #28c840; border-radius: 50%; margin-left: auto; animation: hvBlink 1s step-end infinite; }
@keyframes hvBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hv-code-body { flex: 1; padding: 10px 12px; overflow: hidden; font-family: 'Fira Code','Courier New',monospace; font-size: 10px; line-height: 1.7; }
.hv-code-line { display: flex; gap: 10px; white-space: pre; min-height: 17px; }
.hv-ln { color: rgba(255,255,255,.14); min-width: 14px; text-align: right; user-select: none; font-size: 9px; flex-shrink: 0; }

/* Syntax Colors */
.hv-kt { color: #ff7b72; }
.hv-cl { color: #f0883e; }
.hv-pr { color: #79c0ff; }
.hv-st { color: #a5d6ff; }
.hv-cm { color: #8b949e; }
.hv-vl { color: #ffa657; }
.hv-fn { color: #d2a8ff; }
.hv-tx { color: #e6edf3; }

.hv-preview-panel { background: #f5f3f0; display: flex; flex-direction: column; overflow: hidden; }
.hv-preview-header { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: #ece9e5; border-bottom: 1px solid rgba(0,0,0,.07); font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .8px; color: rgba(0,0,0,.32); }
.hv-preview-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.hv-preview-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }

.hv-prev-el { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.hv-prev-el.show { opacity: 1; transform: translateY(0); }

.hv-prev-nav { height: 22px; background: #fff; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; padding: 0 8px; gap: 5px; }
.hv-prev-logo { width: 38px; height: 4px; background: #111; border-radius: 1px; }
.hv-prev-links { display: flex; gap: 4px; margin-left: auto; }
.hv-prev-link { width: 18px; height: 3px; background: #ccc; border-radius: 1px; }
.hv-prev-cta-sm { width: 32px; height: 13px; background: var(--red); border-radius: 1px; }
.hv-prev-badge { height: 13px; width: 100px; border-radius: 10px; border: 1px solid rgba(153,0,17,.35); background: rgba(153,0,17,.08); }
.hv-prev-hero { flex: 1; border-radius: 4px; padding: 12px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.hv-prev-h1 { height: 9px; width: 82%; border-radius: 2px; }
.hv-prev-h2 { height: 6px; width: 58%; border-radius: 2px; }
.hv-prev-btn { height: 15px; width: 52px; border-radius: 2px; margin-top: 4px; }

/* Preview Themes */
.hv-prev-hero.theme-web { background: linear-gradient(135deg,#1c0a0f,#3d0d1a); }
.hv-prev-hero.theme-web .hv-prev-h1 { background: rgba(255,255,255,.85); }
.hv-prev-hero.theme-web .hv-prev-h2 { background: rgba(255,255,255,.42); }
.hv-prev-hero.theme-web .hv-prev-btn { background: #cc2244; }
.hv-prev-hero.theme-auto { background: linear-gradient(135deg,#08101a,#0d1f35); }
.hv-prev-hero.theme-auto .hv-prev-h1 { background: rgba(255,255,255,.8); }
.hv-prev-hero.theme-auto .hv-prev-h2 { background: rgba(120,180,255,.45); }
.hv-prev-hero.theme-auto .hv-prev-btn { background: #2244cc; }
.hv-prev-hero.theme-bot { background: linear-gradient(135deg,#080d10,#0d1a1a); }
.hv-prev-hero.theme-bot .hv-prev-h1 { background: rgba(255,255,255,.75); }
.hv-prev-hero.theme-bot .hv-prev-h2 { background: rgba(100,220,200,.45); }
.hv-prev-hero.theme-bot .hv-prev-btn { background: #008877; }

.hv-stat-row { display: flex; gap: 2px; background: #111; }
.hv-stat { flex: 1; background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.06); padding: 10px; text-align: center; }
.hv-stat-n { font-family: var(--sans); font-size: 17px; font-weight: 900; color: #fff; line-height: 1; }
.hv-stat-l { font-family: var(--sans); font-size: 8px; color: rgba(255,255,255,.28); margin-top: 3px; letter-spacing: .5px; text-transform: uppercase; }

/* ── Ticker ── */
.ticker { background: var(--ink); padding: 14px 0; overflow: hidden; }
.t-track { display: flex; white-space: nowrap; animation: tScroll 40s linear infinite; }
.t-track:hover { animation-play-state: paused; }
.t-item { display: inline-flex; align-items: center; gap: 20px; font-family: var(--sans); font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #fff; padding: 0 28px; }
.tdot { color: var(--red); font-size: 16px; }
@keyframes tScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section Utilities ── */
.sec-lb { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.sec-lb::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--red); }
.sec-ttl { font-family: var(--sans); font-size: clamp(32px,5vw,60px); font-weight: 900; line-height: .97; letter-spacing: -2px; color: var(--ink); }
.sec-ttl.light { color: #fff; }
.sec-sub { font-family: var(--serif); font-size: 17px; color: var(--muted); line-height: 1.8; margin-top: 16px; max-width: 580px; font-style: italic; }
.sec-sub.light { color: rgba(255,255,255,.5); }

/* ── Reveal Animations ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }

/* ── Portfolio ── */
.port-sec { padding: 100px 60px; background: var(--bg); }
.port-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; margin-bottom: 48px; }
.pf-btn { font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 9px 20px; border-radius: 2px; border: 1.5px solid var(--border); background: none; color: var(--muted); cursor: pointer; transition: all .2s; }
.pf-btn.on, .pf-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); }
.p-card { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--light); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.p-card:nth-child(1) { grid-column: span 2; aspect-ratio: auto; min-height: 360px; }
.p-card-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.p-card:hover .p-card-bg { transform: scale(1.04); }
.p-card-bg img { width: 100%; height: 100%; object-fit: contain; background: #000;}
.p-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; opacity: 0; transition: opacity .35s; }
.p-card:hover .p-overlay { opacity: 1; }
.p-tag { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 12px; border-radius: 2px; display: inline-block; margin-bottom: 10px; }
.p-name { font-family: var(--sans); font-size: 20px; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 6px; }
.p-desc { font-family: var(--serif); font-size: 13px; color: rgba(255,255,255,.7); font-style: italic; }

/* ── How It Works ── */
.hiw-sec { background: var(--ink); padding: 100px 60px; position: relative; overflow: hidden; }
.hiw-sec::after { content: ''; position: absolute; inset: 0; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); pointer-events: none; }
.hiw-sec > * { position: relative; z-index: 1; }
.hiw-sec .sec-lb::before { background: var(--red); }
.hiw-sec .sec-lb { color: rgba(255,255,255,.35); }
.hiw-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); margin-top: 60px; }
.hiw-card { background: #0f0f0f; padding: 48px 36px; position: relative; overflow: hidden; }
.hiw-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background .3s; }
.hiw-card:hover::before { background: var(--red); }
.hiw-card-num { font-family: var(--sans); font-size: 72px; font-weight: 900; color: rgba(255,255,255,.04); line-height: 1; margin-bottom: 24px; letter-spacing: -3px; }
.hiw-icon { font-size: 32px; margin-bottom: 20px; }
.hiw-card h3 { font-family: var(--sans); font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.4px; }
.hiw-card p { font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.78; }

/* ── About ── */
.about-sec { padding: 100px 60px; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.about-text { font-family: var(--serif); font-size: 16px; color: var(--muted); line-height: 1.9; }
.about-text p { margin-bottom: 20px; }
.stats-strip { display: flex; margin-top: 52px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { flex: 1; padding: 28px 0; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--sans); font-size: 42px; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 6px; }
.stat-l { font-family: var(--serif); font-size: 12px; color: var(--muted); line-height: 1.5; font-style: italic; }
.vish-card { background: var(--ink); padding: 48px; border-radius: 3px; position: relative; overflow: hidden; }
.vish-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.vish-card::after { content: '\201C'; position: absolute; top: 10px; right: 24px; font-family: var(--serif); font-size: 140px; font-weight: 600; color: rgba(255,255,255,.03); line-height: 1; pointer-events: none; }
.vish-av { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg,#2a2a2a,#444); border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 22px; }
.vish-card h3 { font-family: var(--sans); font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.4px; }
.vish-card p { font-family: var(--serif); font-size: 14px; line-height: 1.78; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.vish-q { border-left: 2px solid var(--red); padding-left: 18px; margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(255,255,255,.88); line-height: 1.65; }
.vish-cite { font-style: normal; font-family: var(--sans); font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,.28); margin-top: 6px; display: block; font-weight: 800; }

/* ── Industries ── */
.ind-sec { background: var(--light); padding: 100px 60px; }
.ind-layout { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin-top: 52px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.ind-tabs-col { display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--border); }
.ind-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 20px; background: none; border: none; border-bottom: 1px solid var(--border); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .25s; text-align: left; position: relative; }
.ind-tab:last-child { border-bottom: none; }
.ind-tab::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); opacity: 0; transition: opacity .25s; }
.ind-tab.on { background: var(--bg); color: var(--ink); }
.ind-tab.on::before { opacity: 1; }
.ind-tab:hover:not(.on) { background: var(--light); color: var(--ink); }
.ind-tab-ico { font-size: 22px; line-height: 1; }
.ind-panel-area { background: var(--bg); padding: 40px; }
.ind-panel { display: none; }
.ind-panel.on { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 2px; background: #FAF7F5; margin: -40px; }
.ind-card { background: var(--bg); padding: 36px 28px; transition: background .3s; position: relative; overflow: hidden; }
.ind-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .4s; }
.ind-card:hover { background: var(--light); }
.ind-card:hover::after { width: 100%; }
.ind-card-num { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.ind-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 10px; letter-spacing: -.3px; line-height: 1.25; }
.ind-card p { font-family: var(--serif); font-size: 13px; color: var(--muted); line-height: 1.76; }
.ind-benefit { margin-top: 12px; padding: 8px 12px; background: rgba(153,0,17,.05); border-left: 2px solid var(--red); font-family: var(--sans); font-size: 10px; color: var(--red); font-weight: 700; line-height: 1.5; }

/* ── Why Us ── */
.why-sec { background: #0c0c0c; padding: 100px 60px; position: relative; overflow: hidden; }
.why-sec::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); }
.why-sec > * { position: relative; z-index: 1; }
.why-sec .sec-lb { color: rgba(255,255,255,.35); }
.why-sec .sec-lb::before { background: var(--red); }
.why-stmt { font-family: var(--sans); font-size: clamp(32px,5vw,64px); font-weight: 900; color: #fff; line-height: .98; letter-spacing: -2px; max-width: 760px; margin: 24px 0 56px; }
.why-stmt em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }
.why-divider { height: 1px; background: rgba(255,255,255,.08); margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.07); }
.why-card { background: #111; padding: 40px 32px; transition: background .3s; }
.why-card:hover { background: #161616; }
.why-num { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.why-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: -.3px; line-height: 1.25; }
.why-card p { font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.76; }
.why-stat { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: baseline; gap: 8px; }
.wsn { font-family: var(--sans); font-size: 28px; font-weight: 900; color: var(--red); }
.wsl { font-family: var(--serif); font-size: 12px; color: rgba(255,255,255,.35); font-style: italic; }
.rs { background: var(--red); padding: 60px; display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1; }
.rs-it { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.2); }
.rs-it:last-child { border-right: none; }
.rs-n { font-family: var(--sans); font-size: clamp(28px,4vw,50px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; }
.rs-l { font-family: var(--serif); font-size: 13px; color: rgba(255,255,255,.72); font-style: italic; }

/* ── FAQ ── */
.faq-sec { background: var(--light); padding: 100px 60px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; margin-top: 56px; align-items: start; }
.faq-left p { font-family: var(--serif); font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 20px; margin-bottom: 28px; font-style: italic; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; background: none; border: none; text-align: left; gap: 16px; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); }
.faq-ic { width: 26px; height: 26px; flex-shrink: 0; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--red); transition: transform .35s, background .2s; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-ans { max-height: 240px; }
.faq-ans p { font-family: var(--serif); font-size: 14px; color: var(--muted); line-height: 1.8; padding-bottom: 22px; }

/* ── Contact ── */
.ct-sec { background: var(--ink); padding: 100px 60px; color: #fff; position: relative; overflow: hidden; }
.ct-sec::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .04; backg
    round-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); }
.ct-sec > * { position: relative; z-index: 1; }
.ct-sec .sec-lb { color: rgba(255,255,255,.35); }
.ct-sec .sec-lb::before { background: var(--red); }
.ct-sec .sec-ttl { color: #fff; }
.ct-sub { font-family: var(--serif); font-size: 16px; font-style: italic; color: rgba(255,255,255,.45); margin-top: 12px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-top: 56px; align-items: start; }
.ct-info-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ct-ico-wrap { width: 44px; height: 44px; background: rgba(255,255,255,.05); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-label { font-family: var(--sans); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 4px; font-weight: 900; }
.ct-val { font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.ct-val:hover { color: #fff; }
.ct-wa-cta { display: flex; align-items: center; gap: 14px; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.2); border-radius: 4px; padding: 18px 20px; margin-top: 36px; text-decoration: none; transition: all .2s; }
.ct-wa-cta:hover { background: rgba(37,211,102,.14); }
.ct-wa-icon { width: 40px; height: 40px; background: rgba(37,211,102,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-wa-text strong { font-family: var(--sans); font-size: 13px; font-weight: 800; color: #25d366; display: block; margin-bottom: 3px; }
.ct-wa-text span { font-family: var(--serif); font-size: 12px; color: rgba(255,255,255,.45); font-style: italic; }
.c-form { display: flex; flex-direction: column; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-family: var(--sans); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); font-weight: 900; }
.fg input, .fg textarea, .fg select { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 2px; padding: 14px 16px; font-family: var(--serif); font-size: 14px; color: #fff; outline: none; transition: border-color .2s; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.18); font-style: italic; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--red); }
.fg textarea { resize: vertical; min-height: 120px; }
.fg select { -webkit-appearance: none; cursor: pointer; font-family: var(--sans); font-size: 13px; }
.fg select option { background: #1a1a1a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-send { background: var(--red); color: #fff; border: none; padding: 17px 36px; font-family: var(--sans); font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s, transform .2s; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; }
.btn-send:hover { background: var(--red-h); transform: translateY(-2px); }
.form-success { display: none; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.2); border-radius: 4px; padding: 20px 24px; font-family: var(--serif); font-size: 15px; color: #25d366; font-style: italic; }
.form-success.show { display: block; }

/* ── WhatsApp Float ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(37,211,102,.4); text-decoration: none; animation: waIn 1s cubic-bezier(.16,1,.3,1) 4s both; transition: transform .25s, box-shadow .25s; }
.wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 36px rgba(37,211,102,.55); }
@keyframes waIn { from { opacity: 0; transform: scale(0) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wa-float svg { width: 28px; height: 28px; }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,.4); animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.65); opacity: 0; } }
.wa-tooltip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 8px 14px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border: 5px solid transparent; border-right: none; border-left-color: var(--ink); }
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── Footer ── */
footer { background: #050505; padding: 64px 60px 32px; border-top: 1px solid rgba(255,255,255,.05); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07); }
.foot-brand { display: flex; flex-direction: column; }
.foot-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.foot-logo-icon { width: 24px; height: 24px; }
.foot-wm { font-family: var(--sans); font-size: 15px; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.foot-wm span { font-weight: 400; color: rgba(255,255,255,.35); }
.foot-tagline { font-family: var(--serif); font-size: 13px; color: rgba(255,255,255,.32); font-style: italic; line-height: 1.65; margin-bottom: 22px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 34px; height: 34px; background: rgba(255,255,255,.05); border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: background .2s; text-decoration: none; }
.foot-social a:hover { background: var(--red); }
.foot-col h4 { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 20px; }
.foot-col a { display: block; font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,.38); text-decoration: none; margin-bottom: 11px; transition: color .2s; letter-spacing: .2px; }
.foot-col a:hover { color: rgba(255,255,255,.85); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
.foot-copy { font-family: var(--serif); font-size: 12px; color: rgba(255,255,255,.2); font-style: italic; }
.foot-bottom-links { display: flex; gap: 22px; }
.foot-bottom-links a { font-family: var(--sans); font-size: 10px; font-weight: 800; color: rgba(255,255,255,.2); text-decoration: none; letter-spacing: .8px; text-transform: uppercase; transition: color .2s; }
.foot-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hv-split { grid-template-columns: 1fr; height: auto; }
  .hv-code-panel { min-height: 220px; }
  .hv-preview-panel { min-height: 220px; }
  .hv-watch-badge { right: 10px; top: -10px; font-size: 8px; padding: 6px 10px; }
  .hv-stat-row { flex-direction: column; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 80px 40px 60px; }
  .hero-visual { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 960px) {
  .about-grid, .ct-grid, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .rs { grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.15); }
  .rs-it { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 30px; }
  header { padding: 14px 24px; }
  .nav-l, .nav-r { display: none; }
  .burger { display: flex; }
  .topbar { padding: 7px 16px; gap: 16px; font-size: 10px; }
  .ind-layout { grid-template-columns: 1fr; }
  .ind-tabs-col { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); }
  .ind-tab { flex-direction: row; border-bottom: none; border-right: 1px solid var(--border); padding: 14px 18px; }
  .ind-tab::before { width: auto; height: 3px; top: auto; bottom: 0; right: 0; }
}

@media (max-width: 640px) {
  .port-sec, .hiw-sec, .about-sec, .ind-sec, .why-sec, .testi-sec, .price-sec, .faq-sec, .ct-sec { padding: 80px 24px; }
  footer { padding: 48px 24px 24px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .foot-bottom-links { justify-content: center; flex-wrap: wrap; }
  .topbar { gap: 12px; justify-content: flex-start; overflow-x: auto; }
  .hero { padding: 60px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .p-card:nth-child(1) { grid-column: auto; min-height: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .rs { padding: 40px 24px; }
} 
/* =========================
   MOBILE RESPONSIVE FIXES
========================= */

@media (max-width: 768px) {

  /* Header */
  header {
    grid-template-columns: 1fr;
    padding: 15px 20px;
  }

  .nav-l,
  .nav-r {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Hero Section */
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    gap: 40px;
    text-align: center;
  }

  .hero-hl {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1px;
  }

  .hero-desc {
    font-size: 15px;
    max-width: 100%;
    margin: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  /* Browser Mockup */
  .hv-split {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hv-browser {
    width: 100%;
    overflow-x: hidden;
  }

  /* Portfolio */
  .port-grid {
    grid-template-columns: 1fr;
  }

  /* Sections */
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Topbar */
  .topbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    text-align: center;
  }

  /* Typography */
  .sec-ttl {
    font-size: 34px;
    line-height: 1.2;
  }

  .sec-sub {
    font-size: 15px;
  }

  /* Buttons */
  .btn-p,
  .btn-s {
    width: 100%;
    justify-content: center;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
}