/* Trading / fintech palette */
:root {
    --beige: #f1f5f9;
    --pink: rgba(34, 197, 94, 0.14);
    --orange: #d97706;
    --dark-orange: #b45309;
    --teal: #2563eb;
    --dark-green: #166534;
    --dark-blue: #1e3a8a;
    --reddish-brown: #0f172a;
    --light-green: rgba(37, 99, 235, 0.12);
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bull: #16a34a;
    --bear: #dc2626;
    --chart-bg: #0f172a;
    --chart-panel: #1e293b;
    --navbar-height: 72px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.nav-open {
    overflow: hidden;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--beige);
    position: relative;
}

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

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    min-height: var(--navbar-height) !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.navbar .container.navbar-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 0.75rem 1rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    min-height: var(--navbar-height) !important;
}

.navbar .nav-brand {
    justify-self: start;
}

.navbar .nav-menu {
    justify-self: center;
}

.navbar .nav-actions {
    justify-self: end;
}

.nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    color: inherit !important;
    max-width: fit-content !important;
}

.nav-brand:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
    border-radius: 8px;
}

.logo-img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    min-width: 38px !important;
    max-width: 42px !important;
    object-fit: contain;
    transition: transform 0.25s ease;
    display: block;
}

.nav-brand:hover .logo-img {
    transform: scale(1.04);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.nav-brand h1 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.15rem !important;
    color: var(--reddish-brown);
    margin: 0 !important;
    font-weight: 700;
    line-height: 1.15 !important;
    padding: 0 !important;
    letter-spacing: -0.02em;
}

.nav-brand .tagline {
    font-size: 0.65rem !important;
    color: var(--text-light);
    margin: 0 !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    padding: 0 !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.2rem;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
    min-width: 0;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--reddish-brown);
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a.active {
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.25);
}

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
}

.whatsapp-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.28);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.whatsapp-btn svg {
    width: 18px;
    height: 18px;
    fill: white !important;
    flex-shrink: 0;
    display: block;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    display: inline-block !important;
    color: white !important;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(15, 23, 42, 0.1);
}

.hamburger:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--reddish-brown);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--navbar-height) + 1.25rem);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--pink);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--teal);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--orange);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--light-green);
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50px) translateX(30px) rotate(90deg);
    }
    50% {
        transform: translateY(-100px) translateX(-30px) rotate(180deg);
    }
    75% {
        transform: translateY(-50px) translateX(30px) rotate(270deg);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--reddish-brown);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--bull);
    position: relative;
}

.hero-rotating {
    display: inline-block;
    min-width: 12ch;
    text-align: left;
    vertical-align: bottom;
}

