/* =========================================================
   TaxEaseLK — design system ported from Subscrr
   (same tokens, same accent, same restraint — content swapped)
   ========================================================= */
:root {
  --orange: #2323a1;       /* Changed to Violet */
  --orange-rgb: 124, 58, 237; 
  --orange-soft: #7c3aed;
  --peri: #ddd6fe;         /* Light Violet */
  --peri-ink: #6d28d9;     /* Dark Violet */
  --ink: #0f172a;          /* Slate 900 */
  --ink-2: #020617;        /* Slate 950 */
  --muted: #64748b;        /* Slate 500 */
  --bg: #f8fafc;           /* Slate 50 */
  --bg-2: #f1f5f9;         /* Slate 100 */
  --peri-panel: #f5f3ff;   /* Violet 50 */
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px -6px rgba(15, 23, 42, 0.1);
  --shadow: 0 26px 60px -28px rgba(15, 23, 42, 0.25);
  --shadow-lg: 0 50px 110px -40px rgba(15, 23, 42, 0.35);
  --grain-blend: multiply;
  --grain-op: 0.35;
  --nav-tint: rgba(255, 255, 255, 0.22);
  --nav-tint-scrolled: rgba(255, 255, 255, 0.55);
  --nav-sheen-a: rgba(255, 255, 255, 0.35);
  --nav-sheen-b: rgba(255, 255, 255, 0.18);
  --nav-edge-a: rgba(255, 255, 255, 0.9);
  --nav-edge-b: rgba(255, 255, 255, 0.55);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.7);
  --plan-pro-grad: linear-gradient(180deg, #ffffff, #f5f3ff);
  --cta-bg: var(--orange);
  --cta-color: #ffffff;
  --cta-border: transparent;
  --cta-shadow: 0 50px 110px -40px rgba(var(--orange-rgb), 0.6);
  --cta-blob: rgba(221, 214, 254, 0.7);
  --cta-fine: rgba(255, 255, 255, 0.86);
  --btn-solid-hover: #ffffff;
  --btn-dark-bg: var(--ink);
  --btn-dark-color: var(--bg);
  --tgl-bg: rgba(255, 255, 255, 0.4);
  --tgl-knob: rgba(255, 255, 255, 0.65);
  --tgl-line: rgba(255, 255, 255, 0.75);
  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 84px);
  --r: 26px;
  --r-lg: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Inter", "Noto Sans Sinhala", "Noto Sans Tamil", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Noto Sans Sinhala", "Noto Sans Tamil", var(--font);
}
html[data-theme="dark"] {
  --orange: #2323a1;       /* Lighter violet for dark mode contrast */
  --orange-rgb: 167, 139, 250;
  --peri: rgba(255, 255, 255, 0.4);
  --peri-ink: rgba(255, 255, 255, 0.5);
  --ink: #F1F5F9;         /* Slate 100 */
  --ink-2: #020617;       /* Slate 950 */
  --muted: #94a3b8;       /* Slate 400 */
  --bg: #0B1120;          /* Deep Slate */
  --bg-2: #1E293B;        /* Slate 800 */
  --peri-panel: #1E293B;
  --card: #1E293B;
  --line: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px -24px rgba(0, 0, 0, 0.6);
  --grain-blend: overlay;
  --grain-op: 0.22;
  --nav-tint: rgba(11, 17, 32, 0.45);
  --nav-tint-scrolled: rgba(11, 17, 32, 0.75);
  --nav-sheen-a: rgba(255, 255, 255, 0.07);
  --nav-sheen-b: rgba(255, 255, 255, 0.04);
  --nav-edge-a: rgba(255, 255, 255, 0.25);
  --nav-edge-b: rgba(255, 255, 255, 0.14);
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-line: rgba(255, 255, 255, 0.1);
  --plan-pro-grad: linear-gradient(180deg, #1E293B, #2e1065);
  --cta-bg: var(--card);
  --cta-color: var(--ink);
  --cta-border: var(--line);
  --cta-shadow: var(--shadow-lg);
  --cta-blob: rgba(var(--orange-rgb), 0.18);
  --cta-fine: var(--muted);
  --btn-solid-hover: #0B1120;
  --btn-dark-bg: var(--orange);
  --btn-dark-color: #0f172a;
  --tgl-bg: rgba(11, 17, 32, 0.55);
  --tgl-knob: rgba(30, 41, 59, 0.85);
  --tgl-line: rgba(255, 255, 255, 0.12);
}
html { background: var(--bg); }
body, .loader { transition: background 0.45s ease, color 0.45s ease; }
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px); line-height: 1.6; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; margin: 0; }
h1 em, h2 em, h3 em { font-style: normal; }
em { font-style: normal; color: var(--orange); }
section { position: relative; z-index: 2; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}


