/* ============================================
   即推GEO - 首页样式
   参考设计：抓词GEO
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Indigo & Purple Theme */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;

    --secondary-50: #FAF5FF;
    --secondary-100: #F3E8FF;
    --secondary-500: #A855F7;
    --secondary-600: #9333EA;
    --secondary-700: #7E22CE;

    /* Neutral Colors */
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;

    /* Accent Colors */
    --blue-50: #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;

    --purple-50: #FAF5FF;
    --purple-100: #F3E8FF;
    --purple-500: #A855F7;

    --emerald-50: #ECFDF5;
    --emerald-500: #10B981;

    --orange-50: #FFF7ED;
    --orange-500: #F97316;

    --rose-50: #FFF1F2;
    --rose-500: #F43F5E;

    /* Spacing */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 200ms;
    --transition-slow: 300ms;
}

/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-900);
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 5rem;
    border-bottom: 1px solid var(--slate-100);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-slow);
}

.header .container {
    height: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-link {
    text-decoration: none;
    margin-right: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.375rem;
}

.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--primary-600);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.375rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.nav-link:hover {
    background-color: var(--slate-50);
    color: var(--primary-600);
}

.nav-link.active {
    background-color: var(--primary-50);
    color: var(--primary-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    display: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--slate-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

.mobile-menu-toggle:hover {
    color: var(--slate-900);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-600);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    border: 1px solid var(--slate-200);
    background-color: white;
    color: var(--slate-700);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--slate-300);
    background-color: var(--slate-50);
}

.btn-outline-white {
    border: 2px solid white;
    background-color: transparent;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-600);
}

.btn-white {
    background-color: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
    background-color: white;
    padding: 5rem 0 6rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.blob-1 {
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--secondary-100) 50%, var(--rose-50) 100%);
}

.blob-2 {
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--blue-100) 0%, var(--primary-100) 100%);
}

.blob-3 {
    bottom: 10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--orange-50) 0%, var(--rose-50) 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-700);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.pulse-dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary-400);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary-600);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--primary-50);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    transition: all var(--transition-slow);
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    border-radius: var(--radius-full);
}

.feature-icon.blue {
    background-color: var(--blue-100);
    color: var(--blue-600);
}

.feature-icon.indigo {
    background-color: var(--primary-100);
    color: var(--primary-600);
}

.feature-icon.purple {
    background-color: var(--secondary-100);
    color: var(--secondary-600);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.feature-card p {
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: 6rem 0;
    background-color: white;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-item-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-item-reverse .feature-content {
    order: 2;
}

.feature-item-reverse .feature-visual {
    order: 1;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.75rem;
    color: var(--primary-600);
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
}

.feature-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--slate-900);
}

.feature-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
}

.feature-visual {
    width: 100%;
    max-width: 40rem;
    transition: transform var(--transition-slow);
}

.feature-visual:hover {
    transform: scale(1.02);
}

.visual-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--transition-slow);
}

.visual-container:hover {
    box-shadow: var(--shadow-2xl);
}

.bg-gradient-purple { background: linear-gradient(135deg, var(--purple-50) 0%, var(--secondary-50) 100%); }
.bg-gradient-blue { background: linear-gradient(135deg, var(--blue-50) 0%, var(--primary-50) 100%); }
.bg-gradient-emerald { background: linear-gradient(135deg, var(--emerald-50) 0%, #D1FAE5 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, var(--orange-50) 0%, #FED7AA 100%); }
.bg-gradient-rose { background: linear-gradient(135deg, var(--rose-50) 0%, #FECDD3 100%); }
.bg-gradient-indigo { background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%); }

/* Animation Elements */

/* AI Animation */
.ai-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    color: var(--secondary-600);
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 10;
}

.ai-waves {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border: 2px solid var(--secondary-300);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.wave:nth-child(2) { animation-delay: 0.5s; }
.wave:nth-child(3) { animation-delay: 1s; }

/* AI Creation Animation - Enhanced */
.ai-creation-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

/* 左侧：文档输入 */
.ai-input-docs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--secondary-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite, fly-in-left 1s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.doc-card i {
    font-size: 1.5rem;
    color: var(--secondary-500);
}

.doc-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-600);
}

/* 中间：AI核心 */
.ai-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
}

