/* ==========================================================================
   EAD MARANGUAPE - HOMEPAGE STYLES (REBRAND 2026)
   Paleta:
     Indigo  #4F46E5  (primária)
     Laranja #F97316  (CTA / ação)
     Amarelo #FACC15  (destaque)
     Magenta #EC4899  (jovialidade)
     Verde   #10B981  (sucesso)
     Cyan    #06B6D4
     Tinta   #0F172A
   Tipografia: Space Grotesk (headings) + Plus Jakarta Sans (body)
   ========================================================================== */

:root {
    --brand-primary: #4F46E5;
    --brand-primary-deep: #3730A3;
    --brand-primary-soft: #EEF2FF;
    --brand-secondary: #F97316;
    --brand-secondary-soft: #FFF7ED;
    --brand-accent: #FACC15;
    --brand-accent-soft: #FEFCE8;
    --brand-pink: #EC4899;
    --brand-pink-soft: #FDF2F8;
    --brand-green: #10B981;
    --brand-green-soft: #ECFDF5;
    --brand-cyan: #06B6D4;
    --brand-cyan-soft: #ECFEFF;
    --ink-900: #0F172A;
    --ink-700: #334155;
    --ink-500: #64748B;
    --ink-400: #94A3B8;
    --ink-300: #CBD5E1;
    --ink-200: #E2E8F0;
    --ink-100: #F1F5F9;
    --paper: #FFFFFF;
    --paper-soft: #FAFAFC;

    --grad-primary: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #7C3AED 100%);
    --grad-warm: linear-gradient(135deg, #F97316 0%, #FACC15 100%);
    --grad-fun: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
    --grad-fresh: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-brand: 0 12px 30px rgba(79, 70, 229, 0.25);
    --shadow-warm: 0 12px 30px rgba(249, 115, 22, 0.25);
}

/* ===== Helpers reutilizáveis ===== */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-eyebrow.eyebrow-warm  { background: var(--brand-secondary-soft); color: var(--brand-secondary); }
.section-eyebrow.eyebrow-pink  { background: var(--brand-pink-soft);      color: var(--brand-pink); }
.section-eyebrow.eyebrow-green { background: var(--brand-green-soft);     color: var(--brand-green); }
.section-eyebrow.eyebrow-cyan  { background: var(--brand-cyan-soft);      color: var(--brand-cyan); }

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.75rem);
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--ink-500);
    max-width: 640px;
    line-height: 1.7;
}

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

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-edu {
    position: relative;
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(236, 72, 153, 0.12), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(6, 182, 212, 0.14), transparent 60%),
        linear-gradient(180deg, #FAFBFF 0%, #F1F0FE 100%);
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.hero-edu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(79,70,229,0.18) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.35;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 70%);
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 380px; height: 380px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, #C7D2FE, transparent 70%);
}

.hero-blob-2 {
    width: 300px; height: 300px;
    bottom: -100px; left: -60px;
    background: radial-gradient(circle, #FED7AA, transparent 70%);
}

.hero-edu .container { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--paper);
    color: var(--brand-primary);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(79, 70, 229, 0.12);
    margin-bottom: 1.5rem;
}

.hero-badge .pulse {
    width: 8px; height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
    color: var(--brand-primary);
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: -2px; right: -2px;
    bottom: 4px;
    height: 12px;
    background: var(--brand-accent);
    opacity: 0.55;
    z-index: -1;
    border-radius: 4px;
    transform: skew(-6deg);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--ink-500);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-edu {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.85rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-edu-primary {
    background: var(--grad-warm);
    color: white;
    box-shadow: var(--shadow-warm);
}

.btn-edu-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.35);
    color: white;
}

.btn-edu-ghost {
    background: var(--paper);
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary-soft);
    box-shadow: var(--shadow-sm);
}

.btn-edu-ghost:hover {
    border-color: var(--brand-primary);
    background: var(--brand-primary-soft);
    transform: translateY(-3px);
    color: var(--brand-primary);
}

.btn-edu-dark {
    background: var(--ink-900);
    color: white;
}

.btn-edu-dark:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--ink-500);
    font-size: 0.9rem;
}

