/* ============================================
   AdMatch Pro - 广告行业信息撮合平台
   高端商务风格 - 深色主题
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-primary: #0A0E1A;
    --bg-secondary: #0F1424;
    --bg-card: #111827;
    --bg-card-hover: #1A2035;
    --bg-glass: rgba(10, 14, 26, 0.85);

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --blue: #0F6FFF;
    --blue-light: #3B82F6;
    --blue-glow: rgba(15, 111, 255, 0.3);
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --amber: #F59E0B;
    --amber-light: #FBBF24;
    --amber-glow: rgba(245, 158, 11, 0.3);
    --green: #10B981;
    --green-glow: rgba(16, 185, 129, 0.3);
    --red: #EF4444;
    --cyan: #06B6D4;
    --pink: #EC4899;

    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);

    --font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 40px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(15, 111, 255, 0.3);
    border-radius: 20px;
    background: rgba(15, 111, 255, 0.08);
}

.section-tag.purple {
    color: var(--purple);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
}

.section-tag.amber {
    color: var(--amber);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(15, 111, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 111, 255, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--blue);
    background: rgba(15, 111, 255, 0.08);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

@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; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }

/* Scroll animation classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   Section 1: Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(15, 111, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(15, 111, 255, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(15, 111, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 111, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 6px; height: 6px;
    background: var(--blue);
    top: 20%; left: 15%;
    opacity: 0.4;
    animation-delay: 0s;
}

.particle-2 {
    width: 4px; height: 4px;
    background: var(--purple);
    top: 60%; left: 80%;
    opacity: 0.3;
    animation-delay: 1s;
}

.particle-3 {
    width: 8px; height: 8px;
    background: var(--amber);
    top: 30%; left: 70%;
    opacity: 0.2;
    animation-delay: 2s;
}

.particle-4 {
    width: 5px; height: 5px;
    background: var(--blue);
    top: 70%; left: 25%;
    opacity: 0.3;
    animation-delay: 3s;
}

.particle-5 {
    width: 3px; height: 3px;
    background: var(--purple);
    top: 40%; left: 50%;
    opacity: 0.4;
    animation-delay: 4s;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.glow-1 {
    width: 400px; height: 400px;
    background: rgba(15, 111, 255, 0.08);
    top: 10%; left: 20%;
}

.glow-2 {
    width: 300px; height: 300px;
    background: rgba(139, 92, 246, 0.06);
    bottom: 20%; right: 15%;
    animation-delay: 2s;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    width: 200px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-card[data-glow="blue"]::before {
    box-shadow: inset 0 0 40px var(--blue-glow), 0 0 40px var(--blue-glow);
}

.hero-card[data-glow="purple"]::before {
    box-shadow: inset 0 0 40px var(--purple-glow), 0 0 40px var(--purple-glow);
}

.hero-card[data-glow="amber"]::before {
    box-shadow: inset 0 0 40px var(--amber-glow), 0 0 40px var(--amber-glow);
}

.hero-card:hover::before {
    opacity: 1;
}

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

.hero-card-icon {
    margin-bottom: 16px;
}

.hero-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border-light);
    animation: scrollLine 2s ease-in-out infinite;
    border-radius: 2px;
}

/* ============================================
   Section 3: Pain Points
   ============================================ */
.section-pain {
    background: var(--bg-secondary);
}

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

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pain-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF4757, #FF6B81);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 71, 87, 0.3);
}

.pain-card:hover::after {
    opacity: 1;
}

.pain-icon {
    margin-bottom: 24px;
}

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

.pain-stat {
    font-size: 28px;
    font-weight: 800;
    color: #FF4757;
    margin-bottom: 16px;
}

.pain-stat span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

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

/* ============================================
   Section 4: Value Proposition
   ============================================ */
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon.blue {
    background: rgba(15, 111, 255, 0.12);
    color: var(--blue);
}

.value-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple);
}

.value-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
}

