/* ===========================================
   梅宝泰科技 - Premium Product Showcase
   =========================================== */

/* CSS Variables */
:root {
    --primary-dark: #0a1628;
    --primary-navy: #0f1f3d;
    --accent-blue: #4f8fff;
    --accent-cyan: #00d4ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-warm: #f59e0b;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1a2e;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-dark-bg: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --gradient-warm: linear-gradient(135deg, var(--accent-warm), var(--accent-pink));
    --shadow-glow: 0 0 40px rgba(79, 143, 255, 0.3);
    --font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

.logo-icon.large {
    font-size: 2.5rem;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px var(--accent-cyan)); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 20px var(--accent-cyan)); }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-text.large {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
    background: var(--glass-bg);
}

.nav-link-cta {
    background: var(--gradient-primary);
    color: var(--text-light) !important;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(79, 143, 255, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(0, 212, 255, 0.15), transparent),
        linear-gradient(180deg, var(--primary-dark), var(--primary-navy));
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(79, 143, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 143, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-up 10s linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(79, 143, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.5);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Product Sections */
.product-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dark-bg {
    background: linear-gradient(180deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
}

.light-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.warm-bg {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #1a1528 50%, var(--primary-navy) 100%);
}

.bg-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.accent-1 { width: 600px; height: 600px; background: var(--accent-blue); top: -200px; right: -200px; }
.accent-2 { width: 400px; height: 400px; background: var(--accent-purple); bottom: -100px; left: -100px; }
.accent-3 { width: 500px; height: 500px; background: var(--accent-cyan); top: -150px; left: -150px; opacity: 0.2; }
.accent-4 { width: 400px; height: 400px; background: var(--accent-purple); bottom: -100px; right: -100px; opacity: 0.15; }
.accent-5 { width: 500px; height: 500px; background: var(--accent-warm); top: -150px; right: -150px; opacity: 0.2; }
.accent-6 { width: 400px; height: 400px; background: var(--accent-pink); bottom: -100px; left: -100px; opacity: 0.15; }

.product-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.product-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.product-tag.dark {
    color: var(--accent-blue);
    background: rgba(79, 143, 255, 0.1);
    border-color: rgba(79, 143, 255, 0.2);
}

.product-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-title.dark {
    background: linear-gradient(135deg, var(--text-dark), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.product-subtitle.dark {
    color: rgba(26, 26, 46, 0.6);
}

.product-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.product-intro.dark {
    color: rgba(26, 26, 46, 0.8);
}

.product-intro strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Product Showcase */
.product-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse > * {
    direction: ltr;
}

/* Visual Elements - Testing */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-testing {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 30px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.grid-node {
    width: 40px;
    height: 40px;
    background: rgba(79, 143, 255, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(79, 143, 255, 0.3);
    animation: node-pulse 3s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.1s);
}

.grid-node.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan);
    animation: node-active 2s ease-in-out infinite;
}

@keyframes node-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes node-active {
    0%, 100% { box-shadow: 0 0 20px var(--accent-cyan); }
    50% { box-shadow: 0 0 40px var(--accent-cyan), 0 0 60px var(--accent-blue); }
}

.testing-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-cyan);
    border-radius: 20px;
    opacity: 0;
    animation: pulse-ring 3s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.testing-label {
    position: absolute;
    bottom: -40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Visual Elements - Data */
.visual-data {
    position: relative;
    width: 350px;
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(79, 143, 255, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.data-chart {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 150px;
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px 8px 0 0;
    animation: bar-grow 2s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.15s);
    transform-origin: bottom;
    transform: scaleY(0);
}

@keyframes bar-grow {
    to { transform: scaleY(1); }
}

.data-line {
    position: absolute;
    top: 40px;
    left: 30px;
    right: 30px;
    height: 100px;
}

.line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-path {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw-line 2s ease forwards 0.5s;
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}

.data-shield {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Visual Elements - Elderly */
.visual-elderly {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.care-circle {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate-gentle 20s linear infinite;
}

.care-circle.outer {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.care-circle.middle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation-direction: reverse;
}

.care-circle.inner {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-pink));
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
}

@keyframes rotate-gentle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.care-heart {
    font-size: 3rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.care-orbit {
    position: absolute;
    width: 320px;
    height: 320px;
    animation: rotate-gentle 30s linear infinite reverse;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle)));
    backdrop-filter: blur(10px);
    animation: rotate-gentle 30s linear infinite;
}

.care-pulse {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px solid var(--accent-warm);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 4s ease-out infinite;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.features-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .features-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid.three-col {
        grid-template-columns: 1fr;
    }
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-glow);
}

.glass-card.dark-card {
    background: var(--glass-dark-bg);
    border-color: rgba(79, 143, 255, 0.2);
}

.glass-card.dark-card:hover {
    background: rgba(0, 0, 0, 0.3);
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-shape {
    width: 30px;
    height: 30px;
    position: relative;
}

.icon-flow::before, .icon-flow::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.icon-flow::before {
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.icon-flow::after {
    width: 12px;
    height: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 0;
    background: transparent;
    border-right: 4px solid white;
    border-top: 4px solid white;
}

.icon-ai::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid white;
    border-radius: 50%;
}

.icon-ai::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-analyze::before, .icon-analyze::after {
    content: '';
    position: absolute;
    background: white;
}

.icon-analyze::before {
    width: 20px;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-analyze::after {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.icon-report::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid white;
    border-radius: 4px;
}

.icon-report::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: white;
    top: 30%;
    left: 20%;
    box-shadow: 0 8px 0 white, 0 16px 0 white;
}

.icon-regression::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid white;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.icon-predict::before {
    content: '';
    position: absolute;
    inset: 0;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
}

.icon-predict::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: white;
    bottom: 30%;
    left: 40%;
    transform: rotate(-30deg);
}

.icon-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8px;
    height: 60%;
    background: white;
    box-shadow: 12px 0 0 80% white, 24px 0 0 40% white;
}

.icon-chat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50% 50% 50% 0;
}

