:root {
    --bg-dark: #0b0f1a;
    --bg-card: rgba(20, 24, 36, 0.7);
    --accent-green: #00f0ff;
    --accent-gold: #fbbf24;
    --accent-red: #ff4d4d;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glow-green: rgba(0, 240, 255, 0.3);
    --glow-gold: rgba(251, 191, 36, 0.3);
    --border-color: rgba(255, 255, 255, 0.05);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(251, 191, 36, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

 
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #cbd5e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-green), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
 
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

 
header {
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s;
}

.logo-wrap:hover .logo-img img {
    transform: scale(1.05);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: #fff;
    padding: 0.6rem 1.5rem;
}

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

 
.hero {
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__media {
    display: flex;
    justify-content: center;
}

.app-screenshot-wrapper {
    position: relative;
    max-width: 280px;
}

.app-screenshot {
    width: 100%;
    border-radius: 32px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

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

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

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

 
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(0,240,255,0.02) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 70%, var(--accent-green) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card--green .feature-card__icon { color: var(--accent-green); background: rgba(0,240,255,0.1); }
.feature-card--gold .feature-card__icon { color: var(--accent-gold); background: rgba(251,191,36,0.1); }
.feature-card--red .feature-card__icon { color: var(--accent-red); background: rgba(255,77,77,0.1); }

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-card--wide {
    grid-column: span 2;
}

/* === Блок безопасности === */
.security {
    padding: 80px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: rgba(20, 24, 36, 0.3);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.2s;
}

.security-item:hover {
    background: rgba(30, 34, 48, 0.5);
    border-color: rgba(0,240,255,0.2);
}

.security-item__icon {
    font-size: 2.2rem;
    line-height: 1;
}

.security-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.security-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Футер === */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-green);
}


/* === Roadmap  === */
.roadmap {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(0,240,255,0.02) 100%);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.roadmap-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,240,255,0.3);
}

.roadmap-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.roadmap-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.roadmap-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === Pricing  === */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card--highlighted {
    border-color: var(--accent-green);
    box-shadow: 0 0 30px var(--glow-green);
    transform: scale(1.02);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.pricing-badge {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === Trust === */
.trust {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(20,24,36,0.5) 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    background: rgba(20, 24, 36, 0.3);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s;
}

.trust-item:hover {
    background: rgba(30, 34, 48, 0.5);
    border-color: rgba(0,240,255,0.2);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === Адаптивность для новых блоков === */

@media (min-width: 901px) {
    .hero__inner {
        grid-template-columns: 2.2fr 1fr;  
        gap: 2rem;
    }
    
    .hero__content {
        max-width: 700px;  
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
        line-height: 1.2;
    }
    
    .app-screenshot-wrapper {
        max-width: 260px;  
        margin-left: auto;  
    }
}

 
@media (min-width: 1600px) {
    .hero__inner {
        grid-template-columns: 1.8fr 1fr;  
        gap: 3rem;
    }
    
    .app-screenshot-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero__media {
        order: -1;  
        margin-bottom: 1.5rem;
    }
    
    .app-screenshot-wrapper {
        max-width: 220px;
        margin: 0 auto;
    }
        .roadmap-grid,
    .pricing-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card--highlighted {
        transform: none;
    }
 
    /* Все существующие правила для max-width:900px остаются, добавляем новые */

    /* Сетка безопасности в один столбец */
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Уменьшаем вертикальные отступы секций */
    .hero {
        padding: 100px 0 40px;
    }
    .features,
    .security,
    .roadmap,
    .pricing,
    .trust {
        padding: 40px 0;
    }

    /* Уменьшаем заголовки */
    .hero__title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

     
    .feature-card,
    .roadmap-card,
    .pricing-card,
    .trust-item,
    .security-item {
        padding: 1.5rem;
    }
     .features-grid {
        grid-template-columns: 1fr;
    }

     
    .feature-card--wide {
        grid-column: auto;
    }

    
    .features-grid {
        gap: 1rem;
    }

     
    .btn-large {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Для совсем маленьких экранов (до 480px) */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .app-screenshot-wrapper {
        max-width: 180px;
    }
    .logo {
        font-size: 1rem;
    }
}