/* NUE-AINNA — AINNA-theme aligned styles */

:root {
    --nu-primary: #667eea;
    --nu-primary-2: #764ba2;
    --nu-cyan: #00d4ff;
    --nu-pink: #ff6b9d;
    --nu-mint: #95e1d3;
    --nu-lavender: #dda0dd;
    --nu-bg: #ffffff;
    --nu-bg-alt: #f5f5f7;
    --nu-surface: rgba(255, 255, 255, 0.72);
    --nu-text: #1a1a2e;
    --nu-text-muted: #64748b;
    --nu-border: rgba(0, 0, 0, 0.08);
    --nu-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
    --nu-shadow-hover: 0 12px 32px rgba(102, 126, 234, 0.18);
    --nu-radius-card: 20px;
    --nu-radius-pill: 999px;
    --nu-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --nu-bg: #0f172a;
    --nu-bg-alt: #1e293b;
    --nu-surface: rgba(30, 41, 59, 0.72);
    --nu-text: #f8fafc;
    --nu-text-muted: #94a3b8;
    --nu-border: rgba(255, 255, 255, 0.1);
    --nu-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
    --nu-shadow-hover: 0 12px 32px rgba(102, 126, 234, 0.28);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--nu-text);
    background: var(--nu-bg);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Aurora background */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

[data-theme="dark"] .aurora-container {
    opacity: 1;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: auroraFloat 20s infinite ease-in-out;
    mix-blend-mode: screen;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #ff6b9d, #8b5cf6);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    top: 50%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.aurora-3 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #8b5cf6, #ff6b9d);
    bottom: -25%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 28s;
}

@keyframes auroraFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.05); }
    50% { transform: translate(-30px, 40px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--nu-surface);
    border-bottom: 1px solid var(--nu-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--nu-text);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--nu-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nu-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nu-primary);
    transition: width 0.2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle,
#mobile-burger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--nu-border);
    background: var(--nu-bg-alt);
    color: var(--nu-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle:hover,
#mobile-burger:hover {
    background: var(--nu-primary);
    color: #fff;
    border-color: var(--nu-primary);
}

.theme-toggle .moon-icon,
.theme-toggle .sun-icon,
#mobile-burger svg {
    width: 20px;
    height: 20px;
}

[data-theme="dark"] .theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile panel */
#mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

#mobile-panel.active {
    display: flex;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--nu-bg);
    border-left: 1px solid var(--nu-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mobile-panel.active .mobile-menu {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.menu-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nu-text);
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu nav a {
    padding: 12px 0;
    color: var(--nu-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--nu-border);
}

.theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: var(--nu-bg-alt);
    cursor: pointer;
    color: var(--nu-text);
    font-weight: 500;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--nu-radius-pill);
    background: rgba(102, 126, 234, 0.12);
    color: var(--nu-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--nu-text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--nu-primary), var(--nu-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--nu-text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-ring {
    width: 280px;
    height: 280px;
    animation: orbSpin 24s linear infinite;
}

.orb-ring svg {
    width: 100%;
    height: 100%;
}

@keyframes orbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--nu-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nu-primary), var(--nu-primary-2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--nu-shadow-hover);
}

.btn-secondary {
    background: var(--nu-bg-alt);
    color: var(--nu-text);
    border: 1px solid var(--nu-border);
}

.btn-secondary:hover {
    background: var(--nu-primary);
    color: #fff;
    border-color: var(--nu-primary);
}

/* Layout helpers */
.content {
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

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

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--nu-text);
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--nu-radius-pill);
    background: rgba(102, 126, 234, 0.1);
    color: var(--nu-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--nu-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--nu-text);
}

.section-header p {
    color: var(--nu-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.highlight {
    color: var(--nu-primary);
}

.text-block {
    max-width: 720px;
    margin-bottom: 48px;
}

.text-block h2,
section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--nu-text);
}

.text-block p,
section p {
    color: var(--nu-text-muted);
    margin-bottom: 16px;
}

/* Cards */
section[id] {
    scroll-margin-top: 80px;
}

.preview-section,
.about-section,
.neuralops-section,
.technology-section,
.roadmap-section,
.investors-section,
.partnership-section,
.contact-section {
    padding: 80px 0;
}

.preview-grid,
.features-grid,
.tech-grid,
.invest-grid,
.partnership-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.preview-card,
.feature-card,
.tech-card,
.invest-card,
.partnership-card,
.value-card {
    background: var(--nu-surface);
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius-card);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.preview-card:hover,
.feature-card:hover,
.tech-card:hover,
.invest-card:hover,
.partnership-card:hover,
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nu-shadow-hover);
    border-color: rgba(102, 126, 234, 0.35);
}

.preview-icon,
.feature-icon,
.tech-icon,
.invest-icon,
.partnership-icon,
.value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(102, 126, 234, 0.1);
}

.preview-card h3,
.feature-card h3,
.tech-card h3,
.invest-card h3,
.partnership-card h3,
.value-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--nu-text);
}

.preview-card p,
.feature-card p,
.tech-card p,
.invest-card p,
.partnership-card p,
.value-card p {
    font-size: 0.95rem;
    color: var(--nu-text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--nu-primary), var(--nu-cyan));
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--nu-bg);
    border: 2px solid var(--nu-primary);
    border-radius: 50%;
}

.timeline-content {
    background: var(--nu-surface);
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius-card);
    padding: 22px;
}

.timeline-date {
    color: var(--nu-primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.timeline-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--nu-text);
}

.vision-text {
    font-size: 1.05rem;
    color: var(--nu-text-muted);
}

/* CTA rows */
.cta-row {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    border-radius: var(--nu-radius-card);
    background: var(--nu-surface);
    border: 1px solid var(--nu-border);
}

.cta-row p {
    color: var(--nu-text-muted);
    margin-bottom: 18px;
}

/* Contact */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--nu-text-muted);
}

.info-label {
    font-weight: 600;
    color: var(--nu-text);
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--nu-surface);
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius-card);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nu-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--nu-border);
    border-radius: 12px;
    background: var(--nu-bg);
    color: var(--nu-text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nu-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--nu-border);
    background: var(--nu-bg-alt);
    padding: 48px 24px 32px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.footer-brand strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--nu-text);
}

.footer-brand span {
    font-size: 0.9rem;
    color: var(--nu-text-muted);
}

.footer-copy {
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--nu-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        flex: 0 0 220px;
    }

    .orb-ring {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .header-container {
        padding: 12px 16px;
    }

    .content {
        padding: 100px 16px 60px;
    }

    .hero {
        padding: 120px 16px 60px;
    }

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

    .preview-section,
    .about-section,
    .neuralops-section,
    .technology-section,
    .roadmap-section,
    .investors-section,
    .partnership-section,
    .contact-section {
        padding: 48px 0;
    }

    .preview-grid,
    .features-grid,
    .tech-grid,
    .invest-grid,
    .partnership-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