.value-icon.green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.value-data {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.value-num {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-data span:last-child {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Section 5: Ecosystem Map
   ============================================ */
.section-ecosystem {
    background: var(--bg-secondary);
}

.ecosystem-map {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.eco-svg {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.eco-line {
    stroke-dashoffset: 0;
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    to { stroke-dashoffset: -24; }
}

.eco-node {
    cursor: pointer;
    transition: var(--transition);
}

.eco-node:hover {
    filter: brightness(1.3);
}

.center-node circle:first-child {
    animation: pulse 3s ease-in-out infinite;
}

.flow-dot {
    opacity: 0.8;
    filter: blur(1px);
}

/* ============================================
   Section 6-8: Role Feature Sections
   ============================================ */
.section-role {
    background: var(--bg-primary);
}

.section-role-alt {
    background: var(--bg-secondary);
}

.role-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.role-layout-reverse {
    direction: rtl;
}

.role-layout-reverse > * {
    direction: ltr;
}

.role-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    min-width: calc(50% - 8px);
    flex: 1;
}

.feature-item:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.blue {
    background: rgba(15, 111, 255, 0.12);
    color: var(--blue);
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple);
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
}

.feature-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* === Phone Frame === */
.role-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1A1A2E;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1A1A2E;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #0D1117;
    position: relative;
}

.phone-pages {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-page {
    width: calc(100% / 3);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 16px 16px;
    flex-shrink: 0;
}

.phone-page::-webkit-scrollbar {
    width: 0;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.phone-avatar.amber {
    background: linear-gradient(135deg, var(--amber), #EF4444);
}

.phone-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: white;
}

.phone-home-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.phone-dots {
    display: flex;
    gap: 8px;
}

.phone-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.phone-dots .dot.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
}

/* === Mini App Components === */
.phone-app-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.mini-card-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.mini-card-value {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.mini-card-value.blue { color: var(--blue); }
.mini-card-value.purple { color: var(--purple); }
.mini-card-value.amber { color: var(--amber); }

.mini-card-change {
    font-size: 11px;
    margin-top: 2px;
}

.mini-card-change.up { color: var(--green); }
.mini-card-change.down { color: var(--red); }

.mini-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mini-card.mini-sm {
    padding: 10px;
}

.mini-card.mini-sm .mini-card-value {
    font-size: 16px;
}

.mini-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.mini-list-item:last-child {
    border-bottom: none;
}

.mini-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mini-dot.green { background: var(--green); }
.mini-dot.blue { background: var(--blue); }
.mini-dot.purple { background: var(--purple); }
.mini-dot.gray { background: var(--text-muted); }

.mini-tag {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.mini-tag.running {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.mini-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.mini-filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.mini-filter {
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    cursor: pointer;
}

.mini-filter.active {
    background: rgba(15, 111, 255, 0.2);
    color: var(--blue);
}

.mini-traffic-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.mini-traffic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mini-traffic-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.mini-traffic-score {
    font-size: 12px;
    font-weight: 700;
    color: var(--amber);
    background: rgba(245, 158, 11, 0.15);
    padding: 2px 8px;
    border-radius: 8px;
}

.mini-traffic-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.mini-traffic-tags span {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.mini-traffic-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.mini-stat-val {
    font-weight: 700;
    color: white;
}

.mini-chart-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.mini-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.mini-chart-period {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.mini-chart {
    height: 100px;
}

/* Agency specific */
.mini-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}

.mini-summary-item {
    text-align: center;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.mini-summary-val {
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.mini-summary-val.purple { color: var(--purple); }

.mini-summary-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.mini-client-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.mini-client-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mini-client-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--purple);
    flex-shrink: 0;
}

.mini-client-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.mini-client-industry {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.mini-client-status {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
}

.mini-client-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.mini-client-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.mini-client-stats {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.mini-amount {
    font-weight: 600;
    color: var(--purple);
}

/* Kanban */
.mini-kanban {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.mini-kanban-col {
    min-width: 130px;
    flex: 1;
}

.mini-kanban-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kanban-count {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 6px;
    border-radius: 8px;
}

.mini-kanban-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 6px;
}

.kanban-client {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.kanban-task {
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin: 2px 0;
}

.kanban-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.kanban-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.kanban-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease;
}

.kanban-progress-bar.purple { background: var(--purple); }

/* Publisher specific */
.mini-adslot-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.mini-adslot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mini-adslot-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.mini-adslot-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
}

.mini-adslot-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.mini-adslot-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.mini-adslot-info {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.mini-adslot-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* SDK Steps */
.mini-sdk-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-sdk-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.mini-sdk-title {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.mini-sdk-desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.mini-sdk-status {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.mini-sdk-status.done {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.mini-sdk-status.current {
    background: rgba(15, 111, 255, 0.15);
    color: var(--blue);
}

.mini-sdk-status.pending {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Section 9: App Simulator
   ============================================ */
.section-simulator {
    background: var(--bg-secondary);
}

.simulator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.simulator-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4px;
}

.sim-tab {
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.sim-tab.active {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    box-shadow: 0 2px 12px rgba(15, 111, 255, 0.3);
}

.sim-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.iphone-simulator {
    perspective: 1200px;
}

.iphone-frame {
    width: 340px;
    height: 680px;
    background: #1A1A2E;
    border-radius: 48px;
    padding: 14px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(15, 111, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateY(-2deg);
    transition: transform 0.6s ease;
}

.iphone-frame:hover {
    transform: rotateY(0deg);
}

.iphone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 32px;
    background: #1A1A2E;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-camera {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2A2A3E;
    border: 2px solid #3A3A4E;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #0D1117;
    position: relative;
}

.iphone-home-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.sim-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 50px 20px 30px;
}

.sim-content::-webkit-scrollbar {
    width: 0;
}

/* Simulator internal styles */
.sim-page {
    display: none;
}

.sim-page.active {
    display: block;
}

.sim-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.sim-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.sim-avatar.blue { background: linear-gradient(135deg, var(--blue), #3B82F6); }
.sim-avatar.purple { background: linear-gradient(135deg, var(--purple), #A78BFA); }
.sim-avatar.amber { background: linear-gradient(135deg, var(--amber), #EF4444); }

.sim-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}

.sim-card-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.sim-card-value {
    font-size: 26px;
    font-weight: 800;
    color: white;
}

.sim-card-value.blue { color: var(--blue); }
.sim-card-value.purple { color: var(--purple); }
.sim-card-value.amber { color: var(--amber); }

.sim-card-change {
    font-size: 12px;
    margin-top: 4px;
}

.sim-card-change.up { color: var(--green); }
.sim-card-change.down { color: var(--red); }

.sim-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.sim-card-sm {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
}

.sim-card-sm .sim-card-value {
    font-size: 18px;
}

.sim-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.sim-list-item:last-child { border-bottom: none; }

.sim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sim-dot.green { background: var(--green); }
.sim-dot.blue { background: var(--blue); }
.sim-dot.purple { background: var(--purple); }
.sim-dot.gray { background: var(--text-muted); }
.sim-dot.amber { background: var(--amber); }

.sim-tag {
    margin-left: auto;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.sim-tag.running {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.sim-chart {
    height: 120px;
    margin-top: 8px;
}

.sim-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 14px;
}

.sim-filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.sim-filter {
    padding: 5px 14px;
    font-size: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.sim-filter.active {
    background: rgba(15, 111, 255, 0.2);
    color: var(--blue);
}

.sim-traffic-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.sim-traffic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sim-traffic-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.sim-traffic-score {
    font-size: 12px;
    font-weight: 700;
    color: var(--amber);
    background: rgba(245, 158, 11, 0.15);
    padding: 3px 10px;
    border-radius: 10px;
}

.sim-traffic-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sim-traffic-tags span {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.sim-traffic-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.sim-stat-val {
    font-weight: 700;
    color: white;
}

/* Simulator client cards */
.sim-client-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.sim-client-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sim-client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.sim-client-avatar.purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple);
}

.sim-client-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.sim-client-industry {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.sim-client-status {
    margin-left: auto;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
}

.sim-client-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.sim-client-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.sim-client-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.sim-amount {
    font-weight: 600;
    color: var(--purple);
}

/* Simulator adslot */
.sim-adslot-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.sim-adslot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sim-adslot-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.sim-adslot-status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
}

.sim-adslot-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.sim-adslot-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.sim-adslot-info {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.sim-adslot-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

/* Simulator SDK */
.sim-sdk-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.sim-sdk-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.sim-sdk-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.sim-sdk-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.sim-sdk-status {
    margin-left: auto;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.sim-sdk-status.done {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.sim-sdk-status.current {
    background: rgba(15, 111, 255, 0.15);
    color: var(--blue);
}

.sim-sdk-status.pending {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

/* Page Navigation */
.sim-page-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sim-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.sim-nav-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(15, 111, 255, 0.08);
}

.sim-page-dots {
    display: flex;
    gap: 8px;
}

.sim-page-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.sim-page-dots .dot.active {
    background: var(--blue);
    width: 28px;
    border-radius: 4px;
}

/* ============================================
   Section 10: Business Flow
   ============================================ */
.section-flow {
    background: var(--bg-primary);
}

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

.flow-column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 16px;
    font-weight: 700;
}

.flow-column-header.blue {
    background: linear-gradient(135deg, rgba(15, 111, 255, 0.15), rgba(15, 111, 255, 0.05));
    color: var(--blue);
    border: 1px solid rgba(15, 111, 255, 0.2);
    border-bottom: none;
}

.flow-column-header.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: none;
}

.flow-column-header.amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-bottom: none;
}

.flow-steps {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 8px;
}

.flow-step {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.03);
}

.flow-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.flow-step-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.flow-step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Section 11: Data Power
   ============================================ */
.section-data {
    background: var(--bg-secondary);
}

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

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

.data-value {
    margin-bottom: 16px;
}

.data-num {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.data-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.data-icon-bg {
    position: absolute;
    bottom: -10px;
    right: -10px;
    opacity: 0.5;
}

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

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ============================================
   Section 13: Cases
   ============================================ */
.section-cases {
    background: var(--bg-secondary);
}

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

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

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

.case-industry {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(15, 111, 255, 0.1);
    display: inline-block;
    margin-bottom: 16px;
}

.case-logo {
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.case-result {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.case-metric {
    text-align: center;
    flex: 1;
}

.case-metric-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--blue);
    display: block;
    margin-bottom: 4px;
}

.case-metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Section 14: Partners
   ============================================ */
.partners-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.partner-category {
    text-align: center;
}

.partner-cat-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.partner-cat-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner-logo-item {
    transition: var(--transition);
    opacity: 0.6;
}

.partner-logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ============================================
   Section 15: CTA
   ============================================ */
.section-cta {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

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

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(15, 111, 255, 0.1);
    top: -100px;
    left: -100px;
}

.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.08);
    bottom: -100px;
    right: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.cta-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-contact {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.icp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 40px;
    padding: 0 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.icp-bar p {
    margin: 0;
}

.icp-bar a {
    color: var(--text-muted);
}

.icp-bar a:hover {
    color: var(--text-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

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

    .pain-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .role-layout,
    .role-layout-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .flow-columns {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .cases-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-cards {
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

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

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

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

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

    .icp-bar {
        padding: 0 16px;
        font-size: 11px;
        gap: 12px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 16px;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .iphone-frame {
        width: 300px;
        height: 600px;
    }

    .feature-item {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .iphone-frame {
        width: 260px;
        height: 520px;
    }
}
