/* ==========================================================================
   DESIGN VARIABLES & SYSTEM TOKENS (Linear & Anthropic Inspired Palette)
   ========================================================================== */
:root {
    --bg-base: #050816;
    --surface-solid: #0F172A;
    --card-solid: #111827;
    
    --primary-core: #2563EB;
    --secondary-core: #7C3AED;
    --success-core: #00D084;
    
    --text-pure: #FFFFFF;
    --text-muted: #CBD5E1;
    
    --border-thin: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Document Scaffolding */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-body);
    color: var(--text-pure);
    background-color: var(--bg-base);
    overflow-x: hidden;
    font-size: 16px;
}

/* ==========================================================================
   CSS-ONLY DEEP LUXURY AURORA BACKGROUND ENGINE
   ========================================================================== */
.aurora-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 10% 20%, rgba(5, 8, 22, 1) 0%, rgba(10, 12, 36, 1) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    mix-blend-mode: screen;
    animation: floatingOrbEngine 24s infinite alternate ease-in-out;
}

.orb-1 {
    width: 55vw;
    height: 55vw;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, var(--primary-core) 0%, transparent 80%);
}

.orb-2 {
    width: 45vw;
    height: 45vw;
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle, var(--secondary-core) 0%, transparent 80%);
    animation-duration: 32s;
}

.orb-3 {
    width: 35vw;
    height: 35vw;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, #1e3a8a 0%, transparent 70%);
    animation-duration: 18s;
}

.noise-texture {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 Atemplate%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes floatingOrbEngine {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4vw, -6vh) scale(1.1); }
    100% { transform: translate(-2vw, 4vh) scale(0.95); }
}

/* ==========================================================================
   NAVIGATION LAYER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-thin);
    background: rgba(5, 8, 22, 0.65);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-pure);
}

.nav-menuLinks {
    display: flex;
    gap: 36px;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-item:hover {
    color: var(--text-pure);
}

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

/* ==========================================================================
   GLOBAL DESIGN MODULES & UTILITIES
   ========================================================================== */
.container-center {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.max-w-xl { max-width: 680px; }
.max-w-md { max-width: 800px; }
.align-center { text-align: center; }

.section-padding {
    padding: 140px 0;
}

/* Typography Base Grid */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Custom Glassmorphism Spec */
.glass-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-thin);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Premium Button Engines */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-pure);
    color: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-pure);
    border-color: var(--border-thin);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.text-btn {
    background: transparent;
    border: none;
}

/* Premium Continuous Animation Effect */
.unique-shine-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(25deg);
    animation: continuousShineEngine 4s infinite linear;
}

@keyframes continuousShineEngine {
    0% { left: -60%; }
    15% { left: 140%; }
    100% { left: 140%; }
}

/* Section Title Standards */
.section-title-block {
    margin-bottom: 70px;
}

.section-accent-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-core);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title-block h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.5;
}

/* ==========================================================================
   HERO INTERFACE SCENOGRAPHY
   ========================================================================== */
.hero-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.badge-wrapper {
    margin-bottom: 24px;
}

.badge-pill {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 76px;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 36px;
}

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

/* ==========================================================================
   DASHBOARD MOCKUP EMBEDDED ENGINE
   ========================================================================== */
.browser-mockup {
    width: 100%;
    background: #090d1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 44px 80px rgba(0, 0, 0, 0.7);
}

.browser-chrome {
    background: rgba(255,255,255,0.02);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-thin);
}

.chrome-dots {
    display: flex;
    gap: 6px;
    width: 25%;
}

.chrome-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.chrome-address {
    width: 50%;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.3);
    padding: 4px 0;
    border-radius: 6px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 320px;
}

.dash-sidebar {
    background: rgba(0,0,0,0.15);
    border-right: 1px solid var(--border-thin);
    padding: 20px 12px;
}

.side-item {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-item.active {
    background: rgba(255,255,255,0.05);
    color: var(--text-pure);
}

.dash-main-pane {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pane-header h4 { font-size: 14px; font-weight: 500; }

.status-indicator {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 99px;
}

.status-indicator.success {
    background: rgba(0, 208, 132, 0.1);
    color: var(--success-core);
}

.chat-sim {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-thin);
    padding: 14px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 20px;
}

.msg-user { color: var(--text-muted); margin-bottom: 8px; }
.msg-ai { color: var(--text-pure); line-height: 1.4; }

.pane-analytics {
    display: grid;
    gap: 12px;
}

.analytic-stat {
    font-size: 11px;
}

.stat-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.stat-meta span { color: rgba(255,255,255,0.4); }

.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
}

.fill-success { background: var(--success-core); }
.fill-primary { background: var(--primary-core); }
.fill-secondary { background: var(--secondary-core); }

/* ==========================================================================
   TRUSTED LOGO MARQUEE SCROLL
   ========================================================================== */
.trusted-logos-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-thin);
    border-bottom: 1px solid var(--border-thin);
    background: rgba(5,8,22,0.3);
}

.section-micro-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-bottom: 24px;
}

.logo-marquee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-box {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    transition: color 0.25s ease;
    cursor: default;
}

.logo-box:hover {
    color: rgba(255,255,255,0.85);
}

/* ==========================================================================
   BENTO GRID SYSTEM ENGINE
   ========================================================================== */
.bento-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-block {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
}

.span-large {
    grid-column: span 2;
}

