/* ========================================
   Truzo 官网全局样式 - v1.2版本
   苹果mac浅色风格 + 本地工作系统内容
   支持深色/浅色主题切换
   ======================================== */

/* CSS变量定义 - 浅色主题（默认） */
:root {
    --apple-bg-primary: #FFFFFF;
    --apple-bg-secondary: #F5F5F7;
    --apple-bg-tertiary: #EFF1F3;
    --apple-bg-hover: #E8EAED;
    --apple-text-primary: #1D1D1F;
    --apple-text-secondary: #6E6E73;
    --apple-text-tertiary: #86868B;
    --apple-text-subtitle: #8C8C90;
    --apple-text-link: #0066CC;
    --truzo-primary: #4A90E2;
    --truzo-primary-light: #7CB0F5;
    --truzo-primary-dark: #3672C9;
    --apple-success: #34C759;
    --apple-error: #FF3B30;
    --apple-warning: #FF9500;
    --apple-border: #E5E5E7;
    --apple-border-hover: #D2D2D7;
    --primary-color: #4A90E2;
    --primary-dark: #3672C9;
    --primary-light: #7CB0F5;
    --white: #FFFFFF;
    --bg-dark: #F5F5F7;
    --bg-light: #FFFFFF;
    --bg-card: #F5F5F7;
    --text-primary: #1D1D1F;
    --text-heading: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-muted: #86868B;
    --text-light: #1D1D1F;
    --border-color: #E5E5E7;
    --border-light: #E5E5E7;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(74, 144, 226, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --header-height: 80px;
    --container-width: 1200px;
}

/* 深色主题 */
[data-theme="dark"] {
    --apple-bg-primary: #000000;
    --apple-bg-secondary: #1C1C1E;
    --apple-bg-tertiary: #2C2C2E;
    --apple-bg-hover: #3A3A3C;
    --apple-text-primary: #FFFFFF;
    --apple-text-secondary: #98989D;
    --apple-text-tertiary: #8E8E93;
    --apple-text-subtitle: #636366;
    --apple-text-link: #5AC8FA;
    --truzo-primary: #5AC8FA;
    --truzo-primary-light: #7DD4FB;
    --truzo-primary-dark: #4AB8EA;
    --apple-success: #30D158;
    --apple-error: #FF453A;
    --apple-warning: #FF9F0A;
    --apple-border: #38383A;
    --apple-border-hover: #48484A;
    --primary-color: #5AC8FA;
    --primary-dark: #4AB8EA;
    --primary-light: #7DD4FB;
    --white: #000000;
    --bg-dark: #1C1C1E;
    --bg-light: #000000;
    --bg-card: #2C2C2E;
    --text-primary: #FFFFFF;
    --text-heading: #FFFFFF;
    --text-secondary: #98989D;
    --text-muted: #8E8E93;
    --text-light: #FFFFFF;
    --border-color: #38383A;
    --border-light: #38383A;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(90, 200, 250, 0.2);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--apple-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 玻璃拟态效果 */
.glass-card {
    background: rgba(74, 144, 226, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
}

[data-theme="dark"] .glass-card {
    background: rgba(90, 200, 250, 0.08);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
}

[data-theme="dark"] .glass-card-light {
    background: rgba(28, 28, 30, 0.95);
}

/* 通用布局类 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background: var(--apple-bg-secondary);
    color: var(--text-primary);
}

.section-gradient {
    background: var(--apple-bg-secondary);
    color: var(--text-primary);
}

.section-bg-light {
    background: var(--apple-bg-primary);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

.section-dark .section-subtitle {
    color: var(--apple-text-subtitle);
}

/* 粒子背景动画 */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--truzo-primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* 电路纹理背景 */
.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(74, 144, 226, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .circuit-bg {
    background-image: 
        linear-gradient(rgba(90, 200, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 200, 250, 0.03) 1px, transparent 1px);
}

/* 头部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--truzo-primary), var(--truzo-primary-light));
    border-radius: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    -webkit-text-fill-color: var(--text-secondary);
    margin-left: 8px;
}

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

.nav-link {
    font-size: 15px;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--truzo-primary), var(--truzo-primary-light));
    transition: width var(--transition-fast);
}

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

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

.nav-link.active {
    color: var(--truzo-primary);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--truzo-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.25);
}

/* 主题切换按钮 */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--apple-bg-secondary);
    border: 1px solid var(--apple-border);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-left: 16px;
}

.theme-toggle:hover {
    background: var(--apple-bg-tertiary);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: all var(--transition-fast);
    border-radius: 2px;
}

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

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

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

/* Hero区域 */
.hero {
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    background: var(--apple-bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero .particles-bg {
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - var(--header-height));
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 55%;
    max-width: 600px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 20px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.hero-slogan {
    font-size: 20px;
    font-weight: 600;
    color: var(--truzo-primary);
    margin-bottom: 40px;
    padding: 12px 24px;
    background: rgba(74, 144, 226, 0.08);
    border-radius: var(--border-radius);
    display: inline-block;
}

[data-theme="dark"] .hero-slogan {
    background: rgba(90, 200, 250, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--truzo-primary);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.25);
    background: var(--truzo-primary-dark);
}

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

.btn-outline:hover {
    background: var(--truzo-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.2);
}

.hero-visual {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    max-width: 560px;
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .hero-mockup {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--apple-border);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--apple-bg-tertiary);
    border-bottom: 1px solid var(--apple-border);
}

.mockup-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot-red { background: #FF5F57; }
.mockup-dot-yellow { background: #FFBD2E; }
.mockup-dot-green { background: #28CA41; }

.mockup-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.mockup-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

.mockup-badge-local {
    background: rgba(74, 144, 226, 0.1);
    color: var(--truzo-primary);
}

.mockup-badge-count {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Stats cards */
.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--apple-border);
}

.mockup-stat-card {
    background: var(--apple-bg-secondary);
    border: 1px solid var(--apple-border);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
    transition: all var(--transition-fast);
}

.mockup-stat-card:hover {
    border-color: var(--truzo-primary-light);
}

.mockup-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.mockup-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.mockup-stat-desc {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.mockup-stat-risk {
    border-color: rgba(255, 149, 0, 0.3);
    background: rgba(255, 149, 0, 0.04);
}

.mockup-stat-risk .mockup-stat-number {
    color: var(--apple-warning);
}

/* Task list */
.mockup-tasks {
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.mockup-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--apple-bg-secondary);
    border: 1px solid var(--apple-border);
    border-radius: 8px;
    gap: 10px;
    transition: all var(--transition-fast);
}

.mockup-task:hover {
    border-color: var(--apple-border-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mockup-task-risk {
    border-color: rgba(255, 59, 48, 0.25);
    background: rgba(255, 59, 48, 0.03);
}

.mockup-task-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.mockup-task-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mockup-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.mockup-tag-pending {
    background: rgba(255, 149, 0, 0.12);
    color: var(--apple-warning);
}

.mockup-tag-followup {
    background: rgba(74, 144, 226, 0.1);
    color: var(--truzo-primary);
}

.mockup-tag-project {
    background: rgba(52, 199, 89, 0.1);
    color: var(--apple-success);
}

.mockup-tag-done {
    background: rgba(142, 142, 147, 0.15);
    color: var(--text-muted);
}

.mockup-tag-risk {
    background: rgba(255, 59, 48, 0.12);
    color: var(--apple-error);
}

.mockup-task-title {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-task-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.mockup-task-time-warn {
    color: var(--apple-warning);
}

.mockup-task-time-done {
    color: var(--apple-success);
}

.mockup-task-time-risk {
    color: var(--apple-error);
    font-weight: 500;
}

/* Progress bar */
.mockup-progress {
    width: 50px;
    height: 6px;
    background: var(--apple-border);
    border-radius: 3px;
    overflow: hidden;
}

.mockup-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--truzo-primary), var(--apple-success));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* AI suggestion */
.mockup-ai {
    padding: 12px 18px;
    border-top: 1px solid var(--apple-border);
    background: rgba(74, 144, 226, 0.03);
}

[data-theme="dark"] .mockup-ai {
    background: rgba(90, 200, 250, 0.05);
}

.mockup-ai-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.mockup-ai-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    color: var(--truzo-primary);
}

.mockup-ai-icon svg {
    width: 16px;
    height: 16px;
}

.mockup-ai-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--truzo-primary);
}

.mockup-ai-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 6px;
}