body {
  cursor: none; 
}

/* Add this class to your CSS file */
.custom-cursor {
  width: 30px; 
  height: 30px;
  background-color: #000080; /* This is Navy Blue */
  border-radius: 50%; 
  position: fixed; 
  pointer-events: none; 
  z-index: 9999; 
  transform: translate(-50%, -50%); 
  mix-blend-mode: difference; /* Optional: makes it visible on both dark and light backgrounds */
}

body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary { cursor: none; }

.loader { position: fixed; inset: 0; z-index: 9000; background: var(--bg); display: grid; place-content: center; gap: 18px; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader__mark { display: flex; align-items: center; gap: 12px; opacity: 0; }
.loader__mark .mark { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 20px; }
.loader__mark span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--spring), box-shadow 0.3s var(--ease);
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.96); }
.btn--solid { background: var(--orange); color: #fff; box-shadow: 0 6px 20px -10px rgba(var(--orange-rgb), 0.45); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--dark { background: var(--btn-dark-bg); color: var(--btn-dark-color); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s, visibility 0.35s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { opacity: 0.88; }
.to-top svg { width: 18px; height: 18px; display: block; }
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 28px); max-width: var(--wrap); display: flex; align-items: center; gap: 24px; padding: 12px 12px 12px 22px; border-radius: 100px; transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s, top 0.45s var(--ease); }
.nav__glass { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
.nav__glass i { position: absolute; inset: -2%; backdrop-filter: blur(7px) saturate(175%); }
.nav > *:not(.nav__glass) { position: relative; z-index: 1; }
.nav::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--nav-edge-a), rgba(255,255,255,0.08) 38%, rgba(255,255,255,0.03) 62%, var(--nav-edge-b)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.nav::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, var(--nav-sheen-a) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 66%, var(--nav-sheen-b) 100%), var(--nav-tint); pointer-events: none; transition: background 0.4s; }
.nav.is-scrolled::before { background: linear-gradient(115deg, var(--nav-sheen-a) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 66%, var(--nav-sheen-b) 100%), var(--nav-tint-scrolled); }
.nav.is-hidden { transform: translateX(-50%) translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; font-family: var(--display); }
.brand em { color: var(--ink); font-weight: 500; opacity: 0.55; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav__links a { position: relative; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__lang { display: flex; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.nav__lang button { border: 0; background: transparent; padding: 6px 9px; border-radius: 100px; cursor: pointer; color: inherit; font: inherit; transition: background 0.3s, color 0.3s; }
.nav__lang button.is-active { background: var(--orange); color: #fff; }
@media (max-width: 1080px) { .nav__lang { display: none; } }
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 0; padding: 150px var(--pad) 80px; max-width: var(--wrap); margin-inline: auto; }
.hero__inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.tagline { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--peri-ink); text-transform: uppercase; margin-bottom: clamp(20px, 4vh, 34px); justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(var(--orange-rgb), 0.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(var(--orange-rgb), 0); } }
.hero__title { font-size: clamp(42px, 6vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; max-width: 900px; }
.hero__title .line { display: block; overflow: hidden; padding-top: 0.2em; margin-top: -0.2em; padding-bottom: 0.3em; margin-bottom: -0.3em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); margin: clamp(22px, 4vh, 34px) auto 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.hero__stage { position: relative; min-height: unset; width: min(94%, 960px); margin: clamp(40px, 6vh, 70px) auto 0; display: flex; justify-content: center; perspective: 1500px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); z-index: 3; }
.scroll-cue i { width: 1.5px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---- 3D Finalized Workspace Mockup ---- */
.wmock { position: relative; width: 100%; max-width: 880px; border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.25), 0 0 0 1px var(--line); text-align: left; z-index: 1; transform: rotateX(4deg); transition: transform 0.6s var(--spring); }
.hero__stage:hover .wmock { transform: rotateX(0deg) scale(1.01); }
.wmock__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.wmock__dots { display: flex; gap: 6px; }
.wmock__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(100,116,139,0.2); }
.wmock__url { margin: 0 auto; font-size: 12px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 6px 18px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.wmock__url::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.2); }
.wmock__body { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.wmock__side { border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(to right, rgba(var(--orange-rgb), 0.03), transparent); }
.wmock__side .wm-item { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; transition: background 0.2s, color 0.2s; }
.wmock__side .wm-item svg { width: 16px; height: 16px; }
.wmock__side .wm-item.is-active { background: rgba(var(--orange-rgb), 0.12); color: var(--orange); }
.wmock__main { padding: 28px 30px; }
.wmock__head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.wmock__head h4 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.3; }
.wmock__head h4 span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--font); margin-top: 4px; }
.wmock__head span.pill { font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: rgba(var(--orange-rgb), 0.14); color: var(--orange); display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(var(--orange-rgb), 0.2); }
.wmock__head span.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.2); }
.wmock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.wmock__stats .ws { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.wmock__stats .ws b { display: block; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.wmock__stats .ws span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.ws__bar { width: 100%; height: 5px; background: var(--line); border-radius: 100px; overflow: hidden; margin-top: auto; }
.ws__bar i { display: block; height: 100%; background: var(--orange); border-radius: 100px; }
.wmock__list h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px 4px; font-weight: 700; }
.wmock__list .rows { display: grid; gap: 10px; }
.wmock__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 600; transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; }
.wmock__row:hover { transform: translateY(-2px); border-color: rgba(var(--orange-rgb), 0.3); box-shadow: 0 4px 12px -4px rgba(var(--orange-rgb), 0.1); }
.wmock__file { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.wmock__file svg { color: var(--muted); width: 18px; height: 18px; }
.wmock__row span.status { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 100px; display: flex; align-items: center; gap: 6px; }
.wmock__row span.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { background: rgba(60,150,90,0.12); color: #2c7a4b; border: 1px solid rgba(60,150,90,0.2); }
.status--warn { background: rgba(var(--orange-rgb), 0.12); color: var(--orange); border: 1px solid rgba(var(--orange-rgb), 0.2); }
.status--bad { background: rgba(200,60,40,0.1); color: #b3402a; border: 1px solid rgba(200,60,40,0.2); }
@media (max-width: 720px) { .wmock__body { grid-template-columns: 1fr; } .wmock__side { display: none; } .wmock__stats { grid-template-columns: 1fr 1fr; } .wmock { transform: none; } }

.glass { position: absolute; background: var(--glass-bg); backdrop-filter: blur(14px) saturate(150%); border: 1px solid var(--glass-line); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; animation: bob 6s ease-in-out infinite; z-index: 5; }
.glass__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.glass__v { font-family: var(--font); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--orange); }
.glass__v small { font-size: 13px; color: var(--muted); font-weight: 600; }
.glass--a { top: 60px; left: -40px; animation-delay: 0.2s; }
.glass--c { bottom: 80px; right: -30px; animation-delay: 1.1s; }
.glass--b { bottom: -30px; left: 20%; flex-direction: row; align-items: center; gap: 12px; animation-delay: 0.7s; }
.glass__bell { font-size: 20px; animation: ring 2.6s var(--ease) infinite; transform-origin: top center; }
@keyframes ring { 0%,60%,100%{transform:rotate(0)} 65%{transform:rotate(16deg)} 70%{transform:rotate(-14deg)} 75%{transform:rotate(10deg)} 80%{transform:rotate(-6deg)} 85%{transform:rotate(0)} }
.glass__t { display: block; font-weight: 700; font-size: 14px; }
.glass__s { display: block; font-size: 12px; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-12px); } }
@media (max-width: 1000px) { .glass { display: none; } }

