@font-face {
    font-family: "MyReels Nunito";
    src: url("../../fonts/Nunito-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    --blue-900: #1757a6;
    --blue-800: #176cc0;
    --blue-700: #128ed1;
    --ink: #183f68;
    --muted: #51728d;
    --green: rgb(178 238 109 / 82%);
    --green-strong: #20c91c;
    --yellow: rgb(255 203 5 / 82%);
    --pink: rgb(255 163 236 / 72%);
    --violet: rgb(197 168 255 / 72%);
    --surface: rgb(255 255 255 / 72%);
    --border: rgb(182 213 255 / 78%);
    --shadow: 0 1px 2px rgb(0 0 0 / 20%);
    --scrollbar-track: rgb(220 243 255 / 72%);
    --scrollbar-thumb: #31b6f3;
    --scrollbar-thumb-hover: #128ed1;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

[hidden] {
    display: none !important;
}

*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #55c8f7 0%, var(--scrollbar-thumb) 100%);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #eaf6ff;
    color: var(--ink);
    font-family: "Nunito", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

body,
button,
input,
textarea {
    font-family: "Nunito", "Segoe UI", Arial, sans-serif;
}

button,
input,
textarea {
    font-size: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
    font-family: "MyReels Nunito", "Nunito", sans-serif;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.01;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.page-shell {
    width: min(100%, 1200px);
    margin: 0 auto;
    background: #42bdea url("../../img/bg-luveng-pattern.jpg") repeat;
    background-attachment: fixed;
    background-position: center top;
    background-size: 520px auto;
    box-shadow: 0 0 15px rgb(0 0 0 / 12%);
}

.site-shell,
.plain-shell {
    min-height: 100vh;
}

.section-container {
    width: min(100% - 36px, 1080px);
    margin-inline: auto;
}

.site-header,
.auth-header,
.plain-header {
    min-height: var(--header-height);
    padding: 9px clamp(16px, 3.5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgb(255 255 255 / 54%);
    background: linear-gradient(90deg, #31b6f3 0%, #6fd0fc 100%);
    position: relative;
    z-index: 20;
}

.site-header {
    position: sticky;
    top: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
}

.brand-mark {
    width: 40px;
    height: 40px;
    padding: 8px;
    display: grid;
    place-items: center;
    border: 2px solid rgb(255 255 255 / 74%);
    border-radius: 13px;
    background: rgb(255 255 255 / 28%);
    box-shadow: 0 5px 12px rgb(23 87 166 / 15%);
}

.brand-name {
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 5px rgb(23 87 166 / 22%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 11px;
    border: 1px solid rgb(255 255 255 / 74%);
    border-radius: 999px;
    background: rgb(255 255 255 / 70%);
    color: var(--blue-800);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
}

.notice--error {
    border-color: #f5a6a6;
    background: rgb(255 239 239 / 94%);
    color: #9d3030;
}

.notice--success {
    border-color: #8fd05d;
    background: rgb(238 255 225 / 94%);
    color: #3f7d20;
}

.hero {
    padding-block: clamp(34px, 6vw, 72px);
}

.hero-panel {
    min-height: 560px;
    padding: clamp(24px, 5vw, 54px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
}

.hero-copy h1 {
    margin: 18px 0 18px;
    color: var(--blue-900);
}

.hero-copy p {
    max-width: 620px;
    margin-bottom: 25px;
    color: #315e72;
    font-size: clamp(1.02rem, 2vw, 1.18rem);
    font-weight: 700;
}

.idea-demo {
    padding: 18px;
    transform: rotate(1deg);
}

.idea-demo-topline {
    margin-bottom: 11px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--blue-900);
    font-size: 0.8rem;
    font-weight: 900;
}

.idea-demo-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #388517;
    font-size: 0.68rem;
}

.idea-demo-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-strong);
    box-shadow: 0 0 0 4px rgb(32 201 28 / 13%);
}

.idea-demo-input {
    min-height: 150px;
    padding: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    border: 2px solid rgb(119 199 255 / 55%);
    border-radius: 17px;
    background: rgb(255 255 255 / 76%);
}

.idea-demo-input p {
    margin: 0;
    align-self: flex-start;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 750;
}

.idea-demo-formats {
    margin: 11px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.idea-demo-formats span {
    padding: 5px 9px;
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 999px;
    color: var(--blue-900);
    font-size: 0.68rem;
    font-weight: 900;
}

.idea-demo-formats span:nth-child(1) {
    background: var(--yellow);
}

.idea-demo-formats span:nth-child(2) {
    background: var(--green);
}

.idea-demo-formats span:nth-child(3) {
    background: rgb(111 208 252 / 70%);
}

.idea-demo-result {
    padding: 11px;
    display: grid;
    grid-template-columns: 35px 1fr;
    align-items: center;
    gap: 10px;
    border: 2px solid rgb(117 207 58 / 68%);
    border-radius: 15px;
    background: rgb(241 255 231 / 85%);
}

.idea-demo-result > img {
    width: 31px;
    height: 31px;
}

.idea-demo-result strong,
.idea-demo-result small {
    display: block;
}

.idea-demo-result strong {
    color: #408421;
    font-size: 0.8rem;
}

.idea-demo-result small {
    color: var(--muted);
    font-size: 0.67rem;
}

.formats,
.examples,
.workflow {
    padding-block: clamp(48px, 7vw, 82px);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 29px;
    text-align: center;
}

.section-heading h1,
.section-heading h2 {
    margin: 14px 0 10px;
    color: #fff;
    text-shadow: 0 3px 9px rgb(23 87 166 / 20%);
}

.section-heading p {
    margin: 0;
    color: rgb(255 255 255 / 92%);
    font-weight: 800;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.format-card {
    min-height: 230px;
    padding: 19px;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.format-card > span {
    width: 52px;
    height: 52px;
    padding: 10px;
    border: 2px solid rgb(119 199 255 / 62%);
    border-radius: 15px;
    background: rgb(220 244 255 / 88%);
}

.format-card h3 {
    margin: 14px 0 6px;
    color: var(--blue-900);
    font-size: 1.18rem;
}

.format-card p {
    margin: 0;
    color: #365f75;
    font-size: 0.86rem;
    font-weight: 700;
}

.format-card b {
    width: max-content;
    margin-top: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--blue-900);
    font-size: 0.65rem;
}

.format-card:nth-child(2) b {
    background: var(--green);
}

.format-card:nth-child(3) b {
    background: var(--pink);
}

.example-grid {
    display: grid;
    grid-template-columns: 0.78fr 1fr 0.84fr;
    align-items: end;
    gap: 16px;
}

.example-placeholder {
    position: relative;
    min-height: 310px;
    padding: 16px;
    display: grid;
    place-items: center;
    border: 2px dashed rgb(255 255 255 / 74%);
    border-radius: 25px;
    background: linear-gradient(145deg, rgb(255 255 255 / 66%), rgb(223 243 255 / 75%));
    box-shadow: var(--shadow);
}

.example-placeholder--reels {
    min-height: 390px;
}

.example-placeholder--post {
    min-height: 335px;
}

.example-placeholder > span {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--violet);
    color: var(--blue-900);
    font-size: 0.68rem;
    font-weight: 900;
}

.example-placeholder > div {
    display: grid;
    justify-items: center;
    gap: 7px;
    color: var(--blue-900);
    text-align: center;
}

.example-placeholder > div img {
    width: 39px;
}

.example-placeholder small {
    color: var(--muted);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.workflow-grid article {
    padding: 21px;
}

.workflow-grid article > span {
    width: 45px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--green);
    color: var(--blue-900);
    font-size: 0.75rem;
    font-weight: 900;
}

.workflow-grid h3 {
    margin: 15px 0 7px;
    color: var(--blue-900);
}

.workflow-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.pricing-teaser,
.landing-cta {
    margin-bottom: 18px;
    padding: clamp(24px, 5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pricing-teaser h2,
.landing-cta h2 {
    margin: 12px 0 7px;
    color: var(--blue-900);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.pricing-teaser p,
.landing-cta p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.landing-cta {
    margin-top: 18px;
    margin-bottom: 65px;
}

.site-footer {
    min-height: 160px;
    padding: 27px clamp(18px, 4vw, 46px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px 30px;
    border-top: 2px solid rgb(255 255 255 / 54%);
    background: linear-gradient(90deg, #31b6f3 0%, #6fd0fc 100%);
    color: #fff;
}

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

.site-footer-brand strong {
    font-family: "MyReels Nunito", sans-serif;
    font-size: 1.2rem;
}

.site-footer-brand span,
.site-footer small {
    color: rgb(255 255 255 / 82%);
    font-size: 0.78rem;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px 18px;
    font-size: 0.8rem;
    font-weight: 900;
}

.site-footer-language {
    padding: 5px 9px;
    border: 1px solid rgb(255 255 255 / 58%);
    border-radius: 9px;
    background: rgb(255 255 255 / 16%);
}

.site-footer small {
    grid-column: 1 / -1;
}

.plain-shell {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.plain-content {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 28px 14px;
}

.language-card {
    width: min(100%, 520px);
    padding: 28px;
}

.language-card h1 {
    margin: 14px 0 7px;
    color: var(--blue-900);
    font-size: clamp(2rem, 7vw, 3rem);
}

.language-card > p {
    color: var(--muted);
    font-weight: 700;
}

.language-list {
    display: grid;
    gap: 8px;
}

.language-list a {
    min-height: 58px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 44px 1fr 23px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgb(255 255 255 / 72%);
}

.language-list a > span {
    width: 42px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgb(111 208 252 / 70%);
    color: var(--blue-900);
    font-size: 0.7rem;
    font-weight: 900;
}

.language-list a img {
    width: 22px;
}

.premium-page {
    padding-block: clamp(36px, 7vw, 78px);
}

.premium-plans {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.premium-plan {
    padding: 23px;
    display: flex;
    flex-direction: column;
}

.premium-plan--yearly {
    border: 2px solid var(--green-strong);
}

.premium-plan--current {
    border-color: #42a5f5;
}

.premium-plan > span {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--blue-900);
    font-size: 0.68rem;
    font-weight: 900;
}

.premium-plan--yearly > span {
    background: var(--green);
}

.premium-plan h2 {
    margin: 15px 0 5px;
    color: var(--blue-900);
    font-size: 1.5rem;
}

.premium-plan > div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.premium-plan > div strong {
    color: #113c70;
    font-family: "MyReels Nunito", sans-serif;
    font-size: 2.5rem;
}

.premium-plan > div small {
    color: var(--muted);
    font-weight: 800;
}

.premium-plan > p {
    color: var(--muted);
    font-weight: 700;
}

.premium-plan ul {
    margin: 4px 0 22px;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.premium-plan li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
}

.premium-plan li img {
    width: 20px;
}

.premium-plan .button {
    margin-top: auto;
}

.premium-plan-form {
    margin-top: auto;
}

.premium-current-button:disabled {
    background: #9ddcf8;
    color: var(--blue-900);
    opacity: 1;
}

.premium-status,
.premium-management {
    width: min(100%, 780px);
    margin: 0 auto 16px;
    padding: 18px 20px;
    color: var(--blue-900);
}

.premium-status {
    display: grid;
    gap: 4px;
    text-align: center;
}

.premium-status strong {
    font-size: 1.2rem;
}

.premium-status span,
.premium-status small,
.premium-management p {
    font-weight: 800;
}

.premium-status small,
.premium-management p {
    color: var(--muted);
}

.premium-management {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.premium-management p {
    margin: 0;
}

.premium-management form {
    flex: 0 0 auto;
}

.premium-management-button,
.premium-cancel-button {
    min-width: 190px;
}

.premium-cancel-button {
    background: #ff8e87;
}

@media (max-width: 820px) {
    .hero-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy {
        text-align: center;
    }

    .idea-demo {
        width: min(100%, 520px);
        margin: 0 auto;
        transform: none;
    }

    .format-grid,
    .example-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .example-placeholder,
    .example-placeholder--reels,
    .example-placeholder--post {
        min-height: 245px;
    }

}

@media (max-width: 600px) {
    :root {
        --header-height: 62px;
    }

    .site-header,
    .auth-header,
    .plain-header {
        padding: 8px 12px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .brand-name {
        font-size: 1.02rem;
    }

    .section-container {
        width: min(100% - 20px, 1080px);
    }

    .hero {
        padding-block: 22px 42px;
    }

    .hero-panel {
        padding: 18px 14px;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 12vw, 3.25rem);
    }

    .hero-copy .button {
        width: 100%;
    }

    .pricing-teaser,
    .landing-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .site-footer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .site-footer-links {
        justify-content: flex-start;
    }

    .site-footer small {
        grid-column: auto;
    }

    .premium-plans {
        grid-template-columns: 1fr;
    }

    .premium-management {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .premium-management-button,
    .premium-cancel-button {
        width: 100%;
    }

    .language-card {
        padding: 19px;
        border-radius: 21px;
    }

}
