/* =========================================
   VARIABLES & THEMING
   ========================================= */
   :root {
    /* Brand Colors */
    --lumeo-blue: #1E66FF;
    --lumeo-blue-dark: #1550CC;
    --stark-black: #000000;
    --stark-white: #FFFFFF;
    --deep-obsidian: #0B0F14;
    --muted-dark: #111827;
    --soft-gray: #A1A1AA;
    
    /* UI Helpers */
    --bg-light-wash: #F8FAFC; 
    --border-light: #E5E7EB;
    --text-gray-dark: #4B5563; /* For better readability on white */
    
    /* Modern SaaS Depth */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(30, 102, 255, 0.1);
    
    /* Typography */
    --font-system: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-system);
    background-color: var(--stark-white);
    color: var(--stark-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Constrain internal content only */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.max-w-lg { max-width: 1000px; margin: 0 auto; }

/* =========================================
   UTILITIES
   ========================================= */
.bg-white { background-color: var(--stark-white); }
.bg-light-wash { background-color: var(--bg-light-wash); }
.bg-black { background-color: var(--stark-black); }
.bg-blue { background-color: var(--lumeo-blue); }
.bg-obsidian { background-color: var(--deep-obsidian); }
.bg-muted-dark { background-color: var(--muted-dark); }

.text-white { color: var(--stark-white); }
.text-black { color: var(--stark-black); }
.text-gray { color: var(--soft-gray); }
.text-gray-dark { color: var(--text-gray-dark); }
.text-blue { color: var(--lumeo-blue); }

.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }

.border-top { border-top: 1px solid var(--border-light); }
.border-bottom { border-bottom: 1px solid var(--border-light); }
.border-blue { border-color: var(--lumeo-blue); }

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

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5 {
    color: inherit;
    line-height: 1.2;
    font-weight: 800; 
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3, h4 { font-weight: 700; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-desc {
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    color: var(--text-gray-dark);
}

.bg-obsidian .section-desc, .bg-muted-dark .section-desc { color: var(--soft-gray); }

/* Tasteful, strictly blue text gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--lumeo-blue), #1040A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; cursor: pointer;
    transition: var(--transition); font-size: 1rem; 
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
}

.btn-primary {
    background-color: var(--lumeo-blue);
    color: var(--stark-white);
    padding: 0.85rem 1.75rem;
}
.btn-primary:hover {
    background-color: var(--lumeo-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--stark-white);
    color: var(--stark-black);
    padding: 0.85rem 1.75rem;
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    border-color: var(--lumeo-blue);
    color: var(--lumeo-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }

/* =========================================
   1. HEADER (Exact Far-Left / Far-Right Layout)
   ========================================= */
.site-header {
    width: 100%;
    background-color: var(--stark-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; }
.brand-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--stark-black); }
/* Ready for future logo: .brand-logo { height: 28px; width: auto; } */

.header-cta {
    background-color: var(--lumeo-blue);
    color: var(--stark-white);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}
.header-cta:hover { background-color: var(--lumeo-blue-dark); }

/* =========================================
   2. HERO SECTION & MOCKUP
   ========================================= */
.hero {
    padding: 6rem 0;
    min-height: 85vh;
    display: flex; align-items: center;
}

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

.hero-badge {
    display: inline-block; padding: 0.35rem 1rem; border-radius: var(--radius-pill); 
    background: rgba(30, 102, 255, 0.1); color: var(--lumeo-blue); 
    font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 102, 255, 0.2);
}