.stats { padding: clamp(30px, 6vh, 60px) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease); }
.stat:hover { transform: translateY(-6px); }
.stat b { font-family: var(--font); font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.04em; color: var(--orange); display: block; line-height: 1; }
.stat span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 12px; }
@media (max-width: 960px) { .stats__row { grid-template-columns: repeat(2, 1fr); } }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--peri-ink); margin-bottom: 20px; }

.modules { padding: clamp(50px, 9vh, 120px) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.modules__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vh, 70px); }
.modules__head h2 { font-size: clamp(36px, 5vw, 72px); }
.modules__head p { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); margin: 20px 0 0; }
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.modcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease); }
.modcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.modcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.modcard--wide > div:first-child { display: flex; flex-direction: column; }
.modcard .modicon { width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--orange-rgb), 0.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.modcard h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.modcard p { color: var(--muted); font-size: 15px; margin: 0; }
.modcard__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modcard__tags span { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--line); }
@media (max-width: 900px) { .modgrid { grid-template-columns: 1fr; } .modcard--wide { grid-template-columns: 1fr; grid-column: 1 / -1; } }

.flow { padding: clamp(50px, 9vh, 120px) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.flow__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vh, 70px); }
.flow__head h2 { font-size: clamp(36px, 5vw, 72px); }
.flow__head p { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); margin: 20px 0 0; }
.flow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow__step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.flow__step b { display: block; font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: 0.04em; margin-bottom: 14px; }
.flow__step h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.flow__step p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) { .flow__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow__grid { grid-template-columns: 1fr; } }

