@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0e1a;
    --bg-card: #141824;
    --accent-green: #00f5ff;
    --accent-gold: #fbbf24;
    --accent-red: #ff3e3e;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --glow-green: rgba(0, 245, 255, 0.4);
    --glow-gold: rgba(251, 191, 36, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 245, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(251, 191, 36, 0.05) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--accent-gold);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 0 20px var(--glow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--glow-green);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.1);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo span {
    color: var(--accent-green);
}

/* --- HERO SECTION --- */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(16px, 4vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.app-screenshot-wrapper {
    margin-top: 60px;
    position: relative;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.app-screenshot {
    width: 100%;
    border-radius: 24px;
    border: 8px solid var(--bg-card);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    display: block;
    position: relative;
    z-index: 2;
}

.glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
    filter: blur(40px);
}

/* --- FEATURES GRID --- */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* На планшетах и ПК делаем сетку из 2 колонок, чтобы 3-й элемент мог красиво встать на всю ширину */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Класс для растягивания на всю ширину сетки */
    .feature-card.f-wide {
        grid-column: 1 / -1;
    }
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.2);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.03);
}

.f-green .icon-box { color: var(--accent-green); background: rgba(0, 245, 255, 0.1); }
.f-gold .icon-box { color: var(--accent-gold); background: rgba(251, 191, 36, 0.1); }
.f-red .icon-box { color: var(--accent-red); background: rgba(255, 62, 62, 0.1); }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- SECURITY SECTION --- */
.security-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 36, 0.5) 100%);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge {
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

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

.float-anim {
    animation: float 6s ease-in-out infinite;
}
