/* LogIA High-End Landing Page Style */
/* Fully Aligned with SaaS Identity */

:root {
    /* SaaS Indigo Palette (OKLCH approximations of #1e1b4b, #6366f1) */
    --bg-deep: #000000;                    /* Pure Black Background */
    --bg-surface: oklch(14% 0.04 260);     /* Slightly elevated surface */
    --accent-indigo: oklch(55% 0.20 260);  /* Primary Indigo (#6366f1) */
    --accent-purple: oklch(60% 0.22 280);  /* Secondary SaaS Purple */
    --text-main: oklch(98% 0.01 260);
    --text-muted: oklch(75% 0.04 260);
    --border-soft: rgba(99, 102, 241, 0.15); /* Indigo tinted border */
    
    /* Typography */
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Geist', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body.executive-dark {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background: #000000;
}

.h-100 { height: 100% !important; }

.container-x {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Rules */
h1, h2, h3, .brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

.text-highlight {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.tagline {
    font-family: var(--font-tech);
    color: var(--accent-indigo);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

/* Premium Navbar */
.nav-premium {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1200px;
    height: 64px; /* Thinner */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    z-index: 1000;
    transition: all 0.4s ease;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 100%;
}

.logo-x { 
    width: 28px; 
    height: 28px; 
    object-fit: contain;
}

.brand-name { 
    font-size: 1.4rem; 
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    line-height: 1;
}

.brand-name span { color: var(--accent-indigo); }

.nav-link-x {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0 1.25rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link-x:hover { color: #fff; }

.btn-text { color: #fff; text-decoration: none; margin-right: 1.5rem; font-weight: 600; font-size: 0.85rem; }
.btn-executive {
    background: var(--accent-indigo);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-high-end {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 160px; /* More padding to clear navbar */
    padding-bottom: 80px;
}

#three-container { 
    position: fixed; 
    inset: 0; 
    z-index: -1; 
    pointer-events: none;
}
.hero-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, #000000 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 10; text-align: center; }

.hero-title-main { font-size: clamp(2.5rem, 7vw, 5rem); margin-bottom: 2rem; letter-spacing: -0.02em; }
.hero-lead { font-size: 1.2rem; color: var(--text-muted); max-width: 750px; margin: 0 auto 3rem; }

/* Video Showcase */
.video-showcase-section { padding: 4rem 0 10rem; }
.video-wrapper-premium {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
}
.video-wrapper-premium iframe { width: 100%; height: 100%; border: none; }

/* Admin Dashboard Section */
.admin-hub-section { background: rgba(255,255,255,0.02); position: relative; padding: 10rem 0; overflow: hidden; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Hover Info Tooltip */
.info-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-indigo);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: help;
    margin-left: 0.5rem;
    position: relative;
}
.info-tooltip-trigger:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 1rem;
    width: 250px;
    font-size: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 100;
    font-family: var(--font-body);
    line-height: 1.4;
    text-align: left;
}

.feature-list-premium { list-style: none; margin-top: 2rem; }
.feature-list-premium li { 
    display: flex; 
    align-items: flex-start; 
    gap: 1.25rem; 
    margin-bottom: 2rem; 
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.feature-list-premium li:hover { background: rgba(99, 102, 241, 0.05); border-color: var(--accent-indigo); transform: translateX(10px); }
.feature-list-premium i { color: var(--accent-indigo); font-size: 1.4rem; margin-top: 0.2rem; }
.feature-list-premium h4 { font-size: 1.1rem; margin-bottom: 0.4rem; color: #fff; }
.feature-list-premium p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.btn-executive-large {
    background: var(--accent-indigo);
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    display: inline-block;
}

.btn-outline-premium {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(10px);
    margin-left: 1rem;
}

/* Feature Cards */
.py-large { padding: 10rem 0; }
.section-title { font-size: 3.5rem; margin-bottom: 1.5rem; }

.feature-card-premium {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    padding: 3rem 2.5rem;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.feature-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--accent-indigo);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-icon { font-size: 2.5rem; color: var(--accent-indigo); margin-bottom: 1.5rem; }
.card-title { font-size: 1.6rem; margin-bottom: 1rem; }
.card-text { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.feature-card-premium:hover .card-image-placeholder img {
    transform: scale(1.05);
}

.system-mockup-tag { 
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-tech); 
    font-size: 0.6rem; 
    color: #fff; 
    opacity: 0.8; 
    z-index: 2;
}

/* Tech Section */
.tech-hub-section { background: #000000; position: relative; overflow: hidden; }
.tech-visual-bg { position: absolute; right: 0; top: 0; width: 50%; height: 100%; opacity: 0.3; }

.tech-list { list-style: none; margin-top: 3rem; }
.tech-list li { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; }
.tech-list i { color: var(--accent-indigo); }

/* Academy Section */
.academy-preview { max-width: 900px; margin: 4rem auto 0; position: relative; }
.video-mockup {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

/* Pricing Section */
.plan-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-soft);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-featured { position: relative; }
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
}

.plan-price { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; margin-bottom: 2rem; }
.plan-price .currency { font-size: 1.2rem; vertical-align: top; margin-right: 0.2rem; }
.plan-price .period { font-size: 1rem; color: var(--text-muted); }

.plan-features { list-style: none; flex-grow: 1; margin-bottom: 3rem; }
.plan-features li { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.8rem; }
.plan-features i { color: var(--accent-indigo); margin-top: 4px; }
.plan-features .fa-plus { color: var(--accent-purple); }

.support-card-mini {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    text-align: center;
}
.support-card-mini:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--accent-indigo);
    transform: translateY(-5px);
}
.support-card-mini i { font-size: 2rem; color: var(--accent-indigo); margin-bottom: 1rem; display: block; }
.support-card-mini h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #fff; }
.support-card-mini p { font-size: 0.85rem; color: var(--text-muted); }

.horizontal-feature {
    display: block !important;
    padding: 3rem !important;
}

.big-placeholder { height: 500px !important; }
.small-placeholder { height: 250px !important; }
.mini-placeholder { height: 180px !important; }

.btn-plan-outline {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 2rem;
}
.btn-plan-outline:hover { background: rgba(255,255,255,0.05); border-color: #fff; }

/* Responsive Design & Spacing Refinements */
@media (max-width: 992px) {
    .nav-links { display: none !important; } /* Hide secondary links on tablets/phones */
    .admin-grid { grid-template-columns: 1fr; gap: 3rem; }
    .support-grid { grid-template-columns: 1fr; }
    .hero-metrics { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 768px) {
    :root {
        --py-section: 5rem; /* Reduced vertical spacing for mobile */
    }

    .py-large { padding-top: var(--py-section); padding-bottom: var(--py-section); }
    
    .container-x { padding: 0 1.25rem; }

    .nav-premium {
        width: calc(100% - 1.5rem);
        top: 1rem;
        padding: 0 1rem;
    }

    .hero-high-end { padding-top: 120px; }
    
    .hero-title-main { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    
    .hero-brand-row { transform: scale(0.85); }
    
    .hero-metrics { 
        flex-direction: column; 
        align-items: center; 
        gap: 1.5rem; 
        margin-top: 3rem !important;
    }

    .metric-item { width: 100%; border: none; background: rgba(255,255,255,0.03); padding: 1.5rem; border-radius: 20px; }

    .video-wrapper-premium { border-radius: 20px; margin-top: -2rem; }
    
    .admin-hub-section { padding: 5rem 0; }
    
    .feature-list-premium li { padding: 1.25rem; flex-direction: column; gap: 0.75rem; }
    .feature-list-premium i { font-size: 1.2rem; }
    
    .horizontal-feature { padding: 1.5rem !important; }
    .horizontal-feature .row { flex-direction: column; gap: 2rem; }

    .big-placeholder { height: 350px !important; }
    .small-placeholder { height: 220px !important; }
    .mini-placeholder { height: 160px !important; }

    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .brand-group { justify-content: center; }
    .footer-nav { align-items: center; }

    /* Fix for 3D LogIA scale */
    .hero-brand-row { gap: 1rem; }
    .hero-log-text { font-size: 3rem; }
    .container-3d-wrapper { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    .hero-title-main { font-size: 2.2rem; }
    .hero-lead { font-size: 1rem; line-height: 1.5; }
    .btn-executive-large, .btn-outline-premium { width: 100%; text-align: center; margin-bottom: 1rem; }
    .hero-cta-group { display: flex; flex-direction: column; gap: 0; }
    
    .nav-actions .btn-text { display: none; } /* Hide login on very small screens to save space */
}

/* Footer */
.footer-executive { background: #000000; padding: 8rem 0 4rem; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 4rem; }
.footer-bio { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav h4 { font-size: 0.9rem; margin-bottom: 2rem; text-transform: uppercase; color: #fff; }
.footer-nav a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent-indigo); }

.footer-bottom { margin-top: 6rem; padding-top: 2rem; border-top: 1px solid var(--border-soft); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Hero Brand Row Fix */
.hero-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0; /* No gap for seamless Log + IA */
}

/* REUSABLE LEGACY: 3D CONTAINER */
.hero-log-text { 
    font-size: clamp(3rem, 10vw, 5.5rem); 
    font-weight: 900; 
    color: #fff; 
    letter-spacing: -2px;
    line-height: 1;
}

.container-x .hero-brand-reveal {
    display: inline-block;
    margin: 0 auto;
}

.container-3d-wrapper {
    perspective: 1200px;
    display: inline-block;
    width: 60px;
    height: 48px;
    transform: scale(2.2);
    transform-origin: center center;
    margin-left: 35px; /* Offset to align with Log text */
    margin-top: -5px; /* Subtle lift to center with typography baseline */
}
.container-3d { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transform: rotateX(-15deg) rotateY(25deg); }
.container-3d .face {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-indigo);
    background: repeating-linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.1) 4px, rgba(0, 0, 0, 0.6) 4px, rgba(0, 0, 0, 0.6) 8px);
}
.container-3d .front, .container-3d .back { width: 60px; height: 48px; }
.container-3d .right, .container-3d .left { width: 32px; height: 48px; }
.container-3d .top, .container-3d .bottom { width: 60px; height: 32px; background: #0a0e12; border: 2px solid var(--accent-indigo); }

.container-3d .front  { transform: translate(-50%, -50%) translateZ(16px); }
.container-3d .back   { transform: translate(-50%, -50%) rotateY(180deg) translateZ(16px); }
.container-3d .right  { transform: translate(-50%, -50%) rotateY(90deg) translateZ(30px); }
.container-3d .left   { transform: translate(-50%, -50%) rotateY(-90deg) translateZ(30px); }
.container-3d .top    { transform: translate(-50%, -50%) rotateX(90deg) translateZ(24px); }
.container-3d .bottom { transform: translate(-50%, -50%) rotateX(-90deg) translateZ(24px); }

.ia-text { font-size: 1.6rem; font-weight: 900; color: #fff; text-shadow: 0 0 8px var(--accent-indigo); }

/* Metrics */
.hero-metrics { display: flex; justify-content: center; gap: 5rem; }
.metric-value { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: #fff; }
.metric-suffix { color: var(--accent-indigo); font-size: 1.5rem; }
.metric-label { display: block; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-metrics { flex-direction: column; gap: 2rem; }
}
@media (max-width: 600px) {
    .hero-log-text { font-size: 3rem; }
    .container-3d-wrapper { transform: scale(1.5); }
    .footer-grid { grid-template-columns: 1fr; }
}
