/* ========================================
   高芯教育 - 样式表
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-blue: #2467ec;
    --primary-dark: #1a4db3;
    --primary-light: #4a85f7;
    --accent-orange: #ff6b35;
    --bg-light: #0a0e1a;
    --bg-dark: #050810;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #e8ecf8;
    --text-medium: #a8b0c8;
    --text-light: #6a7490;
    --border-gray: #1e2840;
    --success-green: #22c55e;
    --error-red: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2467ec 0%, #4a85f7 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #050810 100%);
    --gradient-text: linear-gradient(135deg, #2467ec 0%, #ff6b35 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(36, 103, 236, 0.3);
}

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

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

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea {
    font-family: inherit;
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary-blue);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    transition: all 0.4s var(--ease-expo-out);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding: 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s var(--ease-expo-out);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-expo-out);
    box-shadow: 0 4px 12px rgba(36, 103, 236, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 103, 236, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s var(--ease-expo-out);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-expo-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mobile-nav-cta {
    padding: 14px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.gradient-mesh {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(36, 103, 236, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(74, 133, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 40%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}

/* Neural Network Image */
.neural-network-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-svg {
    width: 90%;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 30px rgba(36, 103, 236, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-expo-out);
    box-shadow: 0 4px 16px rgba(36, 103, 236, 0.35);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(36, 103, 236, 0.45);
}

