*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html:focus-within {
    scroll-behavior: smooth;
}

/* === SCROLLBAR HIDING RULES START === */
html {
    overflow-y: scroll;
    scrollbar-width: none;
}
body {
    -ms-overflow-style: none;
}
::-webkit-scrollbar {
    display: none;
}
/* === SCROLLBAR HIDING RULES END === */

html,
body {
    height: 100%;
}

body {
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    transition: background-color var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

:focus:not(:focus-visible) {
    outline: none;
}

:root {
    --bg: #f8f9fa;
    --bg-weak: #ffffff;
    --bg-weak-2: #eef0f2;
    --glass: rgba(255, 255, 255, 0.45);
    --nav-glass: rgba(255, 255, 255, 0.65);
    --nav-border: rgba(200, 200, 200, 0.3);
    --text: #1a1a1a;
    --text-muted: #555555;
    --brand: #5b8def;
    --brand-2: #3d7eff;
    --accent: #00ccff;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 9999px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --nav-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --cta-gradient-start-light: #5b8def;
    --cta-gradient-end-light: #00ccff;
    --cta-glass-bg-light: rgba(255, 255, 255, 0.2);
    --cta-glass-border-light: rgba(255, 255, 255, 0.4);
    --cta-text-light: #ffffff;
    --cta-button-bg-light: #ffffff;
    --cta-button-text-light: #5b8def;
    --cta-button-shadow-light: rgba(0, 0, 0, 0.15);
    --container: 1120px;
    --ease: cubic-bezier(.2, .6, .2, 1);
    --dur-fast: 150ms;
    --dur-med: 300ms;
    --dur-slow: 600ms;
}

[data-theme="dark"] {
    --bg: #0b0f14;
    --bg-weak: #0f141b;
    --bg-weak-2: #101621;
    --glass: rgba(255, 255, 255, 0.06);
    --nav-glass: rgba(15, 20, 27, 0.6);
    --nav-border: rgba(50, 50, 50, 0.5);
    --text: #e6eef7;
    --text-muted: #a7b1c2;
    --brand: #7aa2ff;
    --brand-2: #93b4ff;
    --accent: #2bd4ff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.55);
    --nav-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --cta-gradient-start-dark: #2a3a5a;
    --cta-gradient-end-dark: #1f4f6b;
    --cta-glass-bg-dark: rgba(255, 255, 255, 0.08);
    --cta-glass-border-dark: rgba(255, 255, 255, 0.15);
    --cta-text-dark: #e6eef7;
    --cta-button-bg-dark: #2bd4ff;
    --cta-button-text-dark: #0b0f14;
    --cta-button-shadow-dark: rgba(43, 212, 255, 0.2);
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-bottom: 25px;
    padding-inline: 20px;
}

.section-sub {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--brand);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 10000;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

.section__title {
    text-align: center;
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 32px;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 8px 20px;
}

.nav {
    max-width: var(--container);
    margin-inline: auto;
    border-radius: var(--radius-pill);
    background: var(--bg-weak);
    border: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
}

@supports ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))) {
    .nav {
        background: var(--nav-glass);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

.nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
}

.nav__logo {
    font-weight: 700;
    font-size: 1.4rem;
}

.nav__menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav__link {
    font-weight: 600;
    opacity: 0.8;
    transition: color var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}

.nav__link:hover {
    color: var(--brand);
    opacity: 1;
}

.nav__toggle {
    display: none;
    gap: 6px;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav__toggle span {
    width: 26px;
    height: 3px;
    background: currentColor;
    display: block;
    border-radius: 4px;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: clamp(48px, 6vh, 96px);
    overflow: hidden;
    background: radial-gradient(1200px 600px at 50% 10%, rgba(91, 141, 239, .12), transparent),
        radial-gradient(1200px 600px at 80% 40%, rgba(0, 204, 255, .14), transparent),
        var(--bg);
}

[data-theme="dark"] .hero {
    background: radial-gradient(1200px 600px at 50% 10%, rgba(122, 162, 255, .1), transparent),
        radial-gradient(1200px 600px at 80% 40%, rgba(43, 212, 255, .12), transparent),
        var(--bg);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero__title {
    font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.hero__sub-wrapper {
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hero__sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    letter-spacing: .3px;
}

.cursor {
    display: inline-block;
    margin-left: 4px;
    font-weight: 600;
    color: var(--accent);
    animation: cursorBlink 1s infinite;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    border: 0;
    cursor: pointer;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 204, 255, 0.201);
}

.hero__explore {
    margin-top: 12px;
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn--glass {
    background: var(--glass);
    border: 1px solid rgba(180, 190, 200, .45);
    color: var(--text);
}

[data-theme="dark"] .btn--glass {
    border: 1px solid rgba(20, 24, 32, .65);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding-block: 40px;
}

.benefit {
    padding: 24px;
    background: var(--bg-weak);
    border-radius: var(--radius-lg);
    border-bottom: 2px groove rgba(125, 125, 125, .25);
    box-shadow: var(--shadow);
}

.benefit h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.benefit p {
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    padding-block: 40px;
}

.card {
    position: relative;
    background: var(--bg-weak);
    border: 1px solid rgba(180, 190, 200, .45);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--dur-med) var(--ease);
    transform-style: preserve-3d;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .card {
        background: var(--glass);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    transition: opacity var(--dur-med) var(--ease);
    z-index: -1;
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
}

.card:hover::after {
    opacity: 1;
}

[data-theme="dark"] .card {
    border: 1px solid rgba(100, 100, 100, .45);
}

.timeline-hero {
    text-align: center;
    padding: 90px 20px 40px;
    background: var(--bg-weak);
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(125, 125, 125, .18);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .timeline-hero {
        background: var(--glass);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

[data-theme="dark"] .timeline-hero {
    border-bottom: 1px solid rgba(100, 100, 100, .18);
}

.timeline-hero h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    margin-bottom: 6px;
}

.timeline-hero p {
    color: var(--text-muted);
}

.timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.timeline-center-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.timeline-line-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--brand), var(--accent));
    transition: height 1s var(--ease);
    background-size: 100% 200%;
    animation: flowDown 2s linear infinite;
}

.timeline-milestone {
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin: 56px 0;
    padding: 0 20px;
    opacity: 0;
    transform: scale(1);
    transition: all .6s var(--ease);
    z-index: 2;
}

.timeline-left {
    flex-direction: row-reverse;
}

.timeline-right {
    flex-direction: row;
}

.timeline-milestone-content {
    width: 50%;
    padding: 24px;
    background: rgba(255, 255, 255, .8);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .timeline-milestone-content {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

[data-theme="dark"] .timeline-milestone-content {
    background: rgba(20, 24, 32, .65);
}

.timeline-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(91, 141, 239, .6);
    margin: 0 20px;
    flex-shrink: 0;
}

.timeline-milestone h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.timeline-milestone p {
    margin-top: 10px;
    font-size: .98rem;
    color: var(--text-muted);
    white-space: pre-wrap;
}

.timeline-visible {
    opacity: 1;
}

.timeline-highlighted {
    transform: scale(1.08);
    z-index: 3;
}

.timeline-dimmed {
    opacity: .85;
    z-index: 1;
}

.timeline-highlighted .timeline-circle {
    box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
}

.programs-hero {
    text-align: center;
    padding: 70px 20px;
    background-color: var(--bg-weak);
}

.programs-hero h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    margin-bottom: 6px;
}

.programs-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.programs {
    padding-block: clamp(56px, 8vw, 100px);
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin-inline: auto;
}

.programs__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-weak);
    border: 1px solid rgba(180, 190, 200, .45);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--dur-med) var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .programs__item {
        background: var(--glass);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.programs__item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.programs__item p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.programs__item:hover {
    transform: translateY(-4px) scale(1.02);
}

[data-theme="dark"] .programs__item {
    background: var(--glass);
    border: 1px solid rgba(100, 100, 100, .45);
}

.success {
    padding-block: clamp(56px, 8vw, 100px);
}

.success__carousel {
    display: flex;
    overflow-x: hidden;
    gap: 18px;
    padding: 10px 0;
    width: 100%;
    margin: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.success__track {
    display: flex;
    gap: 18px;
    animation: scrollTrack 40s linear infinite;
}

.success__track:hover {
    animation-play-state: paused;
}

.success__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-weak);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 320px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease);
}

