:root {
    /* Colors */
    --bg-dark: #050a14;
    --bg-card: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-accent: #3b82f6;
    --tech-cyan: #06b6d4;
    --human-amber: #f59e0b;
    --error-red: #ef4444;
    --success-green: #22c55e;
    --gradient-fusion: linear-gradient(135deg, var(--tech-cyan), var(--human-amber));
    --border-glass: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.text-accent {
    color: var(--tech-cyan);
}

.highlight-gradient {
    background: var(--gradient-fusion);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--tech-cyan);
    margin-bottom: 1rem;
    background: rgba(6, 182, 212, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--tech-cyan);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    border-color: var(--text-secondary);
    color: var(--text-primary);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.full-width {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 65px; /* Optimal height for header */
    width: auto;
    vertical-align: middle;
}

.footer-brand .logo-img {
    height: 75px; /* Slightly larger in footer */
    margin-bottom: 1rem;
}

.nav-menu {
    display: none; /* Hidden on mobile by default */
}

/* Navigation Desktop Styles */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav-menu,
    .nav-menu.active {
        display: block !important; /* Force show on desktop */
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        z-index: auto;
    }

    .nav-list,
    .nav-menu.active .nav-list {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        gap: 2.5rem;
        text-align: left;
    }

    .nav-link {
        font-size: 1rem;
        font-weight: 600;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--tech-cyan);
        transition: var(--transition-fast);
    }

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

    .nav-cta {
        margin-left: 1rem;
        transition: all 0.3s ease;
    }

    .nav-cta:hover {
    background: var(--human-amber);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Language Switcher */
.lang-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    transition: var(--transition-fast);
    padding: 0.5rem;
}

.lang-toggle:hover {
    color: var(--tech-cyan);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
}

.lang-dropdown-container:hover .lang-menu,
.lang-dropdown-container.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.lang-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--tech-cyan);
}

/* Hero Section */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Nav Active State */
.nav-menu.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.nav-menu.active .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--tech-cyan);
}

.nav-cta {
    color: var(--human-amber);
    font-weight: 600;
    border: 1px solid var(--human-amber);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

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

#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 80%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
    margin-bottom: 0.5rem;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* --- Services Section --- */
.services-section {
    background: var(--bg-card);
    position: relative;
    padding: 6rem 0;
}

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

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--tech-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--tech-cyan);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .icon-box {
    background: var(--tech-cyan);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-list li::before {
    content: "•";
    color: var(--tech-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card:nth-child(2n) .icon-box {
    color: var(--human-amber);
    background: rgba(245, 158, 11, 0.1);
}

.service-card:nth-child(2n):hover {
    border-color: var(--human-amber);
}

.service-card:nth-child(2n):hover .icon-box {
    background: var(--human-amber);
    color: var(--bg-dark);
}

.service-card:nth-child(2n) .service-list li::before {
    color: var(--human-amber);
}

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

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--human-amber);
}

/* --- Trust Strip --- */
.trust-strip {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
    padding: 2rem 0;
    overflow: hidden;
}

.trust-text {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partner Logos */
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--text-primary);
}

.partner-logo i {
    font-size: 1.5rem;
}

.matss-logo-img {
    height: 24px;
    width: auto;
    filter: grayscale(1) brightness(2);
    transition: var(--transition-fast);
}

.partner-logo:hover .matss-logo-img {
    filter: none;
}

.matss-highlight {
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

/* Matss Center Impact Section */
.matss-impact-section {
    background: linear-gradient(to bottom, var(--bg-dark), rgba(15, 23, 42, 0.5));
    padding: 4rem 0;
}

.matss-impact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.matss-impact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-fusion);
}

.matss-impact-header h2 {
    margin: 1rem 0 1.5rem;
    font-size: 2.5rem;
}

.matss-impact-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.matss-impact-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Manifesto Section --- */
.manifesto-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card));
    padding: 6rem 0;
}

.manifesto-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .manifesto-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Special Matss Review Styling */
.matss-special-review {
    border: 2px solid var(--tech-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.matss-review-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-fusion);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
}

.matss-review-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.manifesto-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.manifesto-content p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.manifesto-image-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background-color: var(--bg-dark);
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.manifesto-image-container:hover .responsive-image {
    transform: scale(1.05);
}

/* --- Reviews Section (AMS Style) --- */
.reviews-section {
    background: linear-gradient(135deg, var(--bg-card), #020408);
    padding: 6rem 0;
}

.ams-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    margin-top: 1rem;
}

.ams-rating-badge .stars {
    color: #fbbf24; /* Gold star color */
    font-size: 1.1rem;
}

.ams-rating-badge span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

@media (min-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--tech-cyan);
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tech-cyan);
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.reviewer-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.verified-badge {
    color: #4ade80; /* Green */
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.review-date {
    color: var(--text-secondary);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 4rem;
}

/* --- Minds Section --- */
.minds-section {
    background: var(--bg-dark);
}

.minds-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
}

