:root {
    --primary-color: #6a11cb; /* Universe Purple */
    --primary-hover: #5a0eb3;
    --secondary-color: #2575fc; /* Tech Blue */
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border-color: #e1e1e1;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: #fff;
}

.text-white {
    color: #fff !important;
}

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

.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

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

section:not(.bg-dark) .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

section:not(.bg-dark) .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.w-100 { width: 100%; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 50px; /* Adjust based on navbar height (80px) */
    width: auto;
    object-fit: contain;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-text .cn {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-text .en {
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    background-color: #f0f2f5; /* Fallback color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Ensure video doesn't overflow */
}

/* Video Background (Removed, replaced by Canvas) */
.hero-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #f0f2f5; /* Base color */
}

/* Overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%); /* Softer gradient overlay */
    z-index: 1;
    pointer-events: none;
}

/* Abstract Tech Background Shape (Removed or Adjusted if video is present, let's hide it for video version) */
.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2; /* Increased z-index to sit above video and overlay */
    max-width: 800px;
    text-align: left; /* Align text to left as per design screenshot implies, or keep center? Screenshot shows left/center mix. Let's keep existing or adjust. */
    margin-bottom: 60px; /* Ensure space between content and stats */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align content elements */
}

/* Adjust text alignment for hero content */
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 40px;
    text-align: left;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-stats {
    position: relative; /* Changed from absolute */
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    gap: 50px; /* Reduced gap slightly for better fit */
    background: #fff;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 2;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--light-text);
}

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

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

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

.section-header p {
    color: var(--light-text);
    margin-bottom: 15px;
}

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

.core-strengths {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.strength {
    text-align: center;
}

.strength i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.placeholder-img {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #999;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e1e1e1;
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item .year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Products Section */
.comparison-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.compare-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.compare-card.traditional {
    border-top: 5px solid #ccc;
}

.compare-card.ai-solution {
    border-top: 5px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.15);
}

.vs-badge {
    background: #333;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
}

.compare-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Agents Showcase Section */
.agents-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agent-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.1);
    border-color: rgba(106, 17, 203, 0.3);
}

.agent-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.agent-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.agent-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.agent-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; /* Pushes list to bottom if heights vary */
}

.agent-features {
    list-style: none;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.agent-features li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agent-features li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* News Card Styles */
.news-card {
    border-left: 4px solid var(--primary-color);
}

.case-tag {
    display: inline-block;
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.news-card h4 {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Video Card Styles */
.case-img {
    height: 200px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-cover {
    position: relative;
    cursor: pointer;
}

.video-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: var(--transition);
}

.video-cover:hover::before {
    background: rgba(0,0,0,0.1);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 2;
    transition: var(--transition);
}

.video-cover:hover .play-btn {
    transform: scale(1.1);
    background: #fff;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 2;
}

.case-info {
    padding: 20px;
}

/* Digital Human Card */
.digital-human-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e1e1e1;
    position: relative;
    width: 100%; /* Ensure full width */
}

.dh-video-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Landscape ratio */
    background: #000;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#dh-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill container, crop if needed, no black bars */
    background: #000 url('../images/dh-poster.jpg') no-repeat center center / cover; /* Fallback poster */
}

.dh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
    transition: opacity 0.3s;
}

/* Hide overlay elements when playing, but keep controls accessible if needed */
.dh-video-container.playing .dh-overlay {
    opacity: 0;
    pointer-events: none; /* Let clicks pass through to video */
}

/* Show pause button on hover when playing */
.dh-video-container.playing:hover .dh-overlay {
    opacity: 1;
    pointer-events: auto;
}

.dh-controls-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dh-fullscreen-btn {
    align-self: flex-end;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.dh-fullscreen-btn:hover {
    background: var(--primary-color);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 0 0 5px #000;
}

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

.dh-status {
    align-self: flex-start;
    background: rgba(0,0,0,0.6);
    color: #00ff88;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dh-play-btn {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.dh-play-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.voice-wave {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    height: 20px;
    align-items: flex-end;
}

.voice-wave span {
    width: 3px;
    background: var(--primary-color);
    animation: wave 1s infinite ease-in-out;
}

.voice-wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 15px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 15px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { height: 5px; opacity: 0.5; }
    50% { height: 20px; opacity: 1; }
}

.dh-info {
    padding: 20px;
    background: #f9f9f9;
}

.dh-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dh-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-style: italic;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-link {
    display: block;
}

.news-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-date {
    background: var(--primary-color);
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 80px;
    position: absolute; /* Relative to card logic if needed, but here simple flow is better. Let's make it part of card header or float */
    /* Let's try a different layout: Date on left, content on right? Or Date badge on top image? 
       Actually, let's keep it simple: Date badge inside content or separate block. */
    /* Revision: Let's put date as a badge on top left of card content area */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-right-radius: 12px;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
}

.news-content {
    padding: 20px;
    padding-top: 50px; /* Space for date badge */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.news-item-card .news-date {
    position: absolute;
    top: 0;
    left: 0;
}

.news-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.read-more-btn {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.news-item-card:hover .read-more-btn {
    text-decoration: underline;
}

/* Responsive for News */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Placeholder Chart (Replaced by Digital Human, but keeping class for other potential usages or cleanup) */
.placeholder-chart {
    height: 300px;
    background: #fff;
    border: 1px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

/* Partners Section */
.partner-categories {
    display: none; /* Hide categories as requested */
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns like in the image */
    gap: 30px;
    padding: 20px;
}

.logo-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Make it square */
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: #999;
    font-size: 0.8rem;
    transition: var(--transition);
}

.logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive for Logo Wall */
@media (max-width: 992px) {
    .logo-wall {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Resources Section */
.resource-nav .btn-filter {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
}

.resource-nav .btn-filter.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.res-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-feed {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-color); /* Note: on dark bg this might need tweak, but using white text for section */
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form input.error, .contact-form select.error {
    border-color: #ff4444;
}

/* Footer */
.main-footer {
    background: #000;
    color: #666;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - var(--nav-height)); /* Full height minus header */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding-bottom: 50px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }

    .nav-cta {
        display: none; /* Hide CTA button in header on mobile, rely on Hero CTA */
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats { 
        position: static; 
        transform: none; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 20px; 
        margin-top: 30px; 
        width: 100%;
        padding: 20px;
    }

    .stat-item {
        width: 45%; /* 2 items per row */
    }

    /* Grids to Single Column */
    .about-grid, 
    .features-grid-6, 
    .agents-showcase, 
    .modules-grid, 
    .cases-grid, 
    .resources-grid, 
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Logo Wall - 2 cols on mobile */
    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Smaller gap on mobile */
        padding: 10px;
    }

    /* Modules */
    .modules-grid { 
        grid-template-rows: auto; 
    }

    /* Comparison Box */
    .comparison-box { 
        flex-direction: column; 
    }
    
    .vs-badge { 
        transform: rotate(90deg); 
        margin: 20px 0;
    }

    /* Adjustments */
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 100px; /* More space for header */
    }
}

/* Hamburger Icon Styles */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}
