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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


.orb-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Liquid Orb Container */
.liquid-orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.liquid-orb-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 4px 50px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.hero-subheadline {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

/* Features Section */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--white) 0%, #f8fafc 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-lighter);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    text-align: left;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.founder-info {
    margin: 2rem 0;
}

.founder-card {
    display: inline-block;
    padding: 1.5rem 2.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-lighter);
    margin-bottom: 2rem;
}

.founder-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.founder-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gray);
    margin: 2rem 0;
    font-weight: 500;
}

.about-paragraphs {
    text-align: left;
    max-width: 800px;
    margin: 2rem auto 0;
}

.about-paragraphs p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Why Founded Section */
.why-founded {
    background: var(--white);
    padding: 5rem 0;
}

.why-founded-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.why-founded-intro {
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--dark);
    font-weight: 600;
}

.why-founded-context {
    margin-bottom: 2rem;
}

.why-founded-context p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.why-founded-mission {
    margin-top: 2rem;
}

.mission-highlight {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--primary);
    font-weight: 600;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.pillars-heading {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--dark);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.pillar-number {
    position: absolute;
    top: -20px;
    left: 2.5rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.pillar-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.pillar-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
}

.collaboration-text {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.collaboration-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    font-style: italic;
}

.why-founded-closing {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
}

.closing-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--dark);
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid var(--primary);
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    background: var(--dark);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray-light);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--white) 0%, #f8fafc 100%);
    padding: 5rem 0;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.contact-info-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.contact-info-item strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.founder-name {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.founder-name span:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.founder-short {
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
}

.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-emails a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-emails a:hover {
    text-decoration: underline;
}

.contact-phone {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-phone a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-phone a:hover {
    text-decoration: underline;
}

.phone-hours {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-info-item a[href^="https"] {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-item a[href^="https"]:hover {
    text-decoration: underline;
}

.contact-info-item span {
    color: var(--gray);
}

.contact-tagline {
    text-align: center;
    margin: 3rem 0 2rem;
}

.tagline-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    font-style: italic;
}

.contact-motto {
    text-align: center;
    margin: 2rem 0;
}

.motto-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.contact-quote {
    text-align: center;
    margin: 3rem 0 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.quote-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.8;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-social a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

/* LunaCore Section */
.lunacore {
    background: linear-gradient(to bottom, var(--white) 0%, #f8fafc 100%);
}

.lunacore-overview {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.lunacore-overview-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
}

.cores-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.cores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.core-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
    text-align: center;
    position: relative;
}

.core-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.core-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.core-icon {
    font-size: 3.5rem;
    margin: 1.5rem 0 1rem;
    display: block;
}

.core-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.core-full-name {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.core-description {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.lcp-section {
    max-width: 800px;
    margin: 0 auto;
}

.lcp-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-align: center;
}

.lcp-header {
    margin-bottom: 1.5rem;
}

.lcp-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.lcp-full-name {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 500;
}

.lcp-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.4;
}

.lcp-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .hero-ctas {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Products Overview Section */
.products-overview {
    background: var(--white);
    padding: 5rem 0;
}

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

.product-overview-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
    text-align: center;
}

.product-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.product-overview-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.product-overview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-overview-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.vision .container {
    position: relative;
    z-index: 1;
}

.vision .section-title {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.vision-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.vision-image-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-image-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.vision-image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    min-height: 300px;
}

.vision-image-item img.vision-placeholder {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    padding: 1rem;
    box-sizing: border-box;
}

.vision-image-item img[src*="data:image/svg"],
.vision-image-item img[src*="svg"] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    padding: 2rem;
    box-sizing: border-box;
}

.vision-image-item:hover img {
    transform: scale(1.1);
}

.vision-quote {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.vision-quote blockquote {
    font-size: 1.75rem;
    font-weight: 600;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    padding: 2.5rem;
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.vision-closing {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
}

.vision-closing-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Vision Subsections */
.vision-subsection {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vision-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vision-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Vietnam Reality - Challenges */
.vision-challenges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    position: relative;
}

.challenge-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.challenge-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.challenge-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 1.5rem 0 1rem;
}

.challenge-points {
    list-style: none;
    padding: 0;
}

.challenge-points li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.challenge-points li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Singapore - Reasons */
.vision-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    position: relative;
}

.reason-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
}

.reason-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.reason-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 1.5rem 0 1rem;
}

.reason-points {
    list-style: none;
    padding: 0;
}

.reason-points li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.reason-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Vietnam Heart */
.vision-vietnam-reasons {
    margin-top: 2rem;
    text-align: center;
}

.reasons-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.vietnam-reasons-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.vietnam-reasons-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.vietnam-reasons-list li::before {
    content: '❤️';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* LAD Location - My Hao, Hung Yen */
.lad-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lad-reason-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.lad-reason-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.lad-reason-number {
    position: absolute;
    top: -20px;
    left: 2.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.lad-reason-content {
    margin-top: 1rem;
}

.lad-reason-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.lad-reason-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.lad-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
}

.lad-conclusion-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dual Strategy */
.dual-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: var(--transition);
}

.strategy-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hq-card:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

.rd-card:hover {
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.3);
}

