:root {
    --bg-color: #0b1121; /* Darker slate */
    --surface-color: #1e293b; /* Slate 800 */
    --surface-hover: #334155;
    --primary-color: #06b6d4; /* Cyan 500 */
    --primary-hover: #0891b2;
    --secondary-color: #6366f1; /* Indigo 500 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --nav-height: 80px;
    --container-width: 1200px;
    --glow-color: rgba(6, 182, 212, 0.5);
    
    --font-heading: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color var(--transition-speed); }
img { max-width: 100%; display: block; }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(11, 17, 33, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dot { color: var(--primary-color); }

#main-nav ul {
    display: flex;
    gap: 32px;
}

#main-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

#main-nav a:hover {
    color: white;
}

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

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

#mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    display: block;
}

/* Hero Section */
#hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Glow */
#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pill-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-badges {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    /* overflow: hidden; Removed overflow hidden to let glow bleed */
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    background: radial-gradient(circle at center, #1e293b, #0f172a);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Problem Section */
#problem {
    padding: 100px 0;
    background: #0f172a; /* Slightly different shade or gradient possible */
}

.section-header {
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Product Section */
#product {
    padding: 80px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row.reverse { /* Direction is handled by grid visual placement or order */ }
/* To make it easier in grid, we can just swap HTML order or use query order, 
   but simplistic way css grid: */
.feature-row.reverse .feature-text {
    order: 2;
}
.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-visual {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    /* Placeholder for actual mockups */
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Abstract UI Mocks CSS-only */
.mock-ui {
    width: 80%;
    height: 80%;
    background: #0f172a;
    border-radius: 10px;
    border: 1px solid #334155;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mock-header {
    height: 40px;
    border-bottom: 1px solid #334155;
    background: #1e293b;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.mock-item {
    background: #334155;
    height: 80px;
    border-radius: 4px;
}

.mock-sidebar {
    width: 60px;
    height: 100%;
    border-right: 1px solid #334155;
    background: #1e293b;
    position: absolute;
    top: 0; left: 0;
}

.mock-content {
    margin-left: 60px;
    height: 100%;
    background: #0f172a;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to top, #1e293b, #0b1121);
}

.demo-form {
    max-width: 500px;
    margin: 32px auto 0;
    display: flex;
    gap: 10px;
}

.demo-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #334155;
    background: rgba(15, 23, 42, 0.5);
    color: white;
    font-family: inherit;
}

.demo-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 64px 0 24px;
    background: #0b1121;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .feature-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text { margin-bottom: 40px; }
    .hero-buttons { justify-content: center; }

    .feature-row.reverse .feature-text { order: 0; }
    .feature-row.reverse .feature-visual { order: 0; }

    .feature-visual { min-height: 300px; }
}

@media (max-width: 768px) {
    .header-actions .btn { display: none; } /* Hide btn on mobile for space, or keeping it? */
    #main-nav {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: #1e293b;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        opacity: 0;
        pointer-events: none;
    }
    
    #main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #mobile-menu-toggle { display: flex; }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .demo-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