.ai-brain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    font-size: 2.5rem;
    color: var(--secondary-600);
    background: linear-gradient(135deg, white 0%, var(--secondary-50) 100%);
    border: 3px solid var(--secondary-300);
    border-radius: var(--radius-2xl);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.ai-process-waves {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-wave {
    position: absolute;
    width: 7rem;
    height: 7rem;
    border: 2px solid var(--secondary-400);
    border-radius: 50%;
    opacity: 0;
    animation: ping-fade 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.process-wave:nth-child(2) { animation-delay: 0.6s; }
.process-wave:nth-child(3) { animation-delay: 1.2s; }

.ai-label {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-700);
    background-color: var(--secondary-100);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

/* 右侧：输出 */
.ai-output {
    z-index: 10;
}

.output-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    min-width: 10rem;
    background: linear-gradient(135deg, white 0%, var(--secondary-50) 100%);
    border: 2px solid var(--secondary-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: fly-in-right 1.5s ease-out 1s forwards, float 3s ease-in-out 2.5s infinite;
    opacity: 0;
}

.output-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.output-header i {
    font-size: 1rem;
    color: var(--secondary-600);
}

.output-header span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary-700);
}

.output-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-line {
    height: 0.5rem;
    background: linear-gradient(90deg, var(--secondary-200) 0%, var(--secondary-300) 100%);
    border-radius: var(--radius-sm);
    animation: shimmer 2s ease-in-out infinite;
}

.preview-line.short {
    width: 60%;
}

.output-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-600);
    text-align: left;
    margin: 0.75rem 0 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--secondary-50);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--secondary-500);
}

.quality-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    align-self: flex-end;
    padding: 0.25rem 0.5rem;
    background-color: var(--secondary-600);
    border-radius: var(--radius-sm);
    animation: bounce-in 0.5s ease-out 2s forwards;
    opacity: 0;
}

.quality-badge i {
    font-size: 0.75rem;
    color: #FFC107;
}

.quality-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

/* 数据流动 */
.data-flow {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    left: 20%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--secondary-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-400);
    animation: flow-right 2s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Animations */
@keyframes fly-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fly-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(147, 51, 234, 0.6);
        transform: scale(1.05);
    }
}

@keyframes ping-fade {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    75%, 100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

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

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flow-right {
    0% {
        left: 20%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 75%;
        opacity: 0;
    }
}

/* Platform Animation - Enhanced */
.platform-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Management Hub Center */
.management-hub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, white 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 3px solid var(--blue-400);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    z-index: 20;
    animation: hub-pulse 3s ease-in-out infinite;
}

.hub-icon {
    font-size: 2.5rem;
    color: var(--blue-600);
}

.hub-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue-700);
}

.hub-stats {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--blue-500);
    border-radius: var(--radius-full);
}

.stat-item {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Account Cards Grid */
.account-cards-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.account-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.875rem;
    min-width: 5rem;
    background-color: white;
    border: 2px solid var(--blue-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: card-appear 0.8s ease-out forwards, card-float 3s ease-in-out infinite;
    animation-delay: var(--delay), calc(var(--delay) + 0.8s);
    opacity: 0;
    z-index: 10;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header i {
    font-size: 1.25rem;
    color: var(--blue-600);
}

.card-header span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-700);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--green-50);
    border-radius: var(--radius-sm);
}

.card-status.online i {
    font-size: 0.5rem;
    color: var(--green-500);
    animation: status-blink 2s ease-in-out infinite;
}

.card-status span {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--green-700);
}

/* Connection Network SVG */
.connection-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
    z-index: 5;
}

/* Sync Indicators */
.sync-indicators {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 15;
}

.sync-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8rem;
    height: 8rem;
    margin: -4rem 0 0 -4rem;
    border: 2px solid var(--blue-400);
    border-radius: 50%;
    opacity: 0;
    animation: sync-ripple 3s ease-out infinite;
    animation-delay: var(--delay);
}

/* Keyframe Animations */
@keyframes hub-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    }
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    }
}

@keyframes card-float {
    0%, 100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) translateY(0);
    }
    50% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) translateY(-0.5rem);
    }
}

