/* =============================================
   SIGNL — Landing Page Styles
   ============================================= */

/* ── Hero ── */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 92, 231, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 210, 255, 0.06), transparent),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(108, 92, 231, 0.08), transparent);
    animation: hero-gradient-shift 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes hero-gradient-shift {
    0% {
        background:
            radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 92, 231, 0.15), transparent),
            radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 210, 255, 0.06), transparent),
            radial-gradient(ellipse 50% 50% at 20% 80%, rgba(108, 92, 231, 0.08), transparent);
    }

    50% {
        background:
            radial-gradient(ellipse 70% 55% at 40% -10%, rgba(108, 92, 231, 0.18), transparent),
            radial-gradient(ellipse 55% 45% at 70% 50%, rgba(0, 210, 255, 0.08), transparent),
            radial-gradient(ellipse 60% 40% at 30% 70%, rgba(108, 92, 231, 0.10), transparent);
    }

    100% {
        background:
            radial-gradient(ellipse 85% 45% at 60% -15%, rgba(108, 92, 231, 0.12), transparent),
            radial-gradient(ellipse 50% 50% at 90% 70%, rgba(0, 210, 255, 0.05), transparent),
            radial-gradient(ellipse 55% 55% at 10% 90%, rgba(108, 92, 231, 0.12), transparent);
    }
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ── How It Works ── */
.how-it-works {
    padding: var(--space-4xl) 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

/* Connecting lines between steps */
.steps-grid::before,
.steps-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    z-index: 0;
}

.steps-grid::before {
    left: 16.66%;
    right: 50%;
}

.steps-grid::after {
    left: 50%;
    right: 16.66%;
}

.step-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
    margin: 0 auto var(--space-md);
}

.step-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Signal Preview ── */
.signal-preview {
    padding: var(--space-4xl) 0;
}

.signal-preview h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.signal-preview .section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    font-size: 0.95rem;
}

.preview-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan), var(--accent));
    opacity: 0.6;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.preview-ticker {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.preview-confidence {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.preview-confidence-score {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green);
}

.preview-confidence-bar {
    width: 80px;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preview-confidence-fill {
    height: 100%;
    background: var(--green);
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
}

.preview-prices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.preview-price-item {
    text-align: center;
}

.preview-price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.preview-price-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
}

.preview-price-value.entry {
    color: var(--text-primary);
}

.preview-price-value.stop {
    color: var(--red);
}

.preview-price-value.target {
    color: var(--green);
}

.preview-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ── Pricing Preview ── */
.pricing-preview {
    padding: var(--space-4xl) 0;
}

.pricing-preview h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: rgba(108, 92, 231, 0.4);
    position: relative;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.1);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), transparent 50%);
    z-index: -1;
}

.pricing-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.pricing-card-header h3 {
    font-size: 1.2rem;
}

.pricing-price {
    margin-bottom: var(--space-lg);
}

.pricing-amount {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: var(--space-lg);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-feature .check {
    color: var(--green);
    font-size: 0.9rem;
}

.pricing-feature .cross {
    color: var(--text-disabled);
    font-size: 0.9rem;
}

.pricing-feature.disabled {
    color: var(--text-disabled);
}

/* ── Landing Footer ── */
.landing-footer {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.landing-footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.landing-footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.landing-footer-links a:hover {
    color: var(--text-secondary);
}

.landing-footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.landing-footer-copy {
    color: var(--text-disabled);
    font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .steps-grid::before,
    .steps-grid::after {
        display: none;
    }

    .preview-prices {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}