/** -- BASE STYLE -- */
body, html {
    background-color: var(--clr-white);
    font-size: 1rem;
    font-family: var(--font-family);
    scroll-behavior: smooth;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-family: 'Noto Sans', sans-serif;

    /* Main Brand Colors */
    --clr-primary: #6366f1; /* Your purplish-blue accent */
    --clr-secondary: #d53f8c; /* A pinkish-purple for gradients and highlights */
    --clr-dark: #0f172a; /* Your main text/dark background color */
    --clr-text: #4b5563; /* Your subtext/paragraph color */
    --clr-white: #ffffff; /* Pure white */
    
    /* Gradients */
    --clr-brand-gradient: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    --clr-background-gradient: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);

    /* Translucent and Accent Colors */
    --clr-primary--10: rgba(99, 102, 241, 0.1); /* 10% opacity of primary color */
    --clr-primary--20: rgba(99, 102, 241, 0.2); /* 20% opacity of primary color */
    --clr-primary--30: rgba(99, 102, 241, 0.3); /* 30% opacity of primary color */
    --clr-border: #e5e7eb; /* A light border color for consistency */
}

.container {
    max-width: var(--container-width, 980px);
    margin: 0 auto;
    padding: 0 1rem;
}

/** -- COMPONENTS -- */

.toasted-container.top-center.top-center {
    top: 5%;
}

.icon-button {
    border: 0;
    outline: 0;
    cursor: pointer;
    text-decoration: none;
    --color: black;
    --bg-color: transparent;
    --hover-bg-color: hsla(0, 0%, 0%, .1);
    font-size: 1.25rem;
    --ring-color: var(--clr-primary--20);
    padding: 0.5em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--color);
    background-color: var(--bg-color);
    transition-property: color, background-color;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

.icon-button svg {
    height: 1em;
    width: 1em;
}

.icon-button:hover,
.icon-button:focus-visible {
    background-color: var(--hover-bg-color);
}

.icon-button:focus-visible {
    outline: 2px solid var(--ring-color);
    outline-offset: 1px;
}

/** - ACCORDION - */

.accordion {
    background: var(--clr-white);
    border: 0.125rem solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    box-shadow: 0 1.5rem 2rem -0.75rem rgb(90 113 142 / 10%);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    width: 100%;
    color: var(--clr-text);
    font-size: 1.125rem;
    line-height: 1.26;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0.5rem;
}

.accordion-toggle {
    all: initial;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2rem 1.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: inherit;
    background-color: inherit;
    transition: background-color 200ms ease-in-out;
}

.accordion-toggle:hover,
.accordion-toggle:focus-visible {
    background-color: rgba(0, 0, 0, 0.025);
}

.accordion-toggle:focus-visible {
    outline: 2px solid var(--clr-primary--20);
    outline-offset: 1px;
}

.accordion-toggle h4 {
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
}

.accordion-toggle .icon {
    width: 1em;
    height: 1em;
    color: var(--clr-primary);
    flex-shrink: 0;
}

.accordion-toggle.is-open .icon {
    transform: rotateZ(180deg);
}

.accordion-content {
    padding: 0 1.875rem;
}

.accordion-content p {
    margin: 1.875rem 0;
}

/** - CHANGE LOCALE - */
.change-locale {
    --mi-start: auto;
    position: relative;
}

.change-locale-toggle {
    all: initial;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 200ms ease-in-out;
}

.change-locale-toggle:hover,
.change-locale-toggle:focus-visible,
.change-locale.is-open .change-locale-toggle {
    background-color: rgba(0, 0, 0, 0.1);
}

.change-locale-toggle:focus-visible {
    outline: 2px solid var(--clr-primary--20);
    outline-offset: 1px;
}

.change-locale-toggle svg {
    flex-shrink: 0;
}

.change-locale-toggle .icon {
    width: 1.125em;
    height: 1.125em;
    --mi-end: 0.5em;
}

