/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0E27;
    --bg-secondary: #111827;
    --bg-card: #1F2937;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --accent-purple: #8B5CF6;
    --accent-blue: #6366F1;
    --accent-purple-light: #A78BFA;
    --accent-blue-light: #818CF8;
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --gradient-blue: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 80px rgba(139, 92, 246, 0.3);
    --shadow-glow-blue: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 80px rgba(99, 102, 241, 0.3);
    --shadow-glow-purple-strong: 0 0 60px rgba(139, 92, 246, 0.8), 0 0 120px rgba(139, 92, 246, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 100% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0A0E27 0%, #0f172a 50%, #0A0E27 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 动态光晕效果层 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: ambientGlow 12s ease-in-out infinite;
}

/* 顶部和侧边光源效果 */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at top center, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 25%, transparent 60%),
        radial-gradient(ellipse at left center, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at right center, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: lightPulse 10s ease-in-out infinite;
}

@keyframes ambientGlow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1) translate(0, 0);
    }
    33% { 
        opacity: 0.9;
        transform: scale(1.05) translate(2%, -2%);
    }
    66% { 
        opacity: 0.8;
        transform: scale(1.08) translate(-2%, 2%);
    }
}

@keyframes lightPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1) translate(0, 0);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1) translate(-3%, -3%);
    }
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

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

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

.logo-icon {
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 1)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.6));
    }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-glow-purple);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple-strong);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-header {
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.15) rotate(2deg);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    position: relative;
}

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

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

.hero-visual {
    position: relative;
    z-index: 2;
}

.workflow-preview {
    background: rgba(31, 41, 55, 0.85);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        var(--shadow-glow-purple-strong),
        inset 0 0 40px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.workflow-preview::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.8),
        rgba(99, 102, 241, 0.8),
        rgba(139, 92, 246, 0.8)
    );
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.4;
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        filter: blur(15px);
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

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

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.5);
}

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

.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.app-preview-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(139, 92, 246, 0.6),
        0 0 120px rgba(139, 92, 246, 0.3),
        inset 0 0 40px rgba(139, 92, 246, 0.1);
}

.app-preview-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.4) 0%, 
        rgba(99, 102, 241, 0.3) 30%,
        transparent 70%);
    animation: imageGlow 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.app-preview-image::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.6),
        rgba(99, 102, 241, 0.6),
        rgba(139, 92, 246, 0.6)
    );
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
    animation: borderGlow 3s ease-in-out infinite;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

@keyframes imageGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    }
}

@keyframes imageShine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.app-preview-image:hover .app-screenshot {
    transform: scale(1.02);
}

