:root {
    --primary: #6b4eff;
    --primary-dark: #4d2ee6;
    --accent: #ffd166;
    --accent-light: #fff4d6;
    --text: #1f2933;
    --muted: #64748b;
    --surface: #ffffff;
    --soft: #f6f7fb;
    --shadow: 0 10px 30px rgba(107, 78, 255, 0.1);
    --radius-lg: 18px;
    --radius-md: 14px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Inter', system-ui, sans-serif;
    color: var(--text);
}

.bg-soft {
    background-color: var(--soft) !important;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.navbar-brand .brand-mark {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), #9c8cff);
    box-shadow: 0 6px 15px rgba(107, 78, 255, 0.35);
}

.nav-link {
    font-weight: 600;
    color: var(--muted);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.btn {
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: rgba(107, 78, 255, 0.12);
    color: var(--primary);
    border: 1px solid rgba(107, 78, 255, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(107, 78, 255, 0.2);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary);
    color: #fff;
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    padding: 0;
}

.hero {
    background: radial-gradient(circle at 10% 10%, rgba(107, 78, 255, 0.08), transparent 35%),
                radial-gradient(circle at 90% 20%, rgba(255, 209, 102, 0.2), transparent 40%);
}

.hero-card,
.feature-card,
.session-card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.card { border: none; }
.card-body { padding: 1.5rem; }

.hero-card .form-control,
.hero-card .form-select {
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.hero-card .form-label {
    font-weight: 600;
    color: var(--text);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
}

.icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
}

.bg-accent {
    background: var(--accent);
}

.bg-accent-light {
    background: var(--accent-light);
}

.avatar-stack {
    display: inline-flex;
    gap: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.brand-pill {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(107, 78, 255, 0.2);
}

.stamp {
    background: var(--accent-light);
    color: var(--text);
    border-radius: 12px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.trust-row {
    background: rgba(107, 78, 255, 0.05);
    border: 1px solid rgba(107, 78, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
}

.trust-badge {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(107, 78, 255, 0.1);
}

.dot {
    color: rgba(0, 0, 0, 0.25);
}

.pill,
.pill-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pill {
    background: rgba(107, 78, 255, 0.1);
    color: var(--primary);
}

.pill-soft {
    background: rgba(107, 78, 255, 0.08);
    color: var(--text);
}

.program-card,
.trust-card,
.blog-card {
    border-radius: var(--radius-lg);
}

.bg-gradient-card {
    background: linear-gradient(135deg, #f4f1ff, #ffe9c7);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(107, 78, 255, 0.15);
}

.footer {
    background: #0f172a;
    color: #e2e8f0;
}

.footer .brand-mark {
    background: linear-gradient(135deg, var(--accent), #ffb347);
    box-shadow: none;
}

.footer .link-secondary {
    color: #cbd5e1;
}

.footer .link-secondary:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding-left: 0;
    }

    .hero .btn {
        width: 100%;
    }
}

.newsletter-form .form-control {
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-form .form-control::placeholder {
    color: #cbd5e1;
}

.newsletter-form.bg-white .form-control {
    background: #f8fafc;
    color: var(--text);
    border: 1px solid #e5e7eb;
}

.newsletter-form.bg-white .form-control::placeholder {
    color: var(--muted);
}

.newsletter-form .btn {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
}

.step-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--muted);
    font-weight: 700;
    border: 1px solid #e5e7eb;
}

.step-chip-active {
    background: rgba(107, 78, 255, 0.12);
    color: var(--primary);
    border-color: rgba(107, 78, 255, 0.35);
    box-shadow: 0 8px 20px rgba(107, 78, 255, 0.12);
}

.step-connector {
    height: 2px;
    flex: 1;
    min-width: 24px;
    background: linear-gradient(90deg, rgba(107, 78, 255, 0.15), rgba(107, 78, 255, 0.05));
}

.program-description {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 0.95rem;
}

.program-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.program-description ul,
.program-description ol {
    padding-left: 1.5rem;
    list-style-position: outside;
    margin-bottom: 1rem;
}

.program-description ul li,
.program-description ol li {
    margin-bottom: 0.5rem;
}

.program-description ul li::marker,
.program-description ol li::marker {
    color: var(--muted);
}

.program-description h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.program-description .lead {
    font-size: 1.1rem;
}