.change-locale-toggle .arrow {
    width: 1em;
    height: 1em;
    --mi-start: 0.875em;
}

.change-locale.is-open .change-locale-toggle .arrow {
    transform: rotateZ(180deg);
}

@media screen and (max-width: 991px) {
    .change-locale-toggle .arrow {
        display: none;
    }
}

.change-locale-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    --inset-i-end: 0;
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 12px 2px rgb(0 0 0 / 10%);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.change-locale-menu a {
    all: initial;
    font-family: inherit;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: inherit;
    white-space: nowrap;
    background-color: white;
    transition: background-color 200ms ease-in-out;
}

.change-locale-menu a:hover,
.change-locale-menu a:focus-visible {
    background-color: rgba(0, 0, 0, .05);
}

/* ===== SPLASH SECTION ===== */
.splash {
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
    width: 100%;
    --container-width: 720px;
    padding: 4rem 1rem;
    text-align: center;
}

.splash .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.splash-badge {
    display: inline-block;
    background: #e9edff;
    color: #3b3b88;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 1.25rem;
}

.splash h1 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    color: #0f172a;
    text-align: center;
    font-weight: 800;
    margin: 0 0 .75rem 0;
    line-height: 1.2;
}

.splash-subtext {
    text-align: center;
    color: #4b5563;
    margin: 1rem auto 2rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 600px;
}

/* Input + Button wrapper */
.splash-form-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 600px; /* unified width */
    margin: 0 auto;
    align-items: center;
}

/* Wrap input to ensure paste button aligns */
.splash-search {
    position: relative;
    width: 100%;
}

/* Input */
.splash-search-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem 3.25rem 1rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 8px 24px -12px rgba(37,46,105,.15);
}
.splash-search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15), 0 8px 24px -12px rgba(37,46,105,.2);
}

