@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
    /* Premium Palette - "Deep Corporate" */
    --bg-color: #080a10; /* Almost black navy */
    --bg-surface: #0f111a;
    
    /* Frosted Glass (Matte, not glossy) */
    --glass-bg: rgba(255, 255, 255, 0.03); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(24px);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8; /* Slate 400 */
    --text-muted: #64748b;    /* Slate 500 */
    
    /* Accents - Restrained */
    --primary-color: #3b82f6; /* Solid Royal Blue */
    --primary-hover: #2563eb;
    --accent-subtle: rgba(59, 130, 246, 0.1); /* Blue tint */
    
    --danger-color: #ef4444; /* for pain points */
    --success-color: #10b981; /* for benefits */

    --max-width: 1280px;
    --grid-line: rgba(255,255,255,0.03);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px; /* Subtle architectural grid */
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography - Swiss Style */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.03em; /* Tight tracking for modern feel */
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

/* Header & Nav - Clean & Floating */
header {
    width: 100%;
    position: fixed;
    top: 20px; /* Floating pill effect */
    left: 0;
    z-index: 1000;
    padding: 0 2rem;
}

.nav-container {
    background: rgba(15, 17, 26, 0.85); /* Darker, less transparent */
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 100px; /* Pill shape */
    padding: 0.8rem 2rem; /* Slighly tighter */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    position: relative; /* For mobile menu absolute positioning */
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.03em;
    z-index: 1002; /* Ensure logo stays above mobile menu */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-symbol {
    font-family: 'Courier New', monospace; /* Monospace for code look */
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
}

/* Remove old styles */
.logo-icon svg { display: none; }
.logo-text .highlight { display: none; }

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem; /* Slightly larger */
    font-weight: 500;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a:hover, nav a.active {
    color: #fff;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Layout */
main {
    flex: 1;
    padding-top: 140px; /* Account for floating header */
}

.section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--grid-line);
}

.section:last-child {
    border-bottom: none;
}

/* Buttons - Solid, not glass */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 6px; /* Slightly squarer */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary, .btn { /* Default style if not primary */
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
}

.btn:not(.btn-primary):hover {
    border-color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}

/* Cards - Matte, Frosted, Architectural */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 3rem;
    border-radius: 2px; /* architectural sharp corners */
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
    height: 100%;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Pain Points Section */
.pain-point-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.pain-point-item {
    background: rgba(239, 68, 68, 0.05); /* Red tint */
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: #fca5a5;
}

.pain-point-item::before {
    content: '✕';
    color: var(--danger-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Process Section */
.process-steps {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--glass-border);
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.process-step h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Why Chose Us (Benefits) */
.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
}

.benefit-item::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}


/* Split Layout with Image */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* Full width split */
    min-height: 80vh;
}

.split-content {
    padding: 4rem 4rem 4rem 0; /* Right padding only for text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.split-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--primary-color); 
    opacity: 0.8;
}

/* Hero Elements */
.hero-tag {
    font-family: var(--font-body); /* Switch to body font for tag */
    color: #60a5fa; /* Lighter blue */
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px; /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-hero {
    padding: 6rem 0 3rem;
    text-align: left;
}

.page-hero h1, h1 {
    font-size: 3.25rem; /* Reduced from 3.5/4rem */
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Images in sections */
.section-image-container {
    width: 100%;
    height: 500px;
    border-radius: 2px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.section-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-image-container:hover img {
    transform: scale(1.02);
}

/* Footer */
footer {
    background: #05060a; 
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    mix-blend-mode: screen;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

/* Utilities */
ul.feature-list {
    list-style: none;
}

ul.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

ul.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .split-content {
        padding: 4rem 0 2rem;
        order: 2;
        text-align: center; /* Center align text on tablet/mobile for better balance */
    }

    .split-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .split-content .btn {
        width: 100%; /* Full width buttons on tablet/mobile */
        margin-bottom: 0.5rem;
    }

    .split-content div {
        flex-direction: column; /* Stack buttons */
        align-items: center;
    }
    
    .split-image {
        height: 40vh; /* Reduced height so content is visible */
        order: 1;
        width: 100vw;
        margin-left: -2rem; /* Break container padding to full bleed */
    }
    
    .split-image img {
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    header {
        top: 0;
        padding: 0;
    }
    
    .nav-container {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 1.5rem;
        background: rgba(8, 10, 16, 0.95); /* More solid background */
    }

    /* Mobile Menu */
    .hamburger {
        display: flex;
        margin-left: auto; /* Push to the right */
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #080a10; /* Solid dark background */
        border-bottom: 1px solid var(--glass-border);
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        text-align: center;
        height: 100vh; /* Full screen menu */
        align-items: center;
        justify-content: start;
        padding-top: 4rem;
    }

    nav ul.active {
        display: flex;
    }
    
    nav a {
        font-size: 1.5rem; /* Larger touch targets */
    }
    
    /* Typography Overhaul for Mobile */
    h1, .page-hero h1 { 
        font-size: 2.5rem; 
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
    }
    
    .hero-tag {
        margin-bottom: 1rem;
    }

    /* Layout Adjustments */
    .grid-2, .grid-3, .pain-point-grid, .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .process-step {
        border-left: none;
        border-top: 2px solid var(--glass-border);
        padding-left: 0;
        padding-top: 1rem;
    }

    /* Card padding reduction */
    .glass-card {
        padding: 2rem;
    }

    /* Footer stacking */
    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .footer-col {
        max-width: 100% !important;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    /* Mobile Hero - Image as Background */
    .hero {
        background-image: url('assets/hero-home.png');
        background-size: cover;
        background-position: center;
        position: relative;
        margin-top: -60px; /* Pull up behind transparent header if needed, or just adjust padding */
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(8,10,16,0.8), rgba(8,10,16,0.95)); /* Dark overlay for text readability */
        z-index: 0;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

    .hero .split-image {
        display: none; /* Hide original image tag */
    }

    .hero .split-content {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}
