/* Nubecoll SaaS - Modern Landing Page Styles */
:root {
    --bg-base: #030712;
    --bg-surface: #111827;
    --bg-glass: rgba(17, 24, 39, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --accent-primary: #38bdf8;
    --accent-secondary: #818cf8;
    --accent-glow: rgba(56, 189, 248, 0.5);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --transition-snappy: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

section, .bento-grid, #early-access {
    scroll-margin-top: 100px;
}

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

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.ambient-light {
    position: absolute; border-radius: 50%; filter: blur(120px); z-index: -1; pointer-events: none; opacity: 0.6;
}
.main-glow {
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(3, 7, 18, 0) 70%); top: -200px; left: -100px;
}
.secondary-glow {
    width: 500px; height: 500px; background: radial-gradient(circle, rgba(129, 140, 248, 0.1) 0%, rgba(3, 7, 18, 0) 70%); top: 200px; right: -200px;
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; background: var(--bg-glass); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass); z-index: 100; padding: 1rem 0; transition: var(--transition-snappy);
}
.navbar.scrolled { padding: 0.75rem 0; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); border-radius: 8px; color: white; }
.text-accent { color: var(--accent-primary); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition-snappy); }
.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; border-radius: 99px;
    font-size: 0.9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: var(--transition-snappy); border: none;
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-primary { background: var(--text-main); color: var(--bg-base); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.15); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border-glass); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* Promo Hero */
.hero { padding: 10rem 0 6rem; text-align: center; position: relative; }
.hero-container { display: flex; flex-direction: column; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 1rem; border-radius: 99px; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.2); color: var(--accent-primary); font-size: 0.85rem; font-weight: 500; margin-bottom: 2rem; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 10px var(--accent-glow); }
.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.text-gradient { background: linear-gradient(135deg, #fff 0%, #9ca3af 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin-bottom: 3rem; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 4rem; }

.hero-image-wrapper {
    position: relative; width: 100%; max-width: 1000px; border-radius: 24px;
    border: 1px solid var(--border-glass); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
}
.hero-img { width: 100%; height: auto; display: block; border-radius: 24px; }
.hero-img.pulse-anim { animation: brainPulse 6s infinite alternate ease-in-out; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-base) 0%, transparent 40%); border-radius: 24px; pointer-events: none; }

@keyframes brainPulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.02); filter: brightness(1.2); }
}

.floating-node {
    position: absolute;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    padding: 0.6rem 1.25rem;
    border-radius: 99px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: floatNode 6s infinite ease-in-out;
}

.floating-node i { color: var(--accent-primary); width: 18px; height: 18px; }

.node-1 { top: 20%; left: 8%; animation-delay: 0s; }
.node-2 { top: 30%; right: 8%; animation-delay: -1.5s; }
.node-3 { bottom: 35%; left: 12%; animation-delay: -3s; }
.node-4 { bottom: 25%; right: 12%; animation-delay: -4.5s; }
.node-5 { top: 8%; left: 50%; transform: translateX(-50%); animation-name: floatNodeCenter; animation-delay: -2s; }

@keyframes floatNode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes floatNodeCenter {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -15px); }
}

.trusted-by { margin-top: 5rem; }
.trusted-by p { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1.5rem; }
.trusted-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trusted-logos span { display: flex; align-items: center; gap: 0.5rem; color: #6b7280; font-weight: 600; font-size: 1.1rem; }

/* Sections */
.section { padding: 8rem 0; }
.bg-darker { background: #000; border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-card { background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: 24px; padding: 2.5rem; transition: var(--transition-snappy); }
.bento-card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-5px); }
.bento-icon { width: 48px; height: 48px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--text-main); }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; }

.glass-panel { background: rgba(17, 24, 39, 0.4); border: 1px solid var(--border-glass); border-radius: 24px; backdrop-filter: blur(20px); padding: 4rem; text-align: center; }
.pitch-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.pitch-content p { color: var(--text-muted); font-size: 1.1rem; max-width: 800px; margin: 0 auto 2rem; }

/* CTA */
.cta-section { text-align: center; position: relative; }
.cta-glow { width: 100%; height: 400px; background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.15) 0%, rgba(3, 7, 18, 0) 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cta-container { position: relative; z-index: 2; background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass); border-radius: 24px; padding: 5rem 2rem; max-width: 800px; margin: 0 auto; }
.cta-container h2 { font-size: 3rem; margin-bottom: 1rem; }
.cta-container p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; }
.cta-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.input-modern { flex: 1; background: rgba(0,0,0,0.5); border: 1px solid var(--border-glass); border-radius: 99px; padding: 0.85rem 1.5rem; color: white; font-size: 1rem; outline: none; transition: var(--transition-snappy); }
.input-modern:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2); }

/* Footer */
.footer { padding: 3rem 0; border-top: 1px solid var(--border-glass); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.copyright { color: var(--text-muted); font-size: 0.9rem; }

.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUpAnim 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .cta-form { flex-direction: column; }
    .nav-links { display: none; }
    .glass-panel { padding: 2rem; }
    .trusted-logos { flex-direction: column; align-items: center; gap: 1rem; }
    .floating-node { display: none; }
}