.success__card p {
    text-align: justify;
}

.success__card:hover {
    transform: translateY(-3px) scale(1.02);
}

.success__user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.success__user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-chat-section {
    padding-block: clamp(56px, 8vw, 100px);
}

.chat-shell {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(180, 190, 200, .45);
    display: flex;
    flex-direction: column;
    height: 70vh;
    max-width: 900px;
    margin: 0 auto;
}

[data-theme="dark"] .chat-shell {
    background: #11161f;
    border: 1px solid rgba(100, 100, 100, .45);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-weak);
    border-bottom: 1px solid rgba(180, 190, 200, .35);
}

[data-theme="dark"] .chat-header {
    border-bottom: 1px solid rgba(100, 100, 100, .45);
}

.chat-title {
    margin-left: auto;
    font-weight: 700;
    font-size: .95rem;
}

.chat-body {
    flex-grow: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeInUp .4s var(--ease) forwards;
}

.message.intern {
    background: rgb(91 141 239 / 79%);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #fff;
}

.message.ahirx {
    background: rgba(0, 204, 255, .2);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.typing {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: -10px;
}

.dots {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    background: #e0e0e0;
    border-radius: 12px;
    width: fit-content;
}

[data-theme="dark"] .dots {
    background: #444;
}

.dots span {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    animation: blink 1s infinite ease-in-out;
}

[data-theme="dark"] .dots span {
    background: #fff;
}

.dots span:nth-child(2) {
    animation-delay: .2s;
}

.dots span:nth-child(3) {
    animation-delay: .4s;
}

.typing-label {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
    margin-left: 4px;
    font-style: italic;
}

[data-theme="dark"] .typing-label {
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    transition: .3s;
    border-radius: 34px;
}

[data-theme="dark"] .slider {
    background: #666;
}

.slider::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.slider {
    background: #28c840;
}

.toggle-switch input:checked+.slider::before {
    transform: translateX(20px);
}

.label-text {
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    color: var(--text);
}

.simple-faq .chat-body .faq-item {
    margin-bottom: 16px;
}

.simple-faq .faq-question {
    font-weight: 800;
}

.simple-faq .faq-answer {
    margin-top: 4px;
    color: var(--text-muted);
}

.faq-flip {
    perspective: 1200px;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 70vh;
}

.faq-face {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(.5, .3, .3, 1);
}

.faq-face.front {
    transform: rotateY(0deg);
    z-index: 2;
}

.faq-face.back {
    transform: rotateY(180deg);
    z-index: 1;
}

.faq-flip.flipped .front {
    transform: rotateY(-180deg);
}

.faq-flip.flipped .back {
    transform: rotateY(0deg);
}


/*Footer*/
.footer {
    /* Use a background variable that adapts to the theme */
    background: var(--bg-weak-2);
    /* Set a default text color for all footer content */
    color: var(--text);
    padding: 40px 20px; /* Added some top/bottom padding for better spacing */
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    max-width: 100vw;
    margin: 0 auto;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Use a border variable for the top border */
    border-top: 1px solid var(--nav-border);
    padding-top: 20px;
}

/* Left Section */
.footer-left {
    text-align: left;
    max-width: 300px;
}

.company-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 1.4vw;
    height: auto;
}

