/* ════════════════════════════════════════════════════
   MyQuant — style.css
   Premium Light Theme | v3.0
   ════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg:           #f4f8ff;
  --bg-soft:      #eef5ff;
  --surface:      rgba(255,255,255,0.88);
  --surface-solid:#ffffff;
  --card:         #ffffff;
  --text:         #102033;
  --heading:      #071426;
  --muted:        #64748b;
  --line:         rgba(15,23,42,0.09);
  --primary:      #2563eb;
  --primary-2:    #00a7ff;
  --accent:       #14b8a6;
  --accent-2:     #8b5cf6;
  --warning:      #f59e0b;
  --success:      #22c55e;
  --danger:       #ef4444;
  --shadow:       0 24px 70px rgba(37,99,235,0.14);
  --shadow-soft:  0 8px 32px rgba(15,23,42,0.07);
  --max:          1280px;
  --nav-h:        76px;
  --radius-card:  28px;
  --radius-xl:    36px;
  --ease-out:     cubic-bezier(0.22,1,0.36,1);
  --ease-spring:  cubic-bezier(0.34,1.56,0.64,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
  min-height: 100vh;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Pretendard Variable", sans-serif;
  background:
    radial-gradient(circle at 10% 4%,  rgba(0,167,255,0.18),   transparent 32%),
    radial-gradient(circle at 90% 2%,  rgba(139,92,246,0.16),  transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--text);
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid rgba(37,99,235,0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--heading);
  color: #fff;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 80px, var(--max));
  margin: 0 auto;
}

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  z-index: 1000;
  border-radius: 0 999px 999px 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(37,99,235,0.5);
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(24px) saturate(1.9);
  -webkit-backdrop-filter: blur(24px) saturate(1.9);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 17px;
  color: var(--heading);
  flex-shrink: 0;
}

.logo-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: #fff;
  display: block;
  box-shadow: 0 10px 28px rgba(37,99,235,0.22);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.12);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.logo-text strong {
  font-size: 17px;
  letter-spacing: -0.04em;
}

.logo-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Nav menu */
.nav-menu {
  display: flex;
  gap: 26px;
  color: #526174;
  font-size: 14.5px;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--heading); }

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.3);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.2s ease;
  border: none;
  background: transparent;
}

.hamburger:hover { background: rgba(37,99,235,0.08); }

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--heading);
  border-radius: 999px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease, width 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.35s, opacity 0.2s ease;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,20,38,0.36);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-panel {
  position: relative;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(calc(-100% - var(--nav-h)));
  transition: transform 0.35s var(--ease-out);
  z-index: 1;
}

.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.mobile-drawer.open .drawer-overlay { opacity: 1; }
.mobile-drawer.open .drawer-panel { transform: translateY(0); }

.drawer-link {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  transition: background 0.2s ease;
}

.drawer-link:hover { background: rgba(37,99,235,0.07); color: var(--primary); }

.drawer-cta {
  margin-top: 8px;
  padding: 15px !important;
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #fff !important;
  border-radius: 16px !important;
  text-align: center;
  font-weight: 700 !important;
}

/* ── PARTICLES ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg,
      rgba(247,250,255,0.99)  0%,
      rgba(247,250,255,0.95) 34%,
      rgba(247,250,255,0.72) 52%,
      rgba(247,250,255,0.18) 74%,
      rgba(247,250,255,0.02) 100%),
    url("./asset/first.png");
  background-size: cover;
  background-position: center right;
}

.hero .container { position: relative; z-index: 2; }

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(255,255,255,0.68), transparent 32%),
    radial-gradient(circle at 72% 18%, rgba(0,167,255,0.10), transparent 34%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 0.48fr) 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
  width: min(100% - 96px, var(--max));
  margin: 0 auto;
  padding: 80px 0;
}

.hero-copy {
  max-width: 580px;
  margin-left: 0;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 26px;
  box-shadow: 0 6px 20px rgba(37,99,235,0.1);
  animation: float-badge 3.5s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.72); }
}

/* H1 */
h1 {
  color: var(--heading);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin-bottom: 26px;
}

.hero h1 {
  min-height: 3.35em;
}

.hero-title-line,
.hero-type-line {
  display: block;
}

.hero-type-line {
  min-height: 2.2em;
  max-width: 12em;
}

.hero strong {
  color: transparent;
  background: linear-gradient(110deg, var(--primary) 10%, var(--primary-2) 50%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px; height: 0.85em;
  background: var(--primary);
  border-radius: 2px;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.78;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--heading);
  line-height: 1.1;
}