/* Paste button (inside input) */
.splash-paste-button {
    all: unset;
    position: absolute;
    top: 50%;
    right: .6rem;
    transform: translateY(-50%);
    border-radius: 0.5rem;
    font-family: inherit;
    background-color: #f8fafc;
    color: #111827;
    font-size: 0.9rem;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    line-height: 1;
    transition: background-color 200ms ease-in-out, box-shadow .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.splash-paste-button:hover,
.splash-paste-button:focus-visible {
    background-color: #eef2f7;
}
.splash-paste-button .icon {
    width: 1rem;
    height: 1rem;
}

/* Main Download button (fixed alignment + unified width) */
.splash-search-button {
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    box-shadow: 0 18px 40px -16px rgba(17,24,39,.5);
    background-color: #111827;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem;
    cursor: pointer;
    display: block;              /* ✅ block for margin auto */
    text-align: center;
    transition: background-color 200ms ease-in-out, transform .02s ease;
    width: 100%;                 /* ✅ match input */
    max-width: 600px;            /* ✅ unified with input/container */
    margin: 0 auto;
    box-sizing: border-box;
}
.splash-search-button:hover,
.splash-search-button:focus-visible {
    background-color: #1f2937;
}
.splash-search-button:active { transform: translateY(1px); }
.splash-search-button:disabled { opacity: 0.7; cursor: not-allowed; }
.splash-search-button .icon { width: 1.2em; height: 1.2em; }

/* Accessibility */
.splash-search-button:focus-visible,
.splash-paste-button:focus-visible {
    outline: 2px solid #c7d2fe;
    outline-offset: 2px;
}

/* ===== VIDEO PREVIEW (light + minimal style) ===== */
.splash-video {
    max-width: 750px;
    margin: 2rem auto;
    border-radius: 1rem;
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    --max-width: 550px;
}

/* Remove old background layers */
.splash-video::before,
.splash-video-bg {
    display: none;
}

/* Preview thumbnail */
.splash-video img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Title */
.splash-video h2 {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Subtitle */
.splash-video p {
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* Action buttons inside video preview */
.splash-video a,
.splash-video button {
    all: unset;
    border-radius: 0.75rem;
    font-family: inherit;
    background-color: #111827;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    max-width: var(--max-width);
    text-align: center;
    transition: background-color 0.2s ease-in-out;
    margin: 0.5rem 0; /* ✅ spacing between buttons */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); /* ✅ smoother look */
}
.splash-video a:hover,
.splash-video button:hover {
    background-color: #1f2937;
}

/* Reset link */
.splash-video-wrapper {
    padding: 1rem 0 0;
}

.splash-video-wrapper .reset-video {
    all: unset;
    display: inline-block;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}
.splash-video-wrapper .reset-video:hover {
    color: #374151;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 640px) {
    .splash-form-box {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch; /* input + button full width */
    }

    .splash-search-input,
    .splash-search-button {
        max-width: 100%;
    }

    .splash-paste-button {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
    }
}

/** -- LAYOUT -- */
/** - HEADER - */
.header {
    display: flex;
    background-color: #ffffff; /* A clean white background */
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 2rem;
    border-bottom: 1px solid #e5e7eb; /* A subtle, light gray border */
    position: sticky;
    top: 0;
    z-index: 10;
}

.header > * {
    display: flex;
    align-items: center;
}

.header .logo a {
    height: 40px;
    line-height: 1;
    display: flex;
}

.header .logo img {
    height: 100%;
    width: auto;
    object-position: left;
    object-fit: contain;
}

.header .menu-toggle {
    background-color: rgba(99, 102, 241, 0.1); /* Light, semi-transparent brand accent color */
    border: 0;
    outline: 0;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    padding: 0.5rem;
    --mi-start: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 200ms ease-in-out;
}

.header .menu-toggle:hover,
.header .menu-toggle:focus-visible {
    background-color: rgba(99, 102, 241, 0.2);
}

.header .menu-toggle:focus-visible {
    outline: 2px solid #6366f1; /* Brand accent color for accessibility */
    outline-offset: 1px;
}


.header .menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #6366f1; /* Brand accent color for the icon */
}

@media screen and (min-width: 992px) {

    .header .menu-toggle {
        display: none;
    }

    .header ul {
        display: flex;
        align-items: center;
        list-style: none;
    }

    .header nav a {
        text-decoration: none;
        font-size: 18px;
        color: #0f172a; /* Your main brand text color */
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        transition: color 200ms, background-color 200ms ease-in-out;
    }

    .header nav a:hover,
    .header nav a:focus-visible,
    .header nav a.is-active {
        color: #6366f1; /* Your brand accent color */
    }

    .header nav a.is-active {
        background-color: rgba(99, 102, 241, 0.1); /* Light, semi-transparent brand accent color */
    }

    .header nav a:focus-visible {
        outline: 2px solid #6366f1;
        outline-offset: 1px;
    }
}

@media screen and (max-width: 991px) {
    .header {
        padding: 0.625rem 1rem;
        position: relative;
    }

    .header .logo a {
        height: 35px;
    }

    .header nav {
        display: none;
        position: absolute;
        width: 100%;
        top: calc(100% + 1px);
        left: 0;
        background-color: #ffffff;
        padding: 0.5rem 0;
    }

    .header nav.is-open {
        display: block;
    }

    .header nav ul {
        list-style: none;
    }

    .header nav a {
        display: flex;
        width: 100%;
        font-size: 1.125rem;
        color: #0f172a; /* Your main brand text color */
        text-decoration: none;
        padding: 0.75rem 0;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-align: center;
    }

    .header nav li {
        border-bottom: 1px solid #e5e7eb; /* A subtle, light gray border */
    }

    .header nav li:last-child {
        border-bottom: none;
    }
}

/** - FOOTER - */
.footer {
    background-color: #0f172a; /* A deep, dark charcoal from your brand colors */
    color: #ffffff; /* Use white text for contrast on the dark background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    width: 100%;
    margin-top: auto;
    gap: 2rem;
    font-size: 1.125rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 1rem;
}

.footer-nav a {
    color: #6366f1; /* Your brand's accent color for links */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #8183f3; /* A slightly lighter version on hover */
    text-decoration: underline;
}

.footer b {
    font-weight: 700;
}

.footer p {
    opacity: 0.8;
}

/** -- SECTION -- */


.section h2 {
    margin-bottom: 3.5rem;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    font-weight: 700;
}

/* Features Section */
.features-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
    font-family: Arial, sans-serif;
    text-align: center;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Use global h2 style, only keep highlight */
.features-section h2 .highlight {
    font-size: 1.7rem;
    color: #6366f1; /* Your brand highlight color */
}

.features-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    padding: 0 1rem;
}