.hero-rotating-word {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.hero-rotating-word.hero-rotating-word--out {
    opacity: 0;
    transform: translateY(-0.35em);
}

@media (max-width: 768px) {
    .hero-rotating {
        min-width: 10ch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-rotating-word {
        transition: none;
    }

    .hero-rotating-word.hero-rotating-word--out {
        transform: none;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: white;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(30, 58, 138, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--reddish-brown);
    border: 2px solid rgba(15, 23, 42, 0.35);
}

.btn-secondary:hover {
    background: var(--reddish-brown);
    color: white;
    border-color: var(--reddish-brown);
    transform: translateY(-3px);
}

/* Hero chart card + carousel (trading / teaching) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-carousel {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-carousel-viewport {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.hero-carousel-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(16px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0.55s;
    pointer-events: none;
    z-index: 0;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 1;
}

.hero-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.1rem;
}

.hero-carousel-dots {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-carousel-dot {
    font-family: 'Outfit', system-ui, sans-serif;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-carousel-dot:hover {
    color: var(--reddish-brown);
}

.hero-carousel-dot.is-active {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}

.hero-carousel-dot:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.hero-chart-card {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(165deg, var(--chart-panel) 0%, var(--chart-bg) 100%);
    border-radius: 16px;
    padding: 1rem 1.1rem 0.85rem;
    box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: none;
}

.hero-carousel-slide.is-active .hero-chart-card,
.hero-carousel-slide.is-active .hero-teach-card {
    animation: heroCardFloat 7s ease-in-out infinite;
}

@keyframes heroCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-chart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding: 0 0.15rem;
}

.hero-chart-pair {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-chart-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.hero-chart-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: 'Outfit', system-ui, sans-serif;
}

.hero-chart-change {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Outfit', system-ui, sans-serif;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.18);
    color: #4ade80;
}

.hero-chart-change.negative {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
}

.hero-chart-svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.5);
}

/* Trading slide: draw MA + stagger candles when active */
.hero-ma-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.hero-carousel-slide.is-active .hero-ma-line {
    animation: heroDrawMA 2.4s ease-out forwards;
}

.hero-carousel-slide:not(.is-active) .hero-ma-line {
    animation: none;
    stroke-dashoffset: 420;
}

@keyframes heroDrawMA {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-ma-fill {
    opacity: 0;
}

.hero-carousel-slide.is-active .hero-ma-fill {
    animation: heroFillFade 0.8s ease 1.2s forwards;
}

.hero-carousel-slide:not(.is-active) .hero-ma-fill {
    animation: none;
    opacity: 0;
}

@keyframes heroFillFade {
    to {
        opacity: 0.9;
    }
}

.hero-candles > * {
    opacity: 0;
}

.hero-carousel-slide.is-active .hero-candles > * {
    animation: heroCandleIn 0.4s ease forwards;
}

.hero-carousel-slide:not(.is-active) .hero-candles > * {
    animation: none;
    opacity: 0;
}

.hero-carousel-slide.is-active .hero-candles > *:nth-child(1) { animation-delay: 0.04s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(2) { animation-delay: 0.08s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(3) { animation-delay: 0.12s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(4) { animation-delay: 0.16s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(5) { animation-delay: 0.2s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(6) { animation-delay: 0.24s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(7) { animation-delay: 0.28s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(8) { animation-delay: 0.32s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(9) { animation-delay: 0.36s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(10) { animation-delay: 0.4s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(11) { animation-delay: 0.44s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(12) { animation-delay: 0.48s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(13) { animation-delay: 0.52s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(14) { animation-delay: 0.56s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(15) { animation-delay: 0.6s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(16) { animation-delay: 0.64s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(17) { animation-delay: 0.68s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(18) { animation-delay: 0.72s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(19) { animation-delay: 0.76s; }
.hero-carousel-slide.is-active .hero-candles > *:nth-child(20) { animation-delay: 0.8s; }

@keyframes heroCandleIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Teaching slide card */
.hero-teach-card {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(165deg, var(--chart-panel) 0%, var(--chart-bg) 100%);
    border-radius: 16px;
    padding: 1rem 1.1rem 0.85rem;
    box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: none;
}

.hero-teach-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding: 0 0.15rem;
}

.hero-teach-pair {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-teach-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.hero-teach-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: 'Outfit', system-ui, sans-serif;
}

.hero-teach-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.hero-teach-body {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.hero-teach-svg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.hero-teach-topics {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.85rem 1rem 0.95rem;
    list-style: none;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 34, 0.15) 30%, rgba(12, 18, 34, 0.94) 100%);
}

.hero-teach-topic {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.35;
    opacity: 0;
    transform: translateX(-10px);
}

.hero-teach-topic + .hero-teach-topic {
    margin-top: 0.4rem;
}

.hero-teach-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(22, 163, 74, 0.35);
    border: 1px solid rgba(74, 222, 128, 0.5);
    position: relative;
}

.hero-teach-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #4ade80;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.hero-carousel-slide.is-active .hero-teach-topic {
    animation: heroTeachLine 0.55s ease forwards;
}

.hero-carousel-slide:not(.is-active) .hero-teach-topic {
    animation: none;
    opacity: 0;
    transform: translateX(-10px);
}

.hero-carousel-slide.is-active .hero-teach-topic:nth-child(1) { animation-delay: 0.15s; }
.hero-carousel-slide.is-active .hero-teach-topic:nth-child(2) { animation-delay: 0.35s; }
.hero-carousel-slide.is-active .hero-teach-topic:nth-child(3) { animation-delay: 0.55s; }

.hero-carousel-slide.is-active .hero-teach-topic:nth-child(1) .hero-teach-check::after { animation: heroCheckTick 0.35s ease 0.45s forwards; }
.hero-carousel-slide.is-active .hero-teach-topic:nth-child(2) .hero-teach-check::after { animation: heroCheckTick 0.35s ease 0.65s forwards; }
.hero-carousel-slide.is-active .hero-teach-topic:nth-child(3) .hero-teach-check::after { animation: heroCheckTick 0.35s ease 0.85s forwards; }

.hero-carousel-slide:not(.is-active) .hero-teach-check::after {
    animation: none;
    opacity: 0;
}

@keyframes heroTeachLine {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroCheckTick {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-teach-pulse {
    transform-origin: 180px 100px;
    animation: heroTeachPulse 2.2s ease-in-out infinite;
}

.hero-carousel-slide:not(.is-active) .hero-teach-pulse {
    animation: none;
}

@keyframes heroTeachPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.2;
    }
}

.hero-teach-sparkles circle {
    animation: heroSparkle 2.5s ease-in-out infinite;
}

.hero-carousel-slide:not(.is-active) .hero-teach-sparkles circle {
    animation: none;
}

.hero-teach-sparkles circle:nth-child(1) { animation-delay: 0s; }
.hero-teach-sparkles circle:nth-child(2) { animation-delay: 0.4s; }
.hero-teach-sparkles circle:nth-child(3) { animation-delay: 0.8s; }
.hero-teach-sparkles circle:nth-child(4) { animation-delay: 1.2s; }

@keyframes heroSparkle {
    0%, 100% {
        opacity: 0.35;
    }
    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-slide {
        transition: none;
        transform: none;
    }

    .hero-carousel-slide.is-active .hero-chart-card,
    .hero-carousel-slide.is-active .hero-teach-card {
        animation: none;
    }

    .hero-ma-line,
    .hero-ma-fill,
    .hero-candles > *,
    .hero-teach-topic,
    .hero-teach-check::after,
    .hero-teach-pulse,
    .hero-teach-sparkles circle {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }

    .hero-teach-check::after {
        opacity: 1 !important;
    }
}

.chart-bar {
    animation: growBar 1.5s ease-out forwards;
    transform-origin: bottom;
    opacity: 0;
}

.bar-1 {
    animation-delay: 0.1s;
}

.bar-2 {
    animation-delay: 0.2s;
}

.bar-3 {
    animation-delay: 0.3s;
}

.bar-4 {
    animation-delay: 0.4s;
}

.bar-5 {
    animation-delay: 0.5s;
}

.trend-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 1.5s ease-out 0.6s forwards;
}

@keyframes growBar {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--reddish-brown);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--reddish-brown);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 2.5rem;
    color: var(--reddish-brown);
    margin-bottom: 1rem;
    font-weight: 700;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--bull), var(--teal));
    margin: 0 auto 1rem;
    border-radius: 2px;
    animation: expand 1s ease-out;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--beige) 0%, rgba(37, 99, 235, 0.06) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--reddish-brown);
}

.about-text .highlight-text {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(37, 99, 235, 0.06));
    padding: 1.5rem;
    border-left: 4px solid var(--bull);
    border-radius: 5px;
    font-style: italic;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bull);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Courses Section */
.courses {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}

.course-card {
    --course-accent: #2563eb;
    --course-accent-mid: #1d4ed8;
    --course-tint: rgba(37, 99, 235, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.course-card--equity {
    --course-accent: #16a34a;
    --course-accent-mid: #15803d;
    --course-tint: rgba(22, 163, 74, 0.1);
}

.course-card--intraday {
    --course-accent: #2563eb;
    --course-accent-mid: #1d4ed8;
    --course-tint: rgba(37, 99, 235, 0.1);
}

.course-card--swing {
    --course-accent: #4f46e5;
    --course-accent-mid: #4338ca;
    --course-tint: rgba(79, 70, 229, 0.1);
}

.course-card--options {
    --course-accent: #d97706;
    --course-accent-mid: #b45309;
    --course-tint: rgba(217, 119, 6, 0.12);
}

.course-card--risk {
    --course-accent: #0f172a;
    --course-accent-mid: #1e3a8a;
    --course-tint: rgba(15, 23, 42, 0.06);
}

.course-card--mind {
    --course-accent: #7c3aed;
    --course-accent-mid: #6d28d9;
    --course-tint: rgba(124, 58, 237, 0.1);
}

.course-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--course-accent), var(--course-accent-mid));
    opacity: 0.95;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.12);
}

.course-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.course-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--course-tint), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.course-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: block;
    color: var(--course-accent-mid);
}

.course-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--course-accent-mid);
    background: var(--course-tint);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    white-space: nowrap;
}

.course-card-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 0 0 0.65rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.course-card-desc {
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0 0 1.1rem;
    flex-grow: 1;
}

.course-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.course-features li {
    position: relative;
    padding: 0.45rem 0.55rem 0.45rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(241, 245, 249, 0.65);
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.course-features li::before {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--course-accent);
    box-shadow: 0 0 0 3px var(--course-tint);
}

.course-card-cta {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--course-accent-mid);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.course-card-cta:hover {
    color: var(--course-accent);
    border-bottom-color: var(--course-accent);
    gap: 0.5rem;
}

.course-card-cta:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .course-card:hover {
        transform: none;
    }

    .course-card-cta:hover {
        gap: 0.35rem;
    }
}

/* Why Us Section */
.why-us {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.feature-item.why-card {
    --why-accent: #2563eb;
    --why-accent-mid: #1d4ed8;
    --why-tint: rgba(37, 99, 235, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-item.why-card--mentors {
    --why-accent: #1d4ed8;
    --why-accent-mid: #1e3a8a;
    --why-tint: rgba(29, 78, 216, 0.12);
}

.feature-item.why-card--hands {
    --why-accent: #16a34a;
    --why-accent-mid: #15803d;
    --why-tint: rgba(22, 163, 74, 0.12);
}

.feature-item.why-card--personal {
    --why-accent: #7c3aed;
    --why-accent-mid: #6d28d9;
    --why-tint: rgba(124, 58, 237, 0.12);
}

.feature-item.why-card--community {
    --why-accent: #d97706;
    --why-accent-mid: #b45309;
    --why-tint: rgba(217, 119, 6, 0.12);
}

.feature-item.why-card--proven {
    --why-accent: #0f172a;
    --why-accent-mid: #1e3a8a;
    --why-tint: rgba(15, 23, 42, 0.08);
}

.feature-item.why-card--independent {
    --why-accent: #0891b2;
    --why-accent-mid: #0e7490;
    --why-tint: rgba(8, 145, 178, 0.12);
}

.why-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--why-accent), var(--why-accent-mid));
}

.feature-item.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.12);
}

.why-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, var(--why-tint), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.why-card-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: block;
    color: var(--why-accent-mid);
}

