/* SageCube brand styles for the redesigned pages (home, how it works, courses, checkout).
   Brand colours only (blue, yellow, green, orange, navy). Poppins comes from sagecube-brand.v1.css. */

:root {
    --sc-blue: #0a6ce6;
    --sc-blue-dark: #0858c0;
    --sc-blue-deep: #0A3F8C;
    --sc-blue-50: #eef5fe;
    --sc-blue-100: #DCEAFD;
    --sc-navy: #0f1b33;
    --sc-navy-2: #0A3F8C;
    --sc-yellow: #FFC53D;
    --sc-yellow-soft: #fde68a;
    --sc-green: #3bc414;
    --sc-green-dark: #2b8f0f;
    --sc-green-50: #e8f9e1;
    --sc-orange: #F57C14;
    --sc-ink: #0f1b33;
    --sc-text: #43506b;
    --sc-muted: #6b7690;
    --sc-line: #e3e9f3;
    --sc-bg: #f6f9fe;
    --sc-white: #fff;
    --sc-radius: 18px;
    --sc-shadow: 0 18px 40px -22px rgba(15, 27, 51, 0.35);
}

.sc-page { margin: 0; font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--sc-text); background: var(--sc-white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.sc-page *, .sc-page *::before, .sc-page *::after { box-sizing: border-box; }
.sc-page h1, .sc-page h2, .sc-page h3, .sc-page h4, .sc-display { font-family: 'Poppins', sans-serif; color: var(--sc-ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
.sc-page p { margin: 0; }
.sc-page img { max-width: 100%; }
.sc-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.sc-page [hidden] { display: none !important; }
.sc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.sc-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sc-line); }
.sc-header .sc-wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.sc-header .sc-logo img { display: block; height: 40px; width: auto; }
.sc-nav { display: flex; align-items: center; gap: 1.6rem; }
.sc-nav a { color: var(--sc-ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.sc-nav a:hover, .sc-nav a.active { color: var(--sc-blue); }
.sc-nav a.sc-nav-gift { color: #d97706; }
.sc-nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; cursor: pointer; color: var(--sc-ink); }

/* Buttons */
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 12px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; line-height: 1.2; }
.sc-btn:hover { transform: translateY(-1px); }
.sc-btn-blue { background: var(--sc-blue); color: #fff; box-shadow: 0 4px 0 var(--sc-blue-deep); }
.sc-btn-blue:hover { background: var(--sc-blue-dark); }
.sc-btn-yellow { background: var(--sc-yellow); color: var(--sc-ink); box-shadow: 0 4px 0 #d99a0b; }
.sc-btn-green { background: var(--sc-green); color: #fff; box-shadow: 0 4px 0 var(--sc-green-dark); }
.sc-btn-green:hover { background: #33ad11; }
.sc-btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.sc-btn-ghost-white:hover { background: rgba(255, 255, 255, 0.12); }
.sc-btn-outline { background: #fff; color: var(--sc-blue); border-color: var(--sc-blue); }
.sc-btn-outline:hover { background: var(--sc-blue-50); }
.sc-btn-sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; border-radius: 10px; }

/* Labels */
.sc-pill { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--sc-yellow); color: var(--sc-ink); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sc-kicker { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-orange); margin-bottom: 0.5rem; }
.sc-section { padding: 4.5rem 0; }
.sc-section-tint { background: var(--sc-bg); }
.sc-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.sc-section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.sc-section-head p { margin-top: 0.6rem; color: var(--sc-muted); }

/* Hero (blue) */
.sc-hero { position: relative; overflow: hidden; background: var(--sc-blue); color: #fff; padding: 3.5rem 0 3rem; }
.sc-hero::after { content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: rgba(5, 60, 150, 0.35); left: -300px; bottom: -520px; pointer-events: none; }
.sc-hero .sc-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.sc-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; margin: 1rem 0 1.1rem; }
.sc-hero h1 em { font-style: normal; color: var(--sc-yellow); }
.sc-hero-lead { color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; max-width: 540px; }
.sc-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 0.9rem; }
.sc-hero-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.sc-hero-art img { display: block; width: 100%; height: auto; }

/* Cards */
.sc-card { background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 1.4rem; }
.sc-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sc-blue-50); color: var(--sc-blue); flex-shrink: 0; }
.sc-icon svg { width: 20px; height: 20px; }
.sc-icon.orange { background: #fff1e3; color: var(--sc-orange); }
.sc-icon.green { background: var(--sc-green-50); color: var(--sc-green-dark); }
.sc-icon.yellow { background: #fff6d6; color: #b7791f; }
.sc-icon.red { background: #ffe9ec; color: #e0435a; }

/* FAQ */
.sc-faq { border: 1px solid var(--sc-line); border-radius: 14px; background: #fff; margin-bottom: 0.7rem; }
.sc-faq summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--sc-ink); font-size: 0.95rem; }
.sc-faq summary::-webkit-details-marker { display: none; }
.sc-faq summary::after { content: '+'; color: var(--sc-blue); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.sc-faq[open] summary::after { content: '\2212'; }
.sc-faq[open] { border-color: var(--sc-blue-100); box-shadow: 0 8px 24px -18px rgba(10, 108, 230, 0.6); }
.sc-faq div { padding: 0 1.2rem 1.1rem; color: var(--sc-text); font-size: 0.93rem; }

/* Final CTA + footer */
.sc-cta-band { background: var(--sc-yellow); padding: 3.5rem 0; text-align: center; }
.sc-cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 900; }
.sc-cta-band .sc-hero-ctas { justify-content: center; margin-bottom: 0; }
.sc-footer { background: var(--sc-navy); color: rgba(255, 255, 255, 0.78); padding: 1.6rem 0; font-size: 0.86rem; }
.sc-footer .sc-wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.sc-footer-logo { background: #fff; border-radius: 10px; padding: 0.35rem 0.6rem; display: inline-flex; }
.sc-footer-logo img { height: 30px; width: auto; display: block; }
.sc-footer-links { margin-left: auto; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sc-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.sc-footer a:hover { color: #fff; }

@media (max-width: 900px) {
    .sc-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--sc-line); padding: 0.5rem 1.5rem 1rem; }
    .sc-nav.open { display: flex; }
    .sc-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--sc-line); }
    .sc-nav a.sc-btn { margin-top: 0.75rem; border-bottom: 0; }
    .sc-nav-toggle { display: inline-flex; }
    .sc-hero .sc-wrap { grid-template-columns: 1fr; }
    .sc-hero { padding: 2.25rem 0 2rem; text-align: center; }
    .sc-hero-lead { margin: 0 auto; }
    .sc-hero-ctas { justify-content: center; }
    .sc-hero-art { max-width: 460px; margin: 0 auto; }
    .sc-section { padding: 3rem 0; }
    .sc-footer-links { margin-left: 0; }
}
@media (max-width: 560px) {
    .sc-wrap { padding: 0 1.1rem; }
    .sc-hero-ctas .sc-btn { flex: 1 1 140px; }
}
