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

:root {
    --bg: #06060a;
    --bg-card: #0d0d14;
    --bg-card-hover: #12121c;
    --border: #1a1a2e;
    --border-hover: #2a2a44;
    --text: #e5e5e5;
    --text-muted: #7a7a8e;
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --gradient: linear-gradient(135deg, #6366f1, #a855f7, #3b82f6);
    --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
}

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

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6,6,10,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.nav-brand svg { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-login:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(99,102,241,0.08);
}

/* ── Hero ── */
.hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 10rem 0 4rem;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff;
    color: #111;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 50px rgba(255, 255, 255, 0.1);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    transition: color 0.2s;
}

.cta-secondary:hover { color: #fff; }

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.hero-stat { text-align: center; }
.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-weight: 500;
}
.hero-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Glow */
.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    top: 200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Sections ── */
.section {
    padding: 6rem 2rem;
}

.section-dark {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-badge-purple {
    color: var(--accent-2);
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.2);
}

.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Features grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    color: var(--icon-color);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feature-tags span {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

/* ── AI grid ── */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ai-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
}

.ai-card:hover {
    border-color: rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.04);
}

.ai-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139,92,246,0.1);
    color: var(--accent-2);
    border-radius: 10px;
    flex-shrink: 0;
}

.ai-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.ai-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Platforms ── */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.platform-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.platform-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    margin: 0 auto 1.25rem;
}

.platform-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.platform-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── WordPress grid ── */
.wp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wp-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
}

.wp-card:hover {
    border-color: rgba(127,84,179,0.3);
    background: rgba(127,84,179,0.04);
}

.wp-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.wp-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.wp-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Steps ── */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step-card {
    flex: 1;
    max-width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.step-arrow {
    flex-shrink: 0;
    opacity: 0.4;
}

/* ── CTA ── */
.section-cta {
    padding: 6rem 2rem;
    background: var(--gradient-subtle);
    border-top: 1px solid var(--border);
}

.section-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
}

.footer-brand svg { color: var(--accent); opacity: 0.6; }

.footer p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .features-grid,
    .ai-grid,
    .wp-grid,
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .steps-grid {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
    .step-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .nav-inner { padding: 0.75rem 1rem; }
    .nav-links { display: none; }

    .hero-content { padding: 7rem 0 3rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-desc { font-size: 0.95rem; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    .hero-stat-sep { display: none; }
    .hero-stat { flex: 1; min-width: 60px; }

    .section { padding: 3.5rem 1rem; }

    .features-grid,
    .ai-grid,
    .wp-grid,
    .platforms-grid {
        grid-template-columns: 1fr !important;
    }

    .feature-card { padding: 1.5rem; }
    .ai-card { flex-direction: column; gap: 0.75rem; }
    .wp-card { flex-direction: column; gap: 0.75rem; }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .section-cta { padding: 4rem 1rem; }
}
