:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --bg-dark: #0a0a1f;
    --bg-darker: #050510;
    --text-light: #ffffff;
    --text-gray: #9ca3af;
    --card-bg: rgba(15, 15, 35, 0.8);
    --card-border: rgba(99, 102, 241, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Космический фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(2px 2px at 15% 90%, white, transparent);
    background-size: 200% 200%, 300% 300%, 250% 250%, 280% 280%, 320% 320%, 290% 290%, 310% 310%;
    background-position: 0% 0%, 30% 30%, 50% 50%, 70% 70%, 10% 10%, 40% 40%, 80% 80%;
    animation: twinkle 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Звездное небо - слои */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars {
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 50% 60%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 85% 70%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 15% 85%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 45% 15%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 90% 45%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 25% 55%, rgba(255, 255, 255, 0.8), transparent);
    background-size: 200px 200px, 180px 180px, 220px 220px, 190px 190px, 210px 210px,
                     195px 195px, 205px 205px, 185px 185px, 215px 215px, 200px 200px;
    background-repeat: repeat;
    z-index: 0;
    animation: sparkle 4s ease-in-out infinite;
}

.stars2 {
    background-image: 
        radial-gradient(2px 2px at 20% 10%, rgba(168, 85, 247, 0.6), transparent),
        radial-gradient(1px 1px at 40% 50%, rgba(99, 102, 241, 0.5), transparent),
        radial-gradient(2px 2px at 65% 25%, rgba(236, 72, 153, 0.6), transparent),
        radial-gradient(1px 1px at 80% 75%, rgba(168, 85, 247, 0.5), transparent),
        radial-gradient(2px 2px at 10% 60%, rgba(99, 102, 241, 0.6), transparent),
        radial-gradient(1px 1px at 55% 80%, rgba(236, 72, 153, 0.5), transparent),
        radial-gradient(2px 2px at 35% 35%, rgba(168, 85, 247, 0.6), transparent),
        radial-gradient(1px 1px at 95% 20%, rgba(99, 102, 241, 0.5), transparent);
    background-size: 300px 300px, 250px 250px, 280px 280px, 260px 260px,
                     290px 290px, 270px 270px, 310px 310px, 240px 240px;
    background-repeat: repeat;
    z-index: 0;
    animation: sparkle 5s ease-in-out infinite reverse;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 15% 45%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 35% 65%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 55% 35%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 75% 85%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 25% 15%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 400px 400px, 350px 350px, 380px 380px, 360px 360px, 390px 390px, 370px 370px;
    background-repeat: repeat;
    z-index: 0;
    animation: sparkle 6s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Падающие звезды */
.stars::after,
.stars::before,
.stars2::after,
.stars2::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

.stars::after {
    top: 10%;
    left: 20%;
    animation: shootingStar 3s ease-in-out 1s infinite;
}

.stars::before {
    top: 30%;
    left: 70%;
    animation: shootingStar 4s ease-in-out 2s infinite;
}

.stars2::after {
    top: 50%;
    left: 10%;
    animation: shootingStar 5s ease-in-out 3s infinite;
}

.stars2::before {
    top: 70%;
    left: 80%;
    animation: shootingStar 6s ease-in-out 0.5s infinite;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(300px) translateY(300px) rotate(-45deg);
        opacity: 0;
    }
}

/* Туманности */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: nebula 30s ease-in-out infinite alternate;
}

@keyframes nebula {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(5deg) scale(1.1);
        opacity: 0.3;
    }
}

/* Контейнер для падающих звёзд */
.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shooting-stars::before,
.shooting-stars::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(to right, white, transparent);
    border-radius: 50%;
    box-shadow: 
        0 0 20px 4px rgba(255, 255, 255, 0.9),
        0 0 40px 8px rgba(99, 102, 241, 0.6);
}

.shooting-stars::before {
    top: 15%;
    right: 10%;
    animation: shootingStar1 8s ease-in-out 0s infinite;
}

.shooting-stars::after {
    top: 40%;
    right: 60%;
    animation: shootingStar2 10s ease-in-out 3s infinite;
}

@keyframes shootingStar1 {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-400px) translateY(400px) rotate(-45deg) scaleX(20);
        opacity: 0;
    }
}

@keyframes shootingStar2 {
    0% {
        transform: translateX(0) translateY(0) rotate(-40deg) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-500px) translateY(500px) rotate(-40deg) scaleX(25);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 31, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo svg {
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
    transition: all 0.3s ease;
}

.logo:hover svg {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.9));
    transform: translateY(-3px);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Селектор языка */
.language-selector {
    position: relative;
}

.lang-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 0.75rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
}

.lang-dropdown button:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Hero секция */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: white;
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Мокап телефона */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
    border-radius: 40px;
    padding: 15px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(99, 102, 241, 0.4);
    animation: phoneFloat 6s ease-in-out infinite;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes phoneFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% { 
        transform: translateY(-20px) rotate(2deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border-radius: 30px;
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.crypto-app {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
}

.crypto-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.crypto-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
}

.crypto-price-container {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.crypto-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.loading-price {
    font-size: 1.2rem;
    color: var(--text-gray);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.crypto-price.up {
    color: #10b981;
    animation: priceUp 0.5s ease;
}

.crypto-price.down {
    color: #ef4444;
    animation: priceDown 0.5s ease;
}

@keyframes priceUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes priceDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

.crypto-change {
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.crypto-change.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    animation: pulseUp 0.5s ease;
}

.crypto-change.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    animation: pulseDown 0.5s ease;
}

@keyframes pulseUp {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulseDown {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.chart-container {
    flex: 1;
    background: rgba(15, 15, 35, 0.6);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.candlestick-chart {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.3));
}

.candlestick-chart rect {
    transition: fill 0.5s ease;
}

.candlestick-chart line {
    transition: stroke 0.5s ease;
}

.last-candle {
    animation: candleGrow 2s ease-in-out infinite;
}

@keyframes candleGrow {
    0%, 100% { 
        opacity: 1;
        transform-origin: center bottom;
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.9;
        transform: scaleY(1.08);
    }
}

.last-candle rect {
    filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 10px currentColor);
}

.last-candle line {
    filter: drop-shadow(0 0 4px currentColor);
}

/* Дополнительный эффект свечения для телефона */
.phone-screen {
    box-shadow: 
        inset 0 0 20px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Секция функций */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

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

.feature-card:hover .feature-icon {
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* О приложении */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Скачивание */
.download {
    padding: 100px 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 1.8rem;
    border-radius: 13px;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.18),
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.download-btn:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon svg {
    width: 100%;
    height: 100%;
    fill: #000000;
}

.download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.download-label {
    font-size: 0.7rem;
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.download-platform {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.01em;
}

/* Футер */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Страницы документов */
.legal-page {
    padding: 150px 0 100px;
    min-height: 100vh;
}

.page-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.legal-date {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section li {
    color: var(--text-gray);
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.8;
}

.legal-section li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.language-selector *) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .crypto-price {
        font-size: 1.5rem;
    }
    
    .crypto-icon {
        font-size: 2rem;
    }
    
    .crypto-name {
        font-size: 1.1rem;
    }
    
    .crypto-change {
        font-size: 0.8rem;
    }
    
    .phone-screen {
        padding: 1rem;
    }
    
    .crypto-app {
        gap: 1rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .download-btn {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .download-buttons {
        display: flex;
        justify-content: center;
    }
}

