*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
--bg: #ffffff;
--bg-soft:#f5f8fa;
--bg-blue:#eef4fb;
--text: #0a0e1a;
--text-muted: #5b6478;
--blue: #3375BB;
--blue-l: #5592d4;
--blue-d: #1d4f8a;
--gold: #c9a84c;
--gold-l: #f0d080;
--green: #3dfa8c;
--green-bg:#c4ea6e;
--border-light: rgba(10,14,26,0.08);
--shadow-sm: 0 4px 12px rgba(10,14,26,.05);
--shadow-md: 0 8px 24px rgba(10,14,26,.08);
--shadow-lg: 0 20px 50px rgba(10,14,26,.1);
}

html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--text); overflow-x:hidden; line-height:1.6; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg-soft); }
::-webkit-scrollbar-thumb { background:var(--blue); border-radius:3px; }

.tw-shield { display:inline-block; flex-shrink:0; }

/* ==================== NAVBAR ==================== */
.navbar { position:fixed; top:0; left:0; right:0; z-index:999; padding:0 5%; transition:background .3s,box-shadow .3s; background:rgba(255,255,255,.85); backdrop-filter:blur(20px); border-bottom:1px solid transparent; }
.navbar.scrolled { background:rgba(255,255,255,.98); border-bottom-color:var(--border-light); box-shadow:0 1px 20px rgba(10,14,26,.04); }
.nav-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; height:70px; gap:36px; }
.nav-logo { display:flex; align-items:center; gap:10px; font-size:1.2rem; font-weight:800; color:var(--text); flex-shrink:0; }
.nav-logo em { font-style:normal; color:var(--blue); }
.nav-links { display:flex; list-style:none; gap:28px; margin-right:auto; }
.nav-links a { color:var(--text-muted); text-decoration:none; font-size:.875rem; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:var(--blue); }
.nav-cta { background:var(--blue); color:#fff; border:none; border-radius:100px; padding:10px 22px; font-size:.875rem; font-weight:700; cursor:pointer; transition:all .25s; white-space:nowrap; }
.nav-cta:hover { background:var(--blue-l); transform:translateY(-1px); box-shadow:0 8px 20px rgba(51,117,187,.35); }
.burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; margin-left:auto; }
.burger span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:.3s; }
.mobile-nav { display:none; flex-direction:column; gap:14px; padding:16px 0 20px; border-top:1px solid var(--border-light); max-width:1280px; margin:0 auto; }
.mobile-nav a { color:var(--text-muted); text-decoration:none; font-weight:500; }
.mobile-nav.open { display:flex; }

/* ==================== HERO — ВЕРТИКАЛЬНАЯ ЦЕНТРИРОВАННАЯ РАСКЛАДКА ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 5% 60px; /* Увеличено с 120px до 140px */
    position: relative;
    overflow: hidden;
    background: var(--bg);
    width: 100%;
    text-align: center;
}

.hero-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.deco-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(51,117,187,.15), transparent 70%);
    top: -150px; right: -100px;
}
.deco-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(196,234,110,.3), transparent 70%);
    bottom: -150px; left: -100px;
}

/* Текстовый блок сверху, строго по центру */
.hero-left {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px; /* Отступ до анимации */
    width: 100%;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(51,117,187,.08);
    border: 1px solid rgba(51,117,187,.15);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(61,250,140,.5);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(61,250,140,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(61,250,140,0); }
    100% { box-shadow: 0 0 0 0 rgba(61,250,140,0); }
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
}

