/* Fonts */
@font-face {
    font-family: 'BRSonoma-Regular';
    src: url('../fonts/BRSonoma-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'BRSonoma-Regular';
    src: url('../fonts/BRSonoma-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BRSonoma-Regular';
    src: url('../fonts/BRSonoma-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'BRSonoma-Medium';
    src: url('../fonts/BRSonoma-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BRSonoma-Medium';
    src: url('../fonts/BRSonoma-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    /* Colors */
    --bg-color: #0a0b1e;
    --bg-secondary: #12142b;
    --primary-color: #00f0ff;
    /* Electric Cyan */
    --primary-hover: #00c0cc;
    --secondary-color: #ff00aa;
    /* Hot Pink */
    --secondary-hover: #cc0088;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --reactor-header-mb: 20px;
    --reactor-system-mt: 10px;
    --neon-glow: 0 0 10px rgba(0, 240, 255, 0.5),
        0 0 20px rgba(0, 240, 255, 0.3);
    --neon-glow-pink: 0 0 10px rgba(255, 0, 170, 0.5),
        0 0 20px rgba(255, 0, 170, 0.3);
    --neon-glow-secondary: 0 0 10px rgba(255, 0, 170, 0.5),
        0 0 20px rgba(255, 0, 170, 0.3);

    /* Typography */
    --font-primary: 'BRSonoma-Regular',
        sans-serif;
    --font-heading: 'BRSonoma-Medium',
        sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 100px;
}

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

html {
    width: 100%;
}

body {
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Paragraph text alignment */
p {
    text-align: justify;
    text-justify: inter-word;
}

/* Center alignment for specific elements */
.hero-subtitle,
.section-subtitle,
[style*="text-align: center"] p,
[style*="text-align:center"] p {
    text-align: center;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-cyan {
    background: linear-gradient(90deg, #00f0ff, #0055ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-pink {
    background: linear-gradient(90deg, #aa00ff, #ff00aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 240, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Form Error States */
.input-error {
    border-color: #ff0055 !important;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.3) !important;
}

.form-error-message {
    color: #ff0055;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    text-align: left;
    padding-left: 10px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 11, 30, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header__logo img {
    height: 40px;
}

.header__nav {
    display: flex;
    gap: 30px;
}

.header__nav a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header__nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Hero Reactor */
.hero-reactor {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, rgba(10, 11, 30, 1) 70%);
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, rgba(10, 11, 30, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero__text {
    flex: 1;
    max-width: 600px;
}

.hero__visual {
    flex: 1;
    position: relative;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.reactor-header {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 10;
}

/* Engine Visualization */
.engine-visual {
    width: 100%;
    height: 400px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.2;
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.liquidity-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Social Market */
.social-market {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.arbitrage-visual {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.arbitrage-step {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Tokenomics */
.tokenomics-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding-left: 30px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);


    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header__logo img {
    height: 40px;
}

.header__nav {
    display: flex;
    gap: 30px;
}

.header__nav a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header__nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, rgba(10, 11, 30, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero__text {
    flex: 1;
    max-width: 600px;
}

.hero__visual {
    flex: 1;
    position: relative;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Engine Visualization */
.engine-visual {
    width: 100%;
    height: 400px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.2;
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.liquidity-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Social Market */
.social-market {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.arbitrage-visual {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.arbitrage-step {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Tokenomics */
.tokenomics-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding-left: 30px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-title {
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero__text {
        margin-bottom: 40px;
    }

    .hero__actions {
        justify-content: center;
    }

    .header__nav {
        display: none;
    }

    .market-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Ticker Fix - Robust */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 15px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.ticker {
    display: flex;
    align-items: center;
    column-gap: 50px;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Логотипы в бегущей строке */
.ticker__item img {
    height: 26px;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.ticker__item:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.9));
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* System Grid */
.reactor-system {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    /* Fixed height for the orbit system */
    margin-top: 0;
}

.reactor-lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3;
}

.neon-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    /* Dashed lines for tech feel */
}

/* Node Cards Common Styles */
.node-card {
    position: absolute;
    background: rgba(18, 20, 43, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Уменьшили паддинги с 25px до 15px по бокам, чтобы дать тексту место */
    padding: 20px 15px;
    border-radius: 15px;
    width: 280px;
    /* Фиксированная ширина, должна хватать */
    text-align: left;
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.node-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    background: rgba(18, 20, 43, 0.9);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0b1e;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.node-card h3 {
    /* Уменьшили шрифт с 1.4rem до 1.1rem, чтобы DEFLATION влезало */
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Чуть сжали буквы */
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    white-space: nowrap;
    /* Запретили перенос слов! */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Если все равно не влезет - будет троеточие, но не поломка */
}

/* Для мобильных можно вернуть перенос, если экран узкий */
@media (max-width: 768px) {
    .node-card h3 {
        white-space: normal;
        font-size: 1rem;
    }
}

.node-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.node-label {
    font-size: 0.75rem;
    color: var(--primary-color);
    /* Или secondary для правых блоков */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.8;
}

/* Правая сторона - розовые лейблы */
.node-tr .node-label,
.node-br .node-label {
    color: var(--secondary-color);
}

/* Блок описания вместо списка */
.node-desc-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.node-desc-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
    margin: 0;
}

.node-desc-box strong {
    color: #fff;
    font-weight: 700;
}

/* Hover Effects */
.node-card:hover h3 {
    color: var(--primary-color);
}

.node-tr:hover h3,
.node-br:hover h3 {
    color: var(--secondary-color);
}

/* Стили для кнопки "Read Mechanics" */
.node-more {
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Цвета для разных сторон */
.cyan-more {
    color: var(--primary-color);
}

.pink-more {
    color: var(--secondary-color);
    justify-content: flex-end;
}

/* Справа выравниваем вправо */

/* Анимация при наведении на КАРТОЧКУ */
.node-card:hover .node-more {
    opacity: 1;
    transform: translateX(5px);
    /* Сдвиг вправо */
    text-shadow: 0 0 10px currentColor;
    /* Неоновое свечение */
}

/* Для правых карточек сдвиг влево (для красоты, если текст справа) */
.node-tr:hover .pink-more,
.node-br:hover .pink-more {
    transform: translateX(-5px);
}



/* Specific Positions (Matches your Sketch) */

/* CENTER */
.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    /* Circle */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.15);
}

.node-center:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* TOP LEFT */
.node-tl {
    top: 10%;
    left: 0;
}



/* TOP RIGHT */
.node-tr {
    top: 10%;
    right: 0;
    text-align: right;
}

.node-tr .node-label {
    color: var(--secondary-color);
}

.node-tr:hover {
    border-color: var(--secondary-color);
}

/* BOTTOM LEFT */
.node-bl {
    bottom: 10%;
    left: 0;
}

/* BOTTOM RIGHT */
.node-br {
    bottom: 10%;
    right: 0;
    text-align: right;
}

/* TMCO Core Node Updates */
.node-center {
    /* Ensure overflow is visible for the curved text outside the circle */
    overflow: visible !important;
    /* Reset padding to allow precise positioning */
    padding: 0 !important;
    /* Ensure flex layout is correct */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    /* Soft pulsing glow */
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.node-content-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    /* Clip content inside the circle */
    z-index: 2;
}

.node-title-top {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #fff;
    margin: 0 0 5px 0 !important;
    z-index: 3;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 15%;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.node-main-img {
    width: 80% !important;
    height: auto !important;
    opacity: 0.8;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.node-subtitle-bottom {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
    margin: 5px 0 0 0 !important;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 20%;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
}

/* Curved Text SVG */
.curved-text-svg {
    position: absolute;
    top: -35%;
    /* Position above the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    /* Wider than the node to fit the arc */
    height: 300px;
    pointer-events: none;
    /* Let clicks pass through to the node */
    z-index: 10;
}

.curved-text {
    fill: #fff;
    font-size: 14px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* Soft Pulse Animation */
@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 240, 255, 0.6);
        border-color: rgba(0, 240, 255, 0.8);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.3);
    }
}

.animate-pulse-soft {
    animation: pulse-soft 3s infinite ease-in-out;
}

/* Неоновая окантовка для боковых текстов */
.node-side-neon {
    position: relative;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5),
        0 0 20px rgba(0, 240, 255, 0.3),
        inset 0 0 10px rgba(0, 240, 255, 0.1);
    background: rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(5px);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* System Grid */
.reactor-system {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    /* Fixed height for the orbit system */
    margin-top: 0;
}

.reactor-lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3;
}

.neon-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    /* Dashed lines for tech feel */
}


/* Responsive Mobile */
@media (max-width: 768px) {

    /* 1. Mobile Menu Styles */
    .header__nav {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 11, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header__nav.active {
        display: flex;
    }

    .header__nav a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: block !important;
        /* Force visible on mobile */
        background: none;
        border: none;
        color: #fff;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
    }

    /* 2. Hero Reactor Mobile Fixes */
    .hero-reactor {
        height: auto !important;
        min-height: 100vh;
        padding-bottom: 80px;
        padding-top: 120px;
        /* More space for header */
        overflow: visible !important;
    }

    .hero-title {
        font-size: 2rem !important;
        /* Reduced size */
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-top: 10px;
        position: relative;
        z-index: 20;
        /* Ensure it's above other elements */
    }

    .reactor-system {
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 30px;
        position: relative;
    }

    .reactor-lines {
        display: none;
    }

    /* Mobile Stacking Order: Top Blocks -> Logo -> Bottom Blocks */
    .node-tl {
        order: 1;
    }

    .node-tr {
        order: 2;
    }

    .node-center {
        order: 3;
        margin: 60px 0 100px 0 !important;
        /* Massive bottom margin to clear "Value Accumulator" text */
    }

    /* Logo in middle */
    .node-bl {
        order: 4;
        margin-top: 20px;
        /* Extra push for the bottom left card */
    }

    .node-br {
        order: 5;
    }

    .node-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 350px;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Ensure Logo is Round */
    .node-center {
        width: 200px !important;
        height: 200px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* 3. Yield Stream Mobile */
    .section-title {
        font-size: 2rem !important;
    }

    .stream-headline-neon {
        font-size: 1.1rem;
    }

    /* 4. Mining Section Mobile */
    .mining-section {
        background-position: center top;
        /* Fix visibility */
        background-size: cover;
        padding-top: 60px;
    }

    /* 5. Smart Scarcity Mobile */
    .cycle-container {
        flex-direction: column;
    }

    .cycle-arrows {
        flex-direction: row;
        /* Keep horizontal container for side-by-side arrows */
        justify-content: center;
        gap: 20px;
        margin: 20px 0;
        transform: none;
        /* Reset rotation */
    }

    .arrow-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .arrow-item span {
        display: block !important;
        /* Show text */
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    /* Difficulty Rises (Down Arrow) */
    .arrow-right {
        order: 1;
    }

    .arrow-right svg {
        /* Static transform removed, animation handles it */
        animation: slideDownMobile 1.5s infinite ease-in-out !important;
    }

    /* Avg Steps Drop (Up Arrow) */
    .arrow-left {
        order: 2;
        flex-direction: column-reverse;
    }

    .arrow-left svg {
        /* Static transform removed, animation handles it */
        animation: slideUpMobile 1.5s infinite ease-in-out !important;
    }

    @keyframes slideDownMobile {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
        }

        50% {
            transform: rotate(90deg) translateX(5px);
        }
    }

    @keyframes slideUpMobile {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
        }

        50% {
            transform: rotate(90deg) translateX(-5px);
        }
    }
}

/* TMCO Core Node Updates */
.node-center {
    /* Ensure overflow is visible for the curved text outside the circle */
    overflow: visible !important;
    /* Reset padding to allow precise positioning */
    padding: 0 !important;
    /* Ensure flex layout is correct */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    /* Soft pulsing glow */
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.node-content-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    /* Clip content inside the circle */
    z-index: 2;
}

.node-title-top {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #fff;
    margin: 0 0 5px 0 !important;
    z-index: 3;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 15%;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.node-main-img {
    width: 80% !important;
    height: auto !important;
    opacity: 0.8;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.node-subtitle-bottom {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
    margin: 5px 0 0 0 !important;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 20%;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
}

/* Curved Text SVG */
.curved-text-svg {
    position: absolute;
    top: -35%;
    /* Position above the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    /* Wider than the node to fit the arc */
    height: 300px;
    pointer-events: none;
    /* Let clicks pass through to the node */
    z-index: 10;
}

.curved-text {
    fill: #fff;
    font-size: 14px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* Soft Pulse Animation */
@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 240, 255, 0.6);
        border-color: rgba(0, 240, 255, 0.8);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
        border-color: rgba(0, 240, 255, 0.3);
    }
}

.animate-pulse-soft {
    animation: pulse-soft 3s infinite ease-in-out;
}

/* Неоновая окантовка для боковых текстов */
.node-side-neon {
    position: relative;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5),
        0 0 20px rgba(0, 240, 255, 0.3),
        inset 0 0 10px rgba(0, 240, 255, 0.1);
    background: rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(5px);
}

@media (max-height: 820px) {
    .hero-reactor {
        min-height: auto;
        padding-bottom: 30px;
    }

    .reactor-system {
        height: 520px;
    }
}

/* Node List Styling - Clean & Techy */
.node-list {
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.node-list li {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.node-list li span {
    font-size: 0.7rem;
    color: var(--primary-color);
}

/* Highlighted item (last one) */
.node-list li.highlight {
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.node-list li.highlight span {
    color: var(--secondary-color);
}

/* Mobile Adjustments for readability */
@media (max-width: 768px) {
    .node-card {
        padding: 20px;
        min-height: auto;
    }

    .node-list li {
        font-size: 0.9rem;
        /* Slightly larger on mobile for readability */
    }
}

/* =========================================
   COMPACT STREAM SECTION (NEW)
========================================= */
/* =========================================
   YIELD STREAM SECTION (FLOATING CHAOS)
========================================= */
.yield-stream-compact {
    padding: 10px 0 60px;
    position: relative;
    scroll-margin-top: 100px;
    /* Header offset */
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
}

.stream-container-compact {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 600px;
}

/* Floating Animations - Multiple Variations */
@keyframes float1 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Stream Items */
.stream-item-c {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    z-index: 2;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Chaotic Animation Assignment */
/* Items start at child 3 because of the 2 labels */
.stream-item-c:nth-child(3) {
    animation: float1 6s ease-in-out infinite;
    animation-delay: 0s;
}

.stream-item-c:nth-child(4) {
    animation: float2 7.5s ease-in-out infinite;
    animation-delay: 1s;
}

.stream-item-c:nth-child(5) {
    animation: float3 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

.stream-item-c:nth-child(6) {
    animation: float4 6.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Left Items */
.item-left-c {
    padding-right: 30px;
    text-align: right;
    align-items: flex-end;
}

/* Right Items */
.item-right-c {
    padding-left: 30px;
    text-align: left;
    align-items: flex-start;
    margin-top: 60px;
    /* Offset for visual interest */
}

/* Headlines */
.stream-headline-neon {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    letter-spacing: 1px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.headline-pink {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
}

/* Stream Block Wrapper (For unified scaling) */
.stream-block {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
    width: 100%;
}

/* Glass Cards */
.stream-content-c {
    background: rgba(18, 20, 43, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    /* Transition for colors/shadows */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* HOVER EFFECT - SCALE WHOLE BLOCK */
.stream-item-c:hover .stream-block {
    transform: scale(1.15);
    /* Scale both headline and card */
    z-index: 100;
    position: relative;
}

.stream-item-c:hover {
    z-index: 100;
    /* Bring container to front */
}

.stream-item-c:hover .stream-content-c {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.3);
    background: rgba(18, 20, 43, 0.95);
    /* High opacity for readability */
}

.item-right-c:hover .stream-content-c {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(255, 0, 170, 0.3);
}

/* Highlight headline on hover */
.stream-item-c:hover .stream-headline-neon {
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.item-right-c:hover .stream-headline-neon {
    text-shadow: 0 0 20px rgba(255, 0, 170, 0.8);
}

/* Number Watermark */
.stream-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    bottom: 5px;
    line-height: 1;
    z-index: 0;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.stream-item-c:hover .stream-number {
    color: rgba(255, 255, 255, 0.1);
    /* Make number more visible on hover */
    transform: scale(1.1);
}

.item-left-c .stream-number {
    left: 15px;
}

.item-right-c .stream-number {
    right: 15px;
}

/* Paragraph Text */
.stream-content-c p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.stream-item-c:hover p {
    color: #fff;
    /* Brighter text on hover */
}

.stream-content-c strong {
    color: #fff;
    font-weight: 600;
}

/* Background Labels (Positioned) */
.stream-bg-label {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* USER INTERESTS: Bottom Right (Same level as Brands) */
.label-users {
    bottom: 0;
    right: 20px;
    text-align: right;
    color: var(--secondary-color);
    opacity: 0.3;
}

/* BRAND INTERESTS: Bottom Left */
.label-brands {
    bottom: 0;
    left: 20px;
    text-align: left;
    color: var(--primary-color);
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    .stream-container-compact {
        flex-direction: column;
        flex-wrap: nowrap;
        padding-left: 20px;
        padding-right: 20px;
    }

    .stream-item-c {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
        text-align: left;
        align-items: flex-start;
        animation: none;
        /* Disable float on mobile */
    }

    .item-right-c {
        margin-top: 0;
    }

    .item-left-c {
        padding-right: 0;
    }

    .item-right-c {
        padding-left: 0;
    }

    /* Hide labels on mobile */
    .stream-bg-label {
        display: none;
    }
}

/* =========================================
   MINING SECTION (SPORTY LOOK)
========================================= */
.mining-section {
    position: relative;
    padding: 10px 0 120px;
    /* ПРАВИЛЬНЫЙ ПУТЬ К КАРТИНКЕ */
    background-image: url('../img/_src/mining-girl.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Параллакс эффект */
    color: #fff;
    overflow: hidden;
}

/* Затемняющий слой, чтобы текст читался */
.mining-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 11, 30, 0.95) 0%, rgba(10, 11, 30, 0.6) 100%);
    z-index: 1;
}

.mining-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.mining-text {
    flex: 1;
}

.mining-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mining-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Clip the large icon */
}

.mining-card:hover {
    border-color: var(--primary-color);
    transform: translateX(-10px);
}

.mt-card:hover {
    border-color: var(--secondary-color);
}

/* Ensure text content is above the background icon */
.mining-card h3,
.mining-card p,
.mining-card .x2-visual,
.mining-card .check-list {
    position: relative;
    z-index: 2;
}

.card-header-flex {
    display: block;
    /* No longer flex, icon is absolute */
    margin-bottom: 15px;
}

.card-header-flex h3 {
    margin-bottom: 0;
    max-width: 100%;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Match header color to the icon color for the second card */
.mt-card .card-header-flex h3 {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(255, 0, 170, 0.4);
}

.card-icon-big {
    position: absolute;
    top: -40px;
    right: -40px;
    margin: 0;
    z-index: 1;
    /* Behind text */
    opacity: 0.1;
    /* Slightly brighter watermark */
    transform: rotate(-15deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.card-icon-big svg {
    width: 250px;
    /* Massive size */
    height: 250px;
}

.mining-card:hover .card-icon-big {
    opacity: 0.25;
    /* More visible on hover */
    transform: rotate(0deg) scale(1.1);
}

/* X2 Visualization Bars */
.x2-visual {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
}

.bar-group {
    margin-bottom: 10px;
}

.bar-group:last-child {
    margin-bottom: 0;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.bar-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    font-family: monospace;
    /* For tabular look */
}

.bar-track {
    width: 100%;
    height: 14px;
    /* Slightly taller for text */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    /* For absolute positioning of label */
}

.bar-fill {
    height: 100%;
    border-radius: 7px;
    width: 0;
    /* Start at 0 for animation */
    transition: width 2s ease-out;
}

.efficiency-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    z-index: 2;
    white-space: nowrap;
    pointer-events: none;
}

.average-fill {
    width: 0;
    /* JS controls this */
    background: #555;
}

.x2-fill {
    width: 0;
    /* JS controls this */
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 10px var(--secondary-color);
    /* Animation removed to allow JS control */
}

/* Checklist */
.check-list {
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.check-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .mining-container {
        flex-direction: column;
        gap: 40px;
    }

    .mining-card:hover {
        transform: translateY(-5px);
    }

    .section-title {
        font-size: 2.5rem !important;
    }
}

/* =========================================
   SECURITY SECTION (VIDEO & SIMPLE FACTS)
========================================= */
.security-section {
    padding: 10px 0 100px;
    /* Reduced top padding */
    position: relative;
    scroll-margin-top: 100px;
    /* Header offset */
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

/* ... existing video styles ... */



/* Video Wrapper */
.video-wrapper-glass {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 10px;
    /* Рамка */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Simple Features Grid */
.security-features-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sec-card-simple {
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(18, 20, 43, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.sec-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sec-card-simple:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.sec-card-simple:hover::before {
    opacity: 1;
}

.simple-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.sec-card-simple:hover .simple-icon {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.simple-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    transition: stroke 0.3s ease;
}

.sec-card-simple:hover .simple-icon svg {
    stroke: var(--primary-color);
}



.sec-card-simple p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.sec-card-simple strong {
    color: #fff;
}

/* Default Blue Title */
.sec-card-simple h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color) !important;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Red Card Variant (Overrides) */
.sec-card-red:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 0, 170, 0.15);
}

.sec-card-red:hover .simple-icon {
    background: rgba(255, 0, 170, 0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
}

.sec-card-red:hover .simple-icon svg {
    stroke: var(--secondary-color);
}

.sec-card-red h3 {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 15px rgba(255, 0, 170, 0.4);
}

/* Disclaimer */
.security-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
    .security-features-simple {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SMART SCARCITY SECTION (GAME THEORY)
========================================= */
.smart-scarcity-section {
    padding: 20px 0 100px;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
    scroll-margin-top: 100px;
    /* Header offset */
}

/* Top Cycle Row */
.cycle-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.strategy-card {
    flex: 1;
    background: rgba(18, 20, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}



.card-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon-svg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon-svg svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.strategy-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.phase-tag {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-low {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
}

.tag-high {
    background: rgba(255, 0, 170, 0.1);
    color: var(--secondary-color);
}

.strategy-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.strategy-card strong {
    color: #fff;
}

/* Arrows Column */
.cycle-arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    min-width: 100px;
}

.arrow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.arrow-item svg {
    width: 30px;
    height: 30px;
    stroke-width: 3;
}

.arrow-item span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow-right {
    color: var(--primary-color);
}

.arrow-right svg {
    animation: slideRight 1.5s infinite ease-in-out;
}

.arrow-left {
    color: var(--secondary-color);
}

.arrow-left svg {
    animation: slideLeft 1.5s infinite ease-in-out;
}

@keyframes slideRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes slideLeft {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

/* Specific Card Hover Colors */
.strategy-card:first-child:hover {
    transform: translateY(-5px);
    /* Added this to maintain existing hover effect */
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.strategy-card:last-child:hover {
    transform: translateY(-5px);
    /* Added this to maintain existing hover effect */
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(255, 0, 170, 0.15);
}

/* Investor Block (Middle) */
.investor-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.investor-block:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.15);
}

.investor-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    border: 1px solid #00ff88;
    flex-shrink: 0;
}

.investor-icon svg {
    width: 30px;
    height: 30px;
    stroke: #00ff88;
}

.investor-text h3 {
    color: #00ff88;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.investor-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Player Strategy Block (Bottom) */
.player-strategy-block {
    background: linear-gradient(90deg, rgba(18, 20, 43, 0.9) 0%, rgba(18, 20, 43, 0.6) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.player-strategy-block:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.player-strategy-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.strategy-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.strategy-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.strategy-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.mantra-box {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mantra-line {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.mantra-line:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 992px) {
    .cycle-container {
        flex-direction: column;
    }

    .cycle-arrows {
        flex-direction: row;
        gap: 20px;
        margin: 10px 0;
    }

    .arrow-item svg {
        transform: rotate(90deg);
        /* Point down/up */
    }

    .strategy-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .investor-block {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   FULL PRODUCT SHOWCASE SECTION (FINAL FIX - CORNERS)
========================================= */

/* 1. HEADER LAYOUT */
.showcase-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.sh-right {
    text-align: right;
    margin-left: auto;
    padding-top: 10px;
}

.btn-glow {
    font-size: 1rem;
    padding: 12px 40px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    animation: btnPulse 2s infinite;
    white-space: nowrap;
}

/* 2. SECTION WRAPPER */
.showcase-section {
    padding: 80px 0;
    /* overflow: hidden; УБРАНО, чтобы телефоны могли "всплывать" */
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.02) 0%, transparent 60%);
}

/* 3. MARQUEE CONTAINER */
.marquee-wrapper-single {
    width: 120%;
    margin-left: -10%;
    padding: 60px 0;
    transform: rotate(-3deg);
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    /* overflow: hidden; УБРАНО */
}

/* 4. MARQUEE CONTENT */
.marquee-single {
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollLeft 60s linear infinite;
    padding-left: 20px;
}

.marquee-wrapper-single:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 5. PHONE CARDS (ИСПРАВЛЕНО) */
.phone-card {
    flex: 0 0 auto;
    width: 240px;
    height: 520px;
    border-radius: 35px;
    /* Скругление рамки */
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 6px solid #1a1c35;
    background: #000;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
    cursor: zoom-in;
    z-index: 1;
    overflow: hidden;
    /* КРИТИЧНО: Обрезаем контент по радиусу рамки ВСЕГДА */
}

.phone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Убираем border-radius у картинки, т.к. родитель теперь обрезает */
}


/* Эффект при наведении */
.phone-card:hover {
    transform: scale(1.15) rotate(3deg) translateY(-20px);
    border-color: var(--primary-color);
    box-shadow: 0 30px 70px rgba(0, 240, 255, 0.4);
    z-index: 999;
    /* overflow: visible; <<< ЭТА СТРОКА УДАЛЕНА. Теперь углы не вылезут. */
}

/* 6. FLOATING BADGE */
.zoom-instruction-badge {
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.marquee-wrapper-single:hover .zoom-instruction-badge {
    opacity: 0;
}

/* 7. OVERLAY */
.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 15%, transparent 85%, var(--bg-color) 100%);
    pointer-events: none;
    z-index: 5;
}

/* 8. MOBILE */
@media (max-width: 768px) {
    .showcase-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .sh-right {
        text-align: center;
        margin-left: 0;
    }

    .marquee-wrapper-single {
        width: 100%;
        margin-left: 0;
        transform: rotate(-2deg);
        overflow: hidden;
        /* На мобиле возвращаем обрезку */
    }

    .phone-card {
        width: 160px;
        height: 340px;
    }

    .phone-card:hover {
        transform: scale(1.05);
        z-index: 10;
    }

    .zoom-instruction-badge {
        display: none;
    }
}

/* =========================================
   MISSING MODAL STYLES (ADD THIS TO END)
========================================= */

/* Общие стили для подложки (Фон) */
.modal-overlay,
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* Темный фон */
    backdrop-filter: blur(10px);
    /* Размытие заднего плана */
    z-index: 99999;
    /* Самый верхний слой */
    display: none;
    /* Скрыто по умолчанию (управляется JS) */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Класс для плавного появления */
.modal-overlay.active,
.zoom-overlay.active {
    opacity: 1;
}

/* Окно формы (Beta) */
.modal-glass {
    background: rgba(18, 20, 43, 0.95);
    border: 1px solid var(--primary-color);
    padding: 30px;
    /* Чуть меньше паддинг для экономии места */
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;

    /* ФИКС ДЛЯ МОБИЛЬНЫХ: Ограничение высоты + Скролл */
    max-height: 90vh;
    /* Максимальная высота - 90% экрана */
    overflow-y: auto;
    /* Вертикальный скролл, если не влезает */
    display: flex;
    flex-direction: column;
    /* Чтобы контент выстраивался правильно */
}

.modal-overlay.active .modal-glass {
    transform: scale(1);
}

/* Стилизация скроллбара внутри модалки */
.modal-glass::-webkit-scrollbar {
    width: 6px;
}

.modal-glass::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-glass::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Кнопка закрытия крестик */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

/* Поля ввода формы */
.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Стили для картинки ЗУМА */
.zoom-overlay img {
    max-height: 90vh;
    /* Чтобы влезало по высоте */
    max-width: 90vw;
    /* Чтобы влезало по ширине */
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    object-fit: contain;
    cursor: zoom-out;
    /* Курсор уменьшения при клике */
}

.zoom-overlay.active img {
    transform: scale(1);
}

/* =========================================
   REFERRAL SECTION (CORRECTED)
========================================= */
.referral-section {
    padding: 100px 0;
}

.referral-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Левая колонка шире для текста */
    gap: 50px;
    align-items: stretch;
}

/* Brand Feature Card */
.brand-feature {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 4px solid var(--secondary-color);
}

.brand-feature h3 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.profit-badge {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    /* Прижимает к низу */
}

/* Graph */
.referral-graph {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.graph-bars-precise {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: 250px;
}

.g-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.g-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    transition: height 1s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.g-lbl {
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .referral-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   RWA TOKENOMICS STYLES
========================================= */
.tokenomics-rwa-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 170, 0.03) 0%, transparent 60%);
}

.rwa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.rwa-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.rwa-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.rwa-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.rwa-icon {
    font-size: 2rem;
}

.rwa-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.rwa-card p {
    padding: 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.rwa-card strong {
    color: #fff;
}

/* Highlight Card (Card 3) */
.highlight-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(18, 20, 43, 0.8) 0%, rgba(255, 0, 170, 0.05) 100%);
}

.highlight-card .rwa-header {
    border-bottom-color: rgba(255, 0, 170, 0.2);
}

/* =========================================
   FIFO MODAL STYLES
========================================= */
.modal-wide {
    max-width: 700px;
    /* Шире для таблицы FIFO */
}

.fifo-visual {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.fifo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.fifo-user {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.user-info strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fifo-status {
    flex: 1;
    max-width: 250px;
    text-align: right;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease;
}

.status-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.active-row .user-avatar {
    background: #00ff88;
    color: #000;
}

.active-row .status-fill {
    background: #00ff88;
}

.text-green {
    color: #00ff88;
}

.filling-row .user-avatar {
    background: var(--primary-color);
    color: #000;
}

.filling-row .status-fill {
    background: var(--primary-color);
    position: relative;
}

/* Анимация наполнения */
.filling-row .status-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmy 1.5s infinite;
}

@keyframes shimmy {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.text-cyan {
    color: var(--primary-color);
}

.locked-row .user-avatar {
    background: #333;
    color: #666;
}

.text-muted {
    color: #666;
}

.fifo-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .rwa-grid {
        grid-template-columns: 1fr;
    }

    .fifo-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fifo-status {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }
}

/* =========================================
   BUDGET MODAL & CHART STYLES
========================================= */

/* Кнопка-ссылка внутри карточки */
.btn-link-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-link-action:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Layout внутри модалки */
.budget-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

/* --- DONUT CHART (PURE CSS) --- */
.chart-wrapper {
    flex: 0 0 200px;
    /* Фиксированная ширина */
    display: flex;
    justify-content: center;
}

.donut-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    /* Градиент создает сегменты: Зеленый (0-65%), Голубой (65-90%), Розовый (90-100%) */
    background: conic-gradient(#00ff88 0% 65%,
            var(--primary-color) 65% 90%,
            var(--secondary-color) 90% 100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.donut-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    /* Толщина кольца = (200 - 140) / 2 = 30px */
    height: 140px;
    background: #1a1c35;
    /* Цвет фона модалки */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.chart-total {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.chart-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- LEGEND --- */
.chart-legend {
    flex: 1;
}

.legend-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.legend-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.l-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

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

.dot-green {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.dot-cyan {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.dot-pink {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.l-percent {
    font-weight: 800;
    font-size: 1rem;
}

.text-green {
    color: #00ff88;
}

.text-cyan {
    color: var(--primary-color);
}

.text-pink {
    color: var(--secondary-color);
}

.legend-item h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #fff;
}

.legend-item p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer Logic Box */
.budget-footer {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .budget-content {
        flex-direction: column;
        text-align: center;
    }

    .legend-item {
        text-align: left;
    }

    .l-header {
        justify-content: flex-start;
    }
}

/* =========================================
   HORIZONTAL ROADMAP
========================================= */
.roadmap-section-horizontal {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    /* Легкий градиент на фоне */
    background: radial-gradient(ellipse at bottom, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

.timeline-horizontal {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 40px;
    /* Место для маркеров сверху */
}

/* Connecting Line */
.timeline-line {
    position: absolute;
    top: 50px;
    /* Выравниваем по центру маркеров */
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 25%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
}

.timeline-card {
    flex: 1;
    position: relative;
    padding-top: 40px;
    /* Отступ от маркера до карточки */
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-10px);
}

/* Marker Dot */
.t-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #0a0b1e;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Active Phase Marker */
.active-phase .t-marker {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    background: var(--primary-color);
}

/* Pulse Animation for Active Marker */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

/* Card Content */
.t-content {
    text-align: center;
    padding: 25px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 4px solid rgba(255, 255, 255, 0.1);
    /* Default top border */
}

/* Active Card Style */
.active-phase .t-content {
    border-top-color: var(--primary-color);
    background: rgba(18, 20, 43, 0.8);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.timeline-card:hover .t-marker {
    border-color: #fff;
    background: #fff;
}

.phase-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: #000;
}

.label-future {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.t-content h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.t-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.t-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mobile Adaptation (Stack vertically) */
@media (max-width: 992px) {
    .timeline-horizontal {
        flex-direction: column;
        padding-top: 0;
        padding-left: 20px;
        /* Space for line on left */
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 29px;
        /* Align with markers */
        background: linear-gradient(180deg, var(--primary-color) 25%, rgba(255, 255, 255, 0.1) 100%);
    }

    .timeline-card {
        padding-top: 0;
        padding-left: 40px;
        margin-bottom: 30px;
        text-align: left;
    }

    .t-marker {
        left: 9px;
        /* Align to line */
        top: 20px;
        transform: none;
    }

    .t-content {
        align-items: flex-start;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid rgba(255, 255, 255, 0.1);
    }

    .active-phase .t-content {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left-color: var(--primary-color);
    }
}

/* =========================================
   TEAM SECTION (ASYMMETRIC & CENTERED ADVISOR)
========================================= */
.team-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
}

.team-grid-asymmetric {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: stretch;
    /* Растягиваем карточки по высоте */
}

/* FOUNDER CARD (FEATURED) */
.founder-featured {
    border-top: 4px solid var(--primary-color);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.founder-layout {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    /* Чтобы занимал всю высоту */
}

.founder-img-col {
    width: 35%;
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    /* Минимальная высота для фото */
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    /* Fix for sharp corners on zoom */
}

.team-photo-large {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
}

.team-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
    border-radius: 20px 0 0 20px;
    /* Force radius on image too */
}

.founder-featured:hover .team-photo-large img {
    transform: scale(1.05);
    opacity: 1;
}

.founder-content {
    width: 65%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Центрируем контент по вертикали */
}

.founder-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 900;
}

.founder-role {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
}

.founder-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.5;
}

.founder-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.team-social-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ADVISOR CARD (COMPACT & CENTERED) */
.advisor-compact {
    border-top: 4px solid var(--secondary-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Центрируем контент по вертикали если есть место */
}

.advisor-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Среднее фото (Новое) */
.team-photo-medium {
    width: 160px;
    /* Увеличили в 2 раза (было 80) */
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-photo-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 800;
}

.advisor-role {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.advisor-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
    /* Чуть сужаем текст для красоты */
}

.team-link-small {
    color: #fff;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.team-link-small:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Mobile */
@media (max-width: 992px) {
    .team-grid-asymmetric {
        grid-template-columns: 1fr;
    }

    .founder-layout {
        flex-direction: column;
    }

    .founder-img-col {
        width: 100%;
        height: 350px;
    }

    .founder-content {
        width: 100%;
        padding: 30px;
    }
}

/* =========================================
   RWA TOKENOMICS SECTION
========================================= */
.tokenomics-rwa-section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.rwa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.rwa-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Ensure background icon stays inside */
    display: flex;
    flex-direction: column;
}

.rwa-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.highlight-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(255, 0, 170, 0.05) 0%, rgba(0, 240, 255, 0.05) 100%);
}

.highlight-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 0, 170, 0.2);
}

/* Background Icon (Watermark) */
.rwa-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: rgba(0, 240, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 240, 255, 0.05);
}

.rwa-bg-icon svg {
    width: 70px;
    height: 70px;
    stroke: var(--primary-color);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.rwa-card:hover .rwa-bg-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.2);
}

.rwa-card:hover .rwa-bg-icon svg {
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

/* Highlight Card Icon Colors */
.highlight-card .rwa-bg-icon {
    background: rgba(255, 0, 170, 0.03);
    border-color: rgba(255, 0, 170, 0.05);
}

.highlight-card .rwa-bg-icon svg {
    stroke: var(--secondary-color);
}

.highlight-card:hover .rwa-bg-icon {
    background: rgba(255, 0, 170, 0.08);
    border-color: rgba(255, 0, 170, 0.2);
}

.highlight-card:hover .rwa-bg-icon svg {
    filter: drop-shadow(0 0 10px rgba(255, 0, 170, 0.5));
}

/* Content Wrapper */
.rwa-content-wrapper {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rwa-header {
    margin-bottom: 20px;
    position: relative;
}

.rwa-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.highlight-card .rwa-header h3 {
    border-color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(255, 0, 170, 0.3);
}

.rwa-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.btn-link-action {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-link-action:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .rwa-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}