/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4f7;
    --border: #e2e4e9;
    --border-light: #eef0f3;
    --text: #111827;
    --text-muted: #6b7280;
    --accent: #4f46e5;
    --accent-hover: #6366f1;
    --accent-light: rgba(79, 70, 229, 0.08);
    --accent-border: rgba(79, 70, 229, 0.2);
    --green: #16a34a;
    --blue: #2563eb;
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--text);
    line-height: 1;
}

.logo-icon {
    flex-shrink: 0;
    display: block;
    margin-top: -2px;
}

.logo-highlight {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f0ff 0%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-border);
    background: var(--accent-light);
    color: var(--accent);
}

.btn-card {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-card:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header h2,
.about-content h2,
.contact-box h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Stats */
.stats {
    padding: 0 0 20px;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-item {
    background: var(--bg);
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Badges */
.badges {
    padding: 40px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.badge-item:hover {
    border-color: var(--accent-border);
    background: var(--accent-light);
}

.badge-item svg {
    flex-shrink: 0;
    color: var(--accent);
}

.badge-item div {
    display: flex;
    flex-direction: column;
}

.badge-item strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.badge-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services */
.services {
    padding: 80px 0 100px;
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* LLM Section */
.llm-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
}

.llm-pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.llm-step {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s;
}

.llm-step:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.llm-step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.llm-step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.12);
    line-height: 1;
}

.llm-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.llm-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.llm-step-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.llm-step-tags li {
    padding: 3px 10px;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
}

.llm-capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.llm-cap-card {
    background: var(--bg);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.llm-cap-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.llm-cap-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Products */
.products {
    padding: 80px 0 100px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.neuroscans-icon {
    background: rgba(22, 163, 74, 0.08);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.emailalias-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.product-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 8px;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-tags span {
    padding: 4px 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Process */
.process {
    padding: 80px 0 100px;
    background: var(--bg-alt);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    position: relative;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Industries */
.industries {
    padding: 80px 0 100px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.industry-item:hover {
    border-color: var(--accent-border);
    background: var(--accent-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.industry-item svg {
    color: var(--accent);
}

.industry-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

/* About */
.about {
    padding: 80px 0 100px;
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    gap: 48px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 12px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0 100px;
    border-top: 1px solid var(--border);
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.t-card {
    padding: 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: all 0.3s;
}

.t-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.t-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.t-card blockquote {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.t-author div {
    display: flex;
    flex-direction: column;
}

.t-author strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.t-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-btn:hover {
    border-color: var(--accent-border);
    color: var(--accent);
    background: var(--accent-light);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Contact */
.contact {
    padding: 80px 0 100px;
}

.contact-box {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.contact-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-email {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    padding: 16px 36px;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.contact-email:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.15);
}

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

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-contact-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-info a {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    transition: color 0.2s;
}

.footer-contact-info a:hover {
    color: var(--accent-hover);
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

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

.footer-compliance {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    opacity: 0.7;
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 130px 0 70px;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .llm-pipeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .llm-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .carousel-slide {
        min-width: 50%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-col {
        min-width: calc(50% - 16px);
    }

    .contact-email {
        font-size: 1.1rem;
        padding: 14px 28px;
    }

    .section-header h2,
    .about-content h2,
    .contact-box h2 {
        font-size: 1.75rem;
    }
}

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

    .product-card {
        padding: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .llm-pipeline {
        grid-template-columns: 1fr;
    }

    .llm-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-slide {
        min-width: 100%;
    }
}