/* ГОЛУБОЙ/СИНИЙ ГРАДИЕНТ КАК У КНОПКИ */
.hero-gradient {
    background: linear-gradient(135deg, #3375BB 0%, #5592d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ОПИСАНИЕ ТОЧНО ТАКОГО ЖЕ ЦВЕТА, КАК КНОПКА (#3375BB) */
.hero-desc {
    font-size: 1.15rem;
    color: #3375BB; 
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 44px;
}

.btn-glow {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 9px;
    background: var(--blue); color: #fff; border: none;
    border-radius: 100px; padding: 14px 30px;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all .28s;
    box-shadow: 0 8px 24px rgba(51,117,187,.3);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(51,117,187,.45);
    background: var(--blue-l);
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text);
    border-radius: 100px;
    padding: 12px 28px;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all .25s;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.hero-metrics {
    display: flex; align-items: center;
    gap: 24px; margin-bottom: 24px;
    justify-content: center;
}
.metric { display: flex; flex-direction: column; }
.metric strong {
    font-size: 1.65rem; font-weight: 900;
    color: var(--blue);
}
.metric span { font-size: .74rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.metric-sep { width: 1px; height: 34px; background: var(--border-light); }

.fca-line { 
    display: flex; align-items: center; gap: 7px; 
    font-size: .72rem; color: var(--text-muted); 
    justify-content: center;
}

/* Блок анимации снизу, строго по центру */
.hero-right {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

/* ==================== COMPOSITION ==================== */
.composition {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 640px;
    perspective: 1600px;
    transform-style: preserve-3d;
    /* Поэтапное масштабирование для средних экранов */
    transform: scale(0.9);
    transform-origin: top center;
}

/* На больших экранах возвращаем полный размер */
@media (min-width: 1200px) {
    .composition {
        transform: scale(1);
    }
}

/* CARD */
.card-mockup {
position:absolute; top:38%; left:-4%; width:270px; height:170px; z-index:1;
transform:rotate(-14deg) translateY(-50%);
animation:cardFloatIn 1.2s cubic-bezier(.34,1.56,.64,1) both, cardBreath 6s ease-in-out infinite 1.2s;
will-change:transform;
}
@keyframes cardFloatIn { 0%{opacity:0;transform:rotate(-25deg) translateY(-50%) translateX(-40px)} 100%{opacity:1;transform:rotate(-14deg) translateY(-50%) translateX(0)} }
@keyframes cardBreath { 0%,100%{transform:rotate(-14deg) translateY(-50%) translateX(0)} 50%{transform:rotate(-13deg) translateY(-52%) translateX(-2px)} }

.card-body {
position:relative; width:100%; height:100%;
background:linear-gradient(135deg, #0e1116 0%, #14181f 40%, #0a0d13 100%);
border-radius:14px; padding:16px 18px; overflow:hidden;
box-shadow:
0 30px 60px rgba(51,117,187,.25),
0 10px 24px rgba(10,14,26,.15),
inset 0 1px 0 rgba(255,255,255,.05),
inset 0 0 0 1px rgba(201,168,76,.08);
}
.card-texture { position:absolute; inset:0; pointer-events:none; background-image:repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.012) 2px, rgba(255,255,255,.012) 3px); opacity:.6; }
.card-shine { position:absolute; inset:0; pointer-events:none; background:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); animation:cardShine 6s ease-in-out infinite; }
@keyframes cardShine { 0%,100%{transform:translateX(-100%)} 50%{transform:translateX(100%)} }
.card-glow { position:absolute; top:-40px; right:-40px; width:150px; height:150px; background:radial-gradient(circle, rgba(201,168,76,.2), transparent 70%); pointer-events:none; }

.card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.card-logo { display:flex; align-items:center; gap:5px; color:var(--gold); font-weight:900; font-size:.85rem; letter-spacing:1px; }
.card-brand { display:flex; align-items:center; }
.brand-c { width:22px; height:22px; border-radius:50%; }
.c1 { background:rgba(255,95,0,.75); margin-right:-8px; }
.c2 { background:rgba(247,158,27,.75); }

.card-chip { width:32px; height:24px; background:linear-gradient(135deg, #b8922a 0%, #e8d48b 40%, #b8922a 100%); border-radius:5px; margin-top:6px; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 5px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.2); position:relative; }
.chip-inner { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; width:70%; height:70%; }
.chip-line { background:rgba(120,80,10,.4); border-radius:1px; }
.card-nfc { position:absolute; top:52px; left:66px; transform:rotate(90deg); opacity:.7; }
.card-number { display:flex; gap:8px; margin-top:6px; font-family:'Courier New',monospace; font-size:.72rem; font-weight:700; color:var(--gold); letter-spacing:1.5px; }
.card-number span:last-child { color:var(--gold-l); }
.card-bottom { position:absolute; bottom:14px; left:18px; right:18px; display:flex; justify-content:space-between; align-items:flex-end; }
.card-label { font-size:.55rem; color:rgba(201,168,76,.4); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:2px; }
.card-value { font-size:.68rem; font-weight:700; color:var(--gold); letter-spacing:.5px; }
.card-shadow { position:absolute; bottom:-30px; left:10%; right:10%; height:40px; border-radius:50%; background:radial-gradient(ellipse, rgba(51,117,187,.4), transparent 70%); filter:blur(15px); z-index:-1; }

/* PHONE */
.phone-mockup {
position:absolute; top:50%; right:0; transform:translate(0, -50%);
width:290px; height:600px; z-index:2;
animation:phoneFloatIn 1.4s cubic-bezier(.34,1.56,.64,1) .2s both, phoneBreath 6s ease-in-out infinite 1.6s;
will-change:transform;
}
@keyframes phoneFloatIn { 0%{opacity:0;transform:translate(60px, -50%) scale(.9)} 100%{opacity:1;transform:translate(0, -50%) scale(1)} }
@keyframes phoneBreath { 0%,100%{transform:translate(0, -50%)} 50%{transform:translate(0, -52%)} }

.phone-frame {
position:relative; width:100%; height:100%;
background:linear-gradient(145deg, #1a1d24 0%, #0a0c11 50%, #12141a 100%);
border-radius:44px; padding:8px;
box-shadow:
0 40px 80px rgba(51,117,187,.25),
0 20px 40px rgba(10,14,26,.15),
inset 0 1px 0 rgba(255,255,255,.1),
inset 0 0 0 1.5px #2a2d34,
inset 0 0 0 3px #0a0c11;
}
.phone-side-btn { position:absolute; background:linear-gradient(90deg, #1c1f27, #10131a); border-radius:1px; }
.phone-power { right:-2px; top:180px; width:3px; height:70px; border-radius:0 2px 2px 0; }
.phone-silent { left:-2px; top:110px; width:3px; height:26px; border-radius:2px 0 0 2px; }
.phone-vol1 { left:-2px; top:150px; width:3px; height:48px; border-radius:2px 0 0 2px; }
.phone-vol2 { left:-2px; top:210px; width:3px; height:48px; border-radius:2px 0 0 2px; }

.phone-screen { position:relative; width:100%; height:100%; background:linear-gradient(180deg, #05070d 0%, #0a0f1a 50%, #05070d 100%); border-radius:36px; overflow:hidden; }
.phone-island { position:absolute; top:10px; left:50%; transform:translateX(-50%); width:88px; height:26px; background:#000; border-radius:14px; z-index:10; }
.phone-island::after { content:''; position:absolute; top:50%; right:12px; transform:translateY(-50%); width:6px; height:6px; border-radius:50%; background:radial-gradient(circle, #1a3a5a 30%, #050505 70%); }
.phone-homebar { position:absolute; bottom:6px; left:50%; transform:translateX(-50%); width:100px; height:4px; background:rgba(255,255,255,.35); border-radius:2px; }
.phone-status { display:flex; justify-content:space-between; align-items:center; padding:14px 24px 6px; font-size:.72rem; font-weight:600; color:#fff; position:relative; z-index:5; }
.status-time { font-size:.78rem; font-weight:700; }
.status-icons { display:flex; align-items:center; gap:5px; }
.status-battery { width:22px; height:11px; border:1.2px solid rgba(255,255,255,.7); border-radius:2.5px; padding:1px; position:relative; }
.status-battery::after { content:''; position:absolute; right:-3px; top:50%; transform:translateY(-50%); width:1.5px; height:5px; background:rgba(255,255,255,.7); border-radius:0 1px 1px 0; }
.battery-fill { width:80%; height:100%; background:#fff; border-radius:1px; }

.app-content { padding:8px 16px 20px; height:calc(100% - 44px); overflow:hidden; }
.app-header { display:flex; align-items:center; justify-content:space-between; padding:8px 0 16px; }
.app-back { width:32px; height:32px; background:rgba(255,255,255,.06); border-radius:10px; display:flex; align-items:center; justify-content:center; }
.app-title { font-size:.95rem; font-weight:700; color:#fff; }
.app-menu { display:flex; flex-direction:column; gap:3px; width:32px; height:32px; align-items:center; justify-content:center; background:rgba(255,255,255,.06); border-radius:10px; }
.app-menu span { width:3px; height:3px; border-radius:50%; background:#fff; }

.app-card { position:relative; height:135px; background:linear-gradient(135deg, #0e1116 0%, #14181f 40%, #0a0d13 100%); border-radius:14px; padding:14px 16px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.5), inset 0 0 0 1px rgba(201,168,76,.1); margin-bottom:14px; }
.app-card-shine { position:absolute; inset:0; background:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%); animation:cardShine 5s ease-in-out infinite; }
.app-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.app-card-logo { display:flex; align-items:center; gap:4px; color:var(--gold); font-weight:900; font-size:.7rem; letter-spacing:.5px; }
.app-card-brand { display:flex; align-items:center; }
.ab { width:16px; height:16px; border-radius:50%; }
.ab.c1 { background:rgba(255,95,0,.75); margin-right:-6px; }
.ab.c2 { background:rgba(247,158,27,.75); }
.app-card-num { font-family:'Courier New',monospace; font-size:.72rem; color:var(--gold); letter-spacing:2px; font-weight:700; margin-bottom:14px; }
.bal-label { font-size:.55rem; color:rgba(201,168,76,.5); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:4px; }
.bal-value { font-size:1.35rem; font-weight:900; color:#fff; letter-spacing:-.5px; }
.bal-value span { color:rgba(255,255,255,.5); font-size:.9rem; }

.app-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:16px; }
.act-btn { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 4px; background:rgba(255,255,255,.03); border-radius:12px; border:1px solid rgba(255,255,255,.04); }
.act-icon { width:32px; height:32px; background:rgba(51,117,187,.15); border-radius:10px; display:flex; align-items:center; justify-content:center; }
.act-btn span { font-size:.62rem; color:rgba(255,255,255,.75); font-weight:600; }

.app-txs { display:flex; flex-direction:column; }
.tx-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-size:.72rem; font-weight:700; color:rgba(255,255,255,.8); text-transform:uppercase; letter-spacing:.8px; }
.tx-see { color:var(--blue-l); text-transform:none; letter-spacing:0; font-weight:600; }
.tx-item { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.04); }
.tx-item:last-child { border-bottom:none; }
.tx-icon { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.85rem; font-weight:800; color:#fff; flex-shrink:0; }
.tx-info { flex:1; }
.tx-name { font-size:.75rem; font-weight:600; color:#fff; margin-bottom:2px; }
.tx-date { font-size:.6rem; color:#8892a4; }
.tx-amt { font-size:.75rem; font-weight:700; color:#fff; }
.tx-in { color:#3dfa8c; }

.phone-shadow { position:absolute; bottom:-40px; left:5%; right:5%; height:60px; border-radius:50%; background:radial-gradient(ellipse, rgba(51,117,187,.4), transparent 70%); filter:blur(20px); z-index:-1; }

.pay-row { display:flex; gap:12px; position:relative; z-index:10; }
.pay-pill {
display:flex; align-items:center; gap:8px;
background:var(--text); color:#fff;
border:none; border-radius:100px; padding:10px 22px;
font-size:.82rem; font-weight:600;
transition:all .22s;
}
.pay-pill svg { color:#fff; }
.pay-pill:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(10,14,26,.2); }

/* ==================== SECTIONS ==================== */
.section { padding:100px 0; position:relative; }
.container { max-width:1200px; margin:0 auto; padding:0 5%; }

.section.light { background:var(--bg); color:var(--text); }

.section-head-center { text-align:center; max-width:720px; margin:0 auto 60px; }
.section-title { font-size:clamp(2rem,3.5vw,3.2rem); font-weight:900; line-height:1.15; letter-spacing:-1px; margin-bottom:16px; color:var(--text); }
.section-title.dark { color:var(--text); }
.section-desc-center { font-size:1.05rem; color:var(--text-muted); line-height:1.7; max-width:600px; margin:0 auto; }
.section-desc-center.dark { color:var(--text-muted); }
.g-text-blue { color:var(--blue); }

/* Buttons */
.btn-solid-blue {
display:inline-flex; align-items:center; justify-content:center; gap:8px;
background:var(--blue); color:#fff; border:none; border-radius:100px;
padding:14px 32px; font-size:.95rem; font-weight:700; cursor:pointer; transition:all .25s;
}
.btn-solid-blue:hover { background:var(--blue-l); transform:translateY(-2px); box-shadow:0 10px 24px rgba(51,117,187,.35); }
.btn-solid-lg { padding:17px 42px; font-size:1.05rem; }
.btn-outline-blue {
display:inline-flex; align-items:center; justify-content:center;
background:transparent; color:var(--blue); border:2px solid var(--blue);
border-radius:100px; padding:14px 32px; font-size:.95rem; font-weight:700;
cursor:pointer; transition:all .25s;
}
.btn-outline-blue:hover { background:var(--blue); color:#fff; }

/* ==================== FEATURES ==================== */
.features-section { background:#eef7ee; }
.tw-hero-card {
background:#fff; border-radius:32px; padding:56px 48px;
display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center;
box-shadow:var(--shadow-lg); margin-bottom:32px; position:relative; overflow:hidden;
}
.tw-hero-content h3 { font-size:clamp(1.5rem,2.6vw,2.2rem); font-weight:900; line-height:1.2; margin-bottom:16px; color:var(--text); letter-spacing:-.5px; }
.tw-hero-content p { font-size:.98rem; color:var(--text-muted); line-height:1.7; margin-bottom:28px; }

.tw-hero-illust { position:relative; height:280px; display:flex; align-items:center; justify-content:center; }
.illust-blob { position:absolute; border-radius:50%; filter:blur(30px); }
.illust-blob-1 { width:200px; height:200px; background:radial-gradient(circle, #3375BB88, transparent 70%); top:20%; left:30%; animation:blobFloat 6s ease-in-out infinite; }
.illust-blob-2 { width:150px; height:150px; background:radial-gradient(circle, #a78bfa88, transparent 70%); bottom:10%; right:20%; animation:blobFloat 8s ease-in-out infinite reverse; }
@keyframes blobFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-15px)} }

.illust-card { position:relative; width:180px; height:110px; background:linear-gradient(135deg,#0e1116,#1c222d); border-radius:12px; padding:14px; display:flex; flex-direction:column; justify-content:space-between; box-shadow:0 15px 40px rgba(0,0,0,.3); transform:rotate(-8deg); animation:cardTilt 6s ease-in-out infinite; }
@keyframes cardTilt { 0%,100%{transform:rotate(-8deg) translateY(0)} 50%{transform:rotate(-6deg) translateY(-8px)} }
.illust-chip { width:24px; height:18px; background:linear-gradient(135deg,#c9a84c,#f0d080); border-radius:4px; }
.illust-lines { display:flex; flex-direction:column; gap:5px; }
.illust-lines span { display:block; height:3px; background:linear-gradient(90deg,#c9a84c,transparent); border-radius:2px; }
.illust-lines span:nth-child(1) { width:60%; }
.illust-lines span:nth-child(2) { width:40%; }
.illust-lines span:nth-child(3) { width:70%; }

.illust-coin { position:absolute; width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; font-weight:900; color:#fff; box-shadow:0 8px 20px rgba(0,0,0,.15); }
.illust-btc { background:linear-gradient(135deg,#F7931A,#ffab3d); top:10%; right:15%; animation:coinBob 4s ease-in-out infinite; }
.illust-eth { background:linear-gradient(135deg,#627EEA,#8fa7ff); bottom:15%; left:8%; animation:coinBob 4s ease-in-out infinite 1s; }
.illust-usdt { background:linear-gradient(135deg,#26A17B,#3dc493); bottom:20%; right:5%; animation:coinBob 4s ease-in-out infinite 2s; }
@keyframes coinBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.tw-cards-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.tw-mini-card { background:#fff; border-radius:24px; padding:32px 24px; text-align:center; box-shadow:var(--shadow-sm); transition:transform .3s, box-shadow .3s; }
.tw-mini-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.tw-mini-illust { width:88px; height:88px; margin:0 auto 20px; border-radius:22px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.tw-mini-illust svg { width:70%; height:70%; }
.color-1 { background:linear-gradient(135deg,#e6f4ff,#d4ecff); }
.color-2 { background:linear-gradient(135deg,#fff5e0,#ffe9c2); }
.color-3 { background:linear-gradient(135deg,#f0eaff,#e4d8ff); }
.color-4 { background:linear-gradient(135deg,#e3ffec,#c6f7d4); }
.tw-mini-card h4 { font-size:1.05rem; font-weight:800; margin-bottom:8px; color:var(--text); letter-spacing:-.3px; }
.tw-mini-card p { font-size:.86rem; color:var(--text-muted); line-height:1.6; }

/* ==================== HOW IT WORKS ==================== */
.hiw-section { background:#f5f7fa; }
.hiw-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.hiw-card { background:#fff; border-radius:28px; padding:36px 32px; text-align:left; box-shadow:var(--shadow-sm); transition:transform .3s, box-shadow .3s; }
.hiw-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.hiw-illust { position:relative; height:140px; margin-bottom:24px; display:flex; align-items:center; justify-content:center; border-radius:20px; overflow:hidden; }
.hiw-blob { position:absolute; width:120px; height:120px; border-radius:50%; filter:blur(30px); z-index:0; }
.b1 { background:radial-gradient(circle,#3375BB55,transparent 70%); }
.b2 { background:radial-gradient(circle,#5AC8FA55,transparent 70%); }
.b3 { background:radial-gradient(circle,#a78bfa55,transparent 70%); }
.hiw-illust svg { position:relative; z-index:1; width:100px; height:100px; filter:drop-shadow(0 10px 20px rgba(0,0,0,.15)); }
.hiw-step-num { font-size:.7rem; font-weight:800; color:var(--blue); letter-spacing:2px; text-transform:uppercase; margin-bottom:10px; }
.hiw-card h3 { font-size:1.2rem; font-weight:800; margin-bottom:10px; color:var(--text); letter-spacing:-.3px; }
.hiw-card p { font-size:.9rem; color:var(--text-muted); line-height:1.65; }

/* ==================== SECURITY GREEN ==================== */
.security-section.green-gradient { background:linear-gradient(180deg, #c4ea6e 0%, #d5f088 100%); color:var(--text); }
.sec-hero-card { background:#fff; border-radius:32px; padding:56px 48px; display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; box-shadow:var(--shadow-lg); margin-bottom:32px; position:relative; overflow:hidden; }
.sec-hero-content h3 { font-size:clamp(1.5rem,2.6vw,2.2rem); font-weight:900; line-height:1.2; margin-bottom:16px; color:var(--text); letter-spacing:-.5px; }
.sec-hero-content p { font-size:.98rem; color:var(--text-muted); line-height:1.7; margin-bottom:28px; }
.sec-hero-illust { position:relative; height:280px; display:flex; align-items:center; justify-content:center; }
.sec-illust-shape { position:absolute; border-radius:50%; filter:blur(35px); }
.s1 { width:180px; height:180px; background:radial-gradient(circle,#FF6B9D66,transparent 70%); top:15%; left:15%; animation:blobFloat 7s ease-in-out infinite; }
.s2 { width:140px; height:140px; background:radial-gradient(circle,#5AC8FA66,transparent 70%); bottom:15%; right:15%; animation:blobFloat 9s ease-in-out infinite reverse; }
.s3 { width:100px; height:100px; background:radial-gradient(circle,#FFB84D66,transparent 70%); top:60%; left:60%; animation:blobFloat 8s ease-in-out infinite 1s; }
.sec-illust-key { 
    position: relative; 
    z-index: 2; 
    width: 200px; 
    height: 240px; /* Увеличил высоту для цепи */
    display: flex; 
    align-items: flex-start; /* Выравнивание по верху для маятника */
    justify-content: center;
    animation: keyPendulum 6s ease-in-out infinite;
    transform-origin: top center; /* Точка вращения сверху (где цепь) */
}
@keyframes keyPendulum { 
    0%, 100% { 
        transform: rotate(-8deg); 
    } 
    50% { 
        transform: rotate(8deg); 
    } 
}

.sec-illust-key img,
.sec-illust-key svg { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,.2)); 
}
@keyframes keyFloat { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-10px) rotate(2deg)} }
.sec-illust-key svg { width:100%; height:100%; filter:drop-shadow(0 15px 30px rgba(0,0,0,.2)); }

.sec-mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sec-mini {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
    text-align: center;
}
.sec-mini:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.sec-mini-illust {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sec-mini-illust svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.1));
}
.sec-mini h4 { font-size:1.1rem; font-weight:800; margin-bottom:8px; color:var(--text); letter-spacing:-.3px; }
.sec-mini p { font-size:.88rem; color:var(--text-muted); line-height:1.6; }

/* ==================== TICKER LIGHT ==================== */
.ticker-section { padding:100px 0; overflow:hidden; text-align:center; background:var(--bg); }
.ticker-section.light .section-head-center { margin-bottom:40px; }
.ticker-wrap { overflow:hidden; mask:linear-gradient(90deg,transparent,black 12%,black 88%,transparent); -webkit-mask:linear-gradient(90deg,transparent,black 12%,black 88%,transparent); }
.ticker-track { display:flex; gap:16px; width:max-content; animation:ticker 28s linear infinite; }
@keyframes ticker { to { transform:translateX(-50%); } }
.t-coin {
display:flex; align-items:center; gap:10px;
background:#fff; border:1px solid var(--border-light);
border-radius:16px; padding:14px 22px;
white-space:nowrap; transition:all .2s;
box-shadow:var(--shadow-sm);
}
.t-coin:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--blue); }
.t-sym { font-size:1.2rem; font-weight:800; }
.t-name { font-size:.88rem; font-weight:700; color:var(--text); }
.t-tick { font-size:.75rem; color:var(--text-muted); font-weight:500; }

/* ==================== FAQ LIGHT ==================== */
.faq-section.light { background:#f5f7fa; }
.faq-wrap { max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:#fff; border:1px solid transparent; border-radius:18px; overflow:hidden; transition:border-color .25s, box-shadow .25s; cursor:pointer; box-shadow:var(--shadow-sm); }
.faq-item:hover { box-shadow:var(--shadow-md); }
.faq-item.open { border-color:rgba(51,117,187,.3); box-shadow:0 12px 28px rgba(51,117,187,.12); }
.faq-head { display:flex; justify-content:space-between; align-items:center; padding:22px 26px; gap:16px; font-weight:700; font-size:.98rem; color:var(--text); }
.faq-icon { position:relative; width:22px; height:22px; flex-shrink:0; }
.faq-icon span { position:absolute; top:50%; left:50%; width:14px; height:2px; background:var(--text-muted); border-radius:1px; transform:translate(-50%,-50%); transition:.3s; }
.faq-icon span:last-child { transform:translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-icon span:last-child { transform:translate(-50%,-50%) rotate(0deg); opacity:0; }
.faq-body { max-height:0; overflow:hidden; font-size:.92rem; color:var(--text-muted); line-height:1.7; transition:max-height .4s ease,padding .4s ease; padding:0 26px; }
.faq-item.open .faq-body { max-height:220px; padding:0 26px 22px; }

/* ==================== CTA ==================== */
.tw-cta { background:linear-gradient(180deg, #eef7ee 0%, #d4eae0 100%); padding:100px 5%; text-align:center; position:relative; overflow:hidden; }
.tw-cta::before { content:''; position:absolute; top:-100px; left:50%; transform:translateX(-50%); width:600px; height:600px; background:radial-gradient(circle, rgba(51,117,187,.15), transparent 70%); filter:blur(60px); pointer-events:none; }
.tw-cta .cta-content { position:relative; z-index:2; max-width:720px; margin:0 auto; }
.tw-cta h2 { font-size:clamp(2.2rem,4.2vw,3.6rem); font-weight:900; letter-spacing:-1.2px; margin-bottom:20px; line-height:1.1; color:var(--text); }
.tw-cta p { font-size:1.1rem; color:var(--text-muted); margin-bottom:36px; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ==================== FOOTER ==================== */
.footer { background:var(--text); border-top:1px solid var(--border-light); padding:64px 0 28px; color:#fff; }
.footer .nav-logo { color:#fff; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand p { font-size:.85rem; color:rgba(255,255,255,.55); line-height:1.65; max-width:260px; }
.footer-col h4 { font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:1.5px; color:rgba(255,255,255,.35); margin-bottom:16px; }
.footer-col a { display:block; color:rgba(255,255,255,.55); text-decoration:none; font-size:.86rem; margin-bottom:10px; transition:color .2s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.footer-bottom span { font-size:.75rem; color:rgba(255,255,255,.25); }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ==================== ICON IMAGES ==================== */
.tw-mini-illust img,
.sec-mini-illust img,
.hiw-illust img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
position: relative;
z-index: 2;
filter: drop-shadow(0 8px 16px rgba(10,14,26,.12));
transition: transform .3s;
}
.tw-mini-card:hover .tw-mini-illust img,
.sec-mini:hover .sec-mini-illust img,
.hiw-card:hover .hiw-illust img {
transform: scale(1.06);
}
.tw-mini-illust:has(img) { background: transparent !important; overflow: visible; }
.sec-mini-illust { overflow: visible; }
.hiw-illust:has(img) { background: transparent; }
.hiw-illust img { width: 110px; height: 110px; }

/* ==================== RESPONSIVE ==================== */

/* Планшеты и мобильные (до 860px) */
@media (max-width: 860px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
    }
    .hero-left {
        margin-bottom: 0;
    }
    .hero-right { display: none; } /* Скрываем десктопную анимацию */

    .composition-mobile-slot {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        height: 550px;
        overflow: hidden;
        margin: 24px 0 0 0;
    }
    .composition-mobile-slot .composition {
        width: 520px;
        height: 640px;
        flex-shrink: 0;
        transform: scale(0.85);
        transform-origin: top center;
        margin: 0;
    }

    .tw-hero-card, .sec-hero-card {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 20px;
    }
    .tw-hero-illust, .sec-hero-illust { height: 220px; }
    .tw-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-grid { grid-template-columns: 1fr; }
    .sec-mini-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Маленькие мобильные */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .burger { display: flex; }
    h1 { font-size: 2.2rem; }
    .hero-desc { display: none; }
    .hero-metrics { gap: 14px; }
    .metric strong { font-size: 1.3rem; }
    
    .composition-mobile-slot { height: 461px; }
    .composition-mobile-slot .composition { transform: scale(0.72); }
    
    .tw-cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
    .cta-btns button { width: 100%; max-width: 320px; }
}

@media (max-width: 520px) {
    .composition-mobile-slot { height: 371px; }
    .composition-mobile-slot .composition { transform: scale(0.58); }
}

@media (max-width: 420px) {
    .composition-mobile-slot { height: 320px; }
    .composition-mobile-slot .composition { transform: scale(0.5); }
    h1 { font-size: 1.85rem; }
    .hero-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; }
    .hero-btns button { width: 100%; justify-content: center; }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(10, 14, 26, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(51, 117, 187, 0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-hint {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-top: 16px !important;
    opacity: 0.7;
}

/* Адаптив модалки */
@media (max-width: 480px) {
    .modal-content {
        padding: 32px 24px;
    }
    .modal-content h3 {
        font-size: 1.3rem;
    }
}