.copyright {
    /* Use the muted text color for less emphasis */
    color: var(--text-muted);
    margin-top: 10px;
}

/* Center Section */
.footer-center ul {
    list-style: none;
    padding: 0;
    padding-top: 16px;
    margin: 0;
}

.footer-center ul li {
    margin-bottom: 5px;
}

/* Right Section */
.footer-right {
    text-align: right;
    max-width: 250px;
}

/* General link styling for the entire footer */
.footer a {
    /* Links will now inherit the main footer text color */
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-med) var(--ease);
}

/* Add a hover effect consistent with the rest of the site */
.footer a:hover {
    color: var(--brand);
}

[data-theme="dark"] .social-icons img,
body:not([data-theme="light"]) .social-icons img {
    filter: invert(1) brightness(1.5); /* Inverts colors and brightens slightly for better visibility */
}
.animated-section {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.zoom-in {
    transform: scale(0.9);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.animated-section.visible,
.flip-in.visible {
    opacity: 1;
    transform: none;
}

.flip-in {
    transform: rotateY(90deg);
    transform-origin: center;
    transition-property: transform, opacity;
    transition-duration: 1s;
    transition-timing-function: var(--ease);
    transition-delay: var(--flip-delay, 0ms);
    will-change: transform, opacity;
}

#theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-weak);
    border: 1px solid var(--text-muted);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border var(--dur-fast) var(--ease);
}

#theme-toggle-btn:hover {
    transform: scale(1.1);
}

