/* Modern dark theme with glassmorphism */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #3b82f6;
    --accent-color: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at center, var(--primary-color), var(--accent-color), transparent 70%);
    opacity: 0.1;
    z-index: -1;
    filter: blur(80px);
}

.landing-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.05em;
}

p.subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 9999px;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0.95;
}

/* Sections */
section {
    padding: 4rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* How it works Section */
.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Use cases Section */
.use-cases-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.use-cases-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #e2e8f0;
    border-bottom: 1px solid var(--glass-border);
}

.use-cases-list li:last-child {
    border-bottom: none;
}

.use-cases-list li::before {
    content: "✓";
    color: #22c55e;
    margin-right: 0.75rem;
    font-weight: 600;
}

/* Blog preview Section */
.blog-preview {
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

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

.blog-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1rem;
}

.blog-card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.blog-card-content p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}

.blog-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.blog-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.blog-link:hover {
    color: #93c5fd;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    border-top: 1px solid var(--glass-border);
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p.subtitle {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 50vh;
    }

    section {
        padding: 2rem 1rem;
    }

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

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

    .blog-cards {
        grid-template-columns: 1fr;
    }
}