.why-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--why-accent-mid);
    background: var(--why-tint);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 0.65rem;
}

.why-card-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 0 0 0.55rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.why-card-desc {
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .feature-item.why-card:hover {
        transform: none;
    }
}

/* Contact Section — Get in touch */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: start;
}

.contact-aside {
    margin: 0;
}

.contact-panel {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.contact-panel-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bull), var(--teal));
}

.contact-panel-accent--form {
    background: linear-gradient(90deg, #0f172a, var(--teal));
}

.contact-panel-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.contact-lead,
.contact-form-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.contact-list {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-icon-wrap--location {
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.14), rgba(255, 255, 255, 0.9));
    color: #15803d;
}

.contact-icon-wrap--email {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.9));
    color: #1d4ed8;
}

.contact-icon-wrap--phone {
    background: linear-gradient(145deg, rgba(8, 145, 178, 0.12), rgba(255, 255, 255, 0.9));
    color: #0e7490;
}

.contact-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.contact-item-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 0 0 0.25rem;
}

.contact-item-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

.contact-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-link:hover {
    color: var(--dark-blue);
    border-bottom-color: var(--dark-blue);
}

.contact-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
    color: #fff;
}

.contact-form-panel {
    min-width: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.form-optional {
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #f8fafc;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-wa-btn:hover {
        transform: none;
    }
}

