:root {
    --bg: #f4f7fb;
    --bg-strong: #eaf0f9;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-soft: #edf3ff;
    --primary: #123d8d;
    --primary-strong: #0d2e6f;
    --primary-soft: rgba(18, 61, 141, 0.12);
    --accent: #57b3ff;
    --accent-soft: rgba(87, 179, 255, 0.18);
    --success: #1ca76d;
    --warning: #f4b740;
    --text: #101827;
    --text-muted: #596779;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 12px 32px rgba(17, 24, 39, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(96%, 1720px);
}

html[data-theme="dark"] {
    --bg: #0b1220;
    --bg-strong: #101a2e;
    --surface: rgba(15, 23, 42, 0.86);
    --surface-strong: #172235;
    --surface-soft: #0f1d35;
    --primary: #6ea8ff;
    --primary-strong: #89b7ff;
    --primary-soft: rgba(110, 168, 255, 0.18);
    --accent: #7dd3fc;
    --accent-soft: rgba(125, 211, 252, 0.16);
    --success: #4ade80;
    --warning: #fbbf24;
    --text: #f8fafc;
    --text-muted: #aebbd0;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
    --shadow-soft: 0 12px 30px rgba(2, 6, 23, 0.46);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(87, 179, 255, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(18, 61, 141, 0.12), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

img, svg, video, canvas, iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

nav.bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 15, 31, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: clamp(0.9rem, 2vw, 1.3rem) clamp(1rem, 2vw, 2rem);
    color: white;
    opacity: 1;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.75rem, 2vw, 1.6rem);
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: white;
    cursor: pointer;
    padding: 0.65rem 0.7rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

nav.bar.animate-down {
    animation: navbarEnter 0.6s ease-out both;
}

.list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list li {
    position: relative;
}

.list li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Montserrat", sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.list li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #f4f9ff);
    border-radius: 10px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.list li a:hover,
.list li a:focus-visible {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.list li a:hover::after {
    width: 45%;
}

.logo {
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    color: whitesmoke;
    display: inline-flex;
    align-items: center;
    gap: 0.04em;
}

.logo span {
    display: inline-block;
}

@keyframes navbarEnter {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a.register,
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.95rem 1.45rem;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid transparent;
    font-family: "Montserrat", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

a.register {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255,255,255,0.1);
}

html[data-theme="dark"] a.register,
html[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #f8fafc;
    box-shadow: 0 18px 30px rgba(29, 78, 216, 0.28);
    border-color: rgba(147, 197, 253, 0.3);
}

html[data-theme="dark"] a.register:hover,
html[data-theme="dark"] a.register:focus-visible,
html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .btn:focus-visible {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

a.register:hover,
a.register:focus-visible,
.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

a.register::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #f4f9ff);
    border-radius: 10px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

a.register:hover::after {
    width: 45%;
}

.section-wrap {
    width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(16px, 2vw, 32px);
}

.landing-page {
    overflow-x: hidden;
    padding-bottom: 80px;
}

.hero {
    padding: clamp(3rem, 6vw, 6rem) 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-strong);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .eyebrow {
    background: rgba(23, 34, 53, 0.9);
    border-color: var(--border);
    color: #dfeaff;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.28);
}

.hero-copy h1 {
    margin-top: 1.25rem;
    font-size: clamp(2.4rem, 4.7vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.06em;
    max-width: 820px;
}

.hero-copy h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #4d83ff 55%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    margin-top: 1.2rem;
    max-width: 820px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    box-shadow: 0 20px 30px rgba(18, 61, 141, 0.24);
}

.btn-secondary {
    background: rgba(255,255,255,0.7);
    color: var(--text);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .btn-secondary {
    background: rgba(23, 34, 53, 0.92);
    color: #edf5ff;
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.26);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.7rem;
}

.trust-list li {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(15,23,42,0.05);
}

html[data-theme="dark"] .trust-list li {
    background: linear-gradient(180deg, rgba(23, 34, 53, 0.96), rgba(11, 18, 30, 0.96));
    border-color: rgba(255,255,255,0.08);
    color: #eaf2ff;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
}

html[data-theme="dark"] .trust-list li::before {
    background: rgba(74, 222, 128, 0.18);
    color: #a7f3d0;
}

.trust-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(28, 167, 109, 0.12);
    color: var(--success);
    font-weight: 700;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 3% 8% 12% 5%;
    background: radial-gradient(circle, rgba(87, 179, 255, 0.25), rgba(87, 179, 255, 0.06) 45%, transparent 70%);
    filter: blur(18px);
}

.visual-window {
    position: relative;
    width: min(100%, 680px);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(7, 15, 32, 0.9), rgba(17, 33, 68, 0.82));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(10, 21, 45, 0.26);
    padding: 1rem;
    overflow: hidden;
}

.visual-topbar {
    display: flex;
    gap: 0.6rem;
    padding: 0 0.3rem 1rem;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff6f62; }
.dot-yellow { background: #f7c95d; }
.dot-green { background: #5cd67d; }

.dashboard-preview {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.preview-panel-main {
    padding: 1.15rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trend {
    color: #7ee7a5;
    font-weight: 700;
}

.preview-amount {
    margin-top: 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
}

.mini-bars {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 56px;
    margin-top: 1rem;
}

.mini-bars span {
    display: block;
    flex: 1;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(87,179,255,0.92), rgba(87,179,255,0.3));
}

.mini-bars span:nth-child(1) { height: 28%; }
.mini-bars span:nth-child(2) { height: 38%; }
.mini-bars span:nth-child(3) { height: 62%; }
.mini-bars span:nth-child(4) { height: 54%; }
.mini-bars span:nth-child(5) { height: 78%; }
.mini-bars span:nth-child(6) { height: 96%; }

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.mini-card {
    padding: 1rem 0.85rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.mini-card.accent {
    background: rgba(87,179,255,0.18);
}

.mini-card.accent-two {
    background: rgba(34, 197, 94, 0.12);
}

.mini-label {
    display: block;
    color: rgba(255,255,255,0.72);
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
}

.mini-card strong {
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(1rem, 2vw, 2rem);
}

.stat-item {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15,23,42,0.05);
    box-shadow: var(--shadow-soft);
    border-radius: 22px;
    padding: 1.2rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 122px;
    justify-content: center;
}

html[data-theme="dark"] .stat-item {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(11, 18, 32, 0.94));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.42);
}

.stat-item strong {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    letter-spacing: -0.05em;
    color: var(--primary-strong);
}

html[data-theme="dark"] .stat-item strong {
    color: #edf6ff;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

html[data-theme="dark"] .stat-item span {
    color: #c9d5ea;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 4.5rem 0 1.6rem;
}

.section-heading h2 {
    margin-top: 0.75rem;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.06em;
    max-width: 700px;
}

html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .community-copy h2,
html[data-theme="dark"] .cta-inner h2 {
    color: #f8fafc;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.08);
    background: rgba(255,255,255,0.7);
    color: var(--text);
    font-weight: 600;
}

html[data-theme="dark"] .link-btn {
    background: rgba(17, 27, 46, 0.88);
    border-color: rgba(255,255,255,0.08);
    color: var(--text);
}

.consider a * {
    color: var(--text);
}

.consider {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    justify-content: center;
    min-width: 0;
}

.const-box-small,
.const-box-big {
    position: relative;
    display: block;
    background: rgba(255,255,255,0.8);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

html[data-theme="dark"] .const-box-small,
html[data-theme="dark"] .const-box-big {
    background: linear-gradient(180deg, rgba(23, 34, 53, 0.98), rgba(10, 18, 30, 0.96));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 42px rgba(2, 6, 23, 0.42);
}

.const-box-small {
    width: 100%;
    min-height: 340px;
    padding: 1rem 1rem 1.2rem;
    text-align: center;
    justify-self: stretch;
}

.const-box-big {
    width: 100%;
    min-height: 360px;
    padding: 1rem 1rem 1.2rem;
    text-align: center;
    justify-self: stretch;
}

.const-box-small:hover,
.const-box-small:focus-visible,
.const-box-big:hover,
.const-box-big:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
    border-color: rgba(18, 61, 141, 0.18);
    background: rgba(255,255,255,0.94);
}

img.elem {
    width: 100%;
    max-width: 220px;
    height: 180px;
    object-fit: contain;
    border-radius: 1rem;
    display: block;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(18,61,141,0.04), rgba(87,179,255,0.04));
    padding: 1.1rem 0.8rem;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.const-box-small:hover .elem,
.const-box-big:hover .elem,
.const-box-small:focus-visible .elem,
.const-box-big:focus-visible .elem {
    transform: scale(1.04);
}

img#tar2 {
    transform: translate(12px, -8px);
}

img#mak {
    padding: 2rem 1rem;
}

.elem-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 0.9rem;
    min-width: 0;
}

