/* ============================================
   灵境科技 - 清爽白色主题主样式表
   Theme: White + Blue + Cyan
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #f8fafc;
    --gradient-main: linear-gradient(135deg, #f0f7ff, #e8f4f8);
    --gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 50%, #e8f4f8 100%);
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-cyan: #0891b2;
    --color-cyan-light: #06b6d4;
    --color-gold: #d97706;
    --color-gold-light: #f59e0b;
    --color-green: #059669;
    --color-green-light: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-white: #ffffff;
    --text-dark: #0f172a;
    --border-color: rgba(37, 99, 235, 0.12);
    --border-glow: rgba(37, 99, 235, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --nav-height: 70px;
    --nav-height-scrolled: 55px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--color-cyan-light);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    color: #334155;
    margin-bottom: 1rem;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    margin: 12px auto 0;
    border-radius: 2px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6), 0 0 40px rgba(37, 99, 235, 0.2);
    color: var(--text-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--color-cyan);
    border: 1.5px solid var(--color-cyan);
}
.btn-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
    color: var(--color-cyan-light);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), #d97706);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5), 0 0 40px rgba(245, 158, 11, 0.2);
    color: var(--text-dark);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    height: var(--nav-height-scrolled);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
}

.navbar-brand:hover {
    color: var(--text-white);
}

.navbar-brand span {
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.08);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 580px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s infinite;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 40%; left: 85%; animation-delay: 1s; width: 6px; height: 6px; }
.hero-particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.hero-particle:nth-child(4) { top: 80%; left: 75%; animation-delay: 3s; width: 3px; height: 3px; }
.hero-particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; width: 5px; height: 5px; }
.hero-particle:nth-child(6) { top: 70%; left: 40%; animation-delay: 5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.6;
    }
}

/* Hero Layout - Two Columns */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 40px 0;
    width: 100%;
}

/* Left: Text Content */
.hero-text {
    flex: 1 1 50%;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    color: var(--color-cyan);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Right: Visual Content */
.hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 450px;
    overflow: hidden;
}

.hero-image-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 420px;
}

.hero-image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    aspect-ratio: 4 / 3;
}

.hero-image-item:nth-child(1) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover effect */
.hero-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

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

/* Placeholder when no images */
.hero-image-placeholder {
    width: 100%;
    max-width: 480px;
}

.hero-image-item.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.5);
    border: 2px dashed rgba(37,99,235,0.2);
    aspect-ratio: 4 / 3;
    min-height: 220px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-image-item.placeholder {
    animation: none;
}

.placeholder-icon {
    font-size: 2.8rem;
    margin-bottom: 6px;
    opacity: 0.4;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
}

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

.hero-stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gold), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ---------- Services Section ---------- */
.services {
    background: var(--bg-primary);
    position: relative;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-cyan);
    font-weight: 500;
}

.service-card .service-link:hover {
    gap: 10px;
}

/* ---------- Product Card Extensions ---------- */
.product-card-image {
    margin: -36px -28px 16px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    max-height: 180px;
}

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

.product-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.product-price {
    margin: 12px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-original {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* ---------- Feature List ---------- */
.feature-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.feature-more {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.feature-more::before {
    display: none;
}

/* ---------- FAQ Category ---------- */
.faq-category {
    margin-bottom: 40px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* ---------- Statistics Section ---------- */
.statistics {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.2;
}

.stat-item .stat-suffix {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
    display: block;
}

.stat-item .stat-desc {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
    margin-top: 4px;
}

/* ---------- About Section ---------- */
.about {
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-text .about-features {
    margin-top: 24px;
}

.about-text .about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-text .about-features li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image .about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-image .about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.06));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.2);
}

.about-image .about-experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-gold), #d97706);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.about-image .about-experience-badge span:first-child {
    font-size: 1.6rem;
    line-height: 1;
}

.about-image .about-experience-badge span:last-child {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 2px;
}

/* ---------- Team Section ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg);
}

.team-card .team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--color-cyan);
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card .team-role {
    color: var(--color-cyan);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-card .team-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-cyan), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--color-cyan);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--color-cyan);
}

.timeline-item .timeline-date {
    font-size: 0.85rem;
    color: var(--color-cyan);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-item h4 {
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(6, 182, 212, 0.03));
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-item[open] {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    list-style: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
}

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

.faq-question .faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--color-cyan);
    flex-shrink: 0;
}

.faq-item[open] .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 18px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.7;
}

/* ---------- News Section ---------- */
.news {
    background: var(--bg-primary);
}

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

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.news-card .news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg);
}

/* News Meta (date + category inline) */
.news-card .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-card .news-meta .news-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.news-card .news-meta .news-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(6, 182, 212, 0.08);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
}

