:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #4f46e5;
    --border: #e2e8f0;
    --card: #ffffff;
}

[data-theme="dark"] {
    --bg: #020617;
    --bg-soft: #020617;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #6366f1;
    --border: #1e293b;
    --card: rgba(255,255,255,0.04);
}

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.2rem;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: var(--bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.nav {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

/* HERO */
.hero {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(79,70,229,0.1);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stats div strong {
    font-size: 1.4rem;
    display: block;
}

/* FEATURE GRID */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.feature-card.highlight {
    border: 2px solid var(--primary);
}

/* SAAS */
.saas {
    background: var(--bg-soft);
}

.saas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.saas-card {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

/* CONTACT */
.contact-box {
    max-width: 520px;
    margin: auto;
    text-align: center;
}

.contact-box form {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

input {
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* BUTTONS */
.btn {
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn.ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}
.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
}
/* FOOTER */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid,
    .saas-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}
/* PRICING */
.pricing {
    background: var(--bg-soft);
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-card h3 {
    margin-bottom: 0.3rem;
}

.price-desc {
    color: var(--muted);
    font-size: 0.9rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    margin-bottom: 0.7rem;
    padding-left: 1.2rem;
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* POPULAR PLAN */
.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.pricing-card .tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
}

/* BUTTON FULL WIDTH */
.btn.full {
    width: 100%;
    text-align: center;
    display: inline-block;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2rem;
}
