:root {
    --primary-color: #1a6dfc;
    --primary-dark: #0f5bd6;
    --secondary-color: #00d2ff;
    --accent-color: #ff4d4f;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f0f6ff;
    --bg-dark: #0a1e3f;
    --bg-dark-alt: #112240;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(26, 109, 252, 0.15);
    --shadow-glow: 0 0 20px rgba(26, 109, 252, 0.4);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1200px;
    --header-height: 70px;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row; /* Reset flex direction for header container */
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(26, 109, 252, 0.1);
    font-size: 14px;
}

.back-home-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ===============================
   Homepage Styles (Restored)
   =============================== */

/* Section Padding */
.section {
    padding: 60px 0;
}

/* Banner */
.banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: var(--header-height);
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Filter Section */
.filter-container {
    margin-bottom: 40px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.filter-row {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    justify-content: center; /* Center buttons within group */
    gap: 15px;
    flex-wrap: wrap;
    width: 100%; /* Ensure group takes full width to allow centering */
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap; /* Prevent label from breaking */
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons */
}

.filter-btn {
    padding: 8px 20px; /* Slightly larger buttons */
    border: 1px solid #e0e0e0;
    border-radius: 6px; /* Rectangular with rounded corners instead of pill */
    background: #f9f9f9;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(26, 109, 252, 0.2);
}

/* Case Grid */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

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

@media (max-width: 900px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.case-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show full image */
    background-color: #f0f0f0; /* Add background for empty space */
    transition: transform 0.5s ease;
}

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

.case-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

.case-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.case-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
}

.view-more-icon {
    transition: transform 0.3s ease;
}

.case-card:hover .view-more-icon {
    transform: translateX(5px);
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.view-more-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #555;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-more-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: var(--white);
    margin: 40px 0 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ===============================
   Fullpage Scroll Core
   =============================== */
html.fullpage-active,
body.fullpage-active {
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

#fullpage-container {
    transition: transform 800ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    width: 100%;
    height: 100vh;
}

.fp-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: var(--header-height);
}

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

.section-subtitle {
    display: block;
    font-size: 12px;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.bg-dark .section-title,
.bg-dark-alt .section-title {
    color: var(--white);
}

.bg-dark .section-subtitle,
.bg-dark-alt .section-subtitle {
    color: #4da6ff;
}

.bg-dark .section-desc,
.bg-dark-alt .section-desc {
    color: #b3c7f7;
}

/* Background Utilities */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
.bg-dark-alt { background-color: var(--bg-dark-alt); color: var(--white); }

.bg-pattern {
    background-image: radial-gradient(#e1e8f5 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-color: var(--white);
}
.section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 20px;
    border-radius: 2px;
}

/* ===============================
   Entrance Animations
   =============================== */
/* Base state: Hidden and offset */
.animate-up, .animate-in, .animate-left, .animate-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-up { transform: translateY(50px); }
.animate-in { transform: scale(0.9); }
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }

/* Active state: Visible and reset transform */
.fp-section.active .animate-up { opacity: 1; transform: translateY(0); }
.fp-section.active .animate-in { opacity: 1; transform: scale(1); }
.fp-section.active .animate-left { opacity: 1; transform: translateX(0); }
.fp-section.active .animate-right { opacity: 1; transform: translateX(0); }

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }

/* ===============================
   1. Banner Section
   =============================== */
.ai-banner {
    background: radial-gradient(circle at 50% 50%, #1a2a4a 0%, #000c24 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    padding-top: 0 !important; /* Center vertically without header offset */
}

.ai-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.tech-grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(26, 109, 252, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 109, 252, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

.glowing-orb {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26,109,252,0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.ai-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 120px; /* Ensure sufficient spacing from top nav (>80px) */
}

.ai-banner-text {
    flex: 1;
    max-width: 600px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #4da6ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 25px;
    margin-top: 40px; /* Added margin-top to avoid overlap with header */
    backdrop-filter: blur(5px);
}

.ai-banner-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #4da6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-subtitle {
    font-size: 18px;
    color: #b3c7f7;
    margin-bottom: 30px;
    font-weight: 300;
}

.ai-stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 12px;
    color: #8fa3cf;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.1);
}

.ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.ai-tags span {
    font-size: 14px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-tags span i {
    color: var(--primary-color);
}

.btn-group {
    display: flex;
    gap: 15px;
}

.ai-cta-btn {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 109, 252, 0.4);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 109, 252, 0.5);
}

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

.outline-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.ai-banner-visual {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tech Ring Animation */
.tech-ring-container {
    width: 400px;
    height: 400px;
    position: relative;
}

.tech-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(26, 109, 252, 0.3);
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-top-color: var(--primary-color);
    animation: spin 10s linear infinite;
}

.ring-2 {
    width: 300px;
    height: 300px;
    border-bottom-color: var(--secondary-color);
    border-left-color: rgba(255,255,255,0.1);
    animation: spin 15s linear infinite reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(255,255,255,0.1);
    animation: pulse 4s ease-in-out infinite;
}

.tech-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--white);
    text-shadow: 0 0 20px var(--primary-color);
}

.floating-card {
    position: absolute;
    background: rgba(20, 30, 60, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(26, 109, 252, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.card-1 { top: 10%; right: 20%; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: 20%; left: 10%; animation: float 7s ease-in-out infinite 1s; }
.card-3 { bottom: 10%; right: 10%; animation: float 8s ease-in-out infinite 2s; }

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* ===============================
   2. Intro Section
   =============================== */
.intro-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.intro-feat-item {
    display: flex;
    gap: 15px;
}

.feat-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 109, 252, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feat-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feat-info p {
    font-size: 13px;
    color: #777;
}

/* Dashboard Mockup */
.intro-visual {
    flex: 1;
}

.dashboard-mockup {
    background: #1e1e2f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid #333;
    width: 100%;
    max-width: 500px;
}

.mockup-header {
    background: #2a2a3c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    color: #888;
    font-size: 12px;
}

.mockup-body {
    display: flex;
    height: 300px;
}

.mockup-sidebar {
    width: 60px;
    background: #252535;
    border-right: 1px solid #333;
}

.mockup-main {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-video-feed {
    flex: 2;
    background: #000;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a 100%);
    background-size: 20px 20px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: scan 3s linear infinite;
}

@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.target-box {
    position: absolute;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 10px;
}

.target-box span {
    position: absolute;
    top: -16px;
    left: 0;
    background: var(--secondary-color);
    color: #000;
    padding: 0 4px;
}

.box-1 { top: 30%; left: 20%; width: 60px; height: 100px; }
.box-2 { top: 50%; right: 30%; width: 100px; height: 60px; border-color: #ff4d4f; }
.box-2 span { background: #ff4d4f; color: #fff; }

.mockup-charts {
    flex: 1;
    display: flex;
    gap: 10px;
}

.chart-bar {
    flex: 1;
    background: #252535;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chart-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: var(--primary-color);
    opacity: 0.5;
}

/* ===============================
   3. Advantages
   =============================== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.adv-card {
    height: 100%;
}

.adv-card-inner {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

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

.adv-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 109, 252, 0.1) 0%, rgba(26, 109, 252, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.adv-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
}

.adv-list {
    margin-bottom: 20px;
}

.adv-list li {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adv-list li i {
    color: var(--secondary-color);
    font-size: 12px;
}

.adv-detail {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin-top: auto; /* Push to bottom */
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

/* ===============================
   4. Scenarios
   =============================== */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scenario-item {
    position: relative;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.scenario-img {
    width: 100%;
    height: 100%;
    background-color: #1a1e2e; /* Fallback color */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.scenario-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    color: var(--white);
    transform: translateY(40px);
    transition: var(--transition);
}

.scenario-item:hover .scenario-content {
    transform: translateY(0);
}

.scenario-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.scenario-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--white); /* Ensure title is white in dark section */
}

.scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.scenario-tags li {
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.scenario-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 109, 252, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

/* .scenario-item:hover .scenario-overlay {
    opacity: 1;
} */
/* Actually, let's keep the content visible and not full overlay */
.scenario-overlay { display: none; }

/* ===============================
   5. Comparison
   =============================== */
.comparison-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.comparison-card.ai-system {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.status-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.status-badge.bad { background: #fee; color: #f5222d; }
.status-badge.good { background: #e6f7ff; color: #1890ff; }

.comp-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.comp-list li {
    margin-bottom: 20px;
}

.comp-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.comp-bar-bg {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.comp-bar {
    height: 100%;
    background: #d9d9d9;
    border-radius: 4px;
}

.comp-bar.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.comp-desc {
    font-size: 12px;
    color: #999;
}

.vs-badge {
    background: #eee;
    color: #999;
    font-weight: 900;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 3;
    margin: 0 -25px; /* Overlap */
}

/* ===============================
   6. Problems
   =============================== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.prob-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.prob-icon-box.red { background: #fff1f0; color: #f5222d; }
.prob-icon-box.orange { background: #fff7e6; color: #fa8c16; }
.prob-icon-box.purple { background: #f9f0ff; color: #722ed1; }
.prob-icon-box.blue { background: #e6f7ff; color: #1890ff; }

.prob-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.prob-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.solution-tag {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
}

/* ===============================
   7. Highlights
   =============================== */
.ai-highlights {
    background: #0a1e3f;
    color: var(--white);
}

.text-white { color: var(--white); }
.text-primary { color: var(--primary-color); }

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

.hl-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hl-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hl-item.right-align {
    justify-content: flex-end;
    text-align: right;
}

.hl-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.hl-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.hl-text p {
    font-size: 14px;
    color: #aaa;
}

/* Core Animation */
.hl-center {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hl-core-circle {
    width: 200px;
    height: 200px;
    position: relative;
    border: 1px solid rgba(26, 109, 252, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-inner {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--primary-dark), #000);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(26, 109, 252, 0.5);
    z-index: 2;
}

.core-inner i { font-size: 40px; color: var(--secondary-color); margin-bottom: 5px; }
.core-inner span { font-size: 12px; color: #fff; font-weight: 700; letter-spacing: 1px; }

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.dot-1 { top: 0; left: 50%; transform-origin: 0 100px; animation: orbit 4s linear infinite; }
.dot-2 { top: 50%; right: 0; transform-origin: -100px 0; animation: orbit 6s linear infinite; }
.dot-3 { bottom: 0; left: 50%; transform-origin: 0 -100px; animation: orbit 8s linear infinite; }

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

/* ===============================
   8. Architecture
   =============================== */
.arch-container {
    max-width: 900px;
    margin: 0 auto;
}

.arch-row {
    display: flex;
    gap: 20px;
}

.arch-label {
    width: 80px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 10px 0;
}

.arch-content {
    flex: 1;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.arch-box {
    text-align: center;
    font-size: 14px;
    color: #333;
}

.arch-box i {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.arch-group {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    min-width: 120px;
}

.arch-group.highlight {
    background: rgba(26, 109, 252, 0.1);
    border: 1px solid var(--primary-color);
}

.arch-group span {
    font-size: 12px;
    color: #666;
}

.arch-connector {
    text-align: center;
    color: #ccc;
    font-size: 16px;
    margin: 5px 0;
}

.algo-tag {
    background: #e6f7ff;
    color: #1890ff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid #91d5ff;
}

.arch-device {
    text-align: center;
    font-size: 13px;
    color: #555;
}
.arch-device i {
    font-size: 20px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

/* ===============================
   9. Process
   =============================== */
.process-pipeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.pipeline-step {
    flex: 1;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.pipe-icon {
    width: 60px;
    height: 60px;
    background: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 24px;
}

.pipe-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.pipe-content p {
    font-size: 12px;
    color: #888;
}

.pipe-arrow {
    color: #ddd;
    font-size: 24px;
    margin: 0 15px;
}

/* ===============================
   10. Footer
   =============================== */
.footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 40px 0 20px;
}

/* Fullpage Footer Specifics */
.footer.fp-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    padding-bottom: 40px; /* Add some space at bottom */
}

/* Footer container overrides in fullpage */
.footer.fp-section .container {
    height: auto;
    justify-content: flex-end;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 16px;
    text-align: center;
    font-size: 14px;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(26, 109, 252, 0.1) 0%, rgba(26, 109, 252, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 40px; /* Increased top/bottom padding by 10px each to increase height by 20px */
    margin-bottom: 50px; /* Increased margin-bottom by 10px to move it up visually relative to bottom elements, or we use transform */
    transform: translateY(-10px); /* Move up by 10px */
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(26, 109, 252, 0.05);
    transition: var(--transition);
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
    font-weight: 300;
    max-width: 500px;
}

.footer-cta-decoration {
    position: absolute;
    right: 25%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 180px;
    color: var(--primary-color);
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.footer-cta-actions {
    position: relative;
    z-index: 2;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 15px var(--primary-color);
}

.footer-cta:hover {
    border-color: rgba(26, 109, 252, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(26, 109, 252, 0.1);
    transform: translateY(-12px); /* Maintain hover lift effect relative to new base position (-10px - 2px) */
}

.footer-cta:hover .footer-cta-decoration {
    transform: translateY(-50%) scale(1.1) rotate(5deg);
    opacity: 0.06;
    transition: all 0.5s ease;
}

.footer-cta h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #e6e6e6;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.footer-btn i { 
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-btn:hover i {
    transform: scale(1.1);
}

.footer-btn.primary { 
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff; 
    border: none;
    box-shadow: 0 4px 15px rgba(26, 109, 252, 0.3);
}

.footer-btn.primary:hover { 
    background: linear-gradient(135deg, #2e7bff 0%, #1a6dfc 100%);
    box-shadow: 0 8px 25px rgba(26, 109, 252, 0.5);
    transform: translateY(-2px);
}

.social-links { display: flex; gap: 12px; }
.social-links a { color: #ccc; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #333; transition: var(--transition); }
.social-links a:hover { color: #fff; border-color: #555; transform: translateY(-2px); }

/* ===============================
   Responsive
   =============================== */
@media (max-width: 1024px) {
    .ai-banner-content { flex-direction: column; text-align: center; }
    .ai-banner-visual { display: none; }
    .ai-banner-text { max-width: 100%; }
    .btn-group { justify-content: center; }
    .ai-tags { justify-content: center; }
    .intro-content-wrapper { flex-direction: column; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-container { flex-direction: column; height: auto; }
    .comparison-card { width: 100%; height: auto; }
    .vs-badge { margin: 20px 0; transform: rotate(90deg); }
    .highlights-layout { flex-direction: column; gap: 40px; }
    .hl-center { order: -1; }
    .hl-col { width: 100%; text-align: center; }
    .hl-item { justify-content: center !important; text-align: center !important; flex-direction: column; }
    .process-pipeline { flex-direction: column; gap: 20px; }
    .pipe-arrow { transform: rotate(90deg); }
    .arch-row { flex-direction: column; }
    .arch-label { width: 100%; height: 40px; writing-mode: horizontal-tb; }
    
    /* Disable Fullpage on mobile for better UX */
    html.fullpage-active,
    body.fullpage-active { overflow: auto; height: auto; }
    #fullpage-container { height: auto; transform: none !important; }
    .fp-section { height: auto; padding: 60px 0; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } /* Simplified mobile menu logic needs JS */
    .scenario-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-cta { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
    .footer-cta-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
    .section-title { font-size: 28px; }
}