.hero-title { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; line-height: 1.15; }
.hero-subtitle { font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 520px; color: var(--text-gray-dark); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Conceptual Mockup Setup */
.hero-visual { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mockup-stage {
    display: flex; gap: 1.5rem; align-items: flex-end; justify-content: center;
    width: 100%; margin-bottom: 1.5rem; padding: 1rem 0;
}

.mockup-card {
    display: flex; flex-direction: column; width: 230px;
    background: var(--stark-white); border-radius: var(--radius-md);
    overflow: hidden;
}

/* Basic Card - Faded out */
.basic-card {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    opacity: 0.85;
    transform: scale(0.95);
}

/* Lumeo Card - Popping out */
.lumeo-card {
    border: 2px solid var(--lumeo-blue);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.mockup-header { padding: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border-light); }
.mockup-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }

.wire-btn, .wire-block {
    padding: 0.5rem; font-size: 0.8rem; text-align: center;
    border-radius: var(--radius-sm); border: 1px solid var(--border-light);
    color: var(--text-gray-dark);
}

.wire-block {
    background: var(--bg-light-wash); font-weight: 600; border: none; color: var(--stark-black);
}

.wire-cta { font-weight: 700; background: var(--lumeo-blue); color: var(--stark-white); }

.mockup-footer { padding: 1rem; font-size: 0.85rem; border-top: 1px solid var(--border-light); }
.border-bottom-blue { border-bottom: 1px solid var(--lumeo-blue); }
.border-top-blue { border-top: 1px solid var(--lumeo-blue); }

.mockup-note { font-size: 0.75rem; text-align: center; color: var(--soft-gray); }

/* =========================================
   CARDS & GRIDS
   ========================================= */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.product-card, .ecosystem-card {
    background: var(--stark-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover, .ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--lumeo-blue);
}

.highlight-card {
    border: 2px solid var(--lumeo-blue);
    box-shadow: var(--shadow-md);
}

.card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card-text { font-size: 1rem; line-height: 1.6; color: var(--text-gray-dark); }
.card-icon { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }

/* =========================================
   4. COMPARISON SECTION
   ========================================= */
.comparison-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    max-width: 1000px; margin: 0 auto;
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.comp-col { padding: 3rem; }
.basic-col { background: transparent; border-right: 1px solid rgba(255,255,255,0.1); }

.comp-header { font-size: 1.5rem; margin-bottom: 2.5rem; }

.comp-list { display: flex; flex-direction: column; gap: 1.25rem; }
.comp-list li {
    display: flex; align-items: flex-start; gap: 1rem; font-size: 1.05rem; line-height: 1.5;
}
.comp-list .icon { 
    font-weight: 800; font-size: 1.2rem; flex-shrink: 0; width: 24px; text-align: center; 
}
.comp-list .list-text { flex: 1; }

/* =========================================
   5. HOW IT WORKS
   ========================================= */
.steps-container {
    display: flex; 
    align-items: stretch; /* Corrected: Cards are equal height */
    justify-content: space-between;
    max-width: 1000px; margin: 0 auto; gap: 1rem; position: relative;
}

.step-card {
    flex: 1; 
    display: flex; 
    flex-direction: column; /* Corrected: Allows internal content to stack gracefully */
    background: var(--stark-white); 
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md); 
    padding: 2rem;
    box-shadow: var(--shadow-sm); 
    z-index: 2; 
    position: relative;
}

.step-label { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.step-title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.step-text { font-size: 0.95rem; color: var(--text-gray-dark); flex-grow: 1; }

.step-connector {
    flex: 0.2; height: 2px; background: var(--border-light);
    margin-top: 4rem; z-index: 1;
    align-self: flex-start; /* Corrected: prevents the 2px line from stretching vertically */
}

/* =========================================
   6. COMPACT FEATURES
   ========================================= */
.compact-features-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem;
    max-width: 1100px; margin: 0 auto;
}
.feature-item {
    background: var(--stark-white); padding: 1rem 1.5rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 0.75rem; color: var(--stark-black);
}
.feature-icon { font-weight: 800; }

/* =========================================
   8. CTA SECTION
   ========================================= */
.cta-box { max-width: 800px; margin: 0 auto; }
.cta-note { font-size: 0.85rem; color: var(--soft-gray); }

/* =========================================
   9. FOOTER (Exact Far-Left / Center / Far-Right Layout + Reduced Font Size)
   ========================================= */
.site-footer {
    width: 100%;
    background-color: var(--stark-white);
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-brand {
    justify-self: start;
    font-weight: 700;
    color: var(--stark-black);
    font-size: 13px; /* Reduced */
}

.footer-copy {
    justify-self: center;
    text-align: center;
    font-size: 13px; /* Reduced */
    color: var(--text-gray-dark);
    line-height: 1.2;
}

.footer-links {
    justify-self: end;
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-links a {
    font-size: 13px; /* Reduced */
    font-weight: 500;
    color: var(--text-gray-dark);
    line-height: 1.2;
}

.footer-links a:hover {
    color: var(--lumeo-blue);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    
    .comparison-wrapper { grid-template-columns: 1fr; }
    .basic-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    
    .steps-container { flex-direction: column; gap: 2rem; align-items: stretch; }
    .step-connector { display: none; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    
    /* Mobile Header & Footer tight padding & reduction */
    .header-inner { padding: 12px 16px; }
    
    .footer-inner { 
        padding: 16px; 
        grid-template-columns: 1fr; 
        gap: 12px; 
    }
    
    .footer-brand, .footer-copy, .footer-links {
        justify-self: center;
    }
    
    .footer-brand, .footer-copy, .footer-links a {
        font-size: 12px; /* Reduced further for mobile */
    }
    
    .footer-links { flex-wrap: wrap; justify-content: center; }
    
    .mockup-stage { flex-direction: column; align-items: center; gap: 2rem; }
    .mockup-card { width: 100%; max-width: 300px; transform: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .comp-col { padding: 2rem 1.5rem; }
    .step-card { padding: 1.5rem; }
}