/* ==========================================
   心浩智能科技 - 企业官网样式
   深色科技感主题 | Dark Tech Theme
   ========================================== */

/* ========== CSS Variables ========== */
:root {
    /* Colors - Dark Theme */
    --color-bg: #0a0e1a;
    --color-bg-2: #0f1420;
    --color-bg-3: #151b2e;
    --color-surface: #1a2138;
    --color-surface-2: #1e2640;
    --color-border: rgba(99, 102, 241, 0.15);
    --color-border-hover: rgba(0, 212, 255, 0.4);

    --color-text: #e2e8f0;
    --color-text-2: #94a3b8;
    --color-text-3: #64748b;

    --color-primary: #00d4ff;
    --color-secondary: #6366f1;
    --color-accent: #22d3ee;
    --color-purple: #818cf8;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #818cf8 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-sans: "PingFang SC", "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SF Mono", "Fira Code", "Fira Sans Mono", Consolas, monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 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.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);

    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ========== Particle Canvas ========== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ========== Navigation ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.95rem;
    color: var(--color-text-2);
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

.nav-cta:hover {
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.35);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    color: var(--color-primary);
    border-color: var(--color-border-hover);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) var(--space-lg) 4rem;
    z-index: 1;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-text-2);
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-primary);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease 0.1s both;
}

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

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--color-text-2);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

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

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-3);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-3);
    animation: fadeIn 1s ease 0.6s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== Pain Points Section ========== */
.pain-points {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pain-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.pain-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.pain-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ========== Services Section ========== */
.services {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, var(--color-bg-2) 50%, transparent);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    overflow: hidden;
    transition: all var(--transition-slow);
}

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

.service-card-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

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

.service-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.service-icon-wrap {
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-2);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-2);
}

.feature-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin-top: 0.55rem;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* ========== Solution Flow Section ========== */
.solution {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.solution-flow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow-line {
    position: absolute;
    left: 31px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), transparent);
    opacity: 0.3;
}

.flow-step {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
    position: relative;
}

.flow-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.flow-step:hover .step-marker {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    padding-top: 0.75rem;
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ========== Advantages Section ========== */
.advantages {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, var(--color-bg-2) 50%, transparent);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.adv-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.adv-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.adv-card:hover .adv-icon {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.adv-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.adv-card p {
    font-size: 0.9rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ========== About Section ========== */
.about {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-left .section-tag {
    margin-bottom: var(--space-sm);
}

.about-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.about-desc {
    font-size: 0.95rem;
    color: var(--color-text-2);
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-md);
}

.about-tag {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.about-tag:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.about-card:hover {
    border-color: var(--color-border-hover);
    transform: translateX(4px);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(99, 102, 241, 0.08));
    border-color: rgba(0, 212, 255, 0.25);
}

.about-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ========== Consultant / WeChat QR Section ========== */
.consultant {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.04) 40%, transparent);
}

.consultant-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(0, 212, 255, 0.08));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    overflow: hidden;
    position: relative;
}

.consultant-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.consultant-content {
    position: relative;
    z-index: 1;
}

.consultant-content .section-tag {
    margin-bottom: var(--space-sm);
}

.consultant-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.consultant-desc {
    font-size: 1rem;
    color: var(--color-text-2);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.consultant-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.consultant-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.benefit-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
}

.consultant-btn {
    align-self: flex-start;
}

.consultant-qrcode {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.qrcode-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    max-width: 320px;
    width: 100%;
    transition: all var(--transition-base);
}

.qrcode-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.qrcode-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
    color: var(--color-primary);
}

.qrcode-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    padding: 0.75rem;
    margin-bottom: var(--space-sm);
}

.qrcode-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.qrcode-tip {
    font-size: 0.85rem;
    color: var(--color-text-2);
    line-height: 1.5;
}

/* ========== Contact Section ========== */
.contact {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-info-item:hover {
    border-color: var(--color-border-hover);
    transform: translateX(4px);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item h4 {
    font-size: 0.85rem;
    color: var(--color-text-3);
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.contact-info-item p {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: var(--color-bg-3);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--color-bg-2);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-sans);
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-3);
    text-align: center;
    margin-top: 0.5rem;
}

/* ========== Footer ========== */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--color-bg-2);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-2);
    line-height: 1.7;
}

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

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col li {
    font-size: 0.85rem;
    color: var(--color-text-2);
}

.footer-col a {
    color: var(--color-text-2);
    transition: color var(--transition-fast);
}

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

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

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

.footer-bottom a {
    color: var(--color-text-3);
    transition: color var(--transition-fast);
}

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

.footer-sep {
    margin: 0 0.5rem;
    color: var(--color-text-3);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

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

.back-to-top:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grids */
.pain-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.advantage-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.pain-grid .reveal:nth-child(3),
.service-grid .reveal:nth-child(3),
.advantage-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.advantage-grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.advantage-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.advantage-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .service-grid {
        grid-template-columns: 1fr;
    }

    .consultant-wrapper {
        grid-template-columns: 1fr;
    }

    .consultant-content {
        text-align: center;
    }

    .consultant-benefits li {
        justify-content: center;
    }

    .consultant-btn {
        align-self: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-xl);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-cta {
        margin-top: var(--space-sm);
    }

    .nav-toggle {
        display: flex;
    }

    .pain-grid,
    .service-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper,
    .contact-wrapper,
    .consultant-wrapper {
        grid-template-columns: 1fr;
    }

    .consultant-wrapper {
        padding: var(--space-lg);
    }

    .qrcode-card {
        max-width: 280px;
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .stat-divider {
        height: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

::selection {
    background: rgba(0, 212, 255, 0.25);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-surface-2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-hover);
}