@keyframes status-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes sync-ripple {
    0% {
        opacity: 1;
        transform: scale(0.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Keyword Animation - Enhanced */
.keyword-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 2rem;
    gap: 1rem;
}

/* Keyword Input Area */
.keyword-input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.input-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: white;
    border: 2px solid var(--emerald-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: input-focus 3s ease-in-out infinite;
}

.input-box i {
    font-size: 1.25rem;
    color: var(--emerald-600);
}

.input-line {
    width: 4rem;
    height: 0.5rem;
    background: linear-gradient(90deg, var(--emerald-300) 0%, var(--emerald-400) 100%);
    border-radius: var(--radius-sm);
}

.input-line.typing {
    animation: typing-pulse 1.5s ease-in-out infinite;
}

.add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    color: var(--emerald-600);
    background-color: white;
    border: 2px solid var(--emerald-300);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    animation: button-bounce 2s ease-in-out infinite;
}

/* Keyword Processor */
.keyword-processor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, white 0%, var(--emerald-50) 100%);
    border: 3px solid var(--emerald-400);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    z-index: 15;
}

.processor-icon {
    font-size: 2rem;
    color: var(--emerald-600);
    animation: processor-spin 3s ease-in-out infinite;
}

.processor-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.processor-progress {
    width: 4rem;
    height: 0.375rem;
    background-color: var(--emerald-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
    border-radius: var(--radius-full);
    animation: progress-fill 2s ease-in-out infinite;
}

/* Keyword Library */
.keyword-library {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--emerald-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.library-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--emerald-100);
}

.library-header i {
    font-size: 1rem;
    color: var(--emerald-600);
}

.library-header span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.tag-groups {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-group {
    animation: group-slide-in 0.8s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.group-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--slate-600);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.keyword-tag {
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--emerald-700);
    background-color: var(--emerald-100);
    border: 1px solid var(--emerald-300);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Flow Arrows */
.flow-arrows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.flow-arrow {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--emerald-400);
    animation: arrow-pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Keyframe Animations */
@keyframes input-focus {
    0%, 100% {
        border-color: var(--emerald-300);
    }
    50% {
        border-color: var(--emerald-500);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    }
}

@keyframes typing-pulse {
    0%, 100% {
        opacity: 1;
        width: 4rem;
    }
    50% {
        opacity: 0.6;
        width: 5rem;
    }
}

@keyframes button-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes processor-spin {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

@keyframes group-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tag-appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes arrow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.keyword-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    color: var(--emerald-500);
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.keyword-tags {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tag {
    position: absolute;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--emerald-600);
    background-color: white;
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.tag:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.tag:nth-child(2) { top: 10%; right: 10%; animation-delay: 0.5s; }
.tag:nth-child(3) { bottom: 10%; left: 10%; animation-delay: 1s; }
.tag:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 1.5s; }

/* Schedule Animation */
/* Schedule Animation - Enhanced */
.schedule-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 2rem;
    gap: 1rem;
}

/* Calendar Planner */
.calendar-planner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--orange-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange-100);
}

.calendar-header i {
    font-size: 1rem;
    color: var(--orange-600);
}

.calendar-header span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--orange-700);
}

.calendar-grid {
    display: flex;
    gap: 0.5rem;
}

.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem;
    background-color: var(--slate-50);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    animation: day-appear 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
    transition: all 0.3s ease;
}

.calendar-day.active {
    background-color: var(--orange-50);
    border-color: var(--orange-300);
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--orange-200) 100%);
    border-color: var(--orange-500);
}

.day-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-700);
}

.calendar-day.active .day-number,
.calendar-day.today .day-number {
    color: var(--orange-700);
}

.day-indicator {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--orange-400);
    border-radius: 50%;
}

.day-indicator.pulsing {
    animation: indicator-pulse 2s ease-in-out infinite;
}

/* Task Queue */
.task-queue {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, white 0%, var(--orange-50) 100%);
    border: 3px solid var(--orange-300);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
    z-index: 15;
}

.queue-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.queue-header i {
    font-size: 1rem;
    color: var(--orange-600);
}

.queue-header span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--orange-700);
}

.queue-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.queue-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background-color: white;
    border: 2px solid var(--orange-200);
    border-radius: var(--radius-md);
    animation: task-slide-in 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.task-time {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--orange-700);
    font-family: 'Courier New', monospace;
}

