/* =========================================
   DEEPLEX LANDING — components on top of liquid_style.css
   Marketing-only: hero, pricing, enterprise, FAQ, scores.
   App layout/components live in liquid_style.css.
   ========================================= */

:root {
    /* Pricing-tier accents (landing only) */
    --pricing-free: #64748b;
    --pricing-prime: #0ea5e9;
    --pricing-pro: #6c5ce7;
    --pricing-ultra: #d63384;
    --enterprise-accent: #00d2ff;
}

/* Landing flips the radial gradient origin and goes column-flex for footer */
body {
    background: radial-gradient(circle at top right, var(--liquid-bg-start) 0%, var(--liquid-bg-mid) 50%, var(--liquid-bg-end) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Landing's login card uses .lq-panel as the host for an absolutely-positioned
   .lq-login-tag badge — kanon's .lq-panel has neither padding nor a containing
   block, so we restore both here without touching the shared file. */
.lq-panel { position: relative; padding: 2.5rem; }

/* =========================================
   LAYOUT
   ========================================= */
.lq-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
    position: relative;
}

.lq-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 10;
}

.lq-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 6rem;
}

/* =========================================
   BRAND
   ========================================= */
.lq-brand { display: flex; align-items: center; gap: 0.75rem; }

.lq-brand-icon {
    width: 40px; height: 40px; background: var(--accent);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.lq-brand-text { display: flex; flex-direction: column; }

.lq-brand-name {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 900;
    letter-spacing: -0.05em; line-height: 1;
}

.lq-brand-edition {
    font-size: 0.55rem; font-weight: 900; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.3em; margin-top: 2px;
}

.lq-section-title { text-align: center; margin-bottom: 4rem; }
.lq-section-title h2 { font-family: var(--font-display); font-size: 3rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1rem; }
.lq-section-title p { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* =========================================
   HERO
   ========================================= */
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 1rem; border-radius: 999px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    font-size: 0.7rem; font-weight: 900; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-display); font-size: 4.5rem; font-weight: 900;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--text-main);
}
.hero-title-gradient {
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
    -webkit-background-clip: text; color: transparent;
}
.hero-desc { font-size: 1.125rem; color: var(--text-muted); font-weight: 500; max-width: 500px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; }

/* Login card on landing hero */
.login-header { text-align: center; margin-bottom: 2rem; }
.login-header h2 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.login-header p { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* =========================================
   FEATURES
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(108, 92, 231, 0.15);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px; height: 60px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
}

.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); font-size: 1.05rem; }

/* =========================================
   PRICING
   ========================================= */
.pricing-section { padding: 6rem 0 2rem; position: relative; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.pricing-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    background: var(--glass-highlight);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

.pricing-card.premium {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 15, 30, 0.95) 100%);
    border: 1px solid rgba(108, 92, 231, 0.5); color: white;
    box-shadow: 0 25px 50px -12px rgba(108, 92, 231, 0.25);
    transform: scale(1.05); position: relative; z-index: 2;
}

.pricing-card.premium:hover {
    transform: scale(1.07); border-color: var(--accent);
    box-shadow: 0 30px 60px -15px rgba(108, 92, 231, 0.4);
}

.pricing-header { margin-bottom: 2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; }
.pricing-card.premium .pricing-header { border-bottom-color: rgba(255, 255, 255, 0.1); }

.pricing-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
/* Override the global h1–h6 dark-on-dark default inside the premium (dark) card. */
.pricing-card.premium .pricing-name { color: #fff; }
.pricing-price { font-family: var(--font-display); font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 0.5rem; }
.pricing-period { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.pricing-card.premium .pricing-period { color: rgba(255, 255, 255, 0.6); }

.pricing-features { list-style: none; margin-bottom: 2.5rem; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; font-weight: 500; color: var(--text-main); }
.pricing-features li i { color: var(--success); margin-top: 3px; }
.pricing-features li i.icon-neutral { color: var(--text-light); }
.pricing-card.premium .pricing-features li { color: white; }

.privacy-badge {
    display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 800;
    padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1.5rem;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.privacy-badge.shielded { background: rgba(0, 210, 255, 0.15); color: var(--enterprise-accent); }
.privacy-badge.public { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.privacy-badge.pro { background: rgba(108, 92, 231, 0.15); color: var(--accent); }

/* =========================================
   ENTERPRISE / TENANT
   ========================================= */
.enterprise-section {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 30, 0.98) 100%);
    color: white;
    padding: 6rem 4rem;
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem;
}

.enterprise-section::before {
    content: ''; position: absolute; right: -10%; bottom: -10%;
    width: 50%; height: 80%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    z-index: 1; filter: blur(40px);
}
.enterprise-section::after {
    content: ''; position: absolute; left: -10%; top: -10%;
    width: 50%; height: 80%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    z-index: 1; filter: blur(40px);
}

.enterprise-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem; position: relative; z-index: 2;
}

.ent-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 4rem; border-radius: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.4s ease;
}