.hero-trust .avatars {
    display: flex;
}

.hero-trust .avatars span {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad-primary);
    border: 2.5px solid white;
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.hero-trust .avatars span:first-child { margin-left: 0; background: var(--grad-warm); }
.hero-trust .avatars span:nth-child(2) { background: var(--grad-fresh); }
.hero-trust .avatars span:nth-child(3) { background: var(--grad-fun); }
.hero-trust .avatars span:nth-child(4) { background: var(--brand-pink); }

.hero-trust .stars {
    color: var(--brand-accent);
    margin-right: 0.25rem;
}

.hero-trust strong { color: var(--ink-900); }

/* ----- Hero visual (lado direito) ----- */
.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: white;
    border-radius: 22px;
    padding: 1.75rem;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.8);
    transform: rotate(-2deg);
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ink-100);
}

.hero-card-avatar {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--grad-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-brand);
}

.hero-card-head h6 {
    margin: 0;
    font-weight: 700;
    color: var(--ink-900);
}

.hero-card-head span {
    font-size: 0.82rem;
    color: var(--ink-400);
}

.hero-progress-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
}

.hero-progress-item + .hero-progress-item {
    border-top: 1px dashed var(--ink-100);
}

.hero-progress-item .hp-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-progress-item .hp-info {
    flex: 1;
    min-width: 0;
}

.hero-progress-item .hp-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
}

.hero-progress-item .hp-meta {
    font-size: 0.74rem;
    color: var(--ink-400);
}

.hero-progress-item .hp-bar {
    width: 64px;
    height: 6px;
    background: var(--ink-100);
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-progress-item .hp-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.hero-card-cta {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    background: var(--brand-green-soft);
    color: var(--brand-green);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Floating chips */
.hero-chip {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 0.75rem 1.05rem;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-900);
    z-index: 4;
    animation: float 5s ease-in-out infinite;
}

.hero-chip .chip-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
}

.hero-chip-1 {
    top: 6%;
    right: 4%;
    animation-delay: 0s;
}
.hero-chip-1 .chip-icon { background: var(--grad-fun); }

.hero-chip-2 {
    bottom: 14%;
    left: -2%;
    animation-delay: 1.2s;
}
.hero-chip-2 .chip-icon { background: var(--grad-fresh); }

.hero-chip-3 {
    top: 42%;
    right: -4%;
    animation-delay: 2.4s;
    transform: rotate(4deg);
}
.hero-chip-3 .chip-icon { background: var(--grad-warm); }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-12px) rotate(-1deg); }
}

.hero-chip-3 {
    animation-name: floatRot;
}

@keyframes floatRot {
    0%, 100% { transform: translateY(0) rotate(4deg); }
    50%      { transform: translateY(-12px) rotate(-2deg); }
}

/* ============================================================
   TRUST BAR — números rápidos
   ============================================================ */
.trust-bar {
    background: var(--ink-900);
    color: white;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 50%, rgba(79,70,229,0.35), transparent 60%),
        radial-gradient(600px 300px at 80% 50%, rgba(236,72,153,0.25), transparent 60%);
    pointer-events: none;
}

.trust-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    justify-content: center;
}

.trust-item .ti-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--brand-accent);
}

.trust-item .ti-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.trust-item .ti-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.2rem;
}

/* ============================================================
   COMO FUNCIONA — passos
   ============================================================ */
.how-section {
    padding: 5.5rem 0;
    background: var(--paper);
    position: relative;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    counter-reset: step;
}

.how-card {
    position: relative;
    background: var(--paper-soft);
    border: 1px solid var(--ink-100);
    border-radius: 22px;
    padding: 2.25rem 1.75rem 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    counter-increment: step;
    overflow: hidden;
}

.how-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -8px;
    right: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--ink-100);
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 0;
}

.how-card:hover {
    background: white;
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.how-card:hover::before { color: var(--brand-primary-soft); }

.how-card .how-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: white;
    position: relative;
    z-index: 1;
}

.how-card:nth-child(1) .how-icon { background: var(--grad-primary); }
.how-card:nth-child(2) .how-icon { background: var(--grad-warm); }
.how-card:nth-child(3) .how-icon { background: var(--grad-fresh); }

