/* CSS Variables */
:root {
  --purple: #6B4FBB;
  --purple-light: #8B6FD4;
  --purple-soft: #EDE8F8;
  --purple-mid: #C4B5F0;
  --bg: #F4F3FF;
  --bg2: #EEEAFD;
  --white: #ffffff;
  --text: #1a1a2e;
  --muted: #7B7A9A;
  --border: rgba(107,79,187,0.12);
  --grad: linear-gradient(135deg, #f0eeff 0%, #e8e2ff 40%, #ddd6ff 100%);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; font-size: 16px; line-height: 1.6; }

/* Icons */
.icon { width: 20px; height: 20px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }
.icon-purple { stroke: var(--purple); }
.icon-white { stroke: white; }
.icon-green { stroke: #5cb85c; }
.icon-red { stroke: #e74c3c; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.88); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); display: flex; align-items: center; justify-content: center; }
.logo-icon .icon { width: 22px; height: 22px; stroke: white; }
.nav-links { display: flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 6px 8px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 20px; border-radius: 100px; transition: all 0.2s; }
.nav-links a:hover { background: var(--white); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.nav-cta { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: white; font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 100px; text-decoration: none; transition: all 0.25s; box-shadow: 0 4px 20px rgba(107,79,187,0.35); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(107,79,187,0.45); }
.nav-cta .icon { stroke: white; width: 16px; height: 16px; }

/* TICKER */
.ticker-bar { background: var(--purple-soft); border-top: 1px solid rgba(107,79,187,0.12); border-bottom: 1px solid rgba(107,79,187,0.12); padding: 14px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 50; }
.ticker-track { display: inline-flex; animation: tick 32s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 36px; font-size: 13px; font-weight: 600; color: var(--purple); letter-spacing: 0.05em; text-transform: uppercase; }
.ticker-item .icon { stroke: var(--purple); }
.ticker-sep { color: var(--purple-mid); }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Отступ после ticker для hero */
.ticker-bar ~ .hero { margin-top: 0; }

/* HERO */
.hero { min-height: 100vh; background: var(--grad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 130px 24px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(139,111,212,0.18) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(107,79,187,0.1) 0%, transparent 70%); pointer-events: none; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.8); border: 1px solid rgba(107,79,187,0.2); color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 20px; border-radius: 100px; margin-bottom: 36px; position: relative; z-index: 1; backdrop-filter: blur(10px); animation: fadeUp 0.7s ease both; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #5cb85c; box-shadow: 0 0 0 2px rgba(92,184,92,0.25); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--text); max-width: 860px; position: relative; z-index: 1; animation: fadeUp 0.7s 0.1s ease both; }
.hero h1 em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--purple); font-weight: 400; }
.hero-sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--muted); max-width: 520px; margin: 24px auto 0; position: relative; z-index: 1; animation: fadeUp 0.7s 0.2s ease both; font-weight: 400; line-height: 1.65; }
.hero-btns { display: flex; gap: 14px; margin-top: 44px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; animation: fadeUp 0.7s 0.3s ease both; }
.btn-purple { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: white; font-weight: 700; font-size: 16px; padding: 16px 36px; border-radius: 100px; text-decoration: none; border: none; cursor: pointer; box-shadow: 0 6px 28px rgba(107,79,187,0.4); transition: all 0.25s; }
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(107,79,187,0.5); }
.btn-purple .icon { stroke: white; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.8); border: 1px solid rgba(107,79,187,0.25); color: var(--purple); font-weight: 600; font-size: 16px; padding: 16px 32px; border-radius: 100px; text-decoration: none; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.25s; }
.btn-outline:hover { background: white; border-color: var(--purple); }