.features-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.feature-item {
    width: calc(33% - 2rem);
    text-align: center;
    margin: 0 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e9edff;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #3b3b88;
}

/* Use global h3 style, keep underline effect only */
.feature-item h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.feature-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6b46c1 0%, #d53f8c 100%);
    border-radius: 999px;
}

.feature-item p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Learn More Button */
.learn-more-container {
    margin-top: 4rem;
    text-align: center;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #111827;
    color: #ffffff;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.learn-more-btn:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
}

.learn-more-btn .btn-icon {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.learn-more-btn svg {
    stroke: #ffffff;
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    /* No need to resize h2 here anymore — handled globally */
    .features-subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .features-list {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        margin: 0;
        max-width: 400px;
    }
}


/** - HOW TO SECTION - */
.how-to-section {
    margin-top: 3rem;
    color: var(--clr-text);
    --container-width: 1180px;
}

/* Use global h2 style, only keep spacing + alignment */
.how-to-section h2 {
    margin: 1.7rem 0;
    text-align: center;
}

.how-to-section p {
    font-size: 1.3rem;
}

.how-to-section .how-to-card {
    background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-light));
    margin: 3.125rem auto;
    padding: 50px 60px;
    border-radius: 1rem;
    --clr-text: white;
    max-width: 980px;
    box-shadow: 0 84px 84px -56px var(--clr-primary--20);
}

/* Use global h3 style, only keep color + spacing */
.how-to-section .how-to-card h3 {
    color: var(--clr-text);
    margin: 0 0 0.625rem;
}

.how-to-section .how-to-card ol {
    list-style: none;
}

.how-to-section .how-to-card li {
    font-size: 1.5rem;
    color: var(--clr-text);
    position: relative;
    counter-increment: css-counter 1;
    z-index: 1;
    padding-left: 1.25rem;
    padding-top: 2.5rem;
    font-weight: 400;
}

.how-to-section .how-to-card li::before {
    content: counter(css-counter);
    font-weight: 700;
    font-size: 5rem;
    color: var(--clr-text);
    opacity: .15;
    position: absolute;
    --inset-i-start: -0.625rem;
    top: -0.625rem;
    z-index: -1;
}

.how-to-section .how-to-card li b {
    display: block;
    font-weight: 700;
}

.how-to-section .how-to-card li span::before {
    content: "- ";
}

@media screen and (max-width: 992px) {
    .how-to-section .how-to-card {
        padding: 35px 50px;
    }

    .how-to-section .how-to-card li {
        padding-left: 0;
    }
}

/* How-To Section */
.howto-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
    font-family: Arial, sans-serif;
    color: #4b5563;
    text-align: center;
}

.howto-container {
    max-width: 1100px;
    margin: 0 auto;
}