.mockup-ai-link {
    font-size: 12px;
    color: var(--truzo-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mockup-ai-link:hover {
    color: var(--truzo-primary-dark);
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: rgba(74, 144, 226, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--apple-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-illustration {
    background: rgba(90, 200, 250, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-illustration::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px dashed rgba(74, 144, 226, 0.15);
    border-radius: 16px;
    animation: borderRotate 20s linear infinite;
}

[data-theme="dark"] .hero-illustration::before {
    border-color: rgba(90, 200, 250, 0.2);
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-illustration-content {
    text-align: center;
    color: var(--text-primary);
    padding: 40px;
}

.hero-illustration-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--truzo-primary), var(--truzo-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.25);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(74, 144, 226, 0.25);
    }
    50% {
        box-shadow: 0 10px 60px rgba(74, 144, 226, 0.35);
    }
}

.hero-illustration-icon svg {
    width: 50px;
    height: 50px;
    fill: #fff;
}

.hero-illustration-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Chip标签 */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--apple-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    font-size: 13px;
}

[data-theme="dark"] .chip {
    background: rgba(28, 28, 30, 0.8);
}

.chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--truzo-primary);
}

/* 核心定位区域 */
.positioning {
    padding: 60px 0;
    background: var(--apple-bg-primary);
}

.positioning-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.positioning-card {
    background: var(--apple-bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid var(--apple-border);
    transition: all var(--transition-normal);
}

.positioning-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--truzo-primary-light);
}

.positioning-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.positioning-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.positioning-card-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.positioning-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--truzo-primary), var(--truzo-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* Hero标题小号 */
.hero-title-sm {
    font-size: 36px !important;
}

/* 核心优势卡片 */
.advantage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.advantage-card {
    background: var(--apple-bg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--truzo-primary), var(--truzo-primary-light));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--truzo-primary-light);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

[data-theme="dark"] .advantage-card:hover {
    box-shadow: 0 20px 40px rgba(90, 200, 250, 0.1);
}

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

.advantage-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

[data-theme="dark"] .advantage-card-icon {
    background: linear-gradient(135deg, rgba(90, 200, 250, 0.15), rgba(90, 200, 250, 0.08));
    border-color: rgba(90, 200, 250, 0.2);
}

.advantage-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--truzo-primary);
}

.advantage-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.advantage-card-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 场景卡片 */
.scenario-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scenario-card {
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
}

.scenario-card:hover {
    transform: translateY(-4px);
    border-color: var(--truzo-primary-light);
    box-shadow: var(--shadow-medium);
}

