/* Base Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131f;
    --accent-primary: #6366f1; /* Indigo */
    --accent-secondary: #a855f7; /* Purple */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo, .badge {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    animation: pulse 8s infinite alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
}

.orb-2 {
    top: 40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.1) translate(20px, 30px); opacity: 0.5; }
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography elements */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: #818cf8;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
    filter: invert(1);
}

.footer-logo {
    height: 40px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
    filter: invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

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

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Custom UI Mockup Graphic using CSS */
.glass-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dashboard-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    height: 40px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-body {
    flex: 1;
    display: flex;
}

.mockup-main {
    flex: 1;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* Center the mock content */
}

.mockup-card {
    height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
}

.line-1 { width: 40%; }
.line-2 { width: 25%; }

.mockup-mindmap {
    margin-top: 2rem;
    width: 80%; /* Don't take up the full width so it centers nicely */
    flex: 1;
    position: relative;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(99,102,241,0.5);
}

.node.center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 12px; }
.node.left { top: 20%; left: 20%; }
.node.right { bottom: 20%; right: 20%; background: #a855f7; }

.connection {
    position: absolute;
    background: rgba(255,255,255,0.1);
}

.c-left { top: 35%; left: 30%; width: 25%; height: 2px; transform: rotate(45deg); }
.c-right { bottom: 35%; right: 30%; width: 25%; height: 2px; transform: rotate(45deg); }

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
}

.feature-card {
    width: 320px;
    flex: 0 0 320px; /* Force strict width so the browser doesn't calculate asymmetric flex margins */
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 20px rgba(99,102,241,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px; /* Center alignment based on 80px min-width */
    top: 4.5rem; /* Start just below the number */
    bottom: -3rem; /* Extend fully through the 3rem gap to next step */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    transition: var(--transition);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--bg-secondary); /* Matches background to cover overlaps */
    text-shadow: 
        1px 1px 0 rgba(255,255,255,0.2), 
       -1px 1px 0 rgba(255,255,255,0.2), 
        1px -1px 0 rgba(255,255,255,0.2), 
       -1px -1px 0 rgba(255,255,255,0.2),
        1px 0 0 rgba(255,255,255,0.2), 
       -1px 0 0 rgba(255,255,255,0.2), 
        0 1px 0 rgba(255,255,255,0.2), 
        0 -1px 0 rgba(255,255,255,0.2);
    min-width: 80px;
    text-align: center;
}

.step:hover .step-number {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact {
    padding: 8rem 0;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-perks p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-form-wrapper {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 21px;
    z-index: -1;
    opacity: 0.3;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-submit:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    background: rgba(10, 10, 15, 0.5);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }
.delay-6 { transition-delay: 1.2s; }

/* Responsive Flow */
@media (max-width: 991px) {
    .hero-content, .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .contact-perks p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for a static page, could add a burger menu but keeping it minimal */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