.app-preview-image:hover::before {
    opacity: 0.8;
    animation-duration: 2s;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

.preview-main {
    background: rgba(10, 14, 39, 0.5);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-canvas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.workflow-node {
    background: rgba(139, 92, 246, 0.25);
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    box-shadow: 
        var(--shadow-glow-purple),
        inset 0 0 20px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.workflow-node::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: nodeShine 3s ease-in-out infinite;
}

@keyframes nodeShine {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 0.5;
    }
}

.node-icon {
    font-size: 24px;
}

.node-label {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.workflow-arrow {
    color: var(--accent-purple);
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.preview-properties {
    background: rgba(10, 14, 39, 0.5);
    border-radius: 12px;
    padding: 20px;
}

.properties-section h4 {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.property-item {
    margin-bottom: 16px;
}

.property-item label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.property-item input,
.property-item select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
}

/* Trust Badges */
.trust-badges {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.trust-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.trust-logo {
    font-size: 16px;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.feature-card {
    background: #0A0E27;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(139, 92, 246, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple-strong);
    background: #0A0E27;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}

.feature-image {
    margin-bottom: 24px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    animation: iconGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 1)) drop-shadow(0 0 80px rgba(139, 92, 246, 0.6));
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 50px rgba(139, 92, 246, 1)) drop-shadow(0 0 100px rgba(139, 92, 246, 0.8));
}

.feature-visual {
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ai-assistant {
    flex-direction: column;
    gap: 16px;
}

.ai-prompt-box {
    display: flex;
    gap: 8px;
    width: 100%;
}

.ai-prompt-box input {
    flex: 1;
    padding: 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
}

.ai-generate-btn {
    padding: 10px 20px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transition: all 0.3s ease;
}

.ai-generate-btn:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
    transform: scale(1.05);
}

.ai-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-item {
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 11px;
    color: var(--accent-purple-light);
}

.template-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.template-item {
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-purple);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.chart-label {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.integration-center {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-glow-purple-strong);
    animation: integrationPulse 2s ease-in-out infinite;
}

@keyframes integrationPulse {
    0%, 100% {
        box-shadow: var(--shadow-glow-purple);
        transform: scale(1);
    }
    50% {
        box-shadow: var(--shadow-glow-purple-strong);
        transform: scale(1.1);
    }
}

.integration-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.integration-item {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 12px;
    color: var(--accent-purple-light);
}

.device {
    font-size: 32px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.security-shield {
    font-size: 48px;
    margin-bottom: 16px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-item {
    padding: 8px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

/* New feature visual styles */
.plugin-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.plugin-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.plugin-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.plugin-item {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 12px;
    color: var(--accent-purple-light);
}

.template-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-glow-purple);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.agent-item {
    padding: 12px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.learning-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    position: relative;
}

.learning-level {
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.learning-arrow {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: bold;
}

.teacher-badge {
    position: absolute;
    bottom: -10px;
    background: var(--gradient-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: var(--shadow-glow-purple);
}

.prompt-visual {
    width: 100%;
    padding: 20px;
}

.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.prompt-tag {
    padding: 8px 14px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 11px;
    color: var(--accent-purple-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.community-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.community-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.stat-item {
    padding: 10px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    border-left: 3px solid var(--accent-purple);
}

/* Platform Stats Section */
.platform-stats {
    padding: 100px 0;
    background: rgba(17, 24, 39, 0.3);
    position: relative;
    overflow: hidden;
}

.platform-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple-strong);
    background: rgba(31, 41, 55, 0.9);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    line-height: 1.2;
}

.stat-unit {
    font-size: 28px;
    color: var(--accent-purple-light);
    font-weight: 600;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: rgba(17, 24, 39, 0.5);
}

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

.pricing-card {
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple-strong);
    background: rgba(31, 41, 55, 0.9);
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    border-width: 2px;
    box-shadow: var(--shadow-glow-purple-strong);
    background: rgba(31, 41, 55, 0.9);
    position: relative;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-purple);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(15px);
    animation: featuredGlow 3s ease-in-out infinite;
}

@keyframes featuredGlow {
    0%, 100% {
        opacity: 0.2;
        filter: blur(15px);
    }
    50% {
        opacity: 0.5;
        filter: blur(10px);
    }
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gradient-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-pricing {
    width: 100%;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

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

.cta-visual {
    max-width: 800px;
    margin: 0 auto;
}

.execution-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    border-left: 3px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.status-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.status-item.completed {
    border-left-color: #10B981;
}

.status-item.pending {
    border-left-color: var(--text-secondary);
    opacity: 0.6;
}

.status-icon {
    font-size: 20px;
}

.status-text {
    font-size: 14px;
    color: var(--text-primary);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 16px 0 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple);
    filter: brightness(1.2);
}

.footer-newsletter h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-purple-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-purple-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-preview-image {
        max-width: 100%;
    }
    
    .features-grid,
    .pricing-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .nav {
        display: none;
    }
    
    .app-preview-image {
        max-width: 100%;
    }
    
    .features-grid,
    .pricing-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-unit {
        font-size: 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .trust-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Workflows List Page Styles */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.filters-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    background: rgba(31, 41, 55, 0.9);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.category-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(31, 41, 55, 0.9);
}

.filter-btn.active {
    background: var(--gradient-purple);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sort-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.sort-select {
    padding: 10px 16px;
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.workflows-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.workflows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.workflow-card {
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(139, 92, 246, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.workflow-card:hover::before {
    left: 100%;
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple-strong);
    background: rgba(31, 41, 55, 0.9);
}

.workflow-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.workflow-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-glow-purple);
    flex-shrink: 0;
}

.workflow-badge {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    font-size: 11px;
    color: var(--accent-purple-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workflow-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.workflow-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.workflow-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.workflow-tag {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: var(--accent-purple-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.workflow-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.workflow-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.workflow-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.workflow-stat-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.workflow-action {
    padding: 8px 20px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow-purple);
}

.workflow-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple-strong);
    filter: brightness(1.1);
}

.loading-indicator {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

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

.no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--text-secondary);
}

.no-results svg {
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.no-results p {
    font-size: 16px;
}

.nav-link.active {
    color: var(--accent-purple-light);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .workflows-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-wrapper {
        gap: 16px;
    }
    
    .category-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