/* Floating Trading Icons */
.floating-icons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatIcon 20s infinite ease-in-out;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.floating-icon:hover {
    opacity: 0.3;
}

/* Different sizes for variety */
.floating-icon:nth-child(1) {
    font-size: 1.5rem;
    left: 10%;
    top: 20%;
    animation-duration: 25s;
    animation-delay: 0s;
    color: var(--orange);
}

.floating-icon:nth-child(2) {
    font-size: 2.5rem;
    left: 85%;
    top: 15%;
    animation-duration: 30s;
    animation-delay: 2s;
    color: var(--teal);
}

.floating-icon:nth-child(3) {
    font-size: 1.8rem;
    left: 15%;
    top: 60%;
    animation-duration: 22s;
    animation-delay: 4s;
    color: var(--pink);
}

.floating-icon:nth-child(4) {
    font-size: 2.2rem;
    left: 80%;
    top: 55%;
    animation-duration: 28s;
    animation-delay: 1s;
    color: var(--dark-orange);
}

.floating-icon:nth-child(5) {
    font-size: 1.6rem;
    left: 5%;
    top: 80%;
    animation-duration: 26s;
    animation-delay: 3s;
    color: var(--reddish-brown);
}

.floating-icon:nth-child(6) {
    font-size: 2rem;
    left: 90%;
    top: 75%;
    animation-duration: 24s;
    animation-delay: 5s;
    color: var(--dark-green);
}

.floating-icon:nth-child(7) {
    font-size: 1.7rem;
    left: 25%;
    top: 10%;
    animation-duration: 27s;
    animation-delay: 1.5s;
    color: var(--orange);
}

.floating-icon:nth-child(8) {
    font-size: 2.3rem;
    left: 70%;
    top: 30%;
    animation-duration: 29s;
    animation-delay: 3.5s;
    color: var(--teal);
}

.floating-icon:nth-child(9) {
    font-size: 1.9rem;
    left: 8%;
    top: 45%;
    animation-duration: 23s;
    animation-delay: 2.5s;
    color: var(--pink);
}

.floating-icon:nth-child(10) {
    font-size: 2.1rem;
    left: 88%;
    top: 50%;
    animation-duration: 31s;
    animation-delay: 4.5s;
    color: var(--dark-orange);
}

