/* --- Variables & Reset --- */
:root {
    --bg: #000000;
    --primary-blue: #1E3AFF;
    --bright-blue: #3B82F6;
    --soft-sky: #60A5FA;
    --highlight-glow: #A5D8FF;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-white);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Typography --- */
h1 {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
}

.center { text-align: center; }

/* --- Background Blobs --- */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
    border-radius: 50%;
}

.blob-1 { top: -200px; right: -100px; }
.blob-2 { bottom: -200px; left: -100px; background: radial-gradient(circle, var(--bright-blue) 0%, transparent 70%); }

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(60px);
}

/* --- Glassmorphism --- */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-white); }

/* --- Buttons --- */
.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-glass:hover {
    box-shadow: 0 0 20px rgba(30, 58, 255, 0.4);
    border: 1px solid rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.large { padding: 18px 40px; font-size: 16px; }
.full-width { width: 100%; padding: 16px; }

/* --- Hero Visuals --- */
.hero { display: flex; align-items: center; min-height: 100vh; padding-top: 100px; }
.hero-visuals { margin-top: 80px; position: relative; height: 150px; }

.floating-card {
    position: absolute;
    padding: 20px;
    width: 240px;
    transition: transform 0.1s ease-out;
}

.floating-card.second { left: 260px; top: 40px; }
.status-dot { width: 8px; height: 8px; background: #00FF85; border-radius: 50%; margin: 10px 0; display: inline-block; box-shadow: 0 0 10px #00FF85; }
.status-dot.blue { background: var(--bright-blue); box-shadow: 0 0 10px var(--bright-blue); }

/* --- Grids --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.feature-card, .blog-card {
    padding: 40px;
    transition: transform 0.4s ease;
}

.feature-card:hover { transform: translateY(-10px); }
.icon { font-size: 32px; margin-bottom: 20px; }

/* --- Split Layout --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.glass-box {
    height: 400px;
    background: linear-gradient(135deg, rgba(30, 58, 255, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* --- Forms --- */
.narrow { max-width: 600px; }
.glass-form-container { padding: 60px; }
.input-group { margin-bottom: 20px; }
.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 12px;
    color: white;
    font-family: 'Open Sans';
    outline: none;
    transition: border 0.3s;
}
.glass-input:focus { border: 1px solid var(--bright-blue); }

/* --- Footer --- */
footer { padding: 60px 0; border-top: 1px solid var(--glass-border); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 14px; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin-left: 20px; }

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .split-layout { grid-template-columns: 1fr; }
    h1 { font-size: 42px; }
}