:root {
    --bg-color: #030305;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --brand-primary: #0ea5e9;
    --brand-secondary: #3b82f6;
    --brand-glow: rgba(14, 165, 233, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Noise */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    box-shadow: 0 8px 24px -8px var(--brand-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.6);
}

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

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.btn-pulse {
    animation: pulse-glow 2s infinite;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.logo svg {
    color: var(--brand-primary);
}

.nav-links {
    display: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
    .nav-links a {
        color: var(--text-secondary);
        font-weight: 500;
    }
    .nav-links a:hover {
        color: white;
    }
}

.mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: rgba(3, 3, 5, 0.95);
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 8px;
}

.mobile-nav a:hover {
    background: var(--glass-bg);
}

.nav-btn {
    display: none;
}

@media (min-width: 1024px) {
    .nav-btn {
        display: inline-flex;
    }
}

/* Marquee */
.marquee-wrapper {
    background: #000;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0 1rem;
}

.marquee-content span svg {
    color: var(--brand-primary);
}

.marquee-content .dot {
    color: var(--brand-secondary);
    opacity: 0.5;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 3rem 0 6rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(3, 3, 5, 0) 70%);
    z-index: -1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}


/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 2.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 3.5rem;
    }
}

/* Features */
.features {
    padding: 6rem 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Pricing */
.pricing {
    padding: 6rem 0;
    position: relative;
}

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

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.highlighted {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, rgba(3, 3, 5, 0) 100%);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 40px -10px var(--brand-glow);
    transform: scale(1.02);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.discount {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.amount {
    font-size: 4rem;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-secondary);
    align-self: flex-end;
    margin-bottom: 0.75rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.check {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
}

.text-link {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--brand-secondary);
}

/* How to start */
.how-to {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        align-items: flex-start;
        text-align: center;
    }
}

.step {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    flex: 1;
}

@media (min-width: 768px) {
    .step {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(3, 3, 5, 1);
    border: 2px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
        opacity: 0.3;
        margin-top: 30px;
    }
}

/* FAQ */
.faq {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.chev {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item[open] .chev {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

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

/* CTA */
.cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(3, 3, 5, 0) 70%);
    z-index: -1;
}

.cta-container {
    text-align: center;
    max-width: 800px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta h2 {
        font-size: 3.5rem;
    }
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Animations Utility */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #08080a;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2rem;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(14, 165, 233, 0.1) inset;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

.modal-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding: 0;
    transition: color 0.2s ease;
}

.modal-back:hover {
    color: white;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0.5rem 0;
}

.modal-divider::before,
.modal-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.modal-divider span {
    padding: 0 1rem;
}

.modal-btn-tg {
    background: #2AABEE;
    color: white;
    border: none;
}

.modal-btn-tg:hover {
    background: #229ED9;
    box-shadow: 0 8px 24px -8px rgba(42, 171, 238, 0.6);
}

.modal-btn-google {
    background: white;
    color: #1f2937;
    border: none;
}

.modal-btn-google:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(255, 255, 255, 0.4);
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    margin: 0 auto;
    max-width: 800px;
}

.highlight-box {
    display: inline-block;
    background: white;
    color: #030305;
    padding: 0 0.3em;
    border-radius: 12px;
    line-height: 1.1;
}