/* ---- Particle Text Assembly Section ---- */
.particle-section { padding: clamp(40px, 6vh, 80px) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.pt-stage { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); min-height: 340px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 50px); align-items: center; cursor: pointer; }
/* Canvas spans the entire card so the dust scatters edge to edge */
.pt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 1; transition: opacity 0.4s ease; }
.pt-stage > .particle-area, .pt-stage > .extract-mockup { position: relative; z-index: 2; }
.pt-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--peri-ink); margin: 0 0 1.25rem; text-transform: uppercase; }
.pt-realtext { opacity: 0; transition: opacity 0.4s ease; }
.pt-headline { font-family: var(--display), Arial, sans-serif; font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
.pt-ink { color: var(--ink); }
.pt-accent { color: var(--orange); }
.pt-caption { font-size: 13px; color: var(--muted); margin: 1.25rem 0 0; line-height: 1.6; max-width: 400px; opacity: 0; transition: opacity 0.6s ease 0.15s; }
.pt-hint { font-size: 12px; color: var(--muted); margin: 1rem 0 0; opacity: 0; transition: opacity 0.4s ease 0.3s; }
@media (max-width: 900px) { .pt-stage { grid-template-columns: 1fr; min-height: 280px; } }

.pricing { padding: clamp(40px, 6vh, 80px) var(--pad) clamp(60px, 10vh, 120px); max-width: var(--wrap); margin-inline: auto; }
.pricing__head { text-align: center; margin-bottom: clamp(30px, 5vh, 54px); }
.pricing__head h2 { font-size: clamp(36px, 5vw, 80px); }
.pricing__head p { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); margin: 18px 0 0; max-width: 620px; margin-inline: auto; }
.toggle { position: relative; display: inline-flex; margin-top: 30px; background: var(--bg-2); border-radius: 100px; padding: 5px; gap: 4px; }
.toggle__opt { position: relative; z-index: 2; border: 0; background: transparent; font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--muted); padding: 10px 26px; border-radius: 100px; cursor: pointer; transition: color 0.35s var(--ease); }
.toggle__opt.is-active { color: #fff; }
.toggle__thumb { position: absolute; z-index: 1; top: 5px; left: 5px; height: calc(100% - 10px); border-radius: 100px; background: var(--orange); box-shadow: 0 8px 18px -8px rgba(var(--orange-rgb), 0.7); transition: transform 0.45s var(--spring), width 0.45s var(--spring); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plans[data-hidden] { display: none; }
.plan { position: relative; padding: 32px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan header { margin-bottom: 6px; }
.plan h3 { font-size: 21px; font-weight: 700; }
.plan__price { font-family: var(--font); font-weight: 800; font-size: 32px; letter-spacing: -0.04em; }
.plan__price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan > p { color: var(--muted); font-size: 14px; margin: 10px 0 22px; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 14px; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan--pro { background: var(--plan-pro-grad); border-color: rgba(var(--orange-rgb), 0.35); box-shadow: var(--shadow); }
.plan__flag { position: absolute; top: -13px; right: 26px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 13px; border-radius: 100px; box-shadow: 0 6px 16px -8px rgba(var(--orange-rgb), 0.4); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

.faq { padding: clamp(50px, 9vh, 120px) var(--pad); max-width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 80px); }
.faq__head h2 { font-size: clamp(36px, 4vw, 64px); }
.faq__head p { color: var(--muted); margin-top: 16px; font-size: 15.5px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--font); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -0.02em; transition: color 0.3s; }
.qa summary:hover { color: var(--orange); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 16px; height: 16px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--orange); transition: transform 0.4s var(--spring); }
.qa summary i::before { width: 100%; height: 2px; }
.qa summary i::after { width: 2px; height: 100%; }
.qa[open] summary i::after { transform: scaleY(0); }
.qa[open] summary i::before { transform: rotate(180deg); }
.qa p { margin: 0 0 26px; color: var(--muted); max-width: 620px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

.contact { padding: clamp(50px, 9vh, 130px) var(--pad); max-width: var(--wrap); margin-inline: auto; }
.contact__wrapper { position: relative; min-height: 400px; transition: min-height 0.3s ease; }
.contact__card { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 80px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 70px); box-shadow: var(--shadow-sm); transition: transform 1s var(--ease), opacity 1s var(--ease); transform-origin: top left; }
.contact__text h2 { font-size: clamp(32px, 4vw, 54px); }
.contact__text p { color: var(--muted); margin: 20px 0 28px; font-size: 15.5px; max-width: 400px; }
.contact__meta { display: grid; gap: 12px; }
.contact__meta a, .contact__meta span { font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }

.cform { display: grid; gap: 6px; }
.cform input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 2px 12px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.cform input::placeholder { color: var(--muted); opacity: 0.75; }
.cform input:focus { border-bottom-color: var(--orange); }
.cform .btn { justify-self: start; margin-top: 20px; }

@keyframes flyCardAway {
    0% { transform: translate(0,0) rotate(0deg) scale(1); opacity: 1; border-radius: var(--r-lg); }
    30% { transform: translate(-20px, 10px) rotate(-5deg) scale(0.95); border-radius: 20px; }
    70% { transform: translate(40vw, -40vh) rotate(20deg) scale(0.6); border-radius: 0; opacity: 0.8; }
    100% { transform: translate(120vw, -100vh) rotate(45deg) scale(0.2); opacity: 0; border-radius: 0; }
}
.flying { animation: flyCardAway 1.2s cubic-bezier(0.45, 0, 0.55, 1) forwards; pointer-events: none; }

.contact__success { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; text-align: center; background: transparent; opacity: 0; visibility: hidden; transition: opacity 0.5s ease 0.2s, transform 0.5s var(--spring) 0.2s; transform: scale(0.8); z-index: 5; }
.contact__success.visible { opacity: 1; visibility: visible; transform: scale(1); }
.contact__success svg { width: 72px; height: 72px; stroke: var(--orange); fill: none; stroke-width: 2; filter: drop-shadow(0 0 20px rgba(var(--orange-rgb), 0.3)); }
.contact__success h3 { font-family: var(--display); font-size: 32px; font-weight: 800; margin: 0; }
.contact__success p { color: var(--muted); margin: 0; font-size: 16px; }

@media (max-width: 900px) { .contact__card { grid-template-columns: 1fr; } }

.footer { position: relative; z-index: 2; margin-top: clamp(40px, 8vh, 90px); padding: clamp(80px, 14vh, 170px) var(--pad) 34px; background: var(--ink-2); border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; overflow: hidden; }
.footer__cta { display: block; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 6vw, 92px); line-height: 1.06; letter-spacing: -0.04em; color: var(--orange); margin-bottom: clamp(70px, 12vh, 140px); }
.footer__cta .footer__cta-w { display: inline-block; transition: transform 0.45s var(--spring); }
.footer__cta:hover .footer__cta-w { transform: translateY(-3px); }
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: #f4f4f6; font-size: 18px; }
.footer__brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 11px; }
.footer__tag { color: #9a9ba3; font-size: 13.5px; margin-top: 10px; max-width: 220px; }
.footer__cols { display: flex; gap: 60px; margin-left: auto; flex-wrap: wrap; }
.footer__col h4 { color: #f4f4f6; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; color: #9a9ba3; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__fine { color: #9a9ba3; font-size: 13.5px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 700px) { .footer__row { flex-direction: column; } .footer__cols { margin-left: 0; gap: 34px; } }

.reveal-up { opacity: 0; transform: translateY(30px); filter: blur(6px); }
.reveal-up.in { opacity: 1; transform: none; filter: blur(0); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; filter: none; } }
.gsap-ready .reveal-up { will-change: transform, opacity; }

/* Sun & Moon Theme Toggle */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--bg-2); box-shadow: 0 4px 12px -4px rgba(0,0,0,0.08);
  color: var(--muted); font-family: var(--font); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background 0.4s, border-color 0.4s, color 0.4s;
  letter-spacing: 0.02em;
}
.theme-toggle__knob {
  position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; color: #fff; overflow: hidden;
  transition: background 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(var(--orange-rgb), 0.5);
}
.theme-toggle__knob .tgl-icon {
  position: absolute; width: 16px; height: 16px;
  transition: transform 0.5s var(--spring), opacity 0.4s ease;
}
.theme-toggle__knob .icon-sun { transform: translateY(0) rotate(0deg); opacity: 1; }
.theme-toggle__knob .icon-moon { transform: translateY(150%) rotate(-90deg); opacity: 0; }