.cont-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex: 1;
    padding: 0 0.7rem 0.3rem;
}

.tav {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.08rem, 1.35vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--text);
    text-align: center;
}

html[data-theme="dark"] .tav {
    color: #f3f7ff;
}

p.hav {
    font-family: "Montserrat", sans-serif;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    color: var(--text-muted);
}

html[data-theme="dark"] p.hav {
    color: #c9d5ea;
}

.community-section {
    margin-top: 3.5rem;
}

.community-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.community-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-top: 0.8rem;
}

.community-copy p {
    margin-top: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 620px;
}

html[data-theme="dark"] .community-copy p {
    color: #c9d5ea;
}

.check-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: var(--text);
    font-weight: 600;
}

html[data-theme="dark"] .check-list li {
    color: #e8eefb;
}

.check-list li::before {
    content: "✓";
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(28,167,109,0.12);
    color: var(--success);
    flex-shrink: 0;
}

.community-panels {
    display: grid;
    gap: 1rem;
}

.mini-panel {
    background: linear-gradient(180deg, rgba(18,61,141,0.92), rgba(10,22,44,0.92));
    color: #fff;
    border-radius: 28px;
    padding: clamp(1.3rem, 2vw, 2rem);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

html[data-theme="dark"] .mini-panel {
    background: linear-gradient(180deg, rgba(25, 37, 57, 0.96), rgba(9, 15, 25, 0.98));
    color: #edf5ff;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 42px rgba(2, 6, 23, 0.45);
}

.mini-panel.soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(237,243,255,0.9));
    color: var(--text);
    border: 1px solid rgba(15,23,42,0.05);
}