.strategy-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.strategy-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.strategy-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.strategy-location {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-weight: 500;
}

.strategy-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Development Stages */
.stages-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
    position: relative;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
}

.stage-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 80px;
    position: relative;
    transition: var(--transition);
}

.stage-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stage-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
    position: absolute;
    left: -80px;
}

.stage-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.stage-goals {
    list-style: none;
    padding: 0;
}

.stage-goals li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.05rem;
}

.stage-goals li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Commitment */
.commitment-section {
    text-align: center;
    margin-top: 4rem;
}

.commitment-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-lighter);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features h4,
.product-applications h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.product-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--gray-lighter);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Mission Section */
.mission {
    background: var(--white);
}

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

.mission-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.mission-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission-statement {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.vision-box {
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.vision-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.vision-box p {
    color: var(--gray);
    line-height: 1.7;
}

.mission-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Service Details */
.service-details {
    list-style: none;
    margin-top: 1.5rem;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.service-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Testimonial Avatar Fallback */
.testimonial-avatar {
    position: relative;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-style: italic;
}

/* FAQs Section */
.faqs {
    background: linear-gradient(to bottom, #f8fafc 0%, var(--white) 100%);
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-lighter);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
    padding-top: 1rem;
}

/* Blog Section */
.blog {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-lighter);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    color: var(--gray);
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-lighter);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
}

.blog-author {
    font-size: 0.9rem;
    color: var(--gray);
    padding-top: 1rem;
    border-top: 1px solid var(--gray-lighter);
}

/* Footer Contact */
.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.footer-contact a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .hero-ctas {
        flex-direction: column;
    }

    .about-content,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        min-height: 300px;
    }

    .about-text {
        text-align: center;
    }

    .vision-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .vision-image-item img {
        height: 250px;
    }

    .vision-quote blockquote {
        font-size: 1.4rem;
        padding: 2rem 1.5rem;
    }

    .vision-closing-text {
        font-size: 1.2rem;
    }

    .vision-subsection {
        padding: 2rem 1.5rem;
        margin: 3rem auto;
    }

    .vision-subtitle {
        font-size: 1.5rem;
    }

    .vision-challenges,
    .vision-reasons {
        grid-template-columns: 1fr;
    }

    .dual-strategy-grid {
        grid-template-columns: 1fr;
    }

    .stages-timeline::before {
        left: 20px;
    }

    .stage-card {
        margin-left: 60px;
    }

    .stage-number {
        left: -60px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .commitment-text {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .products-grid,
    .blog-grid,
    .cores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .products-grid,
    .blog-grid,
    .cores-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Products Table of Contents */
.products-toc {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-lighter);
    position: relative;
    overflow: hidden;
}

.products-toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.products-toc .container {
    position: relative;
    z-index: 1;
}

.toc-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.toc-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.toc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid var(--gray-lighter);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.toc-item:hover::before {
    opacity: 1;
}

.toc-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
    color: var(--dark);
}

.toc-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.toc-item:hover .toc-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.toc-content {
    flex: 1;
    position: relative;
    z-index: 1;
    width: 100%;
}

.toc-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    transition: var(--transition);
    line-height: 1.3;
}

.toc-item:hover .toc-content h3 {
    color: var(--primary);
    transform: translateY(-2px);
}

.toc-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    transition: var(--transition);
}

.toc-item:hover .toc-content p {
    color: var(--dark);
}

/* Scroll offset for anchor links */
.product-detail-card {
    scroll-margin-top: 100px;
}