/* ---------- News Card Body ---------- */
.news-card .news-body {
    padding: 20px;
}

.news-card .news-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card .news-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.news-card .news-body .news-read-more {
    font-size: 0.85rem;
    color: var(--color-cyan);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-card .news-body .news-read-more:hover {
    gap: 8px;
}

/* ---------- Contact Section ---------- */
.contact {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(6, 182, 212, 0.03));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Contact Form Wrapper */
.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-form-wrapper .form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form-wrapper .form-control::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.contact-form-wrapper textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Contact Info Wrapper - same card style as form */
.contact-info-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details .contact-label {
    min-width: 72px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    flex-shrink: 0;
    padding-top: 1px;
}

.contact-details li span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Legacy contact styles */
.contact-info > p {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-social a:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--color-primary);
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-submit {
    width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.site-footer .footer-brand .footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.site-footer .footer-brand .footer-logo span {
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-footer .footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 20px;
}

.site-footer .footer-social {
    display: flex;
    gap: 10px;
}

.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.site-footer .footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.site-footer .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.site-footer .footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.site-footer .footer-col ul li a:hover {
    color: var(--color-cyan);
    padding-left: 4px;
}

.site-footer .footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.site-footer .footer-bottom p {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.75);
    margin-bottom: 0;
}

.site-footer .footer-contact li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.3), 0 0 10px rgba(37, 99, 235, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.5), 0 0 40px rgba(37, 99, 235, 0.2);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.animate-glow {
    animation: glow 3s infinite;
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ---------- Page Banner (Space Theme) ---------- */
.page-banner-space {
    position: relative;
    padding: 120px 0 80px;
    margin-top: calc(-1 * var(--nav-height));
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(30, 64, 175, 0.35), transparent),
        radial-gradient(ellipse 50% 40% at 85% 30%, rgba(6, 182, 212, 0.2), transparent),
        radial-gradient(ellipse 40% 30% at 50% 80%, rgba(139, 92, 246, 0.15), transparent),
        linear-gradient(135deg, #0a1628 0%, #0f2847 30%, #162544 55%, #0a1628 100%);
}

.page-banner-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1.5px 1.5px at 40% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 70% 25%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 35% 85%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 5% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 80% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 45% 10%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 95% 35%, rgba(255,255,255,0.6), transparent);
    pointer-events: none;
}

.page-banner-space .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.1) 50%, rgba(10, 22, 40, 0.4) 100%);
    pointer-events: none;
}

.page-banner-space .container {
    position: relative;
    z-index: 1;
}

.page-banner-space .banner-content {
    text-align: center;
    padding-top: 30px;
}

.page-banner-space .banner-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-banner-space .banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Section Wrappers (Homepage) ---------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-footer-link {
    text-align: center;
    margin-top: 40px;
}

.section-footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-cyan);
    font-weight: 500;
    font-size: 1rem;
}

.section-footer-link a:hover {
    color: var(--color-cyan-light);
    gap: 12px;
}

.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff, #f8fafc);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.news-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* ---------- Button Secondary ---------- */
.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--text-white);
}

/* ---------- Breadcrumb (below banner) ---------- */
.breadcrumb-wrapper {
    background: #fff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding: 12px 0;
}

.breadcrumb-wrapper .container {
    display: flex;
    align-items: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    list-style: none;
}

.breadcrumb-item {
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--color-cyan-light);
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 8px;
    color: rgba(148, 163, 184, 0.4);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* ---------- News Categories ---------- */
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    list-style: none;
}

.news-categories li a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition);
}

.news-categories li a:hover,
.news-categories li a.active {
    color: var(--text-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    border-color: transparent;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    list-style: none;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pagination li a:hover {
    color: var(--color-cyan);
    border-color: rgba(37, 99, 235, 0.3);
}

.pagination li.active a {
    color: var(--text-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    border-color: transparent;
}

/* ---------- Entity Info (About page) ---------- */
.entity-info {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.entity-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 32px;
}

.entity-info dt {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.entity-info dd {
    color: var(--text-secondary);
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
}

.entity-info dl dt:last-of-type,
.entity-info dl dd:last-of-type {
    border-bottom: none;
}

/* ---------- Section Divider ---------- */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    margin: 0;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
    background: linear-gradient(90deg,
        rgba(37, 99, 235, 0.05) 0%,
        rgba(37, 99, 235, 0.1) 50%,
        rgba(37, 99, 235, 0.05) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--text-dark);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.35);
}

/* ---------- Utility ---------- */
.text-muted {
    color: var(--text-secondary);
    font-size: 1rem;
}