.stat-num span { color: var(--primary); }

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  background: rgba(15,23,42,0.12);
  align-self: stretch;
  margin: 4px 0;
}

/* Hero actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

/* Hero note */
.hero-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 520px;
  color: #6b7280;
  font-size: 13px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,23,42,0.08);
  padding: 10px 14px;
  border-radius: 13px;
  backdrop-filter: blur(8px);
  line-height: 1.55;
}

.hero-note-icon { flex-shrink: 0; margin-top: 1px; }

/* ── HERO VISUAL: LIVE MONITOR ── */
.hero-visual-space {
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
}

.live-monitor {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: 24px;
  box-shadow:
    0 30px 70px rgba(37,99,235,0.14),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: monitor-float 5s ease-in-out infinite;
}

@keyframes monitor-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.monitor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15,23,42,0.07);
  background: rgba(37,99,235,0.03);
}

.monitor-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50%       { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.monitor-price {
  font-size: 18px;
  font-weight: 900;
  font-family: monospace;
  color: var(--primary);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.monitor-price.up   { color: #16a34a; }
.monitor-price.down { color: var(--danger); }

/* Mini chart area */
.monitor-chart {
  height: 140px;
  padding: 0 16px;
  position: relative;
}

#hero-mini-chart {
  width: 100%;
  height: 100%;
}

/* Trade log */
.monitor-logs {
  background: rgba(7,20,38,0.04);
  border-top: 1px solid rgba(15,23,42,0.06);
  padding: 12px 16px;
  height: 118px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.log-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(15,23,42,0.05);
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(8px);
  animation: log-slide 0.3s var(--ease-out) forwards;
}

.log-row:last-child { border-bottom: none; }

@keyframes log-slide { to { opacity: 1; transform: translateY(0); } }

.log-time  { color: var(--muted); font-family: monospace; }
.log-msg   { color: var(--heading); font-weight: 600; flex: 1; }
.log-msg.buy  { color: #16a34a; }
.log-msg.sell { color: var(--danger); }
.log-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.log-tag.buy  { background: rgba(22,163,74,0.1);  color: #16a34a; }
.log-tag.sell { background: rgba(239,68,68,0.1);  color: var(--danger); }
.log-tag.info { background: rgba(37,99,235,0.1);  color: var(--primary); }

/* Monitor footer */
.monitor-footer {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

.mf-stat { display: flex; flex-direction: column; gap: 2px; }

.mf-label {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mf-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
  font-family: monospace;
}

.mf-value.green { color: #16a34a; }

/* ════════════════════════════════════
   STATS DARK BAND
   ════════════════════════════════════ */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #071426, #0f2552);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, background 0.24s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.09);
}

.stat-card .big-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card.text-stat .big-num {
  font-size: 34px;
  letter-spacing: 0;
}

.stat-card .big-num em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card .stat-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  line-height: 1.45;
}

/* ════════════════════════════════════
   SECTIONS
   ════════════════════════════════════ */
.section {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid rgba(15,23,42,0.06);
  z-index: 1;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(238,245,255,0.45));
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

h2 {
  color: var(--heading);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.78;
}

.company-intro {
  display: grid;
  gap: 14px;
}

/* ── GRIDS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ── FOUNDER PROFILE ── */
.founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
  padding: 38px 42px;
}

.founder-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.founder-profile h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  margin-bottom: 16px;
}

.founder-lead {
  color: #243247;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-aside {
  display: grid;
  gap: 14px;
  align-self: start;
}

.founder-photo {
  position: relative;
  width: min(100%, 236px);
  aspect-ratio: 4 / 4.55;
  justify-self: center;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(238,245,255,0.9), rgba(255,255,255,0.96));
  border: 1px solid rgba(37,99,235,0.12);
  box-shadow: 0 16px 34px rgba(15,23,42,0.11);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 11%;
  transform: scale(1.01);
}

.founder-meta {
  text-align: center;
  display: grid;
  gap: 3px;
}

.founder-meta strong {
  color: var(--heading);
  font-size: 16px;
  font-weight: 800;
}

.founder-meta span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.founder-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.founder-points span {
  position: relative;
  min-height: 64px;
  padding: 13px 14px 13px 38px;
  border-radius: 15px;
  background: rgba(37,99,235,0.055);
  border: 1px solid rgba(37,99,235,0.12);
  color: #243247;
  font-size: 13.2px;
  font-weight: 800;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

.founder-points span::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 900;
}

/* ── CARD BASE ── */
.card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.26s var(--ease-out),
              box-shadow 0.26s ease,
              border-color 0.26s ease;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(20,184,166,0.04));
  opacity: 0;
  transition: opacity 0.26s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  right: -44px; top: -44px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(20,184,166,0.12));
  opacity: 0;
  transition: opacity 0.26s ease, transform 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(37,99,235,0.16);
  border-color: rgba(37,99,235,0.2);
}