.floating-icon:nth-child(11) {
    font-size: 1.4rem;
    left: 20%;
    top: 85%;
    animation-duration: 25s;
    animation-delay: 6s;
    color: var(--reddish-brown);
}

.floating-icon:nth-child(12) {
    font-size: 2.4rem;
    left: 75%;
    top: 90%;
    animation-duration: 28s;
    animation-delay: 1.2s;
    color: var(--dark-green);
}

.floating-icon:nth-child(13) {
    font-size: 1.8rem;
    left: 40%;
    top: 5%;
    animation-duration: 26s;
    animation-delay: 3.8s;
    color: var(--orange);
}

.floating-icon:nth-child(14) {
    font-size: 2rem;
    left: 60%;
    top: 25%;
    animation-duration: 24s;
    animation-delay: 5.2s;
    color: var(--teal);
}

.floating-icon:nth-child(15) {
    font-size: 1.6rem;
    left: 30%;
    top: 70%;
    animation-duration: 27s;
    animation-delay: 2.8s;
    color: var(--pink);
}

.floating-icon:nth-child(16) {
    font-size: 2.2rem;
    left: 65%;
    top: 65%;
    animation-duration: 30s;
    animation-delay: 4.2s;
    color: var(--dark-orange);
}

.floating-icon:nth-child(17) {
    font-size: 1.5rem;
    left: 12%;
    top: 35%;
    animation-duration: 25s;
    animation-delay: 1.8s;
    color: var(--reddish-brown);
}

.floating-icon:nth-child(18) {
    font-size: 2.3rem;
    left: 82%;
    top: 40%;
    animation-duration: 29s;
    animation-delay: 3.2s;
    color: var(--dark-green);
}

.floating-icon:nth-child(19) {
    font-size: 1.7rem;
    left: 50%;
    top: 95%;
    animation-duration: 23s;
    animation-delay: 5.8s;
    color: var(--orange);
}

.floating-icon:nth-child(20) {
    font-size: 2.1rem;
    left: 45%;
    top: 12%;
    animation-duration: 28s;
    animation-delay: 2.2s;
    color: var(--teal);
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, -100px) rotate(180deg);
    }
    75% {
        transform: translate(-40px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Ensure content is above floating icons */
.navbar,
section {
    position: relative;
    z-index: 10;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--reddish-brown) 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand h3 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.footer-brand .tagline {
    color: #fbbf24;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-courses h4 {
    margin-bottom: 1rem;
    color: var(--orange);
}

.footer-links ul,
.footer-courses ul {
    list-style: none;
}

.footer-links ul li,
.footer-courses ul li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-courses a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-courses a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-carousel-viewport,
    .hero-carousel-track {
        min-height: 272px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .navbar .container.navbar-inner {
        display: flex !important;
        justify-content: space-between !important;
        grid-template-columns: none !important;
    }

    .navbar .nav-brand {
        justify-self: auto;
    }

    .navbar .nav-menu {
        justify-self: auto;
    }

    .navbar .nav-actions {
        justify-self: auto;
    }

    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100dvh - var(--navbar-height));
        max-height: calc(100vh - var(--navbar-height));
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 1.25rem 1.25rem 2rem;
        margin: 0;
        background: #fff;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
        text-align: left;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.32s ease, opacity 0.28s ease, visibility 0.32s;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem 0.5rem;
        border-radius: 0;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-menu a.active {
        color: var(--teal);
        background: rgba(37, 99, 235, 0.08);
        box-shadow: none;
    }

    .whatsapp-btn {
        margin-left: 0;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .whatsapp-text {
        display: none !important;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 30px;
    }

    .nav-brand h1 {
        font-size: 0.95rem;
    }

    .nav-brand .tagline {
        font-size: 0.55rem;
    }

    .whatsapp-btn {
        padding: 0.5rem;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        justify-content: center;
    }

    .whatsapp-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* =======================================================================
   SMI (Learning) page — styled to match index.html palette
   ======================================================================= */
.smi-page .smi-main {
    padding-top: calc(var(--navbar-height) + 1rem);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 22%, #f1f5f9 100%);
}

/* Scroll-triggered section reveal (enabled via body.smi-scroll-anim from smi.js) */
body.smi-scroll-anim .smi-animate-on-scroll:not(.smi-inview) {
    opacity: 0;
    transform: translateY(32px);
}

body.smi-scroll-anim .smi-animate-on-scroll {
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.smi-scroll-anim .smi-animate-on-scroll.smi-inview {
    opacity: 1;
    transform: none;
}

.smi-hero {
    position: relative;
    padding: 3rem 0 2.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 35%, #f0fdf4 100%);
}

.smi-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.smi-hero-gridlines {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.4) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: smiGridDrift 28s linear infinite;
}

@keyframes smiGridDrift {
    to {
        background-position: 48px 48px;
    }
}

.smi-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
    animation: smiOrbFloat 14s ease-in-out infinite;
}

.smi-hero-orb--a {
    width: 220px;
    height: 220px;
    background: rgba(37, 99, 235, 0.35);
    top: -8%;
    right: 5%;
    animation-delay: 0s;
}

.smi-hero-orb--b {
    width: 180px;
    height: 180px;
    background: rgba(22, 163, 74, 0.3);
    bottom: -5%;
    left: 10%;
    animation-delay: -4s;
}

.smi-hero-orb--c {
    width: 140px;
    height: 140px;
    background: rgba(124, 58, 237, 0.22);
    top: 40%;
    left: 35%;
    animation-delay: -7s;
}

@keyframes smiOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(12px, -18px) scale(1.05);
    }
    66% {
        transform: translate(-10px, 10px) scale(0.96);
    }
}

