/* ==================== LANDING PAGE CSS ==================== */
/* Dark futuristic theme matching the login page */

:root {
    --landing-bg: #0a0e17;
    --landing-card: rgba(255, 255, 255, 0.04);
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-text: #e2e8f0;
    --landing-muted: #8b8fa3;
    --landing-cyan: #00d2ff;
    --landing-purple: #7c3aed;
    --landing-green: #10b981;
    --landing-orange: #f59e0b;
    --landing-pink: #ec4899;
    --landing-blue: #3b82f6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--landing-border);
    padding: 10px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand img { height: 36px; width: 36px; border-radius: 8px; }

.nav-brand span {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--landing-cyan), var(--landing-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--landing-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.nav-btn-outline {
    color: var(--landing-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-btn-outline:hover { color: var(--landing-text); }

.nav-btn-primary {
    background: linear-gradient(135deg, var(--landing-cyan), #0099ff);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    color: #fff;
}

/* ==================== HERO ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    top: -100px; left: -200px;
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    bottom: -100px; right: -100px;
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 0%, transparent 100%);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--landing-cyan);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--landing-cyan), var(--landing-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--landing-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--landing-cyan), #0099ff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.3);
    color: #fff;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    color: var(--landing-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    border: 1px solid var(--landing-border);
    transition: all 0.3s;
}

.hero-btn-outline:hover {
    border-color: var(--landing-cyan);
    color: var(--landing-cyan);
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--landing-muted);
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--landing-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--landing-text);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

.hero-card i { font-size: 1.2rem; color: var(--landing-cyan); }

.hero-card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.2);
    color: var(--landing-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-card-badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--landing-green);
    border-color: rgba(16, 185, 129, 0.3);
}

.hero-card-badge.warning {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.hero-card-1 { top: 40px; right: 20px; animation-delay: 0s; }
.hero-card-2 { top: 140px; right: -10px; animation-delay: 1s; }
.hero-card-3 { top: 240px; right: 30px; animation-delay: 2s; }

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

.hero-dashboard-mockup {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 300px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.mockup-header {
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-body { padding: 16px; }

.mockup-stat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 4px 8px 0;
}

.mockup-stat.cyan { background: rgba(0, 210, 255, 0.15); color: var(--landing-cyan); }
.mockup-stat.purple { background: rgba(124, 58, 237, 0.15); color: var(--landing-purple); }

.mockup-bar {
    height: 6px;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.3), rgba(124, 58, 237, 0.3));
    border-radius: 3px;
    margin: 8px 0;
    width: 100%;
}

.mockup-bar.short { width: 60%; }
.mockup-bar.medium { width: 80%; }

/* ==================== SECTIONS COMMON ==================== */
.section-header { margin-bottom: 60px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--landing-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

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

/* ==================== FEATURES ==================== */
.features-section {
    padding: 120px 0;
    position: relative;
}

.feature-card {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover {
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-icon.cyan { background: rgba(0, 210, 255, 0.12); color: var(--landing-cyan); }
.feature-icon.purple { background: rgba(124, 58, 237, 0.12); color: var(--landing-purple); }
.feature-icon.green { background: rgba(16, 185, 129, 0.12); color: var(--landing-green); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.12); color: var(--landing-orange); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.12); color: var(--landing-pink); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--landing-blue); }

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--landing-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 210, 255, 0.02), transparent);
}

.step-card {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    height: 100%;
}

.step-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--landing-cyan), var(--landing-purple));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
}

.step-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--landing-purple);
    margin: 20px auto 20px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--landing-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==================== PRICING ==================== */
.pricing-section {
    padding: 120px 0;
}

.pricing-card {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.03);
    transform: scale(1.05);
}

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

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

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--landing-cyan), #0099ff);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-plan {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--landing-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.pricing-price { margin-bottom: 8px; }

.pricing-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--landing-muted);
    vertical-align: super;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
}

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

.pricing-desc {
    font-size: 0.85rem;
    color: var(--landing-muted);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--landing-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pricing-features li i {
    color: var(--landing-green);
    font-size: 0.9rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid var(--landing-border);
    color: var(--landing-text);
    background: transparent;
}

.pricing-btn:hover {
    border-color: var(--landing-cyan);
    color: var(--landing-cyan);
}

.pricing-btn.featured {
    background: linear-gradient(135deg, var(--landing-cyan), #0099ff);
    border: none;
    color: #fff;
}

.pricing-btn.featured:hover {
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
    color: #fff;
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.02), transparent);
}

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

.faq-item:hover { border-color: rgba(0, 210, 255, 0.15); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--landing-cyan);
    font-size: 0.85rem;
}

.faq-question:not(.collapsed) i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--landing-muted);
    line-height: 1.7;
}

/* ==================== CTA ==================== */
.cta-section { padding: 80px 0 120px; }

.cta-card {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 24px;
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    top: -200px; right: -200px;
    border-radius: 50%;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--landing-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

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

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--landing-cyan), #0099ff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.3);
    color: #fff;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    color: var(--landing-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    border: 1px solid var(--landing-border);
    transition: all 0.3s;
}

.cta-btn-outline:hover {
    border-color: var(--landing-cyan);
    color: var(--landing-cyan);
}

/* ==================== FOOTER ==================== */
.landing-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--landing-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand img { height: 32px; width: 32px; border-radius: 8px; }

.footer-brand span {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--landing-cyan), var(--landing-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--landing-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--landing-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--landing-cyan);
    color: var(--landing-cyan);
    background: rgba(0, 210, 255, 0.05);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--landing-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--landing-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--landing-border);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(139, 143, 163, 0.6);
}

/* ==================== ANIMATIONS ==================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animations for feature cards */
.feature-card:nth-child(1) .fade-in-element { transition-delay: 0.1s; }
.feature-card:nth-child(2) .fade-in-element { transition-delay: 0.2s; }
.feature-card:nth-child(3) .fade-in-element { transition-delay: 0.3s; }
.feature-card:nth-child(4) .fade-in-element { transition-delay: 0.4s; }
.feature-card:nth-child(5) .fade-in-element { transition-delay: 0.5s; }
.feature-card:nth-child(6) .fade-in-element { transition-delay: 0.6s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .cta-card { padding: 40px 32px; }
    .cta-title { font-size: 1.8rem; }
    .hero-stats { gap: 24px; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.7rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-stat-divider { display: none; }
    .nav-links { display: none !important; }
    .cta-card { padding: 32px 20px; }
    .landing-footer .row > div { text-align: center; }
    .footer-desc { max-width: 100%; }
    .footer-social { justify-content: center; }
}