.span-medium {
    grid-column: span 2;
}

.bento-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-card-icon.primary-color { background: rgba(37,99,235,0.1); color: var(--primary-core); }
.bento-card-icon.secondary-color { background: rgba(124,58,237,0.1); color: var(--secondary-core); }
.bento-card-icon.success-color { background: rgba(0,208,132,0.1); color: var(--success-core); }

.bento-block h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.bento-block p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ==========================================================================
   PRODUCTS STRIPS
   ========================================================================== */
.products-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-strip {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    padding: 32px 40px;
}

.prod-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.prod-meta h3 { font-size: 20px; }
.prod-description { color: var(--text-muted); font-size: 15px; padding-right: 40px; }
.text-link { color: var(--primary-core); text-decoration: none; font-size: 14px; font-weight: 500; }

/* ==========================================================================
   FEATURES MATRIX GRAPH
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   WORKFLOW LIFE PARADIGM
   ========================================================================== */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.timeline-progress-bar-container {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}

.timeline-fill-indicator {
    width: 0%;
    height: 100%;
    background: var(--primary-core);
    transition: width 0.5s ease;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-marker {
    width: 42px;
    height: 42px;
    background: #0b1120;
    border: 2px solid var(--border-thin);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-step.active .step-marker {
    border-color: var(--primary-core);
    box-shadow: 0 0 14px rgba(37,99,235,0.4);
}

.step-info h4 { font-size: 18px; margin-bottom: 8px; }
.step-info p { font-size: 13px; color: var(--text-muted); padding: 0 10px; }

/* ==========================================================================
   STATISTICAL OVERLAYS
   ========================================================================== */
.stats-panel-section {
    padding: 80px 0;
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border-thin);
    border-bottom: 1px solid var(--border-thin);
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-unit h3 {
    font-size: 54px;
    margin-bottom: 6px;
    background: linear-gradient(180deg, #FFFFFF 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-unit p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS ARCHITECTURE
   ========================================================================== */
.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 40px;
}

.feedback {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.author-meta strong { display: block; font-size: 14px; color: var(--text-pure); }
.author-meta span { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--text-pure);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon-cross {
    width: 14px;
    height: 14px;
    position: relative;
}

.faq-icon-cross::before, .faq-icon-cross::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    transition: transform 0.25s ease;
}

.faq-icon-cross::before { width: 100%; height: 2px; top: 6px; left: 0; }
.faq-icon-cross::after { width: 2px; height: 100%; left: 6px; top: 0; }

.faq-item.open .faq-icon-cross::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon-cross::before { transform: rotate(180deg); }

.faq-body-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-body-content p {
    color: var(--text-muted);
    font-size: 14px;
    padding-bottom: 24px;
    line-height: 1.6;
}

/* ==========================================================================
   CONVERSION TARGET CTA CONSOLE
   ========================================================================== */
.cta-card-wrapper {
    position: relative;
    padding: 80px 40px;
    overflow: hidden;
}

.glow-spot-ambient {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-core);
    filter: blur(100px);
    opacity: 0.15;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
}

.cta-card-wrapper h2 { font-size: 48px; margin-bottom: 16px; }
.cta-card-wrapper p { margin: 0 auto 32px; color: var(--text-muted); }
.cta-actions-row { display: flex; justify-content: center; gap: 16px; }

/* ==========================================================================
   FOOTER GRID ENGINE
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-thin);
    background: #03050e;
    padding: 80px 0 40px;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr) 1.5fr;
    gap: 40px;
    margin-bottom: 6px;
}

.footer-brand-column p { color: var(--text-muted); font-size: 14px; margin-top: 12px; margin-bottom: 20px; }
.social-links-container { display: flex; gap: 14px; }
.social-links-container a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; font-weight: 600; }

.footer-links-column h4 { font-size: 14px; margin-bottom: 16px; color: var(--text-pure); }
.footer-links-column a { display: block; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; }
.footer-links-column a:hover { color: var(--text-pure); }

.micro-text { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.footer-newsletter-form { display: flex; gap: 8px; }
.footer-newsletter-form input {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-thin);
    padding: 10px 14px;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    flex: 1;
}

.footer-bottom-credits {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 40px;
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   INTERSECTION ANIMATION TIMING ENGINE
   ========================================================================== */
.fade-up-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delayed-1 { transition-delay: 0.15s; }

/* ==========================================================================
   RESPRENSIVE STRUCTURAL OVERRIDES (No Horizontal Scroll Guarantees)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; justify-content: center; gap: 40px; }
    .hero-title { font-size: 56px; }
    .hero-actions { justify-content: center; }
    .bento-layout-grid { grid-template-columns: repeat(2, 1fr); }
    .span-large, .span-medium { grid-column: span 2; }
    .product-strip { grid-template-columns: 1fr; gap: 16px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid-layout { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menuLinks { display: none; }
    .bento-layout-grid { grid-template-columns: 1fr; }
    .span-large, .span-medium { grid-column: span 1; }
    .features-grid { grid-template-columns: 1fr; }
    .timeline-container { flex-direction: column; gap: 40px; }
    .timeline-progress-bar-container { display: none; }
    .timeline-step { width: 100%; text-align: left; display: flex; gap: 16px; }
    .step-marker { margin: 0; }
    .grid-4-col { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .testimonials-masonry { grid-template-columns: 1fr; }
    .footer-grid-layout { grid-template-columns: 1fr; }
}