.scenario-card-index {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.scenario-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.scenario-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 流程列表 */
.flow-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow-list-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.flow-item {
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.flow-item:hover {
    border-color: var(--truzo-primary-light);
    box-shadow: var(--shadow-light);
}

.step-index {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.flow-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.flow-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 时间线 */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.timeline-item {
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-normal);
}

.timeline-item:hover {
    border-color: var(--truzo-primary-light);
    transform: translateY(-4px);
}

.timeline-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 12px;
}

/* 面板网格 */
.panel-grid {
    display: grid;
    gap: 20px;
}

.panel-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.panel-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.panel {
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.panel:hover {
    border-color: var(--truzo-primary-light);
    box-shadow: var(--shadow-light);
}

.panel h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.panel p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 联系卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--apple-bg-primary);
    border: 1px solid var(--apple-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--truzo-primary-light);
    box-shadow: var(--shadow-medium);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* 分割网格布局 */
.split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

/* 页面头部 */
.page-hero {
    padding: 120px 0 60px;
    margin-top: var(--header-height);
    text-align: center;
    background: var(--apple-bg-secondary);
}

.page-hero-single {
    padding: 120px 0 60px;
    margin-top: var(--header-height);
    text-align: left;
    background: var(--apple-bg-secondary);
}

.page-hero-single .container {
    max-width: 800px;
}

.page-hero-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 内容区域 */
.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-head {
    margin-bottom: 40px;
}

.section-kicker {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--apple-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .section-kicker {
    background: rgba(28, 28, 30, 0.8);
}

.section-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

/* CTA区域 */
.cta-section {
    background: var(--apple-bg-secondary);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(22, 93, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 93, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

[data-theme="dark"] .footer::before {
    background-image: 
        linear-gradient(rgba(90, 200, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 200, 250, 0.03) 1px, transparent 1px);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--apple-border);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--truzo-primary) 0%, var(--truzo-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-icp {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-contact {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-visual {
        flex: 0 0 35%;
    }

    .hero-illustration {
        max-width: 350px;
    }

    .advantage-cards,
    .scenario-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .panel-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .flow-list-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }

    [data-theme="dark"] .nav-menu {
        background: var(--apple-bg-secondary);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        color: #fff;
        font-size: 16px;
    }

    [data-theme="dark"] .nav-link {
        color: var(--text-primary);
        border-bottom-color: var(--apple-border);
    }

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

    .hamburger {
        display: flex;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 16px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-visual {
        flex: none;
        width: 100%;
    }

    .hero-mockup {
        max-width: 100%;
    }

    .mockup-stats {
        padding: 10px 14px;
        gap: 8px;
    }

    .mockup-stat-card {
        padding: 8px 8px;
    }

    .mockup-stat-number {
        font-size: 20px;
    }

    .mockup-stat-desc {
        font-size: 9px;
    }

    .mockup-tasks {
        padding: 10px 14px;
        gap: 6px;
        max-height: none;
    }

    .mockup-task {
        padding: 8px 10px;
    }

    .mockup-task:nth-child(n+5) {
        display: none;
    }

    .mockup-task-title {
        font-size: 12px;
    }

    .mockup-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .mockup-task-time {
        font-size: 10px;
    }

    .mockup-ai {
        padding: 10px 14px;
    }

    .hero-illustration {
        max-width: 280px;
    }

    .positioning-cards,
    .advantage-cards,
    .scenario-cards {
        grid-template-columns: 1fr;
    }

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

    .panel-grid.cols-2,
    .panel-grid.cols-3,
    .panel-grid.cols-4 {
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .page-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

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

    .btn {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   Web 1.1 visual refresh
   深色科技官网风格：评估平台感、数据面板、精密网格
   ======================================== */

:root,
[data-theme="dark"] {
    --apple-bg-primary: #071018;
    --apple-bg-secondary: #0c1620;
    --apple-bg-tertiary: #111f2c;
    --apple-bg-hover: #172c38;
    --apple-text-primary: #f4fbff;
    --apple-text-secondary: #a9bac6;
    --apple-text-tertiary: #78909f;
    --apple-text-subtitle: #7e929f;
    --apple-text-link: #51e6ce;
    --truzo-primary: #51e6ce;
    --truzo-primary-light: #b6f56a;
    --truzo-primary-dark: #1aa8f7;
    --apple-success: #b6f56a;
    --apple-error: #ff6b88;
    --apple-warning: #ffbf5c;
    --apple-border: rgba(146, 220, 217, 0.18);
    --apple-border-hover: rgba(81, 230, 206, 0.48);
    --primary-color: #51e6ce;
    --primary-dark: #1aa8f7;
    --primary-light: #b6f56a;
    --white: #071018;
    --bg-dark: #05090f;
    --bg-light: #071018;
    --bg-card: rgba(13, 25, 35, 0.82);
    --text-primary: #f4fbff;
    --text-heading: #f9fdff;
    --text-secondary: #a9bac6;
    --text-muted: #78909f;
    --text-light: #f4fbff;
    --border-color: rgba(146, 220, 217, 0.18);
    --border-light: rgba(146, 220, 217, 0.14);
    --shadow-light: 0 18px 44px rgba(0, 0, 0, 0.22);
    --shadow-medium: 0 24px 70px rgba(0, 0, 0, 0.34);
    --shadow-glow: 0 0 36px rgba(81, 230, 206, 0.22);
    --border-radius: 6px;
    --border-radius-lg: 8px;
    --header-height: 72px;
}

[data-theme="light"] {
    --apple-bg-primary: #f7fbfc;
    --apple-bg-secondary: #eef6f7;
    --apple-bg-tertiary: #e4eef1;
    --apple-bg-hover: #dcebef;
    --apple-text-primary: #10202a;
    --apple-text-secondary: #526a75;
    --apple-text-tertiary: #6f838d;
    --apple-text-subtitle: #6f838d;
    --apple-text-link: #087d78;
    --truzo-primary: #087d78;
    --truzo-primary-light: #4b8f00;
    --truzo-primary-dark: #126ea5;
    --apple-success: #4b8f00;
    --apple-error: #ca3558;
    --apple-warning: #ad6b00;
    --apple-border: rgba(8, 125, 120, 0.18);
    --apple-border-hover: rgba(8, 125, 120, 0.38);
    --primary-color: #087d78;
    --primary-dark: #126ea5;
    --primary-light: #4b8f00;
    --white: #ffffff;
    --bg-dark: #10202a;
    --bg-light: #f7fbfc;
    --bg-card: rgba(255, 255, 255, 0.86);
    --text-primary: #10202a;
    --text-heading: #10202a;
    --text-secondary: #526a75;
    --text-muted: #6f838d;
    --text-light: #10202a;
    --border-color: rgba(8, 125, 120, 0.18);
    --border-light: rgba(8, 125, 120, 0.12);
    --shadow-light: 0 18px 44px rgba(14, 45, 58, 0.12);
    --shadow-medium: 0 24px 70px rgba(14, 45, 58, 0.18);
    --shadow-glow: 0 0 32px rgba(8, 125, 120, 0.15);
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 18% 10%, rgba(182, 245, 106, 0.08), transparent 24rem),
        radial-gradient(circle at 82% 18%, rgba(26, 168, 247, 0.12), transparent 28rem),
        linear-gradient(180deg, var(--apple-bg-primary), #05090f 62%, var(--apple-bg-primary));
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 10%, rgba(75, 143, 0, 0.08), transparent 24rem),
        radial-gradient(circle at 82% 18%, rgba(18, 110, 165, 0.11), transparent 28rem),
        linear-gradient(180deg, var(--apple-bg-primary), #eef6f7 62%, var(--apple-bg-primary));
}

.container {
    max-width: 1180px;
}

.header {
    height: var(--header-height);
    background:
        linear-gradient(180deg, rgba(5, 9, 15, 0.88), rgba(5, 9, 15, 0.5));
    border-bottom: 1px solid rgba(146, 220, 217, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

[data-theme="light"] .header {
    background: rgba(247, 251, 252, 0.82);
}

.header.scrolled,
[data-theme="dark"] .header.scrolled {
    background: rgba(5, 9, 15, 0.92);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

[data-theme="light"] .header.scrolled {
    background: rgba(247, 251, 252, 0.9);
    box-shadow: 0 10px 34px rgba(14, 45, 58, 0.1);
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
    background: linear-gradient(135deg, var(--text-heading), var(--truzo-primary) 60%, var(--truzo-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
}

.logo::after {
    display: none;
}

.logo-subtitle {
    margin-left: 0;
    font-size: 11px;
    letter-spacing: 0;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.nav-menu {
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(146, 220, 217, 0.12);
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.5);
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.72);
}

.nav-link {
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 14px;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-heading);
    background: rgba(81, 230, 206, 0.12);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--text-heading);
    background: rgba(8, 125, 120, 0.1);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.7);
    border-color: rgba(146, 220, 217, 0.16);
    color: var(--truzo-primary);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.72);
}

.hero,
.page-hero {
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(5, 9, 15, 0.94), rgba(7, 16, 24, 0.67) 48%, rgba(5, 9, 15, 0.96)),
        url("../assets/tech-field.jpg") center / cover no-repeat;
}

[data-theme="light"] .hero,
[data-theme="light"] .page-hero {
    background:
        linear-gradient(90deg, rgba(247, 251, 252, 0.92), rgba(247, 251, 252, 0.72) 48%, rgba(238, 246, 247, 0.96)),
        url("../assets/tech-field-light.jpg") center / cover no-repeat;
}

.hero {
    min-height: calc(100vh - var(--header-height) - 48px);
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(81, 230, 206, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(81, 230, 206, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 72%);
}

.hero .container {
    min-height: calc(100vh - var(--header-height) - 48px);
    padding-top: 56px;
    padding-bottom: 74px;
}

.hero-content {
    position: relative;
    flex-basis: 50%;
}

.hero-content::before,
.page-hero .container::before {
    content: "TRUZHEN LOCAL AI SYSTEM";
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(81, 230, 206, 0.35);
    border-radius: 999px;
    background: rgba(81, 230, 206, 0.08);
    color: var(--truzo-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.page-hero .container::before {
    content: "";
    justify-content: center;
}

.hero-title,
.page-hero-title,
.section-head h2,
.section-title,
.cta-section h2 {
    color: var(--text-heading);
    -webkit-text-fill-color: initial;
    background: none;
    letter-spacing: 0;
}

.hero-title {
    max-width: 8em;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
    white-space: normal;
}

.hero-title::after {
    content: "";
    display: block;
    width: 112px;
    height: 3px;
    margin-top: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--truzo-primary), var(--truzo-primary-light), var(--apple-warning));
    box-shadow: 0 0 26px rgba(81, 230, 206, 0.42);
}

.hero-subtitle,
.page-hero-subtitle,
.section-desc,
.scenario-card-text,
.panel p,
.flow-item p,
.contact-card p,
.cta-section p,
.news-excerpt {
    color: var(--text-secondary);
}

.hero-subtitle {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.85;
}

.chip {
    min-height: 34px;
    padding: 7px 12px;
    border-color: rgba(146, 220, 217, 0.18);
    background: rgba(8, 21, 30, 0.62);
    color: var(--text-secondary);
}

[data-theme="light"] .chip {
    background: rgba(255, 255, 255, 0.72);
}

.chip::before {
    background: var(--truzo-primary-light);
    box-shadow: 0 0 10px rgba(182, 245, 106, 0.55);
}

.btn {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-primary {
    color: #051014;
    background: linear-gradient(135deg, var(--truzo-primary), var(--truzo-primary-light));
    box-shadow: 0 0 0 1px rgba(246, 255, 248, 0.18), 0 18px 40px rgba(81, 230, 206, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7ff7e6, #d2ff7a);
    box-shadow: 0 0 0 1px rgba(246, 255, 248, 0.22), 0 22px 48px rgba(81, 230, 206, 0.25);
}

.btn-outline {
    border: 1px solid rgba(146, 220, 217, 0.28);
    background: rgba(7, 16, 24, 0.55);
    color: var(--text-heading);
}

[data-theme="light"] .btn-outline {
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover {
    border-color: var(--truzo-primary);
    background: rgba(81, 230, 206, 0.12);
    color: var(--text-heading);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-visual {
    flex-basis: 47%;
    perspective: 1200px;
}

.hero-mockup {
    position: relative;
    max-width: 540px;
    border: 1px solid rgba(146, 220, 217, 0.26);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(17, 31, 44, 0.88), rgba(7, 16, 24, 0.9));
    box-shadow:
        0 0 0 1px rgba(81, 230, 206, 0.08),
        0 28px 86px rgba(0, 0, 0, 0.42),
        0 0 55px rgba(81, 230, 206, 0.12);
    transform: rotateY(-5deg) rotateX(2deg);
}

[data-theme="light"] .hero-mockup {
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        0 0 0 1px rgba(8, 125, 120, 0.08),
        0 28px 86px rgba(14, 45, 58, 0.18);
}

.hero-mockup::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent, rgba(81, 230, 206, 0.62), transparent) top left / 100% 1px no-repeat,
        linear-gradient(180deg, transparent, rgba(182, 245, 106, 0.45), transparent) top right / 1px 100% no-repeat;
}

.mockup-header,
.mockup-stats,
.mockup-ai {
    background: rgba(5, 13, 20, 0.56);
    border-color: rgba(146, 220, 217, 0.14);
}

[data-theme="light"] .mockup-header,
[data-theme="light"] .mockup-stats,
[data-theme="light"] .mockup-ai {
    background: rgba(255, 255, 255, 0.6);
}

.mockup-title,
.mockup-stat-number,
.mockup-task-title,
.mockup-ai-label,
.scenario-card-title,
.panel h3,
.flow-item h3,
.contact-card h3,
.news-title {
    color: var(--text-heading);
}

.mockup-subtitle,
.mockup-stat-label,
.mockup-stat-desc,
.mockup-task-time,
.scenario-card-index,
.step-index,
.news-date {
    color: var(--text-muted);
}

.mockup-stat-card,
.mockup-task,
.scenario-card,
.panel,
.flow-item,
.contact-card,
.news-item {
    background:
        linear-gradient(180deg, rgba(17, 31, 44, 0.82), rgba(9, 20, 30, 0.74));
    border: 1px solid rgba(146, 220, 217, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .mockup-stat-card,
[data-theme="light"] .mockup-task,
[data-theme="light"] .scenario-card,
[data-theme="light"] .panel,
[data-theme="light"] .flow-item,
[data-theme="light"] .contact-card,
[data-theme="light"] .news-item {
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.mockup-stat-card:hover,
.mockup-task:hover,
.scenario-card:hover,
.panel:hover,
.flow-item:hover,
.contact-card:hover,
.news-item:hover {
    border-color: rgba(81, 230, 206, 0.46);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24), 0 0 32px rgba(81, 230, 206, 0.09);
}

.mockup-progress {
    background: rgba(146, 220, 217, 0.16);
}

.mockup-progress-bar {
    background: linear-gradient(90deg, var(--truzo-primary), var(--truzo-primary-light));
}

.mockup-ai {
    background: linear-gradient(135deg, rgba(81, 230, 206, 0.1), rgba(255, 191, 92, 0.05));
}

.section,
.section-dark,
.section-gradient,
.section-bg-light,
.cta-section {
    background: transparent;
}

.section {
    padding: 92px 0;
}

.section-dark {
    background:
        linear-gradient(180deg, rgba(5, 9, 15, 0.44), rgba(12, 22, 32, 0.74)),
        linear-gradient(rgba(81, 230, 206, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(81, 230, 206, 0.035) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

[data-theme="light"] .section-dark {
    background:
        linear-gradient(180deg, rgba(238, 246, 247, 0.72), rgba(247, 251, 252, 0.9)),
        linear-gradient(rgba(8, 125, 120, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 125, 120, 0.035) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

.section-head {
    margin-bottom: 34px;
}

.section-kicker {
    padding: 7px 12px;
    border-color: rgba(81, 230, 206, 0.28);
    background: rgba(81, 230, 206, 0.07);
    color: var(--truzo-primary);
    font-weight: 700;
    letter-spacing: 0;
}

[data-theme="dark"] .section-kicker,
[data-theme="light"] .section-kicker {
    background: rgba(81, 230, 206, 0.07);
}

.section-head h2,
.page-hero-title {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
}

.page-hero {
    position: relative;
    padding: 112px 0 72px;
}

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

.page-hero-title {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-subtitle {
    font-size: 17px;
}

.split-grid {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
}

.scenario-card,
.panel,
.flow-item,
.contact-card,
.news-item {
    position: relative;
    overflow: hidden;
}

.scenario-card::before,
.panel::before,
.flow-item::before,
.contact-card::before,
.news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--truzo-primary), transparent 72%);
    opacity: 0.72;
}

.scenario-card-index,
.step-index,
.news-date {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--truzo-primary);
}

.scenario-card-title {
    font-size: 20px;
}

.panel-grid,
.scenario-cards,
.flow-list-compact,
.contact-grid {
    gap: 18px;
}

.cta-section {
    position: relative;
    padding: 74px 0;
    border-top: 1px solid rgba(146, 220, 217, 0.12);
    border-bottom: 1px solid rgba(146, 220, 217, 0.12);
    background:
        linear-gradient(90deg, rgba(81, 230, 206, 0.08), rgba(255, 191, 92, 0.06), rgba(26, 168, 247, 0.08));
}

.footer {
    background:
        linear-gradient(180deg, #05090f, #020509);
    border-top: 1px solid rgba(146, 220, 217, 0.12);
}

[data-theme="light"] .footer {
    background: #10202a;
}

.footer-main {
    border-color: rgba(146, 220, 217, 0.14);
}

.footer-nav a,
.footer-contact,
.footer-copyright,
.footer-icp {
    color: rgba(244, 251, 255, 0.62);
}

.circuit-bg {
    opacity: 0.6;
}

.particle {
    width: 3px;
    height: 3px;
    background: var(--truzo-primary);
    box-shadow: 0 0 14px rgba(81, 230, 206, 0.64);
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2px;
    }

    .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .hero-title {
        max-width: 9em;
        font-size: 44px;
    }

    .hero-mockup {
        transform: none;
    }

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

@media (max-width: 768px) {
    :root,
    [data-theme="dark"],
    [data-theme="light"] {
        --header-height: 64px;
    }

    .header {
        background: rgba(5, 9, 15, 0.94);
    }

    [data-theme="light"] .header {
        background: rgba(247, 251, 252, 0.94);
    }

    .nav-menu {
        top: var(--header-height);
        border-radius: 0;
        border-width: 1px 0 0;
        background: rgba(5, 9, 15, 0.98);
        padding: 20px;
    }

    [data-theme="light"] .nav-menu {
        background: rgba(247, 251, 252, 0.98);
    }

    .nav-link {
        color: var(--text-primary);
        border-bottom-color: rgba(146, 220, 217, 0.12);
        border-radius: 0;
    }

    .hero {
        min-height: calc(100vh - var(--header-height) - 36px);
    }

    .hero .container {
        min-height: calc(100vh - var(--header-height) - 36px);
        padding-top: 26px;
        padding-bottom: 44px;
        text-align: left;
    }

    .hero-content {
        margin-bottom: 22px;
    }

    .hero-content::before {
        min-height: 28px;
        margin-bottom: 14px;
        font-size: 11px;
    }

    .hero-title {
        max-width: 100%;
        font-size: 32px;
        line-height: 1.14;
        margin-bottom: 14px;
    }

    .hero-title::after {
        width: 88px;
        margin-top: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.72;
        margin-bottom: 14px;
    }

    .chip-row {
        gap: 8px;
        margin-bottom: 14px;
    }

    .chip {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .hero-buttons {
        gap: 10px;
        justify-content: flex-start;
    }

    .btn {
        min-height: 42px;
        padding: 10px 16px;
    }

    .hero-mockup {
        max-height: 230px;
        overflow: hidden;
    }

    .mockup-header-right,
    .mockup-ai {
        display: none;
    }

    .mockup-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section,
    .cta-section {
        padding: 58px 0;
    }

    .section-head h2,
    .page-hero-title {
        font-size: 30px;
    }

    .page-hero {
        padding: 94px 0 54px;
    }

    .page-hero .container::before {
        min-height: 28px;
        font-size: 11px;
    }

    .scenario-card,
    .panel,
    .flow-item,
    .contact-card {
        padding: 22px;
    }

    .flow-item[style*="grid-column"] {
        grid-column: auto !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 19px;
    }

    .logo-subtitle {
        display: none;
    }

    .hero .container {
        padding-top: 22px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-buttons,
    .cta-row {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-mockup {
        max-height: 208px;
    }

    .mockup-task {
        gap: 6px;
    }

    .mockup-task-left {
        gap: 6px;
    }

    .mockup-task-right {
        display: none;
    }

    .page-hero-subtitle,
    .section-desc {
        font-size: 15px;
    }
}

/* ========================================
   Web 1.1 refinement: compact inner heroes + restored light/dark themes
   ======================================== */

:root {
    color-scheme: dark light;
}

[data-theme="light"] {
    --apple-bg-primary: #f6fbfb;
    --apple-bg-secondary: #eaf4f4;
    --apple-bg-tertiary: #dcebec;
    --apple-bg-hover: #d1e5e6;
    --apple-text-primary: #10212a;
    --apple-text-secondary: #4c6570;
    --apple-text-tertiary: #6d828b;
    --apple-text-subtitle: #6d828b;
    --apple-text-link: #087b76;
    --truzo-primary: #087b76;
    --truzo-primary-light: #79b832;
    --truzo-primary-dark: #126e9f;
    --apple-success: #4e8f17;
    --apple-error: #c73556;
    --apple-warning: #a86b00;
    --apple-border: rgba(8, 123, 118, 0.18);
    --apple-border-hover: rgba(8, 123, 118, 0.38);
    --primary-color: #087b76;
    --primary-dark: #126e9f;
    --primary-light: #79b832;
    --white: #ffffff;
    --bg-dark: #10212a;
    --bg-light: #f6fbfb;
    --bg-card: rgba(255, 255, 255, 0.84);
    --text-primary: #10212a;
    --text-heading: #0c1b22;
    --text-secondary: #4c6570;
    --text-muted: #6d828b;
    --text-light: #10212a;
    --border-color: rgba(8, 123, 118, 0.18);
    --border-light: rgba(8, 123, 118, 0.12);
    --shadow-light: 0 18px 42px rgba(15, 46, 56, 0.1);
    --shadow-medium: 0 22px 68px rgba(15, 46, 56, 0.16);
    --shadow-glow: 0 0 34px rgba(8, 123, 118, 0.16);
}

.theme-toggle,
[data-theme="light"] .theme-toggle {
    display: inline-flex !important;
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 8%, rgba(121, 184, 50, 0.12), transparent 26rem),
        radial-gradient(circle at 82% 12%, rgba(18, 110, 159, 0.12), transparent 30rem),
        linear-gradient(180deg, #f6fbfb 0%, #eef7f7 50%, #f6fbfb 100%);
}

[data-theme="light"] .header {
    background: rgba(246, 251, 251, 0.84);
    border-bottom-color: rgba(8, 123, 118, 0.12);
}

[data-theme="light"] .header.scrolled {
    background: rgba(246, 251, 251, 0.94);
    box-shadow: 0 12px 30px rgba(15, 46, 56, 0.1);
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(8, 123, 118, 0.16);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #073c39;
    background: rgba(8, 123, 118, 0.1);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(8, 123, 118, 0.18);
    color: #087b76;
}

[data-theme="light"] .hero,
[data-theme="light"] .page-hero {
    background:
        linear-gradient(90deg, rgba(246, 251, 251, 0.94), rgba(246, 251, 251, 0.72) 48%, rgba(234, 244, 244, 0.96)),
        url("../assets/tech-field-light.jpg") center / cover no-repeat;
}

[data-theme="light"] .hero::after,
[data-theme="light"] .page-hero::after {
    background:
        linear-gradient(rgba(8, 123, 118, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 123, 118, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .chip,
[data-theme="light"] .btn-outline {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(8, 123, 118, 0.18);
    color: #4c6570;
}

[data-theme="light"] .btn-outline:hover {
    background: rgba(8, 123, 118, 0.1);
    color: #073c39;
}

[data-theme="light"] .btn-primary {
    color: #071418;
    background: linear-gradient(135deg, #2fd5bb, #a7e95d);
    box-shadow: 0 18px 40px rgba(8, 123, 118, 0.16);
}

[data-theme="light"] .hero-mockup,
[data-theme="light"] .mockup-header,
[data-theme="light"] .mockup-stats,
[data-theme="light"] .mockup-ai,
[data-theme="light"] .mockup-stat-card,
[data-theme="light"] .mockup-task,
[data-theme="light"] .scenario-card,
[data-theme="light"] .panel,
[data-theme="light"] .flow-item,
[data-theme="light"] .contact-card,
[data-theme="light"] .news-item {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(8, 123, 118, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .hero-mockup {
    box-shadow:
        0 0 0 1px rgba(8, 123, 118, 0.08),
        0 26px 74px rgba(15, 46, 56, 0.16);
}

[data-theme="light"] .mockup-stat-card:hover,
[data-theme="light"] .mockup-task:hover,
[data-theme="light"] .scenario-card:hover,
[data-theme="light"] .panel:hover,
[data-theme="light"] .flow-item:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .news-item:hover {
    box-shadow: 0 18px 44px rgba(15, 46, 56, 0.12), 0 0 26px rgba(8, 123, 118, 0.08);
}

[data-theme="light"] .section-dark {
    background:
        linear-gradient(180deg, rgba(234, 244, 244, 0.74), rgba(246, 251, 251, 0.92)),
        linear-gradient(rgba(8, 123, 118, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 123, 118, 0.04) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

[data-theme="light"] .section-kicker {
    background: rgba(255, 255, 255, 0.68);
    color: #087b76;
    border-color: rgba(8, 123, 118, 0.2);
}

[data-theme="light"] .cta-section {
    background: linear-gradient(90deg, rgba(47, 213, 187, 0.12), rgba(167, 233, 93, 0.11), rgba(18, 110, 159, 0.1));
}

[data-theme="light"] .footer {
    background: linear-gradient(180deg, #10212a, #071018);
}

.page-hero {
    padding: 72px 0 40px;
}

.page-hero .container::before {
    min-height: 28px;
    margin-bottom: 12px;
    padding: 5px 12px;
}

.page-hero-title {
    margin-top: 8px !important;
    margin-bottom: 10px;
    font-size: 38px;
}

.page-hero-subtitle {
    margin-top: 12px !important;
    line-height: 1.65;
}

.page-hero .chip-row[style] {
    margin-top: 10px !important;
    margin-bottom: 14px;
}

.page-hero .cta-row[style] {
    margin-top: 20px !important;
}

.page-hero + .section {
    padding-top: 54px;
}

.page-hero + .section .section-head {
    margin-bottom: 28px;
}

.page-hero + .section .contact-grid,
.page-hero + .section .scenario-cards,
.page-hero + .section .panel-grid,
.page-hero + .section .flow-list-compact {
    margin-top: 0 !important;
}

@media (min-width: 1180px) and (min-height: 850px) {
    .page-hero {
        padding-top: 64px;
        padding-bottom: 34px;
    }

    .page-hero + .section {
        padding-top: 46px;
    }
}

@media (max-width: 768px) {
    .theme-toggle,
    [data-theme="light"] .theme-toggle {
        display: inline-flex !important;
    }

    .page-hero {
        padding: 64px 0 36px;
    }

    .page-hero-title {
        font-size: 30px;
    }

    .page-hero + .section {
        padding-top: 44px;
    }

    [data-theme="light"] .nav-menu {
        background: rgba(246, 251, 251, 0.98);
    }
}

/* ========================================
   Web 1.1 page-snap rhythm + final light theme polish
   ======================================== */

@media (min-width: 900px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: var(--header-height);
    }

    body > section,
    body > footer {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
    }

    .hero .container {
        min-height: calc(100svh - var(--header-height));
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .section,
    .cta-section {
        min-height: calc(100svh - var(--header-height));
        padding: 68px 0;
        display: flex;
        align-items: center;
    }

    .section > .container,
    .cta-section > .container,
    .footer > .container {
        width: 100%;
    }

    .page-hero {
        min-height: 42svh;
        padding: 52px 0 28px;
        display: flex;
        align-items: center;
    }

    .page-hero + .section {
        min-height: calc(58svh - var(--header-height));
        padding-top: 38px;
        padding-bottom: 52px;
    }

    .page-hero-title {
        font-size: 36px;
    }

    .section-head h2 {
        font-size: 36px;
    }

    .scenario-card,
    .panel,
    .flow-item,
    .contact-card {
        padding: 26px;
    }

    .flow-list-compact,
    .scenario-cards,
    .panel-grid,
    .contact-grid {
        gap: 16px;
    }

    .footer {
        min-height: 44svh;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 900px) and (max-height: 760px) {
    html {
        scroll-snap-type: y proximity;
    }

    .section,
    .cta-section {
        min-height: auto;
        padding: 58px 0;
    }

    .page-hero {
        min-height: 38svh;
    }

    .page-hero + .section {
        min-height: 62svh;
    }
}

[data-theme="light"] {
    --apple-bg-primary: #f5f7fa;
    --apple-bg-secondary: #eef3f6;
    --apple-bg-tertiary: #e7edf1;
    --apple-bg-hover: #dfe8ed;
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #5f6f77;
    --apple-text-tertiary: #7a8990;
    --apple-text-subtitle: #7a8990;
    --apple-text-link: #007a78;
    --truzo-primary: #007a78;
    --truzo-primary-light: #76c83d;
    --truzo-primary-dark: #0066cc;
    --apple-success: #34a853;
    --apple-error: #d93055;
    --apple-warning: #b7791f;
    --apple-border: rgba(0, 122, 120, 0.16);
    --apple-border-hover: rgba(0, 122, 120, 0.32);
    --primary-color: #007a78;
    --primary-dark: #0066cc;
    --primary-light: #76c83d;
    --white: #ffffff;
    --bg-dark: #f5f7fa;
    --bg-light: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.82);
    --text-primary: #1d1d1f;
    --text-heading: #111820;
    --text-secondary: #5f6f77;
    --text-muted: #7a8990;
    --text-light: #1d1d1f;
    --border-color: rgba(0, 122, 120, 0.16);
    --border-light: rgba(0, 122, 120, 0.1);
    --shadow-light: 0 16px 40px rgba(30, 53, 64, 0.08);
    --shadow-medium: 0 24px 70px rgba(30, 53, 64, 0.12);
    --shadow-glow: 0 0 28px rgba(0, 122, 120, 0.13);
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 6%, rgba(118, 200, 61, 0.09), transparent 28rem),
        radial-gradient(circle at 82% 12%, rgba(0, 102, 204, 0.08), transparent 30rem),
        linear-gradient(180deg, #f5f7fa 0%, #ffffff 45%, #f5f7fa 100%);
}

[data-theme="light"] .header {
    background: rgba(250, 251, 253, 0.84);
    border-bottom: 1px solid rgba(0, 122, 120, 0.11);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .header.scrolled {
    background: rgba(250, 251, 253, 0.93);
    box-shadow: 0 12px 32px rgba(30, 53, 64, 0.1);
}

[data-theme="light"] .logo {
    background: linear-gradient(135deg, #0f2b35, #007a78 64%, #4a9f18);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .logo-subtitle {
    color: #6f7d84;
    -webkit-text-fill-color: #6f7d84;
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 122, 120, 0.15);
    box-shadow: 0 8px 24px rgba(30, 53, 64, 0.06);
}

[data-theme="light"] .nav-link {
    color: #53656d;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #0f2b35;
    background: rgba(0, 122, 120, 0.1);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(0, 122, 120, 0.16);
    color: #007a78;
    box-shadow: 0 8px 22px rgba(30, 53, 64, 0.06);
}

[data-theme="light"] .hero,
[data-theme="light"] .page-hero {
    background:
        linear-gradient(90deg, rgba(245, 247, 250, 0.94), rgba(245, 247, 250, 0.68) 48%, rgba(255, 255, 255, 0.94)),
        url("../assets/tech-field-light.jpg") center / cover no-repeat;
}

[data-theme="light"] .hero::after,
[data-theme="light"] .page-hero::after {
    background:
        linear-gradient(rgba(0, 122, 120, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 120, 0.055) 1px, transparent 1px);
    opacity: 0.65;
}

[data-theme="light"] .particle {
    background: rgba(0, 122, 120, 0.52);
    box-shadow: 0 0 11px rgba(0, 122, 120, 0.22);
    opacity: 0.42;
}

[data-theme="light"] .hero-content::before,
[data-theme="light"] .page-hero .container::before,
[data-theme="light"] .section-kicker {
    color: #007a78;
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(0, 122, 120, 0.2);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .page-hero-title,
[data-theme="light"] .section-head h2,
[data-theme="light"] .section-title,
[data-theme="light"] .cta-section h2 {
    color: #111820;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .page-hero-subtitle,
[data-theme="light"] .section-desc,
[data-theme="light"] .scenario-card-text,
[data-theme="light"] .panel p,
[data-theme="light"] .flow-item p,
[data-theme="light"] .contact-card p,
[data-theme="light"] .cta-section p,
[data-theme="light"] .news-excerpt {
    color: #5f6f77;
}

[data-theme="light"] .chip {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(0, 122, 120, 0.14);
    color: #52656e;
    box-shadow: 0 8px 22px rgba(30, 53, 64, 0.04);
}

[data-theme="light"] .btn-primary {
    color: #051014;
    background: linear-gradient(135deg, #41dfc5, #a7ec61);
    box-shadow: 0 18px 42px rgba(0, 122, 120, 0.14);
}

[data-theme="light"] .btn-outline {
    background: rgba(255, 255, 255, 0.78);
    color: #24424d;
    border-color: rgba(0, 122, 120, 0.18);
    box-shadow: 0 8px 22px rgba(30, 53, 64, 0.04);
}

[data-theme="light"] .hero-mockup,
[data-theme="light"] .mockup-header,
[data-theme="light"] .mockup-stats,
[data-theme="light"] .mockup-ai,
[data-theme="light"] .mockup-stat-card,
[data-theme="light"] .mockup-task,
[data-theme="light"] .scenario-card,
[data-theme="light"] .panel,
[data-theme="light"] .flow-item,
[data-theme="light"] .contact-card,
[data-theme="light"] .news-item {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(0, 122, 120, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 14px 38px rgba(30, 53, 64, 0.055);
}

[data-theme="light"] .hero-mockup {
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 0 0 1px rgba(0, 122, 120, 0.08),
        0 28px 80px rgba(30, 53, 64, 0.14);
}

[data-theme="light"] .mockup-title,
[data-theme="light"] .mockup-stat-number,
[data-theme="light"] .mockup-task-title,
[data-theme="light"] .scenario-card-title,
[data-theme="light"] .panel h3,
[data-theme="light"] .flow-item h3,
[data-theme="light"] .contact-card h3,
[data-theme="light"] .news-title {
    color: #111820;
}

[data-theme="light"] .section,
[data-theme="light"] .section-bg-light {
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

[data-theme="light"] .section-dark {
    background:
        linear-gradient(180deg, rgba(246, 248, 250, 0.92), rgba(255, 255, 255, 0.96)),
        linear-gradient(rgba(0, 122, 120, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 120, 0.035) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

[data-theme="light"] .cta-section {
    background:
        linear-gradient(90deg, rgba(65, 223, 197, 0.1), rgba(167, 236, 97, 0.09), rgba(0, 102, 204, 0.08)),
        #f7fafb;
    border-color: rgba(0, 122, 120, 0.1);
}

[data-theme="light"] .footer {
    background:
        linear-gradient(180deg, #f7fafb 0%, #eef3f6 100%);
    color: #1d1d1f;
    border-top: 1px solid rgba(0, 122, 120, 0.12);
}

[data-theme="light"] .footer::before {
    background-image:
        linear-gradient(rgba(0, 122, 120, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 120, 0.035) 1px, transparent 1px);
}

[data-theme="light"] .footer-main {
    border-bottom-color: rgba(0, 122, 120, 0.13);
}

[data-theme="light"] .footer-logo {
    background: linear-gradient(135deg, #0f2b35, #007a78 60%, #4a9f18);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .footer-nav a,
[data-theme="light"] .footer-contact,
[data-theme="light"] .footer-copyright,
[data-theme="light"] .footer-icp {
    color: #5f6f77;
}

[data-theme="light"] .footer-nav a:hover {
    color: #007a78;
}

@media (max-width: 899px) {
    html {
        scroll-snap-type: none;
    }
}

/* ========================================
   Final public layout rhythm + mobile polish
   ======================================== */

.page-hero .container::before {
    content: none !important;
    display: none !important;
}

@media (min-width: 900px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: var(--header-height);
    }

    body > section {
        scroll-snap-align: start;
        scroll-snap-stop: normal;
        scroll-margin-top: var(--header-height);
    }

    body > footer {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .section,
    .cta-section,
    .page-hero + .section {
        min-height: auto;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
    }

    .hero .container {
        min-height: calc(100svh - var(--header-height));
        padding-top: clamp(36px, 5svh, 64px);
        padding-bottom: clamp(42px, 6svh, 72px);
    }

    .page-hero {
        min-height: auto;
        padding: 74px 0 34px;
    }

    .page-hero-title {
        margin-top: 0 !important;
    }

    .page-hero + .section {
        padding-top: 44px;
    }

    .section {
        padding: clamp(58px, 7svh, 78px) 0;
    }

    .section-dark {
        padding-top: clamp(64px, 7svh, 86px);
        padding-bottom: clamp(64px, 7svh, 86px);
    }

    .section-head {
        margin-bottom: 28px;
    }

    .content-section .section-head {
        margin-bottom: 24px;
    }

    .scenario-cards,
    .panel-grid,
    .contact-grid,
    .flow-list-compact {
        align-items: stretch;
    }

    .scenario-card,
    .panel,
    .flow-item,
    .contact-card,
    .news-item {
        padding: 24px;
    }

    .cta-section {
        min-height: 34svh;
        padding: 48px 0 42px;
    }

    .cta-section h2 {
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer {
        min-height: 36svh;
        padding: 56px 0 66px;
        display: flex;
        align-items: center;
    }

    .footer-main {
        gap: 28px;
    }
}

@media (min-width: 900px) and (max-height: 780px) {
    html {
        scroll-snap-type: y proximity;
    }

    .hero .container {
        padding-top: 32px;
        padding-bottom: 44px;
    }

    .section,
    .section-dark {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .page-hero {
        padding-top: 56px;
        padding-bottom: 24px;
    }

    .cta-section {
        min-height: 30svh;
        padding: 40px 0 34px;
    }

    .footer {
        min-height: 32svh;
        padding: 44px 0 52px;
    }
}

@media (max-width: 899px) {
    html {
        scroll-snap-type: none !important;
    }

    .hero,
    .hero .container,
    .section,
    .page-hero,
    .page-hero + .section,
    .cta-section,
    .footer {
        min-height: auto !important;
    }

    .hero .container {
        padding-top: 34px;
        padding-bottom: 48px;
    }

    .hero-visual {
        margin-top: 8px;
    }

    .page-hero {
        padding: 54px 0 30px;
        text-align: left;
    }

    .page-hero-title {
        text-align: left;
        margin-top: 0 !important;
        font-size: clamp(28px, 8vw, 34px);
    }

    .page-hero-subtitle {
        margin-left: 0 !important;
        margin-right: 0 !important;
        line-height: 1.7;
    }

    .page-hero .chip-row[style],
    .page-hero .cta-row[style] {
        justify-content: flex-start !important;
    }

    .section,
    .section-dark {
        padding: 46px 0;
    }

    .section-head {
        margin-bottom: 22px;
    }

    .split-grid {
        gap: 24px;
    }

    .scenario-cards,
    .panel-grid,
    .contact-grid,
    .flow-list-compact {
        gap: 14px;
    }

    .scenario-card,
    .panel,
    .flow-item,
    .contact-card,
    .news-item {
        padding: 20px;
    }

    .cta-section {
        padding: 48px 0;
        text-align: left;
    }

    .cta-section .container {
        text-align: left;
    }

    .cta-section .cta-row {
        justify-content: flex-start;
    }

    .footer {
        padding: 42px 0 54px;
    }

    .footer-main {
        align-items: flex-start;
        gap: 18px;
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 12px 16px;
    }
}

@media (max-width: 520px) {
    .hero-content::before {
        display: none;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 34px);
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .chip-row {
        gap: 7px;
    }

    .chip {
        min-height: 28px;
        padding: 5px 9px;
    }

    .section-head h2,
    .cta-section h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .footer-logo {
        font-size: 22px;
    }
}