.hero-cta svg {
    transition: transform 0.3s var(--ease-expo-out);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.visual-card {
    position: absolute;
    background: rgba(14, 20, 40, 0.8);
    border: 1px solid rgba(36, 103, 236, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(36, 103, 236, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s var(--ease-expo-out);
    animation: cardFloat 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.visual-card:hover {
    transform: translateZ(30px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

.visual-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(36, 103, 236, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.section-header.light {
    color: var(--white);
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.brand-name {
    display: block;
    font-size: 0.6em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

/* ========================================
   Culture Section
   ======================================== */
.culture {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #050810 0%, #0a0e1a 100%);
    position: relative;
}

.culture-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.culture-card {
    background: rgba(14, 20, 40, 0.6);
    border: 1px solid rgba(36, 103, 236, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s var(--ease-expo-out);
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-expo-out);
}

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.culture-card:hover::before {
    transform: scaleX(1);
}

.culture-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

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

.culture-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.culture-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ========================================
   Technology Section
   ======================================== */
.technology {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
}

.tech-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.tech-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 48px;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255);
}

/* Tech Visual */
.tech-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-window {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.code-header {
    background: #2d2d44;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-title {
    font-size: 0.8125rem;
    color: #7a7a9a;
    font-family: 'Monaco', 'Consolas', monospace;
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8125rem;
    line-height: 1.8;
}

.code-content code {
    color: #e4e4e7;
}

.code-key { color: #ff79c6; }
.code-string { color: #f1fa8c; }
.code-number { color: #bd93f9; }

.tech-decoration {
    position: absolute;
    inset: -40px;
    z-index: 1;
    pointer-events: none;
}

.tech-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(36, 103, 236, 0.2);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    animation: rotate 20s linear infinite;
}

.tech-lines {
    position: absolute;
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: 
        linear-gradient(90deg, rgba(36, 103, 236, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(36, 103, 236, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #050810 0%, #0a0e1a 50%, #050810 100%);
    position: relative;
    overflow: hidden;
}

/* Meteor Shower Effect */
.meteor-shower {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.meteor {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(-45deg);
    opacity: 0;
    animation: meteorFall 3s linear infinite;
}

.meteor::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px #2467ec, 0 0 30px #2467ec;
}

@keyframes meteorFall {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-500px) translateY(500px) rotate(-45deg);
    }
}

.solutions-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.solutions-tabs {
    position: relative;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s var(--ease-expo-out);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(36, 103, 236, 0.15);
}

.tab-btn.active {
    color: #ffffff;
    background: rgba(36, 103, 236, 0.25);
    box-shadow: 0 0 20px rgba(36, 103, 236, 0.3);
}

.tab-contents {
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s var(--ease-expo-out);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.solution-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(36, 103, 236, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.solution-stats {
    display: flex;
    gap: 40px;
}

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

.solution-stat .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.solution-stat .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Solution Visual */
.solution-image {
    display: flex;
    justify-content: center;
}

.solution-card-visual {
    width: 380px;
    height: 320px;
    background: linear-gradient(145deg, rgba(14, 20, 40, 0.9) 0%, rgba(5, 8, 16, 0.95) 100%);
    border: 1px solid rgba(36, 103, 236, 0.3);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(36, 103, 236, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.solution-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(36, 103, 236, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Tech Grid Background */
.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(36, 103, 236, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 103, 236, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(36, 103, 236, 0.8), transparent);
    animation: dataFlow 2s linear infinite;
}

.data-line:nth-child(1) { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.data-line:nth-child(2) { top: 40%; width: 40%; left: -40%; animation-delay: 0.5s; }
.data-line:nth-child(3) { top: 60%; width: 80%; left: -80%; animation-delay: 1s; }
.data-line:nth-child(4) { top: 80%; width: 50%; left: -50%; animation-delay: 1.5s; }

@keyframes dataFlow {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(400px); opacity: 0; }
}

/* Connection Nodes */
.connection-nodes {
    position: relative;
    width: 200px;
    height: 150px;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(36, 103, 236, 0.8);
    animation: nodePulse 2s ease-in-out infinite;
}

.node:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.node:nth-child(2) { top: 30%; left: 60%; animation-delay: 0.3s; }
.node:nth-child(3) { top: 60%; left: 30%; animation-delay: 0.6s; }
.node:nth-child(4) { top: 80%; left: 70%; animation-delay: 0.9s; }
.node:nth-child(5) { top: 45%; left: 45%; animation-delay: 1.2s; }

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

/* Node Connections */
.node-connections {
    position: absolute;
    inset: 0;
}

.node-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(36, 103, 236, 0.3), rgba(36, 103, 236, 0.8), rgba(36, 103, 236, 0.3));
    transform-origin: left center;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Orbit Animation */
.orbit-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(36, 103, 236, 0.3);
    border-radius: 50%;
    animation: orbitRotate 10s linear infinite;
}

.orbit-ring:nth-child(1) { inset: 0; animation-duration: 15s; }
.orbit-ring:nth-child(2) { inset: 20px; animation-duration: 10s; animation-direction: reverse; }
.orbit-ring:nth-child(3) { inset: 40px; animation-duration: 8s; }

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

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(36, 103, 236, 0.8);
}

.orbit-ring:nth-child(1) .orbit-dot { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-ring:nth-child(2) .orbit-dot { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-ring:nth-child(3) .orbit-dot { top: 50%; right: 0; transform: translateY(-50%); }

/* Circuit Pattern */
.circuit-pattern {
    position: relative;
    width: 200px;
    height: 160px;
}

.circuit-line {
    position: absolute;
    background: rgba(36, 103, 236, 0.4);
}

.circuit-line.horizontal {
    height: 2px;
}

.circuit-line.vertical {
    width: 2px;
}

.circuit-junction {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(36, 103, 236, 0.8);
    animation: junctionPulse 1.5s ease-in-out infinite;
}

@keyframes junctionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Digital Wave */
.digital-wave {
    position: relative;
    width: 220px;
    height: 100px;
}

.wave-bar {
    position: absolute;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, rgba(36, 103, 236, 0.8), rgba(36, 103, 236, 0.2));
    border-radius: 4px 4px 0 0;
    animation: waveBar 1.5s ease-in-out infinite;
}

@keyframes waveBar {
    0%, 100% { height: 20%; }
    50% { height: 80%; }
}

/* ========================================
   Cases Section
   ======================================== */
.cases {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

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

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-orange);
    bottom: -150px;
    right: -150px;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

.cases-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

.case-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s var(--ease-expo-out);
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(36, 103, 236, 0.2);
}

.case-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.case-stat {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.case-quote {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 24px;
}

.quote-mark {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-author .author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
}

.case-author .author-name {
    font-weight: 600;
    color: var(--white);
}

.case-author .author-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
    overflow: hidden;
}

.testimonials-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Marquee Slider */
.testimonials-marquee {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 25s linear infinite;
}

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

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

.testimonial-card {
    flex: 0 0 380px;
    background: rgba(14, 20, 40, 0.6);
    border: 1px solid rgba(36, 103, 236, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s var(--ease-expo-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 103, 236, 0.4);
    box-shadow: 0 8px 32px rgba(36, 103, 236, 0.15);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-blue);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .author-avatar {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

.testimonial-author .author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
}

.testimonial-author .author-tag {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

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

.wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    opacity: 0.3;
}

.wave-pattern svg {
    width: 100%;
    height: 100%;
}

.stats-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

.stats-item {
    text-align: center;
    color: var(--white);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stats-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #050810 0%, #0a0e1a 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at bottom right, rgba(36, 103, 236, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(36, 103, 236, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-value a:hover {
    color: var(--primary-blue);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(14, 20, 40, 0.6);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(36, 103, 236, 0.2);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(36, 103, 236, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s var(--ease-smooth);
    background: rgba(5, 8, 16, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(36, 103, 236, 0.2);
    background: rgba(5, 8, 16, 0.8);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s var(--ease-expo-out);
    box-shadow: 0 4px 16px rgba(36, 103, 236, 0.35);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 103, 236, 0.45);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
    color: #ffffff;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(36, 103, 236, 0.2);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s var(--ease-expo-out);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a,
.footer-contact li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
    color: #ffffff;
}

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

.copyright {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-legal a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s var(--ease-smooth);
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        display: none;
    }
    
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-image {
        order: -1;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        text-align: center;
    }
    
    .solution-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Animation Utilities
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-expo-out);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}