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

:root {
    /* Colors */
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --secondary-light: #a78bfa;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(15, 15, 35, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dark: #1a1a2e;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --grad-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --grad-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --grad-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    --grad-bg: radial-gradient(ellipse at top, #1a1a3e 0%, #0a0a1a 60%, #050510 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.3);
    
    /* Layout */
    --container-max: 1280px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-light));
}

/* Selection */
::selection {
    background: var(--primary);
    color: #fff;
}

/* ========== Typography ========== */
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-only {
    display: inline;
}

/* ========== Container ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 14px;
}

/* ========== Loader ========== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    animation: loaderRotate 3s linear infinite;
}

.loader-logo svg {
    width: 100%;
    height: 100%;
}

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

.loader-text {
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 4px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    animation: logoFloat 4s ease-in-out infinite;
}
.logo-icon .logo-img {
    width: 100%;
    height: 100%;
    animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

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

.logo-en {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: var(--grad-primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 10px;
    margin-left: 8px;
    box-shadow: var(--shadow-glow);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.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(7px, -6px);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--grad-bg);
    padding-top: var(--nav-height);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-num {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-unit {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 10%;
    left: 15%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: #ec4899;
    bottom: -5%;
    right: 20%;
    animation-delay: -7s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: 30%;
    left: 50%;
    animation-delay: -3s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(-40px, -20px) scale(1.05); }
}

/* ========== Sections ========== */
.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about {
    background: var(--bg-dark);
}

.products {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.features {
    background: var(--bg-darker);
}

.data-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.partners {
    background: var(--bg-dark);
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--text-primary);
}

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

.about-visual {
    position: relative;
    height: 500px;
}

.about-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.about-card.main-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    text-align: center;
    background: var(--bg-glass);
    border-color: var(--border-light);
    z-index: 2;
}

.about-card.main-card h3 {
    font-size: 1.3rem;
    margin: 16px 0 8px;
}

.about-card.main-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: var(--grad-primary);
    opacity: 0.15;
    filter: blur(15px);
    z-index: -1;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card.sub-card {
    width: 160px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: subCardFloat 6s ease-in-out infinite;
}

.about-card.sub-card .sub-icon {
    font-size: 2rem;
}

.about-card.sub-card span {
    font-size: 0.85rem;
    font-weight: 600;
}

.about-card.card-1 { top: 5%; left: 0; animation-delay: 0s; }
.about-card.card-2 { top: 15%; right: 0; animation-delay: -2s; }
.about-card.card-3 { bottom: 5%; left: 15%; animation-delay: -4s; }

@keyframes subCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.about-content {
    padding-left: 20px;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-row h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feature-row p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== Products Section ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all var(--transition-base);
    overflow: hidden;
    cursor: default;
}

.product-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--grad-primary);
    opacity: 0;
    border-radius: 50%;
    filter: blur(50px);
    transition: opacity var(--transition-base);
    transform: translate(50%, -50%);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.product-card:hover .product-bg {
    opacity: 0.1;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.product-icon svg {
    width: 32px;
    height: 32px;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

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

.product-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.product-card:hover .product-hover-effect {
    transform: scaleX(1);
}

/* ========== Features Section ========== */
.features-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.features-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-num {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    width: 42%;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Timeline Visuals */
.timeline-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chain-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.chain-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: chainPulse 2s ease-in-out infinite;
}

.chain-dots span:nth-child(1) { animation-delay: 0s; background: var(--primary); }
.chain-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--secondary); }
.chain-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--accent); }
.chain-dots span:nth-child(4) { animation-delay: 0.6s; background: #ec4899; }
.chain-dots span:nth-child(5) { animation-delay: 0.8s; background: var(--primary); }
.chain-dots span:nth-child(6) { animation-delay: 1s; background: var(--secondary); }
.chain-dots span:nth-child(7) { animation-delay: 1.2s; background: var(--accent); }
.chain-dots span:nth-child(8) { animation-delay: 1.4s; background: #ec4899; }
.chain-dots span:nth-child(9) { animation-delay: 1.6s; background: var(--primary); }
.chain-dots span:nth-child(10) { animation-delay: 1.8s; background: var(--secondary); }

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

.ai-rings {
    position: relative;
    width: 80px;
    height: 80px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringExpand 3s ease-in-out infinite;
}

.ring-1 { width: 30px; height: 30px; }
.ring-2 { width: 50px; height: 50px; animation-delay: -1s; border-color: var(--secondary); }
.ring-3 { width: 70px; height: 70px; animation-delay: -2s; border-color: var(--accent); }

.ring-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--grad-primary);
    border-radius: 50%;
}

@keyframes ringExpand {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.2; }
}

.security-layers {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 200px;
}

.layer {
    height: 12px;
    border-radius: 6px;
    animation: layerShine 3s ease-in-out infinite;
}

.layer-1 { background: var(--primary); width: 100%; }
.layer-2 { background: var(--secondary); width: 85%; margin-left: auto; }
.layer-3 { background: var(--accent); width: 70%; margin-left: auto; }
.layer-4 { background: #ec4899; width: 55%; margin-left: auto; }

@keyframes layerShine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.ux-waves {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
}

.wave {
    width: 8px;
    border-radius: 4px;
    background: var(--grad-primary);
    animation: waveAnim 1.5s ease-in-out infinite;
}

.wave-1 { height: 20px; animation-delay: 0s; }
.wave-2 { height: 40px; animation-delay: 0.2s; }
.wave-3 { height: 30px; animation-delay: 0.4s; }
.wave-1:nth-of-type(4) { height: 50px; animation-delay: 0.6s; }
.wave-2:nth-of-type(5) { height: 25px; animation-delay: 0.8s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

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

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.data-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.data-chart {
    height: 70px;
    margin-bottom: 16px;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.data-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.data-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.data-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.data-change.positive {
    color: var(--success);
}

/* ========== Partners Section ========== */
.partners-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin: 0 12px;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.partner-logo:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.05);
}

.partner-logo span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== CTA Section ========== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--bg-darker);
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -200px;
    right: -100px;
    animation: orbFloat 18s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -40px); }
    66% { transform: translate(-20px, 30px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

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

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* Nav */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-glass);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 32px;
        gap: 8px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .logo-en {
        display: none;
    }
    
    /* Hero */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-actions {
        margin-bottom: 50px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        height: 400px;
        order: -1;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .about-card.main-card {
        width: 260px;
    }
    
    .about-card.sub-card {
        width: 120px;
        padding: 14px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Features */
    .features-timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-num {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin: 0;
    }
    
    /* Data */
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .data-card {
        padding: 20px;
    }
    
    .data-value {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        width: 140px;
        height: 70px;
    }
    
    .partner-logo span {
        font-size: 0.85rem;
    }
}

/* ========== AOS-like Animations (CSS only fallback) ========== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger delays */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ========== Utility ========== */
.no-scroll {
    overflow: hidden;
}