.smi-hero-container {
    position: relative;
    z-index: 1;
}

.smi-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    align-items: center;
}

.smi-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 0.5rem;
}

.smi-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--reddish-brown);
    margin: 0 0 0.65rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.smi-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.72;
    margin: 0 0 1.35rem;
    max-width: 54ch;
}

.smi-module-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.smi-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--reddish-brown);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.smi-pill:hover {
    transform: translateY(-3px);
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
}

.smi-back-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.smi-back-link:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.smi-hero-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.smi-hero-spark {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    background: #0f172a;
}

.smi-spark-svg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.smi-spark-svg path[stroke="#38bdf8"] {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: smiSparkDraw 2.2s ease-out 0.3s forwards;
}

@keyframes smiSparkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.smi-hero-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.smi-hero-metric {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.smi-hero-metric:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.smi-metric-num {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--bull);
    line-height: 1.1;
    animation: smiMetricPulse 3s ease-in-out infinite;
}

@keyframes smiMetricPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.82;
    }
}

.smi-metric-label {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.2rem;
    font-weight: 600;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric {
    animation: smiMetricPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric:nth-child(1) {
    animation-delay: 0.08s;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric:nth-child(2) {
    animation-delay: 0.16s;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric:nth-child(3) {
    animation-delay: 0.24s;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric:nth-child(4) {
    animation-delay: 0.32s;
}

@keyframes smiMetricPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-pill {
    animation: smiPillIn 0.45s ease backwards;
}

body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(1) { animation-delay: 0.05s; }
body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(2) { animation-delay: 0.1s; }
body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(3) { animation-delay: 0.15s; }
body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(4) { animation-delay: 0.2s; }
body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(5) { animation-delay: 0.25s; }
body.smi-scroll-anim .smi-hero.smi-inview .smi-pill:nth-child(6) { animation-delay: 0.3s; }

@keyframes smiPillIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.smi-section {
    padding: 4rem 0;
    background: transparent;
}

.smi-section-alt {
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.smi-two-col {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.smi-two-col-narrow {
    grid-template-columns: 300px 1fr;
}

.smi-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.smi-list-item {
    width: 100%;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
    align-items: center;
    text-align: left;
    border-radius: 14px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--beige) 0%, white 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.smi-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
    border-color: rgba(37, 99, 235, 0.4);
}

.smi-list-item.active {
    border-color: rgba(22, 163, 74, 0.85);
}

.smi-mini {
    width: 60px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.smi-li-name {
    font-weight: 700;
    color: var(--reddish-brown);
    font-size: 0.95rem;
    line-height: 1.2;
}

.smi-li-type {
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.smi-detail {
    min-height: 420px;
}

.smi-empty {
    height: 100%;
    min-height: 420px;
    border-radius: 18px;
    border: 2px dashed rgba(15, 23, 42, 0.15);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--text-light);
}

.smi-empty-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    opacity: 0.85;
}

.smi-empty-ico svg {
    display: block;
}

.smi-panel {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.smi-panel-head {
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(22, 163, 74, 0.06));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.smi-panel-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin-bottom: 0.35rem;
}

.smi-panel-trend {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 42ch;
}

.smi-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.smi-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.75);
}

.smi-bull { color: #0f7a3a; border-color: rgba(15, 122, 58, 0.25); background: rgba(34, 197, 94, 0.10); }
.smi-bear { color: #b42323; border-color: rgba(180, 35, 35, 0.25); background: rgba(239, 68, 68, 0.10); }
.smi-neu  { color: var(--reddish-brown); border-color: rgba(15, 23, 42, 0.15); background: rgba(100, 116, 139, 0.1); }
.smi-blue { color: var(--dark-blue); border-color: rgba(30, 58, 95, 0.25); background: rgba(78, 205, 196, 0.10); }

.smi-panel-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
}

.smi-panel-body-single {
    grid-template-columns: 1fr;
}

.smi-visual {
    padding: 1.1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.65), rgba(255, 255, 255, 0.9));
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
}

.smi-canvas-box {
    width: 190px;
    height: 240px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smi-ohlc {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.smi-ohlc-cell {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.65rem 0.7rem;
}

.smi-ohlc-k {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.smi-ohlc-v {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.smi-info {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.smi-block-label {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.35rem;
}

.smi-block-text {
    color: var(--text-light);
    line-height: 1.75;
}

.smi-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.smi-rule {
    background: rgba(245, 241, 232, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.75rem 0.8rem;
}

.smi-rule-k {
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--reddish-brown);
    margin-bottom: 0.25rem;
}

.smi-rule-v {
    color: var(--text-light);
    line-height: 1.55;
    font-size: 0.92rem;
}

.smi-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(30, 58, 95, 0.07);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.smi-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.smi-filter {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--beige);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
}

.smi-filter.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--reddish-brown);
}

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

.smi-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.smi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.18);
}

.smi-card-title {
    font-weight: 800;
    color: var(--reddish-brown);
    margin-bottom: 0.35rem;
}

.smi-card-text {
    color: var(--text-light);
    line-height: 1.7;
}

.smi-muted {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-top: 0.25rem;
}

.smi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.7rem 0 0.2rem;
}

.smi-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(245, 241, 232, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.smi-ul {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.smi-ul li {
    margin: 0.25rem 0;
}

.smi-pat-chart {
    width: 100%;
    background: rgba(245, 241, 232, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
}

.smi-chart-box {
    background: rgba(245, 241, 232, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.75rem;
    margin: 1.1rem 1.25rem 0;
    display: flex;
    justify-content: center;
}

.smi-modal-head {
    align-items: center;
}

.smi-x {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: var(--text-dark);
}

.smi-x:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #b42323;
}

.smi-modal-body {
    padding: 0 0 1.25rem;
}

.smi-modal-sections {
    padding: 1.1rem 1.25rem 0;
    display: grid;
    gap: 1rem;
}

.smi-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.smi-tip {
    background: rgba(78, 205, 196, 0.10);
    border: 1px solid rgba(78, 205, 196, 0.18);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.smi-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 0.4rem 0 0.6rem;
}

.smi-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.smi-ratio-meta {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.smi-meta-good,
.smi-meta-bad {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.smi-rows {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.6rem;
}

.smi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
    background: rgba(245, 241, 232, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.smi-row-k {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.smi-row-v {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: right;
    line-height: 1.5;
}

.smi-fa-cat {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 1.25rem 0 0.85rem;
    font-size: 1.35rem;
}

.smi-check-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.4rem 0;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}

.smi-check-item input {
    margin-top: 0.25rem;
}

@media (max-width: 980px) {
    .smi-split {
        grid-template-columns: 1fr;
    }
    .smi-row {
        grid-template-columns: 1fr;
    }
    .smi-row-v {
        text-align: left;
    }
}

.smi-tabs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.smi-tab {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--beige);
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    font-weight: 800;
    color: var(--text-dark);
}

.smi-tab.active {
    background: rgba(78, 205, 196, 0.16);
    border-color: rgba(78, 205, 196, 0.65);
}

.smi-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    z-index: 2000;
}

.smi-overlay.open {
    display: flex;
    animation: smiOverlayIn 0.3s ease forwards;
}

@keyframes smiOverlayIn {
    from {
        background: rgba(0, 0, 0, 0);
    }
    to {
        background: rgba(0, 0, 0, 0.55);
    }
}

.smi-modal {
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow: auto;
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    padding: 1.1rem;
}

.smi-overlay.open .smi-modal {
    animation: smiModalIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes smiModalIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Zero → Pro roadmap — compact horizontal strip */
.smi-roadmap {
    position: relative;
    margin-bottom: 1.75rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.smi-roadmap-track {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 2rem 0.5rem 0.35rem;
    min-width: min(100%, 880px);
}

.smi-rm-line {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    top: calc(0.28rem + 15px);
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        #16a34a 0%,
        #2563eb 28%,
        #7c3aed 55%,
        #d97706 78%,
        #0f172a 100%
    );
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 0;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.12);
}

#roadmap.smi-inview .smi-rm-line {
    animation: smiRmLineGrow 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes smiRmLineGrow {
    to {
        transform: scaleX(1);
    }
}

.smi-rm-step {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 132px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    scroll-snap-align: start;
}

.smi-rm-node-col {
    display: flex;
    justify-content: center;
    padding-top: 0.28rem;
    width: 100%;
}

.smi-rm-node {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid var(--rm-color, #16a34a);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.96),
        0 4px 14px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.smi-rm-num {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--rm-color, #16a34a);
    line-height: 1;
}

body.smi-scroll-anim .smi-rm-step:not(.smi-rm-visible) .smi-rm-node {
    opacity: 0;
    transform: scale(0.65);
}

.smi-rm-step.smi-rm-visible .smi-rm-node {
    animation: smiRmNodePop 0.42s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
    animation-delay: calc(var(--rm-i) * 0.07s);
}

@keyframes smiRmNodePop {
    from {
        opacity: 0;
        transform: scale(0.45) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.smi-rm-step:hover .smi-rm-node {
    transform: scale(1.05);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.96),
        0 8px 20px rgba(15, 23, 42, 0.14);
}

.smi-rm-card {
    width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.65rem 0.72rem 0.7rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    border-top: 3px solid var(--rm-color, #16a34a);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

body.smi-scroll-anim .smi-rm-step:not(.smi-rm-visible) .smi-rm-card {
    opacity: 0;
    transform: translateY(12px);
}

.smi-rm-step.smi-rm-visible .smi-rm-card {
    animation: smiRmCardEnter 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--rm-i) * 0.07s + 0.04s);
}

@keyframes smiRmCardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.smi-rm-step:hover .smi-rm-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.smi-rm-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

.smi-rm-badge {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-color, #16a34a);
    background: rgba(15, 23, 42, 0.04);
    padding: 0.2rem 0.42rem;
    border-radius: 5px;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.smi-rm-dur {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-light);
}

.smi-rm-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--reddish-brown);
    margin: 0 0 0.28rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.smi-rm-desc {
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--text-light);
    margin: 0;
}

.smi-subheader {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.smi-h3 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.6rem;
    color: var(--reddish-brown);
}

.smi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
    body.smi-scroll-anim .smi-animate-on-scroll:not(.smi-inview) {
        opacity: 1;
        transform: none;
    }

    body.smi-scroll-anim .smi-animate-on-scroll {
        transition: none;
    }

    .smi-hero-gridlines,
    .smi-hero-orb {
        animation: none !important;
    }

    .smi-spark-svg path[stroke="#38bdf8"] {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }

    .smi-metric-num {
        animation: none !important;
    }

    body.smi-scroll-anim .smi-hero.smi-inview .smi-hero-metric,
    body.smi-scroll-anim .smi-hero.smi-inview .smi-pill {
        animation: none !important;
    }

    .smi-overlay.open,
    .smi-overlay.open .smi-modal {
        animation: none !important;
    }

    .smi-card:hover,
    .smi-rm-step:hover .smi-rm-card,
    .smi-rm-step:hover .smi-rm-node {
        transform: none;
    }

    #roadmap.smi-inview .smi-rm-line {
        animation: none !important;
        transform: scaleX(1) !important;
    }

    body.smi-scroll-anim .smi-rm-step:not(.smi-rm-visible) .smi-rm-card,
    body.smi-scroll-anim .smi-rm-step:not(.smi-rm-visible) .smi-rm-node {
        opacity: 1;
        transform: none;
    }

    .smi-rm-step.smi-rm-visible .smi-rm-card,
    .smi-rm-step.smi-rm-visible .smi-rm-node {
        animation: none !important;
        animation-delay: 0s !important;
    }
}

@media (max-width: 980px) {
    .smi-hero-inner {
        grid-template-columns: 1fr;
    }

    .smi-hero-spark {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .smi-hero-card {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .smi-roadmap {
        scroll-snap-type: x mandatory;
    }

    .smi-roadmap-track {
        padding-top: 1.85rem;
        gap: 0.45rem;
        min-width: min-content;
    }

    .smi-rm-line {
        left: 0.65rem;
        right: 0.65rem;
        top: calc(0.28rem + 13px);
    }

    .smi-rm-step {
        flex: 0 0 auto;
        min-width: min(64vw, 200px);
        max-width: min(64vw, 200px);
    }

    .smi-rm-node {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .smi-rm-num {
        font-size: 0.82rem;
    }

    .smi-rm-title {
        font-size: 0.95rem;
    }

    .smi-rm-desc {
        font-size: 0.72rem;
    }

    .smi-two-col,
    .smi-two-col-narrow {
        grid-template-columns: 1fr;
    }
    .smi-panel-body {
        grid-template-columns: 1fr;
    }
    .smi-visual {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .smi-rules {
        grid-template-columns: 1fr;
    }
}