.how-card h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    position: relative; z-index: 1;
}

.how-card p {
    color: var(--ink-500);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    position: relative; z-index: 1;
}

/* ============================================================
   FEATURES — diferenciais
   ============================================================ */
.features-section {
    padding: 5.5rem 0;
    background: var(--paper-soft);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(250,204,21,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.feature-card {
    background: white;
    border: 1px solid var(--ink-100);
    border-radius: 20px;
    padding: 1.85rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--accent-color, var(--brand-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-box {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-card h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--ink-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   COURSES — destaques
   ============================================================ */
.courses-section {
    padding: 5.5rem 0;
    background: var(--paper);
}

.courses-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.course-img-wrap {
    height: 170px;
    overflow: hidden;
    position: relative;
}

.course-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.course-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrap img { transform: scale(1.08); }

.course-img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.course-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: white;
    color: var(--ink-900);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.course-body {
    padding: 1.25rem 1.35rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-cat-badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    width: fit-content;
}

.course-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--ink-900);
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    flex: 1;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--ink-500);
}

.course-meta-item i { color: var(--brand-primary); }

.btn-course-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid transparent;
}

.btn-course-link:hover {
    background: var(--grad-warm);
    color: white;
    transform: translateY(-2px);
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--ink-900);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-see-all:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* ============================================================
   CATEGORIAS
   ============================================================ */
.categories-section {
    padding: 5.5rem 0;
    background: var(--paper-soft);
    position: relative;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.85rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    border: 1px solid var(--ink-100);
    background: white;
    height: 100%;
}

.cat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.cat-icon {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-icon { transform: scale(1.1) rotate(-4deg); }

.cat-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
    color: var(--ink-900);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 5.5rem 0;
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--brand-primary-soft) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--ink-100);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    line-height: 0.6;
    color: var(--brand-primary-soft);
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-weight: 700;
}

.testimonial-stars {
    color: var(--brand-accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--ink-700);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-author .ta-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
}

.testimonial-author h6 {
    margin: 0;
    font-weight: 700;
    color: var(--ink-900);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--ink-400);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
    position: relative;
    padding: 5rem 0;
    background:
        radial-gradient(900px 500px at 80% 0%, rgba(250,204,21,0.18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(236,72,153,0.25), transparent 60%),
        linear-gradient(135deg, #4F46E5 0%, #3730A3 60%, #1E1B4B 100%);
    overflow: hidden;
    color: white;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.18) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.25;
    pointer-events: none;
}

.cta-final .container { position: relative; z-index: 2; text-align: center; }

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 1.4rem + 1.8vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-title .underline {
    position: relative;
    display: inline-block;
}
.cta-title .underline::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 6px;
    background: var(--brand-accent);
    border-radius: 4px;
    transform: skew(-8deg);
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-cta-warm {
    background: var(--grad-warm);
    color: white;
    box-shadow: var(--shadow-warm);
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-warm:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
    color: white;
}

.btn-cta-glass {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-glass:hover {
    background: rgba(255,255,255,0.18);
    color: white;
    transform: translateY(-3px);
}

.cta-perks {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-perk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.92);
    font-size: 0.92rem;
    font-weight: 600;
}

.cta-perk i {
    color: var(--brand-accent);
    font-size: 1.15rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .hero-card { max-width: 340px; }
    .hero-chip-3 { right: 0; }
}

@media (max-width: 991.98px) {
    .hero-edu { padding: 4rem 0; }
    .hero-visual { min-height: 380px; margin-top: 2.5rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
    .how-grid { grid-template-columns: 1fr; }
    .courses-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
    .hero-edu { padding: 3rem 0 4rem; }
    .hero-visual { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-edu { justify-content: center; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .trust-item { justify-content: flex-start; }
    .features-section, .courses-section, .categories-section,
    .testimonials-section, .how-section, .cta-final { padding: 3.5rem 0; }
    .cta-perks { gap: 0.75rem; flex-direction: column; align-items: center; }
    .btn-cta-warm, .btn-cta-glass { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
    .trust-grid { grid-template-columns: 1fr; }
    .hero-card { transform: rotate(0); }
}
