:root {
    --primary: #0066cc;
    --primary-dark: #0055b3;
    --accent-cyan: #29b6f6;
    --accent-purple: #7e57c2;
    --dark-bg: #0a0a1a;
    --dark-card: #121525;
    --dark-border: #252a40;
    --light-text: #e2e8f0;
    --medium-text: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #7e57c2 100%);
    --gradient-secondary: linear-gradient(135deg, #29b6f6 0%, #5c3fd8 100%);
    --border-radius: 16px;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(41, 182, 246, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(126, 87, 194, 0.08) 0%, transparent 20%);
    z-index: -1;
}

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

section {
    padding: 6rem 0;
}

.page {
    min-height: 100vh;
    opacity: 0;
    position: absolute;
    width: 100%;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.page.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 0.5rem;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.8));
}

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

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--medium-text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.secondary-button {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--accent-purple);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-button:hover {
    background: rgba(126, 87, 194, 0.15);
    transform: translateY(-2px);
}

/* Problem Section */
.problem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.problem-content p {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-text);
    font-size: 1.1rem;
}

/* Philosophy Section */
.philosophy {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.philosophy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 182, 246, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.philosophy h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.philosophy p {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

/* Capabilities Section */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.capability-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.capability-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-md);
}

.capability-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.capability-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.capability-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--medium-text);
    font-size: 1.1rem;
}

/* Product Page Styles */
.product-hero {
    text-align: center;
    padding: 8rem 0 4rem;
}

.product-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
}

.product-hero p {
    font-size: 1.4rem;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(41, 182, 246, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
}

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

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

.pilot-section {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-border);
}

.pilot-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.pilot-section p {
    font-size: 1.3rem;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Use Cases Page */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.use-case-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-cyan);
}

.use-case-content {
    padding: 2rem;
}

.use-case-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.use-case-content p {
    color: var(--medium-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.outcome-tag {
    display: inline-block;
    background: rgba(126, 87, 194, 0.2);
    color: var(--accent-purple);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: rgba(6, 6, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--medium-text);
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--light-text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--medium-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--dark-border);
    color: var(--medium-text);
    font-size: 1.05rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-fadeInUp {
    transform: translateY(30px);
}

.animate-on-scroll.animate-fadeInLeft {
    transform: translateX(-30px);
}

.animate-on-scroll.animate-fadeInRight {
    transform: translateX(30px);
}

.animate-on-scroll.animate-scaleIn {
    transform: scale(0.95);
}

/* Triggered animation states */
.animate-on-scroll.animated {
    opacity: 1;
    transform: none;
}

/* Delay classes for staggered animations */
.delay-1.animated {
    transition-delay: 0.1s;
}

.delay-2.animated {
    transition-delay: 0.2s;
}

.delay-3.animated {
    transition-delay: 0.3s;
}

.delay-4.animated {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .problem-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .problem-stats {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

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

    section {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .problem-stats {
        grid-template-columns: 1fr;
    }

    .nav-links {
        padding: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Page Transitions */
.page-transition-enter {
    opacity: 0;
    transform: scale(0.98);
}

.page-transition-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-exit {
    opacity: 1;
    transform: scale(1);
}

.page-transition-exit-active {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.contact-form {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid var(--dark-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(30, 35, 60, 0.7);
    border: 1px solid var(--dark-border);
    color: var(--light-text);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background: rgba(41, 182, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    margin: 0;
    font-size: 1.05rem;
}

/* About Page */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.3rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
}

.founder-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    border: 1px solid var(--dark-border);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    color: white;
    font-weight: 700;
}

.founder-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.founder-card p {
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.vision-statement {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-top: 2rem;
    font-style: italic;
    color: var(--medium-text);
}

/* Placeholder Styles */
.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1f36 0%, #252a40 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    border: 1px dashed var(--accent-purple);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: 'Image Placeholder';
    color: var(--accent-purple);
    font-weight: 600;
    position: absolute;
}

.placeholder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 25%, rgba(41, 182, 246, 0.1) 25%, rgba(41, 182, 246, 0.1) 50%, transparent 50%, transparent 75%, rgba(41, 182, 246, 0.1) 75%, rgba(41, 182, 246, 0.1));
    background-size: 40px 40px;
    animation: gradient-move 2s linear infinite;
}

@keyframes gradient-move {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.hero-placeholder {
    height: 500px;
    margin: 3rem 0;
}

/* Animation for placeholder */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}