.ent-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--enterprise-accent);
    transform: translateY(-8px);
}

.ent-icon {
    width: 72px; height: 72px;
    background: rgba(0, 210, 255, 0.15); color: var(--enterprise-accent);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 2.5rem;
}

.ent-card h3 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1.5rem; color: #fff; }
.ent-card p { color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 2.5rem; font-size: 1.1rem; }
.ent-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.ent-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-size: 1rem; color: #fff; }
.ent-list li i { color: var(--enterprise-accent); }

/* =========================================
   SCORES (top exam scores)
   ========================================= */
.scores-section { padding: 4rem 0 6rem; border-top: 1px solid var(--glass-border); }
.scores-header {
    text-align: center; margin-bottom: 3rem;
    font-family: var(--font-display); font-size: 0.875rem; font-weight: 900;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.scores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.score-agent-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; margin-bottom: 0.25rem; color: var(--text-main); }
.score-exam-name { font-size: 0.65rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; display: block; }
.score-value-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 0.5rem; }
.score-bar-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.6); border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.score-bar-fill { height: 100%; border-radius: 999px; transition: width 1s ease; }

.status-pass { background: #d1fae5; color: #047857; }
.status-fail { background: #fee2e2; color: #b91c1c; }
.status-badge { font-size: 0.55rem; font-weight: 900; padding: 0.2rem 0.5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.15em; }

/* =========================================
   BACKGROUND BLOBS
   ========================================= */
.lq-blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; opacity: 0.5; }
.blob-1 { background: rgba(165, 180, 252, 0.4); width: 600px; height: 600px; top: -100px; left: -100px; }
.blob-2 { background: rgba(191, 219, 254, 0.3); width: 500px; height: 500px; top: 40%; right: -50px; }

/* =========================================
   PREVIEW BANNERS
   ========================================= */
.preview-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: rgba(255,255,255,0.9); text-align: center; padding: 0.65rem 1.5rem;
    font-size: 0.85rem; font-weight: 500; display: flex; align-items: center;
    justify-content: center; gap: 0.75rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.4);
    z-index: 1000; position: relative;
}

.closed-preview-banner {
    background: linear-gradient(90deg, #1a0a05 0%, #2d1200 50%, #1a0a05 100%);
    color: rgba(255,255,255,0.9); text-align: center; padding: 0.65rem 1.5rem;
    font-size: 0.85rem; font-weight: 500; display: flex; align-items: center;
    justify-content: center; gap: 0.75rem;
    border-bottom: 1px solid rgba(234, 88, 12, 0.5);
    z-index: 1000; position: relative;
}

/* =========================================
   FAQ
   ========================================= */
.faq-section { padding: 8rem 2rem; max-width: 900px; margin: 0 auto; position: relative; z-index: 10; }
.faq-accordion {
    margin-bottom: 1.5rem; background: var(--glass-bg);
    border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden;
    backdrop-filter: blur(12px); box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.faq-accordion:hover { background: var(--glass-highlight); box-shadow: 0 8px 25px rgba(108,92,231,0.08); }
.faq-summary {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
    padding: 1.5rem 2rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    color: var(--text-main); list-style: none; outline: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary i { color: var(--accent); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
details[open] .faq-accordion { background: var(--glass-highlight); border-color: var(--accent); box-shadow: 0 10px 30px rgba(108,92,231,0.1); }
details[open] .faq-summary i { transform: rotate(45deg); }
.faq-content {
    padding: 0 2rem 2rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.7;
    border-top: 1px dashed rgba(108, 92, 231, 0.2);
    margin-top: 0.5rem; padding-top: 1.5rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.premium { transform: scale(1); }
    .pricing-card.premium:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .lq-hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3.5rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; gap: 2rem; }
    .enterprise-grid { grid-template-columns: 1fr; }
    .ent-card { padding: 2.5rem; }
    .enterprise-section { padding: 4rem 2rem; }
}
