:root {
    /* Sophisticated Enterprise Color Palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-300: #7dd3fc;
    --brand-500: #00aeef; /* Bright Cyan from logo */
    --brand-600: #0054a6; /* Navy Blue from logo */
    --brand-700: #003f82; /* Darker Navy */
    --brand-800: #002859; /* Deep Navy */
    --brand-900: #001a3d;
    
    --accent-blue: #00aeef;

    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    /* Clean, precise shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --shadow-premium: 0 25px 50px -12px rgb(30 58 138 / 0.15);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --font-sans: 'Inter', 'Outfit', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Backgrounds */
.bg-subtle-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: var(--bg-alt);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.04) 0px, transparent 50%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, var(--slate-200) 1px, transparent 1px),
                      linear-gradient(to bottom, var(--slate-200) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.4;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.text-gradient {
    background: linear-gradient(to right, var(--brand-700), var(--brand-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-secondary);
}

.label-caps {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-500);
    display: inline-block;
    margin-bottom: 0.75rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-600);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--brand-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
    transform: translateY(-1px);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.875rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--brand-600);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-600);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-800);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    background: linear-gradient(180deg, var(--bg-alt) 0%, white 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1rem;
    background: white;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--slate-100);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* Floating Elements */
.stat-pill {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-800);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.stat-pill .icon {
    width: 24px;
    height: 24px;
    background: var(--brand-50);
    color: var(--brand-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-1 {
    top: 2rem;
    left: -2rem;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 3rem;
    right: -2rem;
    animation-delay: 3s;
}

/* Features Grid */
.features {
    padding: 8rem 0;
    background: white;
}

.section-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

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

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

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

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--slate-300);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--brand-50);
    color: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Modules Section */
.modules {
    padding: 8rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-300);
    transform: translateY(-2px);
}

.module-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.module-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.module-link:hover {
    color: var(--brand-800);
}

/* Previews / Tabs */
.previews {
    padding: 8rem 0;
    background: white;
}

.previews-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.preview-sidebar {
    min-width: 0;
}

.preview-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.tab-btn {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: var(--slate-50);
    color: var(--slate-900);
}

.tab-btn.active {
    background: var(--brand-50);
    border-left-color: var(--brand-600);
    color: var(--brand-700);
    font-weight: 600;
}

.preview-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.preview-content.active {
    display: block;
}

.preview-panel-inner {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
}

.preview-panel-inner img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    border: 1px solid var(--slate-100);
}

.preview-text {
    margin-bottom: 3rem;
    max-width: 600px;
}

.preview-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.preview-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--brand-500);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { padding-right: 0; max-width: 700px; margin: 0 auto; text-align: center; }
    .hero-buttons { justify-content: center; }
    .previews-container { grid-template-columns: 1fr; }
    .preview-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
    .preview-tabs::-webkit-scrollbar { display: none; }
    .tab-btn { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .tab-btn.active { border-bottom-color: var(--brand-600); border-left-color: transparent; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero { padding-top: 6rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-buttons .btn { width: 100%; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
        border-top: 1px solid var(--slate-100);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .stat-pill { display: none; }
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }
    
    .features, .modules, .previews { padding: 5rem 0; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 1.5rem; }
    
    .modules-grid { grid-template-columns: 1fr; }
    .module-card { padding: 1.5rem; }
    
    .preview-text h3 { font-size: 1.75rem; }
    .preview-text p { font-size: 1rem; }
    
    .footer-top { flex-direction: column; gap: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-bottom div { justify-content: center; }
}