.task-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
}

.task-status.ready {
    background-color: var(--orange-100);
}

.task-status.ready i {
    font-size: 0.75rem;
    color: var(--orange-600);
    animation: clock-tick 2s ease-in-out infinite;
}

/* Publish Executor */
.publish-executor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--orange-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.executor-bot {
    font-size: 2rem;
    color: var(--orange-600);
    animation: bot-work 3s ease-in-out infinite;
}

.executor-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange-700);
}

.executor-status {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    background-color: var(--orange-50);
    border-radius: var(--radius-sm);
    animation: status-appear 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.status-item i {
    font-size: 0.75rem;
}

.status-item:first-child i {
    color: var(--green-600);
}

.status-item:last-child i {
    color: var(--orange-500);
    animation: spinner-rotate 1s linear infinite;
}

.status-item span {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--slate-700);
}

/* Schedule Flow Arrows */
.schedule-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.schedule-flow .flow-arrow {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--orange-400);
    animation: arrow-pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Time Particles */
.time-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.time-particle {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--y));
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--orange-400);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--orange-300);
    animation: particle-flow 3s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Keyframe Animations */
@keyframes day-appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes task-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes clock-tick {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

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

@keyframes status-appear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes particle-flow {
    0% {
        left: 25%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 70%;
        opacity: 0;
    }
}

/* Collect Animation - Enhanced */
.collect-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 2rem;
    gap: 1rem;
}

/* Keyword Trigger */
.keyword-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--rose-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.trigger-icon {
    font-size: 1.5rem;
    color: var(--rose-600);
    animation: trigger-pulse 3s ease-in-out infinite;
}

.trigger-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rose-700);
}

.trigger-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: center;
    max-width: 6rem;
}

.trigger-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--rose-700);
    background-color: var(--rose-100);
    border: 1px solid var(--rose-300);
    border-radius: var(--radius-full);
    animation: tag-appear 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Content Stream */
.content-stream {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, white 0%, var(--rose-50) 100%);
    border: 3px solid var(--rose-300);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.2);
    z-index: 15;
}

.stream-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stream-header i {
    font-size: 1rem;
    color: var(--rose-600);
    animation: rss-spin 3s linear infinite;
}

.stream-header span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rose-700);
}

.stream-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stream-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.75rem;
    background-color: white;
    border: 2px solid var(--rose-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    animation: card-stream-in 0.6s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
    transform: translateY(-20px);
}

.card-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    font-size: 0.625rem;
}

.card-badge.hot {
    background-color: var(--red-100);
    color: var(--red-600);
    animation: hot-badge 2s ease-in-out infinite;
}

.card-badge.trending {
    background-color: var(--orange-100);
    color: var(--orange-600);
}

.card-badge.new {
    background-color: var(--blue-100);
    color: var(--blue-600);
}

.card-lines {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-right: 1.5rem;
}

.card-lines .line {
    height: 0.375rem;
    background: linear-gradient(90deg, var(--rose-300) 0%, var(--rose-200) 100%);
    border-radius: var(--radius-sm);
}

.card-lines .line.short {
    width: 60%;
}

.stream-count {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.5rem;
    background-color: var(--rose-50);
    border-radius: var(--radius-md);
    justify-content: center;
}

.count-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rose-600);
    animation: count-up 3s ease-in-out infinite;
}

.count-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--rose-700);
}

/* Content Library */
.content-library {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--rose-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.library-icon {
    font-size: 2rem;
    color: var(--rose-600);
    animation: library-open 3s ease-in-out infinite;
}

.library-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rose-700);
}

.library-stats {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background-color: var(--rose-50);
    border-radius: var(--radius-sm);
    animation: stat-appear 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.stat-row i {
    font-size: 0.75rem;
    color: var(--rose-600);
}

.stat-row span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
}

.library-action {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: action-pulse 3s ease-in-out infinite;
}

.library-action i {
    font-size: 0.75rem;
}

/* Collect Flow Arrows */
.collect-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.collect-flow .flow-arrow {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--rose-400);
    animation: arrow-pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Collect Particles */
.collect-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.collect-particle {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--y));
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--rose-400);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--rose-300);
    animation: particle-flow 3s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Collect Animation Keyframes */
