:root {
    --primary: #3a0ca3;
    --secondary: #4361ee;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4ade80;
    --warning: #fbbf24;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7ff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.novaneura-logo {
    height: 150px;
    width: 150px;
    object-fit: contain;
}

.logo-text-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text-content h1 span {
    color: var(--accent);
}

.logo-text-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 260px); 
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999; /* Below nav (2000) */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(rgba(58, 12, 163, 0.05), rgba(67, 97, 238, 0.05));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(76, 201, 240, 0) 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 2rem;
    display: block;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(58, 12, 163, 0.2);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 12, 163, 0.3);
}

/* Company Intro Section */
.company-intro {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2.2rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.intro-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.intro-content p {
    margin-bottom: 1.5rem;
}

/* Challenges Section */
.challenges {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.03) 0%, rgba(76, 201, 240, 0.03) 100%);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-column {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.challenge-column h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.challenge-list {
    list-style: none;
}

.challenge-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.challenge-list li:last-child {
    border-bottom: none;
}

.challenge-list i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Platform Section */
.platform {
    padding: 4rem 0;
    background-color: white;
}

.platform-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platform-info {
    flex: 1;
    min-width: 300px;
}

.platform-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.platform-info p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.platform-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.platform-icon {
    font-size: 10rem;
    color: var(--secondary);
    opacity: 0.9;
    filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.2));
}

.highlight {
    background-color: #eef7ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
}

.highlight p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.03) 0%, rgba(76, 201, 240, 0.03) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--secondary);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-number {
    display: inline-block;
    background: var(--gradient);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* AIVA Section */
.aiva-section {
    padding: 4rem 0;
    background-color: white;
}

.aiva-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.aiva-info {
    flex: 1;
    min-width: 300px;
}

.aiva-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.aiva-info p {
    margin-bottom: 1.5rem;
    color: #555;
}

.aiva-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.aiva-logo {
    width: 250px;
    height: 250px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.aiva-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(76, 201, 240, 0.3);
}

.aiva-link:hover {
    background-color: var(--secondary);
    gap: 15px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.company-address {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ======================================== */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platform-icon {
        font-size: 8rem;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile Styles */
    header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .novaneura-logo {
        height: 70px;
        width: 70px;
    }
    
    .logo-text-content h1 {
        font-size: 1.3rem;
    }
    
    .logo-text-content p {
        font-size: 0.75rem;
    }
    
    /* Hide desktop navigation */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--gradient);
        z-index: 2000; /* Must be ABOVE overlay (1998) */
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        pointer-events: auto; /* Ensure nav is clickable */
    }
    
    nav.active {
        right: 0;
        pointer-events: auto; /* Ensure nav is clickable when active */
    }
    
    nav ul {
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        pointer-events: auto; /* Ensure ul is clickable */
    }
    
    nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto; /* Ensure li is clickable */
    }
    
    nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        pointer-events: auto !important; /* Ensure links are clickable */
        cursor: pointer; /* Show pointer cursor */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2); /* Show tap feedback */
        position: relative; /* Create stacking context */
        z-index: 1; /* Above any potential blocking elements */
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
        z-index: 2000;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-logo {
        height: 140px;
        margin-bottom: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Company Intro Mobile */
    .company-intro {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .intro-content {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Challenges Section Mobile */
    .challenges {
        padding: 3rem 0;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .challenge-column {
        padding: 1.5rem;
    }
    
    .challenge-column h3 {
        font-size: 1.3rem;
    }
    
    .challenge-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
    
    /* Platform Section Mobile */
    .platform {
        padding: 3rem 0;
    }
    
    .platform-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .platform-info {
        min-width: 100%;
    }
    
    .platform-info h3 {
        font-size: 1.6rem;
    }
    
    .platform-info p {
        font-size: 1rem;
    }
    
    .platform-image {
        min-width: 100%;
    }
    
    .platform-icon {
        font-size: 7rem;
    }
    
    .highlight {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    /* Benefits Section Mobile */
    .benefits {
        padding: 3rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
    }
    
    /* AIVA Section Mobile */
    .aiva-section {
        padding: 3rem 0;
    }
    
    .aiva-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .aiva-info {
        min-width: 100%;
    }
    
    .aiva-info h3 {
        font-size: 1.6rem;
    }
    
    .aiva-info p {
        font-size: 1rem;
    }
    
    .aiva-image {
        min-width: 100%;
    }
    
    .aiva-logo {
        width: 200px;
        height: 200px;
    }
    
    .aiva-link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
    }
    
    .company-address {
        padding: 1.25rem;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .novaneura-logo {
        height: 55px;
        width: 55px;
    }
    
    .logo-text-content h1 {
        font-size: 1.1rem;
    }
    
    .logo-text-content p {
        font-size: 0.7rem;
    }
    
    nav {
        width: 260px;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero-logo {
        height: 110px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title:after {
        width: 60px;
    }
    
    .platform-icon {
        font-size: 5rem;
    }
    
    .aiva-logo {
        width: 160px;
        height: 160px;
    }
    
    .benefit-number {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.9rem;
    }
    
    .challenge-column {
        padding: 1.25rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .benefit-card h4 {
        font-size: 1rem;
    }
    
    .aiva-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .novaneura-logo {
        height: 50px;
        width: 50px;
    }
    
    .logo-text-content h1 {
        font-size: 1rem;
    }
    
    .logo-text-content p {
        font-size: 0.65rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    nav {
        width: 240px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-logo {
        height: 90px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .company-intro,
    .challenges,
    .platform,
    .benefits,
    .aiva-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}