.card:hover::before { opacity: 1; }
.card:hover::after  { opacity: 1; transform: scale(1.1); }

.card h3 {
  position: relative;
  color: var(--heading);
  font-size: 21px;
  letter-spacing: -0.042em;
  font-weight: 800;
  margin-bottom: 12px;
  z-index: 1;
}

.card p {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  z-index: 1;
}

.icon {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(20,184,166,0.1));
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
  z-index: 1;
  border: 1px solid rgba(37,99,235,0.12);
}

/* ── CUSTOM BUILD NOTICE ── */
.custom-build-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: -16px 0 32px;
  padding: 28px 30px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(7,20,38,0.94), rgba(21,74,120,0.92)),
    radial-gradient(circle at 92% 0%, rgba(20,184,166,0.24), transparent 36%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,0.18);
  overflow: hidden;
}

.custom-build-panel h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.custom-build-panel p {
  max-width: 740px;
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  line-height: 1.72;
}

.custom-build-label {
  color: #6ee7d8 !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.custom-build-actions {
  display: grid;
  gap: 10px;
  min-width: 230px;
}

.custom-build-actions span,
.custom-build-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13.5px;
  font-weight: 800;
}

.custom-build-link {
  justify-content: center;
  background: #fff;
  color: #0f4c9a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

/* ── PRODUCT FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(15,23,42,0.1);
  background: rgba(255,255,255,0.8);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
}

.filter-tab:hover {
  border-color: rgba(37,99,235,0.3);
  color: var(--primary);
  background: rgba(37,99,235,0.05);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37,99,235,0.28);
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card.hidden  { display: none !important; }

.product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16/10.5;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(238,245,255,0.96), rgba(255,255,255,0.86)),
    linear-gradient(90deg, rgba(37,99,235,0.06), rgba(20,184,166,0.06));
  border-bottom: 1px solid rgba(15,23,42,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover .product-image img { transform: scale(1.015); }

.product-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.product-card.card { padding: 0; overflow: hidden; }

.product-card ul {
  list-style: none;
  color: #596779;
  font-size: 14.5px;
  margin-top: 14px;
}

.product-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card li:last-child { border-bottom: none; }

.product-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 13px;
}

.product-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tag-coin     { background: rgba(249,115,22,0.1); color: #ea580c; border: 1px solid rgba(249,115,22,0.2); }
.tag-stock    { background: rgba(37,99,235,0.1);  color: var(--primary); border: 1px solid rgba(37,99,235,0.2); }
.tag-alert    { background: rgba(20,184,166,0.1); color: #0f766e; border: 1px solid rgba(20,184,166,0.2); }
.tag-analysis { background: rgba(139,92,246,0.1);color: #7c3aed; border: 1px solid rgba(139,92,246,0.2); }

/* ── BADGE ROW ── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.09);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
  transition: all 0.2s ease;
}

.badge:hover {
  border-color: rgba(37,99,235,0.3);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── PROCESS ── */
.process { counter-reset: step; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  position: relative;
  counter-increment: step;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(37,99,235,0.24);
}

/* ── TRUST BOX ── */
.trust-box {
  position: relative;
  padding: 52px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 14%, rgba(0,167,255,0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,245,255,0.88));
  border: 1px solid rgba(37,99,235,0.14);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.trust-list { display: grid; gap: 12px; }

.trust-item {
  position: relative;
  padding: 16px 18px 16px 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.07);
  color: #243247;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.trust-item:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.1);
}

.trust-item::before {
  content: "✧";
  position: absolute;
  left: 18px;
  color: var(--accent);
  font-weight: 900;
  font-size: 16px;
}

.safety-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.safety-item {
  min-width: 0;
  min-height: 150px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 34px rgba(15,23,42,0.06);
}

.safety-item strong {
  display: block;
  color: var(--heading);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 9px;
}

.safety-item span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════ */
.faq-section { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(238,245,255,0.45)); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  overflow: hidden;
  transition: all 0.25s var(--ease-out);
  backdrop-filter: blur(8px);
}

