:root {
    --bg-dark: #07090E;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #2AABEE; /* Telegram Blue */
    --primary-glow: rgba(42, 171, 238, 0.4);
    --secondary: #0088CC;
    --text-main: #FFFFFF;
    --text-muted: #A0A5B5;
    --success: #00FF88;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container-narrow {
    max-width: 900px;
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.glow-border {
    position: relative;
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: rgba(42, 171, 238, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(42, 171, 238, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--text-muted);
    box-shadow: none;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.2rem;
    line-height: 1.2;
}

.logo-text small {
    font-size: 0.8rem;
    color: var(--primary);
    font-family: var(--font-body);
}

.nav-list {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-bg-glow.glow-2 {
    right: -10%;
    left: auto;
    top: 40%;
    width: 40vw;
    height: 40vw;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(42, 171, 238, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(42, 171, 238, 0.2);
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* App Mockup Animation */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 280px;
    background: #0D1117;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.app-header {
    background: rgba(255,255,255,0.03);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.app-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: blink 2s infinite ease-in-out;
}

.app-logo {
    font-weight: 700;
    font-family: var(--font-heading);
}

.app-body {
    padding: 40px 20px;
    text-align: center;
}

.connect-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 171, 238, 0.1);
    position: relative;
}

.connect-ring::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 50%;
    border: 1px solid var(--primary-glow);
    animation: pulse-ring 2s infinite;
}

.connect-inner {
    width: 80px;
    height: 80px;
    background: rgba(42, 171, 238, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
}

.app-server { font-weight: 600; margin-bottom: 5px; }
.app-ip { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 30px; }

/* Sections Global */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(42, 171, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title { margin-bottom: 12px; font-size: 1.3rem; }
.feature-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Instructions */
.steps-wrapper {
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px var(--primary-glow);
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 24px;
}

.step-line {
    width: 2px;
    height: 30px;
    background: rgba(42, 171, 238, 0.2);
    margin: 0 0 20px 19px;
    z-index: 1;
}

/* CTA Banner */
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(42, 171, 238, 0.05) 100%);
}

.cta-content h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-content p { color: var(--text-muted); margin-bottom: 20px; }

.cta-visual {
    text-align: center;
}

.price-badge {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
    line-height: 1;
}

.price-desc { color: var(--text-muted); font-weight: 600; margin-top: 5px; }

/* Pricing */
.pricing {
    position: relative;
}

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

.pricing-card {
    text-align: center;
    position: relative;
    padding: 40px 30px;
}

.pricing-card.popular {
    background: rgba(42, 171, 238, 0.05);
    border-color: rgba(42, 171, 238, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(42, 171, 238, 0.1);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.pricing-header { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--card-border); }
.plan-name { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 15px; }

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.plan-price .amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.plan-price .currency, .plan-price .period { color: var(--text-muted); font-weight: 600; }

.plan-total { font-size: 0.9rem; color: var(--text-muted); }
.plan-discount { color: var(--success); font-weight: 600; font-size: 0.9rem; margin-top: 5px; }

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Platforms */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.platform-card {
    text-align: center;
    padding: 30px 20px;
}

.platform-icon {
    color: var(--primary);
    margin-bottom: 15px;
}

.platform-card h3 { margin-bottom: 8px; }
.platform-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card { padding: 24px; }

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.stars { color: #FFAA00; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; font-style: italic; color: var(--text-muted); }

/* Guarantees */
.guarantees .guarantee-box {
    padding: 50px;
}

.guarantee-icon {
    margin-bottom: 20px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 500px; /* arbitrary height to allow animation */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 40px;
    background: rgba(0,0,0,0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.footer-desc { color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }

.footer-copyright {
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title { font-size: 2.5rem; }
    .nav { display: none; }
    
    .mobile-menu-btn { display: flex; z-index: 101; }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 30px;
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list li { width: 100%; text-align: center; }
    .nav-link { display: block; padding: 10px 0; }
    
    .cta-banner { flex-direction: column; text-align: center; }
}