html[data-theme="dark"] .theme-toggle__knob .icon-sun { transform: translateY(-150%) rotate(90deg); opacity: 0; }
html[data-theme="dark"] .theme-toggle__knob .icon-moon { transform: translateY(0) rotate(0deg); opacity: 1; }

@media (max-width: 720px) { .theme-toggle { display: none; } }

/* AI Extract Mockup inside Particle Section */
.extract-mockup { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 24px; opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity 0.6s var(--ease), transform 0.6s var(--spring); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.extract-mockup.in { opacity: 1; transform: none; }
.em-header { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.em-live { margin-left: auto; background: rgba(var(--orange-rgb), 0.1); color: var(--orange); padding: 4px 10px; border-radius: 100px; font-size: 10px; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.em-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.2); animation: pulse 1.5s infinite; }
.em-body { display: flex; gap: 20px; align-items: center; }
.em-receipt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; width: 45%; height: 140px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.em-scan-line { position: absolute; left: -10%; right: -10%; height: 4px; background: linear-gradient(90deg, transparent, var(--orange), transparent); top: 0; box-shadow: 0 0 15px 3px rgba(var(--orange-rgb), 0.5); animation: scan 2s infinite cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.em-line { height: 6px; background: var(--bg-2); border-radius: 100px; }
.w-30 { width: 30%; } .w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; } .w-100 { width: 100%; }
.em-data { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.em-data-row { display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateX(10px); transition: all 0.4s var(--ease); }
.extract-mockup.in .em-data-row:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.3s; }
.extract-mockup.in .em-data-row:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.5s; }
.extract-mockup.in .em-data-row:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.7s; }
.em-data-row span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.em-data-row b { font-size: 15px; font-weight: 700; color: var(--ink); font-family: var(--font); }
.em-amount { color: var(--orange) !important; font-size: 20px !important; font-family: var(--display) !important; }
@media (max-width: 900px) { .extract-mockup { display: none; } }

