/* --- Variables & Reset --- */
:root {
    /* Brand Colors based on Logo */
    --color-primary: #1a1a40; /* Deep Navy/Purple */
    --color-accent-start: #1a1a40;
    --color-accent-end: #ff4b4b; /* Vibrant Red */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --border-radius: 12px;
    --container-width: 1100px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
ul { list-style: none; }

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

.section { padding: 80px 0; }
.bg-light { background-color: var(--color-bg-alt); }
.text-center { text-align: center; }
.max-w-600 { max-width: 600px; margin: 0 auto; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 75, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 1px solid #e0e0e0;
    margin-left: 10px;
}

.btn-secondary:hover { border-color: var(--color-primary); }

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Abstract background blobus */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 75, 75, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.pill-badge {
    background: rgba(26, 26, 64, 0.05);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
    color: var(--color-primary);
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Abstract Dashboard Preview CSS Art */
.dashboard-preview {
    margin: 60px auto 0;
    max-width: 800px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(26, 26, 64, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}
.dashboard-preview:hover { transform: perspective(1000px) rotateX(0deg); }

.dash-header {
    background: #f4f6f8;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
}
.dots span {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
    margin-right: 6px; background: #ddd;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.dash-body { padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.dash-stats { display: flex; gap: 20px; }
.stat-box {
    flex: 1; height: 80px; background: #f8f9fa; border-radius: 8px;
}
.dash-chart {
    height: 200px; background: #f8f9fa; border-radius: 8px;
    position: relative; overflow: hidden;
}
/* Fake Chart Lines */
.chart-line {
    position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(90deg, rgba(26, 26, 64, 0.1), rgba(255, 75, 75, 0.1));
    clip-path: polygon(0 100%, 0 40%, 20% 60%, 40% 30%, 60% 70%, 80% 20%, 100% 50%, 100% 100%);
}

/* --- Features Grid --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; color: var(--color-primary); margin-bottom: 10px; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 30px;
    border-radius: var(--border-radius);
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.icon-box {
    font-size: 2rem; margin-bottom: 20px;
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    background: #f8f9fa; border-radius: 12px;
}

.card h3 { margin-bottom: 10px; color: var(--color-primary); }
.card p { font-size: 0.95rem; color: var(--color-text-light); }

/* --- Steps Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.step-list { margin-top: 30px; }
.step-item { display: flex; gap: 20px; margin-bottom: 30px; }
.step-num {
    font-size: 1.2rem; font-weight: 800; color: #ff4b4b;
    opacity: 0.5;
}
.code-block {
    background: var(--color-primary);
    color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
    box-shadow: 0 20px 40px rgba(26, 26, 64, 0.2);
}
.code-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px; margin-bottom: 10px; opacity: 0.7;
}
.comment { color: #88ff88; }

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.stat-number { display: block; font-size: 3.5rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.stat-number small { font-size: 1.5rem; }
.stat-label { font-size: 1rem; color: var(--color-text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* --- Footer --- */
.footer { padding: 40px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-logo { height: 30px; opacity: 0.8; }
.footer-brand p { font-size: 0.9rem; color: var(--color-text-light); }
.footer-links a { margin-left: 20px; font-size: 0.9rem; color: var(--color-text-light); }

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 80px; left: 0; right: 0;
        background: white;
        flex-direction: column; padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: none; /* JS will toggle flex */
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    
    .hero-title { font-size: 2.2rem; }
    .grid-3, .split-layout, .stats-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; }
    .footer-content { flex-direction: column; gap: 20px; }
    .footer-links a { margin: 0 10px; }
}
/* --- Knowledge Hub / SEO Content Styling --- */

.knowledge-hub {
    padding-bottom: 120px;
}

.info-block {
    max-width: 750px; /* Optimal reading width */
    margin: 0 auto 60px auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.info-block h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.info-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
    border-radius: 2px;
}

.info-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.info-block strong {
    color: var(--color-primary);
    font-weight: 600;
}

.text-list {
    margin: 20px 0 20px 20px;
    list-style-type: disc;
    color: var(--color-text-light);
}

.text-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Make the dashboard look 'inactive' or 'waiting' */
.hero .dashboard-preview {
    transition: all 1s ease;
}

/* Mobile adjustments for text */
@media (max-width: 768px) {
    .info-block {
        padding: 25px;
    }
    .info-block h3 {
        font-size: 1.3rem;
    }
}