@media (min-width: 992px) {
    .minds-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.mind-card {
    min-width: 280px;
    flex: 1;
    max-width: 350px;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: transform 0.3s;
    scroll-snap-align: center;
}

.mind-card:hover {
    transform: translateY(-10px);
    border-color: var(--human-amber);
}

.mind-img {
    height: 200px;
    background-size: cover;
    background-position: center top;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.mind-card:hover .mind-img {
    filter: grayscale(0%);
}

.mind-content {
    padding: 1.5rem;
}

.mind-role {
    display: block;
    color: var(--human-amber);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.mind-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-toggle-quiz {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    width: 100%;
}

.btn-toggle-quiz:hover {
    background: var(--tech-cyan);
    color: var(--bg-dark);
}

.quiz-content {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--tech-cyan);
    font-size: 0.9rem;
    animation: slideDown 0.3s ease-out;
}

.quiz-content.hidden {
    display: none;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Spectacular Blog Feed --- */
.blog-container {
    padding-top: 8rem;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .blog-controls {
        flex-direction: row;
        justify-content: space-between;
    }
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-main);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--tech-cyan);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--tech-cyan);
    color: var(--bg-dark);
    border-color: var(--tech-cyan);
}

/* Spectacular Grid Layout */
.spectacular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .spectacular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .spectacular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* First item featured span */
    .spectacular-grid article:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .spectacular-grid article:first-child .blog-img {
        height: 400px;
    }
    
    .spectacular-grid article:first-child h4 {
        font-size: 2rem;
    }
}

.blog-card {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--tech-cyan);
}

.blog-img {
    height: 200px;
    background: #333;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

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

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--human-amber);
    display: block;
    font-weight: 700;
}

.blog-content h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--tech-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.read-more:hover i {
    transform: translateX(5px);
}

.pagination-container {
    text-align: center;
    margin-top: 2rem;
}

/* --- Team Section --- */
.team-preview {
    margin-top: 4rem;
    text-align: center;
}

.team-preview h3 {
    margin-bottom: 2rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    width: 200px;
    transition: var(--transition-fast);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--tech-cyan);
}

.member-img {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}
.team-member:nth-child(1) .member-img { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=300&q=80'); }
.team-member:nth-child(2) .member-img { background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&auto=format&fit=crop&w=300&q=80'); }

.team-member h4 {
    margin-bottom: 0.2rem;
}

.team-member span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Success Stories --- */
.success-section {
    background: var(--bg-dark);
}

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

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(6, 182, 212, 0.1);
    font-family: serif;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author strong {
    display: block;
    color: var(--tech-cyan);
}

.author span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Insights Section (Homepage) --- */
.insights-section {
    background: var(--bg-card);
}

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

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

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

.faq-question i {
    color: var(--tech-cyan);
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(45deg);
    color: var(--human-amber);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* --- Lead Magnet --- */
.lead-magnet-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-card), #020408);
}

.magnet-container {
    text-align: center;
    max-width: 600px;
    border: 1px solid var(--tech-cyan);
    padding: 3rem;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.05);
}

.magnet-content h2 {
    margin-bottom: 1rem;
}

.magnet-content p {
    margin-bottom: 2rem;
}

.magnet-form {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

@media (min-width: 480px) {
    .magnet-form {
        flex-direction: row;
    }
}

/* --- Chatbot Widget --- */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-fusion);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: fadeUp 0.3s ease;
}

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

.chat-header {
    background: var(--bg-dark);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.bot-avatar {
    width: 30px;
    height: 30px;
    background: var(--tech-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

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

.message {
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 85%;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

.message.user {
    background: var(--primary-accent);
    color: var(--bg-dark);
    font-weight: 500;
    align-self: flex-end;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.chat-input button {
    background: var(--tech-cyan);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--bg-dark);
}

/* --- Optimized Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--tech-cyan);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 10, 20, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-cyan);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1);
}

/* Validation Styles */
.form-group input.valid,
.form-group textarea.valid {
    border-color: var(--success-green);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--error-red);
}

.error-msg {
    display: none;
    color: var(--error-red);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s;
}

.form-group input.invalid + .error-msg,
.form-group textarea.invalid + .error-msg {
    display: block;
}

.btn-loader {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.3s;
}

.form-status.hidden {
    display: none;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Intro Section (New) */
.about-intro-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card));
    position: relative;
    z-index: 5;
}

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

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--tech-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--tech-cyan);
    background: rgba(6, 182, 212, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.about-card:nth-child(2) .about-icon {
    color: var(--human-amber);
    background: rgba(245, 158, 11, 0.1);
}

.about-card:nth-child(2):hover {
    border-color: var(--human-amber);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #020408;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1fr;
    }
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer a {
    color: var(--text-secondary);
}

.footer a:hover {
    color: var(--tech-cyan);
}

.footer-contact .contact-links li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact .contact-links li a,
.footer-contact .contact-links li span {
    display: flex;
    gap: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-contact i {
    color: var(--tech-cyan);
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--tech-cyan);
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Optional: Only hide if we are sure animation logic is perfect, otherwise keep visible */
/* For now, ensuring visibility is priority */
body.js-enabled .fade-in-up.hidden-start {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Loader */
.loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-left-color: var(--tech-cyan);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Article Layout */
.article-header {
    text-align: center;
    padding: 4rem 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--tech-cyan);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.article-meta i {
    color: var(--tech-cyan);
    margin-right: 0.5rem;
}

.article-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.article-content {
    max-width: 760px; /* Optimal reading width */
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.article-content p {
    margin-bottom: 2rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-left: 1rem;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--gradient-fusion);
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-content ul, .article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.article-content blockquote {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid var(--human-amber);
    padding: 2rem;
    margin: 3rem 0;
    font-size: 1.25rem;
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

.article-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Author Box */
.article-author {
    max-width: 760px;
    margin: 6rem auto 4rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tech-cyan);
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Navigation Links */
.article-nav {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border-glass);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 45%;
}

.nav-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.nav-item a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-item.prev { text-align: left; }
.nav-item.next { text-align: right; }
