:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-hover: #252540;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent: #667eea;
    --accent-light: #818cf8;
    --success: #10b981;
    --border-color: rgba(102, 126, 234, 0.2);
}


/* Preserve WOW.js animation functionality */
.wow {
    visibility: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
}

.logo {
    max-width: 200px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Only apply gradient to h1 inside header element */
header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Force Particle theme sections to use standard white text - no gradient */
section.pa-cta-v2 h1,
section.pa-about-us h1,
.pa-h1-v2.pa-bright {
    background: none !important;
    -webkit-background-clip: unset !important;

    background-clip: unset !important;
    color: #FFFFFF !important;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Badges */
.badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Links */
.header-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.header-links a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.header-links a:hover {
    color: var(--text-primary);
}

.header-links a:hover::after {
    width: 100%;
}

/* Version Badge */
.version-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    margin: 2rem 0;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

/* Section */
section {
    padding: 4rem 0;
    position: relative;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;

    background-clip: text;
}

section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

/* Problem/Solution */
.problem-solution {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    border-color: var(--accent);
}

.card h3 {
    margin-top: 0;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features Grid */
.features-list {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 2;
}

.features-list div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s;
}

.features-list div:hover {
    padding-left: 1rem;
    color: var(--accent-light);
}

/* Code Blocks */
.code-section {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

pre {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    color: white;
}

pre::before {
    content: attr(data-lang);
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

code {
    color: var(--accent-light);
}

.sql { color: #f97316; }
.comment { color: #64748b; }
.string { color: #10b981; }
.keyword { color: #818cf8; }

/* Quick Start */
.quick-start {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.quick-start h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    background: var(--dark-card);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 8px;
}

.step h4 {
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Feature Table */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    border-color: var(--accent);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card ul {
    list-style: none;
    color: var(--text-secondary);
}

.feature-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--accent);
}

ul {
    list-style-type: square;
    text-align: left;
}

/* Performance Stats */
.stats {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    font-family: 'Fira Code', monospace;
    margin: 2rem 0;
}

.stats pre {
    background: transparent;
    border: none;
    padding: 0;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-line:last-child {
    border-bottom: none;
}

.stat-value {
    color: var(--success);
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-light);
    font-weight: 600;
}

tr:hover {
    background: var(--dark-hover);
}

/* Roadmap */
.roadmap {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.roadmap-item {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.completed::before {
    content: '\2713';
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.coming::before {
    content: '\25CB';
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.use-case:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* CTA Buttons */
.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.middle {
    margin-left: 1rem;
    margin-right: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-light);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

/* License */
.license-section {
    background: var(--dark-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    margin-left: 1rem;
}

.license-column h4 {
    color: var(--success);
    margin-bottom: 1rem;
}

.license-column .restricted h4 {
    color: #f97316;
}

.license-column ul {
    list-style: none;
    color: var(--text-secondary);
}

.license-column li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.license-column li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
}

.license-column .restricted li::before {
    content: '\2717';
    color: #f97316;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .feature-grid,
    .use-cases {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