/* Products Detail Page */
.products-detail {
    padding: 4rem 0;
    background: var(--white);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-detail-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-lighter);
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-lighter);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-full-name {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-description-large {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.product-detail-body {
    padding: 3rem;
    background: linear-gradient(to bottom, #f8fafc 0%, var(--white) 100%);
}

.product-detail-body:has(.product-section) {
    display: block;
}

.product-detail-body:not(:has(.product-section)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-features-section h3,
.product-applications-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.applications-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Product Detail Sections */
.product-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.product-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.product-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.5rem 0 1rem;
}

.product-section p {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-lighter);
    color: var(--gray);
    line-height: 1.7;
}

.budget-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.budget-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.budget-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.budget-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.comparison-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left-color: #0ea5e9;
}

.hr-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hr-role-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-lighter);
}

.hr-role-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.role-responsibilities {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.role-responsibilities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.role-responsibilities li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.role-salary,
.role-total {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.role-total {
    font-weight: 600;
    color: var(--dark);
}

.other-costs {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.costs-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.costs-list li {
    padding: 0.75rem 0;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-lighter);
}

.total-hr-cost {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.lunacore-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

.application-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.application-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.application-icon {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* LunaCore Detail Page */
.lunacore-detail {
    padding: 4rem 0;
    background: var(--white);
}

.lunacore-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.lunacore-intro h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.lunacore-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.lunacore-overview-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
}

.cores-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.core-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.core-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.core-detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.core-number-large {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.core-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.core-detail-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.core-detail-body {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.lcp-detail-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.lcp-detail-card h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lcp-detail-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
}

.lcp-detail-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* LunaCore Images */
.lunacore-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.lunacore-image-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.lunacore-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.lunacore-description,
.lunacore-architecture {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 1.5rem 0;
}

/* Core Details */
.core-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0.5rem 0 1.5rem;
    font-style: italic;
}

.core-capabilities,
.core-purpose {
    margin-top: 1.5rem;
}

.core-capabilities h4,
.core-purpose h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.capabilities-list {
    list-style: none;
    padding: 0;
}

.capabilities-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
    line-height: 1.7;
}

.capabilities-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.core-purpose p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* LCP Details */
.lcp-number-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.lcp-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
    margin: 1rem 0 2rem;
}

.lcp-capabilities,
.lcp-purpose {
    margin: 2rem 0;
    text-align: left;
}

.lcp-capabilities h3,
.lcp-purpose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lcp-capabilities .capabilities-list li {
    color: rgba(255, 255, 255, 0.95);
}

.lcp-purpose p {
    font-size: 1.15rem;
    line-height: 1.9;
    opacity: 0.95;
}

/* Why Matters Section */
.why-matters-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    text-align: center;
}

.why-matters-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.why-matters-description {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 600;
}

.why-matters-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.why-matters-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-check {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: bold;
}

.why-matters-feature span:last-child {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
}

.why-matters-closing {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    margin-top: 2rem;
    font-style: italic;
}

/* Blog Listing Page */
.blog-listing {
    padding: 4rem 0;
    background: var(--white);
}

/* Blog Post Page */
.blog-post {
    padding: 4rem 0;
    background: var(--white);
}

.blog-post-article {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--dark);
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-post-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    background: var(--gray-lighter);
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark);
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-navigation {
    margin-top: 4rem;
    text-align: center;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .product-detail-header,
    .product-detail-body {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        height: 300px;
    }

    .cores-grid-full {
        grid-template-columns: 1fr;
    }

    .lcp-detail-card {
        padding: 2.5rem 2rem;
    }

    .blog-post-image {
        height: 300px;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .toc-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .toc-item {
        padding: 2rem 1.5rem;
    }
    
    .toc-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .toc-content h3 {
        font-size: 1.25rem;
    }
    
    .toc-content p {
        font-size: 0.9rem;
    }
}

/* AI Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

.chat-toggle:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.chat-header-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--white);
}

.chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: fadeInUp 0.3s ease-out;
}

.chat-message.user-message {
    flex-direction: row-reverse;
}

.chat-message.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.user-message .message-avatar {
    background: var(--gray);
}

.message-content {
    max-width: 75%;
    padding: 0.875rem 1.125rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 4px;
}

.message-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--dark);
}

.user-message .message-content p {
    color: var(--white);
}

.typing-indicator {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--gray-lighter);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--gray-lighter);
    border-radius: 24px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    background: #f8fafc;
}

.chat-input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.chat-send:active {
    transform: scale(0.95);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Chat Widget */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-toggle {
        width: 56px;
        height: 56px;
    }
    
    .chat-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
        bottom: 75px;
        right: 0;
        border-radius: 16px;
    }
    
    .chat-header {
        padding: 1rem 1.25rem;
    }
    
    .chat-messages {
        padding: 1.25rem;
    }
    
    .chat-input-container {
        padding: 1rem 1.25rem;
    }
}