html[data-theme="dark"] .mini-panel.soft {
    background: linear-gradient(180deg, rgba(17, 27, 46, 0.96), rgba(12, 18, 30, 0.94));
    color: #ebf3ff;
    border-color: rgba(255,255,255,0.08);
}

.mini-tag {
    display: inline-flex;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mini-panel h3 {
    margin-top: 1rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.mini-panel p {
    margin-top: 0.8rem;
    color: inherit;
    opacity: 0.8;
    line-height: 1.7;
}

html[data-theme="dark"] .mini-panel p,
html[data-theme="dark"] .mini-panel.soft p {
    color: #d8e5f9;
    opacity: 1;
}

.updates-section {
    margin-top: 4rem;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.update-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15,23,42,0.05);
    padding: 1.4rem 1.2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="dark"] .update-card {
    background: linear-gradient(180deg, rgba(23, 34, 53, 0.97), rgba(12, 18, 30, 0.98));
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.38);
}

.update-card:hover,
.update-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}

.update-tag {
    display: inline-flex;
    padding: 0.46rem 0.7rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.update-card h3 {
    margin-top: 1rem;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    line-height: 1.4;
    letter-spacing: -0.04em;
}

html[data-theme="dark"] .update-card h3 {
    color: #edf5ff;
}

.update-card p {
    margin-top: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
}

html[data-theme="dark"] .update-card p {
    color: #c9d5ea;
}

.update-card time {
    display: block;
    margin-top: 1rem;
    color: var(--primary-strong);
    font-weight: 700;
    font-size: 0.8rem;
}

html[data-theme="dark"] .update-card time {
    color: #a9d0ff;
}

.cta-banner {
    margin-top: 4rem;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(18,61,141,0.98), rgba(14,29,69,0.93));
    color: #fff;
    box-shadow: 0 24px 50px rgba(18,61,141,0.25);
}

html[data-theme="dark"] .cta-inner {
    background: linear-gradient(135deg, rgba(14, 26, 45, 0.98), rgba(17, 27, 46, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.42);
}

.cta-inner h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.06em;
    max-width: 700px;
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(15,23,42,0.06);
    background: rgba(255,255,255,0.4);
}

html[data-theme="dark"] .site-footer {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 1));
    border-top-color: rgba(255,255,255,0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer-brand p {
    margin-top: 0.9rem;
    max-width: 430px;
    color: var(--text-muted);
    line-height: 1.8;
}

html[data-theme="dark"] .footer-brand p,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .footer-bottom {
    color: #c9d5ea;
}

.footer-logo {
    color: var(--text);
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links h3 {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(15,23,42,0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
}

html[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255,255,255,0.08);
}

.auth-dashboard-shell,
.dashboard-main,
.chat-page-embedded,
.chat-shell-embedded,
.news-list,
.online-list {
    display: inherit;
}

@media (max-width: 980px) {
    .hero-grid,
    .community-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .updates-grid,
    .consider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 12px);
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        padding: 1rem;
        background: rgba(11, 18, 27, 0.96);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 18px;
        box-shadow: 0 20px 40px rgba(15,23,42,0.22);
        z-index: 1001;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .list li a,
    a.register {
        width: 100%;
        justify-content: flex-start;
        padding: 0.9rem 1rem;
    }

    .logo {
        letter-spacing: 0.08em;
    }
}

@media (max-width: 640px) {
    .section-wrap {
        width: min(100% - 20px, 1280px);
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-actions,
    .trust-list {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy h1 {
        max-width: 100%;
        letter-spacing: -0.05em;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .stats-strip,
    .updates-grid,
    .consider {
        grid-template-columns: 1fr;
    }

    .list li a,
    a.register,
    .btn {
        width: 100%;
    }

    .section-heading,
    .footer-bottom,
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .const-box-small,
    .const-box-big {
        min-height: 300px;
    }

    .cta-inner {
        padding: 1.4rem;
    }
}

@media (max-width: 420px) {
    nav.bar {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .update-card,
    .stat-item,
    .mini-panel {
        border-radius: 20px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .nav-panel {
        max-height: 62dvh;
        overflow-y: auto;
    }
}

@media (hover: hover) and (pointer: fine) {
    .list li a:hover,
    a.register:hover,
    .btn:hover,
    .update-card:hover,
    .const-box-small:hover,
    .const-box-big:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes alert {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}