.faq-item:hover { border-color: rgba(37,99,235,0.2); }

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-content p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.faq-item.active {
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 8px 28px rgba(37,99,235,0.08);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-item.active .faq-content { max-height: 220px; }

/* FAQ side card */
.faq-side-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 0%, rgba(0,167,255,0.15), transparent 40%),
    linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  padding: 44px 40px;
  box-shadow: 0 30px 70px rgba(15,23,42,0.24);
  overflow: hidden;
}

.faq-side-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.faq-side-card h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: #fff;
}

.faq-side-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 28px;
}

.faq-principle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-principle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.faq-principle-item strong {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: #8bdcff;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-principle-item span {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

/* ════════════════════════════════════
   SCOPE ESTIMATOR
   ════════════════════════════════════ */
.estimator-section { background: linear-gradient(180deg, #fbfdff, var(--bg)); }

.estimator-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
}

.estimator-header { margin-bottom: 32px; }

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.est-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1.5px solid rgba(15,23,42,0.09);
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
  user-select: none;
  text-align: left;
  font-family: inherit;
}

.est-option:hover {
  border-color: rgba(37,99,235,0.25);
  background: rgba(255,255,255,1);
  box-shadow: 0 8px 24px rgba(37,99,235,0.09);
}

.est-option.active {
  border-color: var(--primary);
  background: rgba(37,99,235,0.04);
  box-shadow: 0 8px 28px rgba(37,99,235,0.14);
}

.est-checkbox {
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(15,23,42,0.2);
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.est-option.active .est-checkbox {
  border-color: var(--primary);
  background: var(--primary);
}

.est-checkbox::after {
  content: "";
  width: 6px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.est-option.active .est-checkbox::after { opacity: 1; }

.est-opt-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 3px;
}

.est-opt-text p {
  font-size: 13px;
  color: var(--muted);
}

/* Result panel */
.estimator-result {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(37,99,235,0.12);
  overflow: hidden;
}

.estimator-result::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
}

.est-result-body {
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.est-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.est-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.est-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -0.03em;
  transition: all 0.3s var(--ease-out);
}

.est-value.highlight { color: var(--primary); }

.est-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(15,23,42,0.07);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.est-progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.5s var(--ease-out);
}

.est-divider {
  height: 1px;
  background: rgba(15,23,42,0.07);
}

.est-cta {
  padding: 15px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 100%;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(37,99,235,0.28);
}

.est-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37,99,235,0.36);
}

/* ════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════ */
.cta-section {
  padding: 100px 0 120px;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  gap: 24px;
  align-items: start;
}

.cta-box {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 60px 34px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 20% 0%,  rgba(255,255,255,0.24), transparent 28%),
    radial-gradient(circle at 80% 100%, rgba(20,184,166,0.2),  transparent 30%),
    linear-gradient(135deg, #1a56db, #00a7ff 48%, #0ea5e9);
  box-shadow: 0 30px 80px rgba(37,99,235,0.3);
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute; inset: 1px;
  border-radius: 43px;
  border: 1px solid rgba(255,255,255,0.28);
  pointer-events: none;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-grid .cta-actions {
  flex-direction: column;
  align-items: stretch;
}

.contact-grid .cta-actions .btn {
  width: 100%;
}

.cta-assurance {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 600;
}

.assurance-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--line);
  transition: transform 0.22s var(--ease-out),
              box-shadow 0.22s ease,
              background 0.22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::before { opacity: 1; }
.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 58%, var(--accent));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 32px rgba(37,99,235,0.28);
}
.btn-primary:hover { box-shadow: 0 20px 44px rgba(37,99,235,0.36); }

.btn-secondary {
  background: rgba(255,255,255,0.82);
  color: var(--heading);
  border: 1px solid rgba(15,23,42,0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.98); }

.btn-cta-primary {
  background: #fff;
  color: #0f4c9a;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(15,23,42,0.18);
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 16px;
}

.btn-cta-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(10px);
  min-height: 56px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 16px;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.22); }

.consult-card {
  min-width: 0;
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.94));
  border: 1px solid rgba(15,23,42,0.09);
  box-shadow: 0 24px 70px rgba(15,23,42,0.12);
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.consult-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.consult-card h3 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.consult-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 800;
}