#theme-toggle-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text);
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

#theme-toggle-btn .moon-icon {
    opacity: 0;
    position: absolute;
    transform: rotate(20deg);
}

[data-theme="dark"] #theme-toggle-btn .sun-icon {
    opacity: 0;
    transform: rotate(-20deg);
}

[data-theme="dark"] #theme-toggle-btn .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    position: relative;
}

.pricing-card .content.inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card__price {
    font-size: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 800;
    color: var(--brand);
    margin-block: 12px;
}

.pricing-card__desc {
    color: var(--text-muted);
    min-height: 60px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.pricing-card__features li {
    position: relative;
    padding-left: 24px;
}

.pricing-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card.popular {
    border-color: var(--brand);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(91, 141, 239, 0.4);
}

.pricing-card__price small {
    display: block;
    font-size: 0.5em;
    opacity: 0.6;
    font-weight: 400;
    line-height: 1;
}

.pricing-card__price s {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.cta-section {
    background: linear-gradient(135deg, var(--cta-gradient-start-light), var(--cta-gradient-end-light));
    padding: clamp(60px, 10vw, 120px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
    animation: cta-background-pulse 20s infinite alternate ease-in-out;
}

.cta-content {
    position: relative;
    z-index: 1;
    background: var(--cta-glass-bg-light);
    border: 1px solid var(--cta-glass-border-light);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 60px);
    max-width: 800px;
    margin-inline: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform var(--dur-med) var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .cta-content {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.cta-content:hover {
    transform: translateY(-5px);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--cta-text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-section p {
    max-width: 650px;
    margin-inline: auto;
    margin-bottom: 32px;
    font-size: 1.1rem;
    color: var(--cta-text-light);
    opacity: 0.9;
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.cta-section .btn--primary {
    background: var(--cta-button-bg-light);
    color: var(--cta-button-text-light);
    box-shadow: 0 10px 25px var(--cta-button-shadow-light);
    border: none;
}

.cta-section .btn--primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px var(--cta-button-shadow-light);
}

/* --- FINAL ENHANCED LOGIN CTA STYLES --- */
.login-cta-section {
    background: radial-gradient(ellipse at 50% 100%, var(--bg-weak) 0%, var(--bg) 70%);
    text-align: center;
    padding: clamp(60px, 8vw, 100px) 20px;
    border-top: 1px solid var(--nav-border);
    border-bottom: 1px solid var(--nav-border);
    position: relative;
    overflow: hidden;
}

/* Subtle background grid with hover effect */
.login-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--nav-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--nav-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
    transition: background-size 0.4s ease-out, opacity 0.4s ease-out;
}

.login-cta-section:hover::before {
    background-size: 70px 70px; /* Expands the grid */
    opacity: 0.5; /* Makes it glow a bit more */
}

/* Cursor-following glow effect */
.login-cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 204, 255, 0.12),
        transparent 80%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.login-cta-section:hover::after {
    opacity: 1;
}

[data-theme="dark"] .login-cta-section {
    background: radial-gradient(ellipse at 50% 100%, #101822 0%, var(--bg) 70%);
}
[data-theme="dark"] .login-cta-section::before {
    opacity: 0.15;
}
[data-theme="dark"] .login-cta-section:hover::before {
    opacity: 0.25;
}


/* Ensure content is above the background effects */
.login-cta-section .container {
    position: relative;
    z-index: 1;
}

.login-cta-section h2 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(120deg, var(--brand-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(128, 128, 128, 0.1));
}

.login-cta-section p {
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Button style with icon */
.btn--secondary {
    background: linear-gradient(135deg, var(--brand-2), var(--accent));
    color: white;
    border: none;
    box-shadow: 0 8px 25px -5px rgba(0, 204, 255, 0.3), 0 5px 15px -5px rgba(91, 141, 239, 0.4);
    transition: all 0.3s var(--ease);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn--secondary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px -5px rgba(0, 204, 255, 0.4), 0 8px 20px -5px rgba(91, 141, 239, 0.5);
}

[data-theme="dark"] .btn--secondary {
    color: var(--bg);
}

.btn--secondary svg {
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.2s var(--ease);
}

.btn--secondary:hover svg {
    transform: translateX(3px);
}
/* --- END NEW STYLES --- */

@keyframes cursorBlink {
    50% { opacity: 0; }
}

@keyframes flowDown {
    to { background-position: 0 100%; }
}

@keyframes scrollTrack {
    to { transform: translateX(-50%); }
}

@keyframes blink {
    0%, 80%, 100% { opacity: .2; transform: scale(1); }
    40% { opacity: 1; transform: scale(1.2); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cta-background-pulse {
    to { transform: translate(-50%, -50%) rotate(10deg); opacity: 0.8; }
}

@media (max-width: 900px) {
    .nav__toggle {
        display: inline-flex;
    }
    .nav__menu {
        position: absolute;
        right: 16px;
        top: calc(100% + 10px);
        background: var(--bg);
        color: var(--text);
        border: 1px solid var(--nav-border);
        border-radius: 14px;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        transform-origin: top right;
        transform: scale(.98);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
    }
    .nav__menu.active {
        transform: scale(1);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .timeline-milestone {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .timeline-left,
    .timeline-right {
        flex-direction: column;
    }
    .timeline-milestone-content {
        width: 92%;
    }
    .timeline-circle {
        margin-bottom: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    body:not([data-theme="light"]) {
        --bg: #0b0f14;
        --bg-weak: #0f141b;
        --bg-weak-2: #101621;
        --glass: rgba(255, 255, 255, 0.06);
        --nav-glass: rgba(15, 20, 27, 0.6);
        --nav-border: rgba(50, 50, 50, 0.5);
        --text: #e6eef7;
        --text-muted: #a7b1c2;
        --brand: #7aa2ff;
        --brand-2: #93b4ff;
        --accent: #2bd4ff;
        --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
        --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.55);
        --nav-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        --cta-gradient-start-light: var(--cta-gradient-start-dark);
        --cta-gradient-end-light: var(--cta-gradient-end-dark);
        --cta-glass-bg-light: var(--cta-glass-bg-dark);
        --cta-glass-border-light: var(--cta-glass-border-dark);
        --cta-text-light: var(--cta-text-dark);
        --cta-button-bg-light: var(--cta-button-bg-dark);
        --cta-button-text-light: var(--cta-button-text-dark);
        --cta-button-shadow-light: var(--cta-button-shadow-dark);
    }
    body:not([data-theme="light"]) .timeline-milestone-content {
        background: rgba(20, 24, 32, .65);
    }
    body:not([data-theme="light"]) .programs__item,
    body:not([data-theme="light"]) .card {
        background: var(--glass);
        border: 1px solid rgba(100, 100, 100, .45);
    }
    body:not([data-theme="light"]) .hero {
        background: radial-gradient(1200px 600px at 50% 10%, rgba(122, 162, 255, .1), transparent),
                    radial-gradient(1200px 600px at 80% 40%, rgba(43, 212, 255, .12), transparent),
                    var(--bg);
    }
    body:not([data-theme="light"]) .chat-shell {
        background: #11161f;
        border: 1px solid rgba(100, 100, 100, .45);
    }
}