/* --- LineFall stylesheet --- */

:root {
    --bg-main: #070B13;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(22, 32, 51, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(6, 182, 212, 0.2);
    
    --color-primary: #06b6d4;      /* Cyan */
    --color-secondary: #10b981;    /* Emerald green */
    --color-gold: #f59e0b;         /* Gold */
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(7, 11, 19, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    outline: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--border-highlight);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 24px;
}

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

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0891b2);
    color: var(--bg-main);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), #059669);
    color: var(--bg-main);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Smartphone Visualizer */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 520px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 100px -15px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f1622;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.telegram-header {
    height: 60px;
    background: #172131;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.telegram-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-main);
    margin-right: 12px;
}

.telegram-info {
    display: flex;
    flex-direction: column;
}

.telegram-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
}

.telegram-subs {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.telegram-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-msg {
    background: #182533;
    border-radius: 12px;
    padding: 12px;
    max-width: 90%;
    font-size: 0.8rem;
    color: var(--color-text-main);
    box-shadow: var(--shadow-main);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tg-msg-accent {
    border-left: 3px solid var(--color-secondary);
}

.tg-msg-header {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.tg-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Trust Bar */
.trust-bar {
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    fill: currentColor;
}

/* Pain Points Section */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pain-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
}

.pain-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.15);
    position: absolute;
    top: 24px;
    right: 24px;
    line-height: 1;
}

.pain-card h3 {
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 16px;
    padding-right: 40px;
}

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

/* Stats Section */
.stats-section {
    background: rgba(17, 24, 39, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-main);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

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

/* Calculator Section */
.calculator-section {
    background: radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.calculator-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    backdrop-filter: blur(12px);
}

.calc-content h2 {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.calc-content p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.slider-group {
    margin-bottom: 32px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 12px;
}

#stake-display, #signals-display {
    color: var(--color-primary);
}

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 100px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result {
    display: flex;
    justify-content: center;
}

.result-box {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    width: 100%;
}

.result-title {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: block;
    margin: 16px 0;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.result-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--color-gold);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, rgba(17, 24, 39, 0.7) 100%);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.05);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.1);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 24px;
}

.price .period {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features-list li {
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li::before {
    content: "✓";
    color: var(--color-secondary);
    font-weight: bold;
}

.features-list li.disabled {
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.features-list li.disabled::before {
    content: "✕";
    color: #ef4444;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-highlight);
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.faq-answer p {
    color: var(--color-text-muted);
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Active State for FAQ */
.faq-item.active {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: #04080e;
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    gap: 16px;
}

.footer-top p {
    color: var(--color-text-muted);
    max-width: 480px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

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

/* Keyframe Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pain-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .calculator-container {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile Drawer */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #090e17;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid var(--border-color);
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Cross icon on active burger */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Feature Step Grid ===== */
.features-step-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
}
.feature-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: var(--color-primary);
    opacity: 0.4;
}
.step-arrow-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.feature-step-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    opacity: 0.7;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ===== Pain Card Numbers Revamped ===== */
.pain-number-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 20px;
}
.pain-number-new span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.85);
    line-height: 1;
}
.pain-card:hover .pain-number-new {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.4);
}
.pain-card:hover {
    border-left: 3px solid rgba(239, 68, 68, 0.4);
}
.pain-card h3 {
    padding-right: 0;
}

/* ===== Stats Counter Animation ===== */
.count-up {
    transition: all 0.3s ease;
}
@keyframes countFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.count-animating {
    animation: countFadeIn 0.4s ease forwards;
}

/* Feature grid responsive fix */
@media (max-width: 992px) {
    .features-step-grid {
        grid-template-columns: 1fr;
    }
    .feature-step-arrow {
        transform: rotate(90deg);
        padding: 0;
        height: 32px;
    }
}