.form-field span,
.form-field legend {
  color: #334155;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--heading);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 92px;
  padding: 13px 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(37,99,235,0.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-checks,
.contact-method {
  border: 0;
  padding: 0;
}

.form-checks legend,
.contact-method legend {
  margin-bottom: 10px;
}

.form-checks {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.contact-method {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.form-checks label,
.contact-method label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 11px;
  border-radius: 13px;
  background: rgba(241,246,255,0.9);
  border: 1px solid rgba(37,99,235,0.11);
  color: #243247;
  font-size: 12.5px;
  font-weight: 800;
}

.contact-method label {
  cursor: pointer;
}

.form-checks input,
.contact-method input {
  width: 15px;
  height: 15px;
  box-shadow: none;
  accent-color: var(--primary);
  flex-shrink: 0;
  padding: 0;
  min-height: 0;
}

.contact-method label:has(input:checked) {
  color: var(--primary);
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.34);
  box-shadow: 0 10px 24px rgba(37,99,235,0.1);
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-height: 50px;
  flex: 1 1 210px;
  white-space: normal;
}

.form-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(15,23,42,0.08);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 15px;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.footer-logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #fff;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.12);
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}

.footer-logo small {
  color: var(--muted);
  font-size: 11px;
  margin-left: 3px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--heading); }

/* ── UTILITIES ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ── TOAST ── */
#toast-container {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(7,20,38,0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(15,23,42,0.24);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  animation: toast-in 0.4s var(--ease-out);
  pointer-events: auto;
  min-width: 240px;
}

.toast.out { animation: toast-out 0.3s ease forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

.toast-icon { font-size: 18px; flex-shrink: 0; }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(7,20,38,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 500;
  font-size: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(15,23,42,0.2);
}

#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover   { background: var(--primary); }

.quick-contact-bar {
  display: none;
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-grid       { grid-template-columns: minmax(360px, 0.72fr) 1fr; }
  .estimator-inner { grid-template-columns: 1fr; }
  .faq-grid        { grid-template-columns: 1fr; }
  .faq-side-card   { position: static; }
  .founder-points  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid    { grid-template-columns: 1fr; }
  .contact-grid .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
  .contact-grid .cta-actions .btn { width: auto; }
  .safety-strip    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .product-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .trust-box     { grid-template-columns: 1fr; padding: 36px; }
  .founder-profile { grid-template-columns: 1fr; }
  .founder-aside {
    grid-template-columns: minmax(180px, 0.36fr) 1fr;
    align-items: start;
  }
  .founder-photo { width: min(100%, 210px); }
  .founder-meta { text-align: left; }
  .custom-build-panel { grid-template-columns: 1fr; }
  .custom-build-actions { min-width: 0; }
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .process-grid { grid-template-columns: 1fr; }
  .hero-grid    { padding: 60px 0 70px; }
  .nav-menu     { display: none; }
  .hamburger    { display: flex; }
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(247,250,255,0.99)  0%,
        rgba(247,250,255,0.94) 42%,
        rgba(247,250,255,0.78) 70%,
        rgba(247,250,255,0.36) 100%),
      url("./asset/first.png");
    background-position: center bottom;
  }
  .hero-copy       { max-width: 640px; margin-left: 0; }
  .hero-visual-space { display: none; }
  .product-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body            { padding-bottom: 88px; }
  .container     { width: min(100% - 32px, var(--max)); }
  .nav-cta       { display: none; }
  h1             { font-size: clamp(34px, 10vw, 48px); }
  h2             { font-size: clamp(28px, 8vw, 36px); }
  .section       { padding: 72px 0; }
  .card, .trust-box { padding: 22px; }
  .founder-profile { padding: 24px; }
  .founder-aside { grid-template-columns: 1fr; }
  .founder-photo { width: min(100%, 220px); aspect-ratio: 4 / 4.55; }
  .founder-meta { text-align: center; }
  .founder-points { grid-template-columns: 1fr; }
  .founder-points span { min-height: 0; }
  .custom-build-panel { padding: 24px; border-radius: 20px; }
  .hero-grid     { padding: 50px 0 56px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card .big-num { font-size: 34px; }
  .cta-box       { padding: 48px 24px; }
  .consult-card  { padding: 24px; border-radius: 22px; }
  .form-row,
  .form-checks,
  .contact-method,
  .safety-strip  { grid-template-columns: 1fr; }
  #toast-container { right: 16px; bottom: 96px; }
  #back-to-top   { left: 16px; bottom: 86px; }
  .hero-stats    { gap: 14px; }
  .est-result-body { padding: 24px; }
  .faq-trigger   { font-size: 14.5px; }
  .quick-contact-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 800;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(7,20,38,0.9);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 44px rgba(15,23,42,0.28);
    backdrop-filter: blur(14px);
  }
  .quick-contact-bar a {
    min-width: 0;
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.09);
  }
  .quick-contact-bar a:nth-child(2) {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
  }
}
