/* ===================================
   VantaViz Website Styles
   Modern, Clean Design
   =================================== */

/* CSS Variables - New Color Scheme */
:root {
    /* Primary Colors - Teal/Cyan based */
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --accent-color: #14b8a6;
    
    /* Neutral Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* Border & Divider */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* 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 cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: none;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 968px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-badge svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--spacing-xl);
    justify-content: center;
}

@media (min-width: 968px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

@media (min-width: 968px) {
    .stat-item {
        text-align: left;
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: none;
}

@media (min-width: 968px) {
    .hero-visual {
        display: block;
    }
}

.visual-card {
    position: absolute;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 40px -12px rgba(8, 145, 178, 0.15);
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.visual-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 24px 48px -12px rgba(8, 145, 178, 0.25);
    transform: translateY(-4px) !important;
}

.visual-card.card-1 {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 150px;
    animation-delay: 0s;
}

.visual-card.card-2 {
    top: 40%;
    right: 10%;
    width: 240px;
    height: 160px;
    animation-delay: 1s;
}

.visual-card.card-3 {
    bottom: 15%;
    left: 20%;
    width: 180px;
    height: 180px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.chart-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1s ease-out;
}

@keyframes barGrow {
    from {
        height: 0;
    }
}

.chart-line {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-line svg {
    width: 100%;
    height: 100%;
    shape-rendering: geometricPrecision;
}

.chart-pie svg {
    width: 100%;
    height: 100%;
}

/* Value Props Section */
.value-props {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.value-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 968px) {
    .value-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: white;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--primary-color);
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.feature-item {
    display: grid;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 968px) {
    .feature-item {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-item.reverse {
        direction: rtl;
    }
    
    .feature-item.reverse > * {
        direction: ltr;
    }
}

.feature-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mockup Window */
.mockup-window {
    width: 100%;
    max-width: 400px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.window-dots span:nth-child(1) {
    background: #ff5f56;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:nth-child(3) {
    background: #27c93f;
}

.window-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.window-content {
    padding: 2rem;
}

.file-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.file-type {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.file-type:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.data-operations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.operation {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Advanced Mockup Styles */
.mockup-window.advanced {
    max-width: 450px;
}

.import-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drop-zone {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    overflow: hidden;
}

.drop-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(8, 145, 178, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.drop-icon {
    color: var(--primary-color);
    margin: 0 auto 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.drop-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.file-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.file-icon.csv {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
}

.file-icon.csv::before {
    content: 'CSV';
}

.file-icon.excel {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    color: white;
}

.file-icon.excel::before {
    content: 'XLS';
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.file-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.file-status.success {
    background: #27c93f;
    box-shadow: 0 0 0 3px rgba(39, 201, 63, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.format-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.format-badge {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Processing Preview Styles */
.processing-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.03) 0%, rgba(20, 184, 166, 0.03) 100%);
    border-radius: var(--radius-lg);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.step-icon.filter {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.step-icon.transform {
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
}

.step-icon.aggregate {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 4px;
}

.step-icon.filter::before {
    border-radius: 2px;
}

.step-icon.transform::before {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.step-icon.aggregate::before {
    border-radius: 0;
    width: 18px;
    height: 18px;
    border-width: 2px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: none;
    background: white;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.flow-arrow {
    color: var(--primary-color);
    opacity: 0.5;
    animation: flowMove 2s ease-in-out infinite;
}

@keyframes flowMove {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(4px); opacity: 1; }
}

.data-preview {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.preview-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-count {
    font-size: 0.75rem;
    color: var(--text-light);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
}

.preview-table {
    display: flex;
    flex-direction: column;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-cell {
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-row:not(.header) .table-cell {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.8125rem;
}

/* Chart Gallery */
.chart-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.chart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.chart-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px -8px rgba(8, 145, 178, 0.3);
    border-color: var(--primary-color);
}

.chart-item:hover::before {
    opacity: 1;
}

.chart-item:hover .mini-chart {
    transform: scale(1.05);
}

.chart-item:hover span {
    color: var(--primary-color);
    font-weight: 600;
}

.mini-chart {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
    position: relative;
    z-index: 1;
}

.bar-chart {
    background: 
        linear-gradient(to top, var(--primary-color) 0%, var(--primary-color) 70%, transparent 70%),
        linear-gradient(to top, var(--primary-light) 0%, var(--primary-light) 50%, transparent 50%) 15px 0,
        linear-gradient(to top, var(--primary-color) 0%, var(--primary-color) 85%, transparent 85%) 30px 0,
        linear-gradient(to top, var(--primary-light) 0%, var(--primary-light) 40%, transparent 40%) 45px 0;
    background-size: 12px 100%, 12px 100%, 12px 100%, 12px 100%;
    background-repeat: no-repeat;
    background-position: 0 bottom, 15px bottom, 30px bottom, 45px bottom;
}

.line-chart {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M 8 48 L 18 38 L 28 42 L 38 22 L 48 28 L 52 18' stroke='%230891b2' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
}

.pie-chart {
    background: conic-gradient(var(--primary-color) 0deg 180deg, var(--accent-color) 180deg 360deg);
    border-radius: 50%;
}

.scatter-chart {
    background: var(--bg-secondary);
    position: relative;
    overflow: visible;
}

.scatter-chart svg {
    width: 100%;
    height: 100%;
}

/* Animated scatter points */
.scatter-point {
    animation: scatterPulse 3s ease-in-out infinite;
    transform-origin: center;
    transition: all 0.3s ease;
}

.scatter-point:nth-child(12) { animation-delay: 0s; }
.scatter-point:nth-child(13) { animation-delay: 0.3s; }
.scatter-point:nth-child(14) { animation-delay: 0.6s; }
.scatter-point:nth-child(15) { animation-delay: 0.9s; }
.scatter-point:nth-child(16) { animation-delay: 1.2s; }
.scatter-point:nth-child(17) { animation-delay: 1.5s; }
.scatter-point:nth-child(18) { animation-delay: 1.8s; }
.scatter-point:nth-child(19) { animation-delay: 2.1s; }
.scatter-point:nth-child(20) { animation-delay: 2.4s; }
.scatter-point:nth-child(21) { animation-delay: 2.7s; }

@keyframes scatterPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Scatter glow animation */
.scatter-glow {
    animation: glowPulse 3s ease-in-out infinite;
}

.scatter-glow:nth-child(2) { animation-delay: 0s; }
.scatter-glow:nth-child(3) { animation-delay: 0.3s; }
.scatter-glow:nth-child(4) { animation-delay: 0.6s; }
.scatter-glow:nth-child(5) { animation-delay: 0.9s; }
.scatter-glow:nth-child(6) { animation-delay: 1.2s; }
.scatter-glow:nth-child(7) { animation-delay: 1.5s; }
.scatter-glow:nth-child(8) { animation-delay: 1.8s; }
.scatter-glow:nth-child(9) { animation-delay: 2.1s; }
.scatter-glow:nth-child(10) { animation-delay: 2.4s; }
.scatter-glow:nth-child(11) { animation-delay: 2.7s; }

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.chart-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

/* Dashboard Preview */
.dashboard-preview {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-card {
    height: 100px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.3;
    border-radius: var(--radius-md);
}

.dashboard-card.large {
    grid-column: span 2;
    height: 140px;
}

/* Customization Preview Styles */
.customization-preview {
    width: 100%;
    max-width: 500px;
}

.preview-window {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.preview-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0891b2 0%, #06b6d4 50%, #14b8a6 100%);
}

.preview-header-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.header-dots {
    display: flex;
    gap: 0.5rem;
}

.header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.header-dots span:nth-child(1) {
    background: #ff5f56;
}

.header-dots span:nth-child(2) {
    background: #ffbd2e;
}

.header-dots span:nth-child(3) {
    background: #27c93f;
}

.header-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.showcase-chart {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.showcase-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.showcase-chart:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.showcase-chart:hover::before {
    opacity: 1;
}

.showcase-chart.academic {
    border-color: rgba(71, 85, 105, 0.3);
    background: #fafafa;
}

.showcase-chart.business {
    border-color: rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.02) 0%, rgba(20, 184, 166, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.showcase-chart.business::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.chart-visual {
    height: 80px;
    position: relative;
    z-index: 1;
}

.chart-svg {
    width: 100%;
    height: 100%;
    animation: chartFadeIn 0.8s ease-out;
}

.chart-svg.academic-chart {
    filter: none;
}

.chart-svg.business-chart {
    filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.2));
}

@keyframes chartFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-chart.academic .chart-svg rect,
.showcase-chart.academic .chart-svg path,
.showcase-chart.academic .chart-svg circle {
    animation: academicFadeIn 1s ease-out 0.3s both;
}

.showcase-chart.business .chart-svg rect {
    animation: businessBarGrow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes academicFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes businessBarGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes barGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.customization-controls {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-palette {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 0 0 3px var(--primary-color);
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transition: all var(--transition-base);
}

.color-swatch:hover::after {
    width: 12px;
    height: 12px;
}

.style-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.style-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    cursor: pointer;
}

.style-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.style-badge.active {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Platforms Section */
.platforms {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.platforms-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.platform-card {
    background: white;
    padding: var(--spacing-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.platform-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.platform-card h3 {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.platform-card p {
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.sync-info {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.sync-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.sync-info h3 {
    margin-bottom: var(--spacing-sm);
}

.sync-info p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9375rem;
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 968px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 0.375rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0.25rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-description {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.pricing-features .check-icon {
    color: var(--primary-color);
}

.pricing-features .x-icon {
    color: var(--text-light);
}

.feature-disabled {
    opacity: 0.6;
}

.pricing-note {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    margin: 0;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stat .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 968px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* Responsive Utilities */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}