.howto-heading {
    font-size: 1.7rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.howto-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.howto-list {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Reduced gap since there are no images */
}

/* Updated guide layout for a text-only, professional look */
.howto-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.howto-content {
    flex: 1;
    text-align: left;
    max-width: 700px; /* Constrains the width for readability */
}

.howto-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.howto-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.steps-list li {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
    line-height: 1.6;
}

.steps-list li::before {
    content: "0" counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #6366f1;
}

.steps-list p {
    margin: 0;
}

.steps-list p strong {
    color: #0f172a;
}

/* All image-related styling has been removed */
.howto-image,
.howto-guide:nth-child(2n) {
    /* These rules are no longer needed as the layout is now a simple vertical stack */
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 991px) {
    .howto-guide {
        flex-direction: column; /* Simplified to a single column flow */
        gap: 2rem;
        text-align: center;
    }
    .howto-guide:nth-child(2n) {
        flex-direction: column;
    }
    .howto-content {
        text-align: center;
    }
    .howto-content h3 {
      font-size: 1.25rem;
    }
    .howto-subtext {
        font-size: 1rem;
    }
    .steps-list {
        text-align: left;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 1rem;
    background-color: #faf6ff;
    font-family: Arial, sans-serif;
    color: #4b5563;
    text-align: center;
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-heading {
    font-size: 1.7rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.benefits-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #eef2ff;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

/** - POPULAR VIDEOS SECTION - */
.popular-videos-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
    --container-width: 1180px;
}

.popular-videos-section .popular-videos {
    display: grid;
    gap: 1.25rem;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.popular-videos-section .popular-videos.is-empty {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.popular-videos-section .container h2 {
    flex: 100%;
    margin-bottom: 3.5rem;
    font-size: 1.7rem;
    line-height: 1;
    text-align: center;
    font-weight: 700;
}

.popular-video-empty {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.popular-video-empty img {
    max-width: 180px;
    width: 100%;
}

.popular-video-empty h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
    opacity: 1;
}

.popular-video {
    height: 400px;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

.popular-video-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.popular-video-content {
    margin-top: auto;
    padding: 1.25rem 1.25rem 0.875rem;
    color: var(--clr-white);
    font-size: 0.93rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.popular-video-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.875rem 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.popular-video-action .icon-button {
    --bg-color: rgba(255, 255, 255, 0.2);
    --color: var(--clr-white);
    --hover-bg-color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 992px) {
    .popular-videos-section .popular-videos {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .popular-video {
        height: 280px;
    }
}


/** - TOS SECTION - */
.article-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
    --container-width: 1180px;
}

.article-section h1 {
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    line-height: 1;
    text-align: center;
    font-weight: 700;
}

.article-section * {
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--clr-text);
}

.article-section p,
.article-section ol,
.article-section ul {
    margin-bottom: 1.25rem;
}

.article-section h2 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.article-section ul,
.article-section ol {
    list-style-position: outside;
    padding-left: 1.5rem;
}

.article-section ul li,
.article-section ol li {
    margin-bottom: 0.875rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
    font-family: sans-serif;
}

.how-it-works-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.content-left {
    flex: 1;
    max-width: 500px;
}

.content-left h2 {
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.how-it-works-section p .highlight {
    color: #6366f1;
    font-weight: 700;
    font-size: 1.125rem;
    font-style: italic;
    display: inline-block;
    transform: skewX(-6deg);
    transform-origin: left center;
    line-height: inherit;
    vertical-align: middle;
}

.content-left > p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 40px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px -12px rgba(37,46,105,.15);
}

.step.active {
    box-shadow: 0 0 0 3px rgba(99,102,241,.15), 0 8px 24px -12px rgba(37,46,105,.2);
    border-color: #6366f1;
}

.step h3 {
    margin-bottom: 5px;
    color: #3b3b88;
}

.step p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Right side image area */
.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 600px;
    margin-bottom: 2rem;
    box-shadow: none;
    border: none;
    padding: 0;
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 475px;
    max-height: 691px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.image-container img.active {
    opacity: 1;
    visibility: visible;
}

/* Controls Styling */
.controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

#autoplay-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
}

#autoplay-btn .icon {
    display: none;
}

#autoplay-btn .icon.active {
    display: block;
}

#autoplay-btn svg {
    width: 20px;
    height: 20px;
}

.video-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #111827;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-btn:hover {
    background-color: #1f2937;
}

.video-btn .play-icon {
    margin-right: 10px;
    z-index: 2;
}

.video-btn .pulse {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 40px;
    height: 40px;
    background-color: #111827;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-animation 2s infinite;
    z-index: 0;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.video-modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.close-modal-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .how-it-works-section .container {
        flex-direction: column;
    }
    .content-left, .content-right {
        max-width: 100%;
    }
    .image-container {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .content-right {
        display: none;
    }
}

/* FAQ SECTION */
.faq-section {
    padding: 6rem 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #faf6ff 0%, #efe8f7 100%);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Heading Column */
.faq-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.faq-heading p {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 1rem;
    color: #4a5568;
}

/* FAQ List Column */
.faq-list {
    width: 100%;
}

.faq-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Question and Answer Styling */
.faq-question h3 {
    margin-bottom: 0.5rem; /* keep spacing only */
}

.faq-question p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    max-width: 90%;
}

/* Gradient Separator */
.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6b46c1 0%, #d53f8c 100%);
}

.faq-item:last-of-type::after {
    display: none;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-heading {
        text-align: center;
    }
}

/* Value Section */
.value-section {
    padding: 6rem 1rem;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    color: #4b5563;
    text-align: center;
}

.value-container {
    max-width: 1000px;
    margin: 0 auto;
}

.value-heading {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.value-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.value-content-block {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
    text-align: left;
    align-items: center;
}

/* Reverses the layout for the second block */
.value-content-block.reverse {
    flex-direction: row-reverse;
}

.value-text-left,
.value-text-right {
    flex: 1;
}

.value-topic-number {
    font-size: 4rem;
    font-weight: 900;
    color: #eef2ff;
    margin-bottom: 1rem;
    line-height: 1;
}

.value-topic-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.value-topic-content p,
.value-text-left p,
.value-text-right p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Adjustments for a unified look on smaller screens */
@media (max-width: 768px) {
    .value-content-block {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .value-content-block.reverse {
        flex-direction: column;
    }

    .value-text-left,
    .value-text-right {
        text-align: center;
    }
    
    .value-topic-number,
    .value-topic-content {
        text-align: center;
    }
}

/** -- UTIL CLASSES -- */

[x-cloak] {
    display: none !important;
}

[dir="ltr"] .mi-start {
    margin-left: var(--mi-start);
}

[dir="rtl"] .mi-start {
    margin-right: var(--mi-start);
}

[dir="ltr"] .mi-end {
    margin-right: var(--mi-end);
}

[dir="rtl"] .mi-end {
    margin-left: var(--mi-end);
}

[dir="ltr"] .pi {
    padding-left: var(--pi-start, var(--pi));
    padding-right: var(--pi-end, var(--pi));
}

[dir="rtl"] .pi {
    padding-right: var(--pi-start, var(--pi));
    padding-left: var(--pi-end, var(--pi));
}

[dir="ltr"] .pi-start {
    padding-left: var(--pi-start);
}

[dir="rtl"] .pi-start {
    padding-right: var(--pi-start);
}

[dir="ltr"] .pi-end {
    padding-right: var(--pi-end);
}

[dir="rtl"] .pi-end {
    padding-left: var(--pi-end);
}

[dir="ltr"] .inset-i-start,
[dir="ltr"] .inset-i-start::before {
    left: var(--inset-i-start);
}

[dir="rtl"] .inset-i-start,
[dir="rtl"] .inset-i-start::before {
    right: var(--inset-i-start);
}

[dir="ltr"] .inset-i-end {
    right: var(--inset-i-end);
}

[dir="rtl"] .inset-i-end {
    left: var(--inset-i-end);
}
