/* ===================================================
   Landing Page - Modern Redesign
   =================================================== */

:root {
    /* Modern Palette - Deep Blue/Purple Theme */
    --lp-bg-dark: #0f172a;
    --lp-bg-card: rgba(30, 41, 59, 0.7);
    --lp-primary: #3b82f6;
    --lp-secondary: #8b5cf6;
    --lp-accent: #06b6d4;
    --lp-text-main: #f8fafc;
    --lp-text-muted: #cbd5e1;
    --lp-gradient-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --lp-gradient-dark: linear-gradient(to bottom, #0f172a, #1e293b);
    --lp-glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --lp-radius: 16px;
}

body.landing-page {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--lp-bg-dark);
    color: var(--lp-text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: block;
    /* Override flex from previous css */
}

/* Background Effects */
.landing-bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    left: -100px;
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

/* ===== Navigation ===== */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
}

.nav-login-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: var(--lp-glass-border);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 8rem 5% 5rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: var(--lp-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title span {
    background: var(--lp-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--lp-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-hero-primary {
    padding: 1rem 2.5rem;
    background: var(--lp-gradient-main);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
    color: white;
}

/* ===== Analytics/Pipeline Visualizer ===== */
.pipeline-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.pipeline-container {
    background: var(--lp-bg-card);
    border: var(--lp-glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.pipeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pipeline-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pipeline-header p {
    color: var(--lp-text-muted);
}

.pipeline-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.flow-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.flow-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: var(--lp-bg-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--lp-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flow-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* Connecting line */
.pipeline-flow::after {
    content: '';
    position: absolute;
    top: 50px;
    /* Center with icons roughly */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.5) 50%, rgba(59, 130, 246, 0) 100%);
    z-index: -1;
}

/* ===== Feature Grid ===== */
.features-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--lp-bg-card);
    border: var(--lp-glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--lp-primary);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--lp-primary);
    font-size: 1.25rem;
}

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

.feature-card p {
    color: var(--lp-text-muted);
    line-height: 1.6;
}

/* ===== Roadmap/Innovation Section ===== */
.roadmap-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.roadmap-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.roadmap-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--lp-secondary);
    font-size: 0.75rem;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.roadmap-card h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
}

.roadmap-card p {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
}

/* ===== CTA Contact Section ===== */
.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    text-align: left;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1.5rem 0;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

.cta-form-wrapper {
    background: var(--lp-bg-card);
    border: var(--lp-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-form .form-group.full-width {
    grid-column: 1 / -1;
}

.cta-form label {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    font-weight: 500;
}

.cta-form label i {
    color: var(--lp-primary);
}

.cta-form input,
.cta-form textarea {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--lp-text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--lp-primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-submit-btn {
    padding: 1rem 2rem;
    background: var(--lp-gradient-main);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.cta-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.cta-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta-privacy {
    font-size: 0.8rem;
    color: var(--lp-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.cta-privacy a {
    color: var(--lp-primary);
    text-decoration: none;
}

.cta-privacy a:hover {
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success h3 {
    color: var(--lp-text-main);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--lp-text-muted);
}

/* CTA Responsive */
@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-title {
        font-size: 2rem;
    }

    .cta-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 5%;
    color: var(--lp-text-muted);
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand p {
    margin: 0;
}

.footer-brand a {
    color: var(--lp-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-brand a:hover {
    color: var(--lp-accent);
    text-decoration: underline;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.footer-links a i {
    opacity: 0.7;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .pipeline-flow {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pipeline-flow::after {
        display: none;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        gap: 1.25rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-divider {
        display: none;
    }
}