/* CUBES */
.cubes-wrap { position: relative; z-index: 1; margin-top: 56px; animation: fadeUp 0.7s 0.4s ease both; }
.cubes-scene { display: flex; justify-content: center; align-items: flex-end; gap: 16px; padding-bottom: 0; }
.cube-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.cube-body { border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(107,79,187,0.18), inset 0 2px 0 rgba(255,255,255,0.5); position: relative; }
.cube-body.sm { width: 110px; height: 110px; border-radius: 16px; background: linear-gradient(145deg, #DDD5FF 0%, #C5B8F0 100%); }
.cube-body.lg { width: 130px; height: 130px; background: linear-gradient(145deg, #E2DAFF 0%, #CABEF5 100%); }
.cube-icon { position: relative; z-index: 2; }
.cube-icon .icon { width: 40px; height: 40px; stroke: var(--purple); stroke-width: 1.5; }
.cube-body.sm .cube-icon .icon { width: 32px; height: 32px; }
.cube-shadow { width: 80%; height: 16px; background: radial-gradient(ellipse, rgba(107,79,187,0.2) 0%, transparent 70%); border-radius: 50%; filter: blur(4px); margin-top: 8px; }
.float1 { animation: float 3.8s ease-in-out infinite; }
.float2 { animation: float 4.2s 0.4s ease-in-out infinite; }
.float3 { animation: float 3.6s 0.8s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-base { width: 100%; max-width: 680px; height: 100px; background: linear-gradient(180deg, #DDD6FF 0%, rgba(221,214,255,0) 100%); border-radius: 50% 50% 0 0; margin: 0 auto; }

/* STATS */
.stats-bar { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 24px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; }
.stat-item { text-align: center; padding: 0 40px; border-right: 1px solid var(--border); flex: 1; min-width: 200px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--purple); display: block; letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; font-weight: 500; line-height: 1.4; }

/* SECTION */
.section { padding: 110px 24px; max-width: 1120px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 20px; }
.section-tag .icon { stroke: var(--purple); width: 14px; height: 14px; }
.section-title { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-title em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--purple); font-weight: 400; }
.section-desc { color: var(--muted); font-size: 17px; max-width: 500px; line-height: 1.7; font-weight: 400; }

/* PAIN */
.pain-section { background: var(--grad); padding: 110px 24px; }
.pain-inner { max-width: 1120px; margin: 0 auto; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 56px; }
.pain-card { background: rgba(255,255,255,0.75); backdrop-filter: blur(20px); border: 1px solid rgba(107,79,187,0.12); border-radius: 24px; padding: 36px 32px; transition: all 0.3s; }
.pain-card:hover { background: white; transform: translateY(-6px); box-shadow: 0 20px 60px rgba(107,79,187,0.12); }
.pain-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--purple-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pain-icon .icon { stroke: var(--purple); width: 24px; height: 24px; }
.pain-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.pain-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* HOW */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 56px; background: var(--border); border-radius: 28px; overflow: hidden; }
.step-card { background: white; padding: 44px 36px; transition: background 0.3s; }
.step-card:hover { background: #FAFAFF; }
.step-number { font-size: 64px; font-weight: 800; color: var(--purple-soft); line-height: 1; letter-spacing: -0.03em; margin-bottom: 20px; display: block; }
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.step-tag { background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; }

/* DEMO */
.demo-section { background: var(--grad); padding: 110px 24px; }
.demo-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.chat-window { background: white; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px rgba(107,79,187,0.18); border: 1px solid rgba(107,79,187,0.1); }
.chat-topbar { background: linear-gradient(135deg, var(--purple), var(--purple-light)); padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; }
.chat-av .icon { stroke: white; width: 24px; height: 24px; }
.chat-n { color: white; font-weight: 700; font-size: 15px; }
.chat-s { color: rgba(255,255,255,0.8); font-size: 12px; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.chat-s::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7FE87F; animation: blink 2s infinite; }
.chat-msgs { padding: 24px 20px; min-height: 320px; display: flex; flex-direction: column; gap: 14px; }
.cmsg { display: flex; gap: 8px; }
.cmsg.out { flex-direction: row-reverse; }
.cmsg-bubble { max-width: 78%; padding: 13px 17px; border-radius: 20px; font-size: 14px; line-height: 1.5; }
.cmsg.in .cmsg-bubble { background: #F3F0FF; border-radius: 4px 20px 20px 20px; color: var(--text); }
.cmsg.out .cmsg-bubble { background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: white; border-radius: 20px 4px 20px 20px; }
.cmsg-time { font-size: 10px; color: var(--muted); margin-top: 5px; display: block; }
.typ-ind { display: flex; gap: 4px; padding: 13px 17px; background: #F3F0FF; border-radius: 4px 20px 20px 20px; width: fit-content; }
.td { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-mid); animation: tdot 1.2s infinite; }
.td:nth-child(2){animation-delay:0.2s} .td:nth-child(3){animation-delay:0.4s}
@keyframes tdot { 0%,80%,100%{transform:translateY(0);opacity:0.5} 40%{transform:translateY(-5px);opacity:1} }

.demo-info-box { margin-top: 36px; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border: 1px solid rgba(107,79,187,0.15); border-radius: 18px; padding: 24px 28px; }
.demo-info-label { font-size: 12px; font-weight: 700; color: var(--purple); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.demo-info-label .icon { stroke: var(--purple); width: 14px; height: 14px; }
.demo-info-text { font-size: 15px; font-weight: 600; color: var(--text); }
.demo-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.demo-platform { display: flex; align-items: center; gap: 6px; background: white; border: 1px solid var(--border); border-radius: 100px; padding: 9px 18px; font-size: 13px; font-weight: 600; }
.demo-platform .icon { stroke: var(--purple); width: 14px; height: 14px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.feat-card { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px; transition: all 0.3s; position: relative; overflow: hidden; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--purple), var(--purple-light)); opacity: 0; transition: opacity 0.3s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(107,79,187,0.1); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--purple-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-icon .icon { stroke: var(--purple); width: 28px; height: 28px; }
.feat-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* COMPARE */
.compare-wrap { background: var(--grad); padding: 110px 24px; }
.compare-inner { max-width: 1120px; margin: 0 auto; }
.compare-table { margin-top: 56px; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(107,79,187,0.08); border: 1px solid var(--border); }
.ct-row { display: grid; grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid var(--border); }
.ct-row:last-child { border-bottom: none; }
.ct-row.hdr { background: #FAFAFF; }
.ct-cell { padding: 18px 28px; font-size: 14px; display: flex; align-items: center; }
.ct-cell:not(:first-child) { justify-content: center; }
.ct-row.hdr .ct-cell { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ct-row:not(.hdr):hover { background: #FAFAFF; }
.ct-cell .icon { width: 24px; height: 24px; }
.ct-cell .icon.check { stroke: #6BBF6B; }
.ct-cell .icon.cross { stroke: #D0CDE4; }

/* CALCULATOR */
.calculator-wrap { background: linear-gradient(135deg, rgba(107,79,187,0.08), rgba(139,111,212,0.05)); border: 2px solid rgba(107,79,187,0.2); border-radius: 28px; padding: 36px 40px; margin: 48px 0 56px; box-shadow: 0 10px 40px rgba(107,79,187,0.08); }
.calc-header { display: flex; align-items: center; gap: 16px; }
.calc-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(107,79,187,0.3); }
.calc-icon .icon { stroke: white; width: 28px; height: 28px; }
.calc-title { font-size: 22px; font-weight: 800; color: var(--text); }
.calc-subtitle { font-size: 14px; color: var(--muted); margin-top: 2px; }
.calc-info { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* Sticky Calculator Results */
.calc-results-sticky { position: relative; bottom: auto; left: auto; right: auto; background: linear-gradient(135deg, var(--purple), var(--purple-light)); padding: 24px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 100%; margin: 56px 0 0; box-shadow: 0 10px 40px rgba(107,79,187,0.3); z-index: 90; border-radius: 28px; transition: all 0.3s ease; }
.calc-results-sticky.is-sticky { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); max-width: 1120px; width: calc(100% - 48px); border-radius: 28px 28px 0 0; }
.calc-results-sticky .calc-result-item { background: transparent; border: none; padding: 0; }
.calc-results-sticky .calc-result-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.calc-results-sticky .calc-result-value { font-size: 28px; font-weight: 800; color: white; line-height: 1.2; }

/* MODULES */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; margin-top: 24px; }
.mod-card { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px; position: relative; transition: all 0.3s; overflow: hidden; cursor: pointer; }
.mod-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(107,79,187,0.1); border-color: rgba(107,79,187,0.25); }
.mod-card.req { border-color: rgba(107,79,187,0.35); background: linear-gradient(135deg, #FDFCFF, white); cursor: default; }
.mod-card.selected { border-color: var(--purple); box-shadow: 0 8px 30px rgba(107,79,187,0.2); }
.mod-check-wrap { position: absolute; top: 20px; right: 20px; z-index: 10; }
.mod-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.mod-check-label { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 2px solid var(--border); border-radius: 8px; background: white; cursor: pointer; transition: all 0.25s; }
.mod-checkbox:checked + .mod-check-label { background: linear-gradient(135deg, var(--purple), var(--purple-light)); border-color: var(--purple); }
.mod-checkbox:disabled + .mod-check-label { cursor: not-allowed; opacity: 0.7; }
.check-icon { width: 16px; height: 16px; stroke: white; opacity: 0; transition: opacity 0.2s; }
.mod-checkbox:checked + .mod-check-label .check-icon { opacity: 1; }
.mod-req-badge { position: absolute; top: 20px; left: 20px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: white; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; padding: 5px 12px; border-radius: 100px; }
.mod-num { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 10px; display: block; margin-top: 8px; }
.mod-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.mod-price { font-size: 24px; font-weight: 800; color: var(--purple); margin-bottom: 22px; display: block; }
.mod-replaces { font-size: 12px; font-weight: 700; color: #7a9d7a; background: rgba(122,157,122,0.08); padding: 6px 12px; border-radius: 8px; display: inline-block; margin-top: 12px; letter-spacing: 0.05em; }
.mod-requires { font-size: 12px; font-weight: 700; color: #7a9d7a; background: rgba(122,157,122,0.08); padding: 6px 12px; border-radius: 8px; display: inline-block; margin-top: 12px; letter-spacing: 0.05em; }
.mod-required { font-size: 12px; font-weight: 700; color: #7a9d7a; background: rgba(122,157,122,0.08); padding: 6px 12px; border-radius: 8px; display: inline-block; margin-top: 12px; letter-spacing: 0.05em; }
.mod-free { font-size: 12px; font-weight: 700; color: #5cb85c; background: rgba(92,184,92,0.1); padding: 6px 12px; border-radius: 8px; display: inline-block; margin-top: 12px; letter-spacing: 0.05em; }
.mod-card.free-promo .mod-price { position: relative; }
.mod-card.free-promo .mod-price::before { content: ''; position: absolute; left: 0; top: 50%; right: 0; height: 1px; background: #999; }
.mod-card.free-promo .mod-price { color: #999; }
.mod-card.free-promo .mod-price::after { content: ' (в подарок)'; color: #5cb85c; font-size: 11px; text-decoration: none; }
.mod-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mod-list li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.4; }
.mod-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B4FBB' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center; }
.mod-time { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mod-time .icon { stroke: var(--muted); width: 14px; height: 14px; }
.mod-card.monthly { background: linear-gradient(135deg, var(--purple-soft), #EBE6FF); border-color: rgba(107,79,187,0.2); }

/* RESULTS */
.results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 56px; background: var(--border); border-radius: 28px; overflow: hidden; }
.result-card { background: white; padding: 44px 28px; text-align: center; transition: background 0.3s; }
.result-card:hover { background: #FAFAFF; }
.result-val { font-size: 48px; font-weight: 800; color: var(--purple); display: block; line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.result-label { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* FAQ */
.faq-section { background: var(--grad); padding: 110px 24px; }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
details { background: rgba(255,255,255,0.8); border: 1px solid rgba(107,79,187,0.12); border-radius: 18px; overflow: hidden; backdrop-filter: blur(10px); transition: all 0.3s; }
details:hover { background: white; box-shadow: 0 8px 30px rgba(107,79,187,0.1); }
summary { padding: 22px 28px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color 0.2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; color: var(--purple); flex-shrink: 0; transition: transform 0.3s; font-weight: 300; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--purple); }
.faq-ans { padding: 0 28px 22px; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* CTA */
.cta-section { padding: 130px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(107,79,187,0.07) 0%, transparent 70%); }
.cta-section h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; }
.cta-section h2 em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--purple); font-weight: 400; }
.cta-section > p { color: var(--muted); font-size: 18px; max-width: 500px; margin: 0 auto 56px; line-height: 1.65; position: relative; }

/* FORM */
.form-card { max-width: 540px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: 32px; padding: 52px 48px; box-shadow: 0 20px 80px rgba(107,79,187,0.1); text-align: left; position: relative; }
.form-card::before { content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--purple-mid), transparent); }
.form-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 36px; line-height: 1.5; }
.fg { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
input, select, textarea { width: 100%; background: var(--bg); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 18px; color: var(--text); font-family: 'Manrope', sans-serif; font-size: 15px; outline: none; transition: all 0.2s; -webkit-appearance: none; appearance: none; }
input:focus, select:focus, textarea:focus { background: white; border-color: rgba(107,79,187,0.4); box-shadow: 0 0 0 4px rgba(107,79,187,0.08); }
select option { background: white; }
textarea { resize: vertical; min-height: 90px; }
.submit-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: white; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; padding: 18px 24px; border-radius: 14px; border: none; cursor: pointer; transition: all 0.25s; box-shadow: 0 6px 24px rgba(107,79,187,0.35); margin-top: 8px; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(107,79,187,0.45); }
.submit-btn .icon { stroke: white; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; line-height: 1.5; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note .icon { stroke: var(--muted); width: 14px; height: 14px; }
.success-wrap { display: none; text-align: center; padding: 20px; }
.success-wrap .s-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--purple-soft); border-radius: 50%; }
.success-wrap .s-icon .icon { stroke: var(--purple); width: 32px; height: 32px; }
.success-wrap h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.success-wrap p { font-size: 15px; color: var(--muted); }

/* INTEGRATIONS */
.integ-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 56px; }
.integ-pill { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--border); border-radius: 100px; padding: 11px 22px; font-size: 14px; font-weight: 600; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.integ-pill:hover { border-color: rgba(107,79,187,0.3); box-shadow: 0 4px 16px rgba(107,79,187,0.1); transform: translateY(-2px); }
.integ-pill .icon { stroke: var(--purple); width: 16px; height: 16px; }

/* FOOTER */
footer { background: var(--text); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: white; }
.foot-logo .logo-icon { background: linear-gradient(135deg, var(--purple-light), var(--purple)); }
.foot-logo .icon { stroke: white; width: 20px; height: 20px; }
.foot-text { font-size: 13px; color: rgba(255,255,255,0.4); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.on { opacity: 1; transform: none; }

/* RESPONSIVE */
@media(max-width:900px){ 
  .steps-grid{grid-template-columns:1fr} 
  .features-grid{grid-template-columns:1fr 1fr} 
  .results-grid{grid-template-columns:repeat(2,1fr)} 
  .demo-inner{grid-template-columns:1fr} 
  nav{padding:14px 20px} 
  .nav-links{display:none} 
  footer{padding:28px 20px} 
  .form-card{padding:36px 28px}
  .calculator-wrap{padding:28px 24px}
  .calc-results-sticky{grid-template-columns:1fr; gap:24px; padding:20px 24px}
  .calc-results-sticky.is-sticky{width:calc(100% - 40px)}
  .stats-inner{flex-wrap:wrap}
  .stat-item{padding:16px 20px; border-right:none; border-bottom:1px solid var(--border)}
  .stat-item:last-child{border-bottom:none}
}
@media(max-width:600px){ 
  .features-grid{grid-template-columns:1fr} 
  .results-grid{grid-template-columns:1fr 1fr} 
  .stat-item{padding:16px 20px; border-right:none; border-bottom:1px solid var(--border); padding-bottom:16px; margin-bottom:16px} 
  .stat-item:last-child{border-bottom:none} 
  .stats-inner{flex-direction:column;align-items:center} 
  .cubes-scene { transform: scale(0.8); }
  .calc-header{flex-direction:column; text-align:center}
  .calc-results-sticky{grid-template-columns:1fr; gap:20px; padding:16px 20px}
  .calc-results-sticky .calc-result-value{font-size:24px}
  .calc-results-sticky.is-sticky{width:calc(100% - 32px)}
  .hero{padding:180px 24px 0}
}

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