.icon-alert::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid white;
    border-radius: 50%;
}

.icon-alert::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.dark-card h3 {
    color: var(--text-dark);
}

.dark-card p {
    color: rgba(26, 26, 46, 0.7);
}

/* Features Highlight */
.features-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card {
    width: 100%;
    max-width: 500px;
}

.security-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(79, 143, 255, 0.1));
    border-color: rgba(0, 212, 255, 0.3);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-size: 1rem;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Features Modules */
.features-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .features-modules {
        grid-template-columns: 1fr;
    }
}

.module-card {
    padding: 1.5rem;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-icon {
    font-size: 2rem;
}

.module-header h3 {
    font-size: 1.25rem;
    color: var(--text-light);
}

.module-card > p {
    color: var(--text-muted);
    line-height: 1.6;
}

.module-list {
    list-style: none;
    margin-top: 0.5rem;
}

.module-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.module-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Case Studies */
.case-studies {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.cases-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cases-title.dark {
    color: var(--text-dark);
}

.title-icon {
    color: var(--accent-cyan);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.case-icon {
    font-size: 1.5rem;
}

.case-type {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.case-client {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.case-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.dark-card .case-type {
    color: var(--accent-blue);
}

.dark-card .case-client {
    color: var(--text-dark);
}

.dark-card .case-desc {
    color: rgba(26, 26, 46, 0.7);
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 12px;
}

.dark-card .metric {
    background: rgba(79, 143, 255, 0.1);
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-suffix {
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.dark-card .metric-label {
    color: rgba(26, 26, 46, 0.6);
}

.metric-change {
    display: block;
    font-size: 0.75rem;
    color: #10b981;
    margin-top: 0.25rem;
}

.metric.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 212, 255, 0.2));
}

.metric-icon {
    display: block;
    font-size: 1.5rem;
    color: #10b981;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    position: relative;
    padding: 6rem 0 2rem;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.footer-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(79, 143, 255, 0.2), transparent),
        linear-gradient(180deg, var(--primary-navy), var(--primary-dark));
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
    }
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-contact h3, .footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-item {
        justify-content: center;
    }
}

.contact-icon {
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-showcase.reverse {
        direction: ltr;
    }

    .features-highlight {
        justify-content: center;
    }

    .highlight-card {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-testing, .visual-data, .visual-elderly {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .product-section {
        padding: 5rem 0;
    }
    
    .feature-card, .module-card, .case-card {
        padding: 1.5rem;
    }
    
    .case-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* Print styles */
@media print {
    .navbar, .scroll-indicator, .hero-particles, .hero-grid {
        display: none;
    }
    
    .hero, .product-section, .footer {
        break-inside: avoid;
    }
}