@keyframes trigger-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes tag-appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rss-spin {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

@keyframes card-stream-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes count-up {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes library-open {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
}

@keyframes stat-appear {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes action-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(244, 63, 94, 0.3);
    }
}

/* Publish Animation - Enhanced */
.publish-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Center Article Source */
.article-source {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: white;
    border: 3px solid var(--primary-300);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.2);
    z-index: 10;
    animation: article-pulse 3s ease-in-out infinite;
}

.article-icon {
    font-size: 2.5rem;
    color: var(--primary-600);
}

.article-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.split-effect {
    position: absolute;
    top: 50%;
    left: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1rem;
}

.split-line {
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-600) 0%, transparent 100%);
    animation: split-fly 2s ease-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Platform Icons Orbiting */
.platform-targets {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.platform-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(5.5rem) rotate(calc(-1 * var(--angle)));
    animation: platform-appear 1s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: -1.375rem 0 0 -1.375rem;
    font-size: 1.375rem;
    color: var(--primary-600);
    background-color: white;
    border: 2px solid var(--primary-200);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.platform-item:hover .platform-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.success-check {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    color: white;
    background-color: var(--green-500);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    animation: check-bounce 1s ease-out forwards;
    animation-delay: calc(var(--delay) + 0.5s);
    opacity: 0;
    transform: scale(0);
}

/* Data Particles Flying Out */
.publish-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.publish-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    margin: -0.25rem 0 0 -0.25rem;
    background: radial-gradient(circle, var(--primary-400) 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-fly 3s ease-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

/* Connection Lines SVG */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Keyframe Animations */
@keyframes article-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(79, 70, 229, 0.4);
    }
}

@keyframes split-fly {
    0% {
        opacity: 0;
        transform: translateX(0) scaleX(0.5);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(3rem) scaleX(1.5);
    }
}

@keyframes platform-appear {
    from {
        opacity: 0;
        transform: rotate(var(--angle)) translateX(2.5rem) rotate(calc(-1 * var(--angle))) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(var(--angle)) translateX(5.5rem) rotate(calc(-1 * var(--angle))) scale(1);
    }
}

@keyframes check-bounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes particle-fly {
    0% {
        opacity: 0;
        transform: rotate(var(--angle)) translateX(0) rotate(calc(-1 * var(--angle)));
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(var(--angle)) translateX(5.5rem) rotate(calc(-1 * var(--angle)));
    }
}

/* ============================================
   Advantages Section
   ============================================ */

.advantages {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    padding: 2rem;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-600);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-xl);
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--slate-600);
}

/* ============================================
   Workflow Section
   ============================================ */

.workflow {
    padding: 6rem 0;
    background-color: white;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.workflow-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(to bottom, var(--slate-200) 0%, var(--slate-100) 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    overflow: hidden;
}

.workflow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--secondary-300) 100%);
    border-radius: var(--radius-2xl);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(to bottom, white 0%, var(--slate-50) 100%);
}

.workflow-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    letter-spacing: 0.05em;
}

.workflow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-600);
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.workflow-card:hover .workflow-icon {
    transform: scale(1.1);
}

.workflow-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.workflow-card p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.workflow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
}

.visual-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    color: var(--slate-400);
    background-color: var(--slate-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.workflow-card:hover .visual-mini {
    color: var(--primary-600);
    background-color: var(--primary-50);
    transform: scale(1.1);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 100%);
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 4rem 0 2rem;
    background-color: var(--slate-900);
    color: var(--slate-400);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.375rem;
}

.footer-brand .brand-name {
    color: white;
}

.footer-brand .brand-subtitle {
    color: var(--primary-400);
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--slate-400);
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--slate-400);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    color: var(--primary-400);
    background-color: var(--slate-800);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

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

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

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

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

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

@keyframes fade-in-right {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes move-right {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(50px);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

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

@media (max-width: 1024px) {
    .feature-item,
    .feature-item-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-item-reverse .feature-content {
        order: 1;
    }

    .feature-item-reverse .feature-visual {
        order: 2;
    }

    .feature-visual {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 1rem;
        background-color: white;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-slow);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .features,
    .advantages,
    .workflow {
        padding: 4rem 0;
    }

    .features-grid {
        gap: 4rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .advantages-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

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

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

    .btn-lg {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
