/* ============================================
   CX-PredictIQ - Enhanced Landing Styles
   Fortune 500 Aesthetic / High-End Enterprise
   ============================================ */

/* Import Core Variables if needed, but we redefine key ones for the landing specifics */
:root {
    --landing-bg: #02020a;
    /* Deepest Navy/Black */
    --landing-accent: #6366f1;
    /* Electric Violet */
    --landing-cyan: #06b6d4;
    /* Cyber Cyan */
    --landing-gold: #f59e0b;
    /* Executive Gold */
    --landing-card-bg: rgba(255, 255, 255, 0.03);
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-text-muted: rgba(255, 255, 255, 0.6);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--landing-bg);
    color: #ffffff;
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.gradient-text-gold {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #a8edea 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--landing-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 8rem 0;
}

/* ===== HERO SECTION ===== */
.enhanced-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    /* Navbar offset */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(2, 2, 10, 0.2) 0%, var(--landing-bg) 90%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--landing-cyan);
    animation: fadeInDown 1s ease-out;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

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

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

/* ===== TRUSTED BY / TICKER ===== */
.trusted-section {
    position: relative;
    padding: 3rem 0;
    border-bottom: 1px solid var(--landing-border);
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.01);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== FEATURE CARDS ===== */
.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card-enhanced {
    padding: 3rem;
    border-radius: 1px;
    /* Sharp corners or slight round */
    border: 1px solid var(--landing-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card-enhanced:hover {
    border-color: var(--landing-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card-enhanced:hover::before {
    opacity: 1;
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-showcase {
    position: relative;
    margin: -100px auto 0 auto;
    max-width: 1200px;
    z-index: 5;
    transform: perspective(1000px) rotateX(10deg);
    transition: transform 0.8s ease-out;
    opacity: 0;
    transform-origin: center top;
}

.dashboard-showcase.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

.dashboard-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== STATISTICS / NUMBERS ===== */
.stat-mega {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== FOOTER REFINED ===== */
.footer-enhanced {
    border-top: 1px solid var(--landing-border);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    background: #000;
}

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

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

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

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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