@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

:root {
    --color-black: rgb(0, 0, 0);
    --color-black-alpha-1: rgba(0, 0, 0, 5%);
    --color-black-alpha-2: rgba(0, 0, 0, .1);
    --color-black-alpha-3: rgba(0, 0, 0, 15%);
    --color-black-alpha-4: rgba(0, 0, 0, 24%);
    --color-black-alpha-5: rgba(0, 0, 0, 32%);
    --color-black-alpha-6: rgba(0, 0, 0, 42%);
    --color-black-alpha-7: rgba(0, 0, 0, 56%);
    --color-black-alpha-8: rgba(0, 0, 0, 75%);
    --color-white: #fff;
    --color-white-1: #f2f3f7;
    --color-white-2: #e6e7ed;
    --color-white-alpha-1: hsla(0, 0%, 100%, .07);
    --color-white-alpha-2: hsla(0, 0%, 100%, .12);
    --color-white-alpha-3: hsla(0, 0%, 100%, .18);
    --color-white-alpha-4: hsla(0, 0%, 100%, .41);
    --color-white-alpha-5: hsla(0, 0%, 100%, .49);
    --color-white-alpha-6: hsla(0, 0%, 100%, .6);
    --color-white-alpha-7: hsla(0, 0%, 100%, .72);
    --color-white-alpha-8: hsla(0, 0%, 100%, .81);
    --color-neutral-0: #fff;
    --color-neutral-0-80: hsla(0, 0%, 100%, .8);
    --color-neutral-1: #f2f3f7;
    --color-neutral-2: #e6e7ed;
    --color-neutral-3: #d9dae0;
    --color-neutral-4: #c2c3c9;
    --color-neutral-5: #aeafb5;
    --color-neutral-6: #93949a;
    --color-neutral-7: #707177;
    --color-neutral-8: #404147;
    --color-neutral-9: #000;
    --color-neutral-alpha-1: rgba(38, 55, 122, 6%);
    --color-neutral-alpha-2: rgba(5, 16, 75, .1);
    --color-neutral-alpha-3: rgba(2, 8, 48, 15%);
    --color-neutral-alpha-4: rgba(2, 5, 24, 32%);
    --color-neutral-alpha-5: rgba(4, 6, 20, 43%);
    --color-accent-300: #d061f2;
    --color-accent-400: #ae3de3;
    --color-accent-500: #9b0cd9;
    --color-accent-600: #d73ffd;
    ;
    --color-accent-alpha-1: rgba(88, 38, 222, 6%);
    --color-accent-alpha-2: rgba(64, 10, 219, 11%);
    --color-accent-alpha-3: rgba(67, 14, 220, 17%);
    --color-accent-alpha-4: rgba(62, 7, 218, 27%);
    --color-accent-alpha-5: rgba(55, 1, 215, 35%);
    --color-positive-400: #3dba83;
    --color-positive-500: #00a66f;
    --color-positive-600: #018255;
    --color-positive-alpha-1: rgba(15, 175, 125, .1);
    --color-positive-alpha-2: rgba(8, 166, 113, 19%);
    --color-positive-alpha-3: rgba(3, 165, 114, 29%);
    --color-negative-400: #ff6b5e;
    --color-negative-500: #f33;
    --color-negative-600: #c92224;
    --color-negative-alpha-1: hsla(0, 100%, 71%, .1);
    --color-negative-alpha-2: rgba(255, 24, 24, 13%);
    --color-negative-alpha-3: rgba(255, 74, 74, 26%);
    --color-magic-accent-400: #ee65f5;
    --color-magic-accent-500: #da45e5;
    --color-magic-accent-600: #ad31b7;
    --color-animation-accent-500: #cfc5ff;
    --color-camera-accent-500: #f5b63d;
    --color-secondary-moon-grape: #626eff;
    --color-secondary-electric-litchi: #ff86f6;
    --color-secondary-sunny-mango: #ffa602;
    --color-secondary-coral-cherry: #ff538c;
    --color-secondary-navy: #000255;
    --color-spotlight: rgba(255, 166, 2, .23);
    --color-surface-default: var(--color-neutral-0);
    --color-surface-alternate: var(--color-neutral-1);
    --color-surface-low: var(--color-neutral-1);
    --color-surface-high: var(--color-neutral-0);
    --color-surface-higher: var(--color-neutral-0);
    --color-background-default: var(--color-neutral-9);
    --color-background-hover: var(--color-neutral-8);
    --color-background-down: var(--color-neutral-9);
    --color-background-subdued: var(--color-neutral-alpha-1);
    --color-background-subdued-hover: var(--color-neutral-alpha-2);
    --color-background-subdued-down: var(--color-neutral-alpha-3);
    --color-background-accent: var(--color-accent-500);
    --color-background-accent-hover: var(--color-accent-400);
    --color-background-accent-down: var(--color-accent-600);
    --color-background-accent-subdued: var(--color-accent-alpha-1);
    --color-background-accent-subdued-hover: var(--color-accent-alpha-2);
    --color-background-accent-subdued-down: var(--color-accent-alpha-3);
    --color-background-positive: var(--color-positive-500);
    --color-background-positive-hover: var(--color-positive-400);
    --color-background-positive-down: var(--color-positive-600);
    --color-background-positive-subdued: var(--color-positive-alpha-1);
    --color-background-positive-subdued-hover: var(--color-positive-alpha-2);
    --color-background-positive-subdued-down: var(--color-positive-alpha-3);
    --color-background-negative: var(--color-negative-500);
    --color-background-negative-hover: var(--color-negative-400);
    --color-background-negative-down: var(--color-negative-600);
    --color-background-negative-subdued: var(--color-negative-alpha-1);
    --color-background-negative-subdued-hover: var(--color-negative-alpha-2);
    --color-background-negative-subdued-down: var(--color-negative-alpha-3);
    --color-background-tab: var(--color-neutral-0);
    --color-background-bar: var(--color-neutral-0-80);
    --color-background-white: var(--color-white);
    --color-background-white-hover: var(--color-white-1);
    --color-background-white-down: var(--color-white-2);
    --color-background-white-subdued: var(--color-white-alpha-3);
    --color-background-white-subdued-hover: var(--color-white-alpha-4);
    --color-background-white-subdued-down: var(--color-white-alpha-5);
    --color-background-spotlight: var(--color-spotlight);
    --color-content-primary: var(--color-neutral-9);
    --color-content-subdued-primary: var(--color-neutral-8);
    --color-content-secondary: var(--color-neutral-7);
    --color-content-tertiary: var(--color-neutral-6);
    --color-content-accent: var(--color-accent-500);
    --color-content-accent-hover: var(--color-accent-400);
    --color-content-accent-down: var(--color-accent-600);
    --color-content-positive: var(--color-positive-500);
    --color-content-positive-hover: var(--color-positive-400);
    --color-content-positive-down: var(--color-positive-600);
    --color-content-negative: var(--color-negative-500);
    --color-content-negative-hover: var(--color-negative-400);
    --color-content-negative-down: var(--color-negative-600);
    --color-content-camera-accent: var(--color-camera-accent-500);
    --color-content-white-primary: var(--color-white);
    --color-content-white-secondary: var(--color-white-alpha-8);
    --color-content-black-primary: var(--color-black);
    --color-content-white-primary-inverted: var(--color-white);
    --color-content-white-subdued-primary-inverted: var(--color-white-alpha-8);
    --color-misc-divider: var(--color-neutral-alpha-2);
    --color-misc-divider-ios: var(--color-neutral-alpha-3);
    --color-misc-border: var(--color-neutral-alpha-3);
    --color-misc-border-emphasized: var(--color-neutral-alpha-5);
    --color-misc-border-box: var(--color-neutral-3);
    --color-misc-border-box-hover: var(--color-neutral-4);
    --color-misc-border-box-down: var(--color-neutral-5);
    --color-misc-stack-layer-1: var(--color-neutral-4);
    --color-misc-stack-layer-2: var(--color-neutral-2);
    --color-misc-focus-indicator: var(--color-accent-alpha-5);
    --color-misc-focus-indicator-subdued: var(--color-accent-alpha-2);
    --color-misc-white-focus-indicator: var(--color-white);
    --color-misc-visual-hover: var(--color-black-alpha-2);
    --color-misc-visual-down: var(--color-black-alpha-3);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    blockquote,
    dd,
    dl,
    figure,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    hr,
    p,
    pre {
        margin: 0;
    }
}

.nav-bg {
    background-color: #fff;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    position: sticky;
}

.headClass {
    align-items: center;
    height: 5rem;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
}

.headWrapper {
    flex: 1 1 0%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Header: logo left, nav links + auth grouped on the right */
.main-header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}
.main-header-nav .nav-brand {
    flex-shrink: 0;
}
.main-header-nav .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    gap: 0.35rem 0.5rem;
    flex-wrap: wrap;
}

.hidden {
    /* display: none; */
}

.inline-flex {
    display: inline-flex;
    align-items: center;
}

a {
    color: inherit;
    text-decoration: inherit;
}

.w-40 {
    width: 10rem;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}

.nav-items {
    gap: .5rem;
    align-items: center;
    display: flex;
}

.nav-btn {
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 10px;
    gap: .25rem;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 17px;
    font-weight: 500;
    line-height: 130%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
    background-color: #fff2fe;
}

*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #fff2fe;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

button,
select {
    text-transform: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.lg-str-btn {
    gap: .5rem;
    justify-content: flex-end;
    display: flex;
}

.lg-nav-btn {
    transition-duration: .2s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: var(--color-black);
    background-color: var(--color-background-subdued);
    border-radius: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    max-width: 100%;
    width: -moz-fit-content;
    width: fit-content;
    display: inline-flex;
    position: relative;

}

.login-btn {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 2.5rem;
    display: flex;
    background-color: #fff2fe;
    border-radius: 10px;
}

.login-span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
}

.str-btn {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 2.5rem;
    display: flex;
    background-color: #333333;
    color: #fff;
    border-radius: 10px;
}

.str-span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
}

.str-nav-btn {
    transition-duration: .2s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: var(--color-white);
    text-align: center;
    background-color: #333333;
    border-radius: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    max-width: 100%;
    width: -moz-fit-content;
    width: fit-content;
    display: inline-flex;
    position: relative;
    padding: 0.5rem 1.25rem;
    min-height: 2.5rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
}
.str-nav-btn:hover {
    color: var(--color-white);
    background-color: #444;
}

.hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #fff2fe;
    /* min-height preserves the hero feel; height:auto lets long tools (e.g. background replacement) push the footer down instead of overlapping it */
    min-height: 800px;
    height: auto;
}

/* Geometric hero & editor card */
.hero-section-geo {
    background-color: #fef7fe;
    background-image:
        radial-gradient(900px 340px at 50% 10%, rgba(124, 58, 237, 0.12), transparent 55%),
        radial-gradient(520px 260px at 15% 25%, rgba(212, 188, 255, 0.18), transparent 60%),
        linear-gradient(105deg, rgba(157, 78, 221, 0.05) 0%, transparent 52%),
        linear-gradient(-75deg, rgba(212, 188, 255, 0.10) 0%, transparent 45%);
    position: relative;
}

.hero-section-geo::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(124, 58, 237, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.35;
    mask-image: radial-gradient(520px 320px at 50% 35%, black 35%, transparent 70%);
}

@property --spin {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes editor-spin {
    to { --spin: 360deg; }
}

@keyframes dot-float {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 32px 24px, 0 0; }
}

.editor-card {
    max-width: 640px;
    margin: 2rem auto 0;
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(
            from var(--spin),
            rgba(124, 58, 237, 0.95),
            rgba(212, 188, 255, 0.95),
            rgba(155, 12, 217, 0.95),
            rgba(124, 58, 237, 0.95)
        ) border-box;
    border-radius: 28px;
    box-shadow:
        0 0 0 1px rgba(157, 78, 221, 0.10),
        0 24px 48px -12px rgba(0, 0, 0, 0.12),
        0 12px 24px -8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: editor-spin 10s linear infinite;
}

.editor-card::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: 0;
    border-radius: 34px;
    background:
        radial-gradient(420px 180px at 20% 10%, rgba(124, 58, 237, 0.20), transparent 60%),
        radial-gradient(380px 160px at 85% 35%, rgba(212, 188, 255, 0.24), transparent 62%);
    filter: blur(14px);
    opacity: 0.65;
    pointer-events: none;
}

.editor-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(320px 120px at 25% 0%, rgba(124, 58, 237, 0.16), transparent 60%),
        radial-gradient(280px 120px at 90% 25%, rgba(212, 188, 255, 0.22), transparent 62%);
    mix-blend-mode: multiply;
    opacity: 0.55;
}

.editor-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 60px 0 0;
    border-color: rgba(157, 78, 221, 0.2) transparent transparent transparent;
}

.editor-card-header {
    position: relative;
    z-index: 1;
    padding: 1.25rem 2rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.editor-card-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-neutral-9, #000);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.editor-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.chip {
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(64, 65, 71, 0.92);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    line-height: 1;
    backdrop-filter: blur(6px);
}

.chip-accent {
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.10);
    color: rgba(109, 40, 217, 0.95);
}

.editor-card-header-result {
    padding-bottom: 0;
}

.editor-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.drop-zone-wrap {
    min-height: 220px;
}

.drop-zone {
    display: block;
    min-height: 220px;
    border: 2px dashed rgba(157, 78, 221, 0.4);
    background-color: rgba(255, 255, 255, 0.72);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(124, 58, 237, 0.18) 1px, transparent 1.35px),
        radial-gradient(280px 140px at 50% 35%, rgba(124, 58, 237, 0.10), transparent 70%);
    background-size: 18px 18px, 100% 100%;
    background-position: 0 0, 0 0;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border-radius: 22px;
    isolation: isolate;
    animation: dot-float 12s ease-in-out infinite alternate;
}

.drop-zone::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.0) 0%, rgba(124, 58, 237, 0.25) 50%, rgba(124, 58, 237, 0.0) 100%);
    transform: translateX(-120%);
    animation: drop-scan 3.6s ease-in-out infinite;
    mix-blend-mode: multiply;
    opacity: 0.55;
    z-index: 0;
}

.drop-zone::after {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    opacity: 0.75;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55)),
        linear-gradient(rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.55));
    background-size:
        18px 2px, 2px 18px,   /* top-left */
        18px 2px, 2px 18px,   /* top-right */
        18px 2px, 2px 18px,   /* bottom-left */
        18px 2px, 2px 18px;   /* bottom-right */
    background-position:
        left top, left top,
        right top, right top,
        left bottom, left bottom,
        right bottom, right bottom;
    filter: drop-shadow(0 6px 18px rgba(124, 58, 237, 0.18));
    z-index: 0;
}

@keyframes drop-scan {
    0%, 30% { transform: translateX(-120%); }
    60% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

.drop-zone:hover,
.drop-zone:focus-within {
    border-color: rgba(157, 78, 221, 0.7);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 1px rgba(157, 78, 221, 0.1);
}

.drop-zone.drop-zone-dragover {
    border-color: rgba(124, 58, 237, 0.9);
    background-color: rgba(240, 235, 255, 0.95);
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.3);
}

.drop-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.drop-zone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 216px;
    padding: 1.5rem;
    position: relative;
    pointer-events: none;
    z-index: 1;
}

.drop-zone-icon {
    color: rgba(157, 78, 221, 0.6);
    line-height: 0;
}

.drop-zone:hover .drop-zone-icon,
.drop-zone:focus-within .drop-zone-icon {
    color: rgba(157, 78, 221, 0.9);
}

.drop-zone-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-neutral-8, #404147);
}

.drop-zone-text strong {
    color: var(--color-accent-500, #9b0cd9);
}

.drop-zone-formats {
    font-size: 0.875rem;
    color: var(--color-neutral-7, #707177);
}

.editor-actions {
    display: flex;
    justify-content: center;
}

.upload-btn-geo {
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 60%, #a855f7 100%);
    border: 0;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.upload-btn-geo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.45) 45%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.upload-btn-geo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

.upload-btn-geo:hover::after {
    transform: translateX(120%);
}

.upload-btn-geo:active {
    transform: translateY(0);
}

.upload-btn-geo:disabled {
    cursor: not-allowed;
    opacity: 0.85;
    transform: none;
}
.upload-btn-geo:disabled:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
}

#buttonUpload {
    position: relative;
    min-width: 180px;
}
.btn-spinner {
    display: none;
    width: 1em;
    height: 1em;
    margin-left: 0.5rem;
    vertical-align: middle;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}
.btn-spinner.visible {
    display: inline-block;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.editor-message {
    text-align: center;
    min-height: 1.25rem;
    font-size: 15px;
}

/* Google Ads placeholders: centered, minimal height so layout doesn't jump when ads load */
.ad-slot {
    display: block;
    text-align: center;
    min-height: 90px;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.editor-card-result {
    padding: 2rem;
}

.result-preview-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    margin-bottom: 1.25rem;
}

.editor-card-result .image-preview {
    display: flex;
    justify-content: center;
}

.editor-card-result .result-download-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-phases {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--color-content-secondary, #5c5e6b);
    font-size: 0.95rem;
}
.progress-phase { display: inline-block; }

.compare-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1rem;
}
.compare-panel {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white-2, #eee);
}
.compare-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-neutral-7);
    padding: 0.35rem 0;
    background: rgba(0,0,0,0.04);
}
.compare-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.result-preview-wrap .image-preview {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.bg-preview-transparent {
    background: repeating-conic-gradient(#ccc 0% 25%, #eee 0% 50%) 50% / 16px 16px;
}
.bg-preview-white { background: #fff; }
.bg-preview-black { background: #1a1a1a; }

.background-preview-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.bg-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--color-white-2, #e6e7ed);
    background: #fff;
    color: var(--color-neutral-8);
    cursor: pointer;
}
.bg-tab:hover { background: #f5f5f7; }
.bg-tab.active {
    background: var(--color-primary, #6366f1);
    color: #fff;
    border-color: var(--color-primary, #6366f1);
}

.download-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.25rem;
}
.upload-btn-secondary {
    background: #fff;
    color: var(--color-primary, #6366f1);
    border: 1px solid var(--color-primary, #6366f1);
}
.upload-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.08);
}

.process-another-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    color: var(--color-primary, #6366f1);
    cursor: pointer;
    text-decoration: underline;
}
.process-another-btn:hover { color: var(--color-neutral-8); }

.tools-suggestions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-white-2, #e6e7ed);
}
.tools-suggestions-heading { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-neutral-8); }
.tools-suggestions-intro { font-size: 0.95rem; color: var(--color-content-secondary); margin-bottom: 0.75rem; }
.tools-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.tools-suggestions-list li { font-size: 0.9rem; }
.tools-suggestions-list a {
    color: var(--color-accent-500, #9b0cd9);
    font-weight: 500;
    text-decoration: none;
}
.tools-suggestions-list a:hover { text-decoration: underline; }
.tools-suggestions-all {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent-500, #9b0cd9);
    text-decoration: none;
}
.tools-suggestions-all:hover { text-decoration: underline; }

.affiliate-recommendations {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-white-2, #e6e7ed);
    text-align: center;
}
.affiliate-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-neutral-8);
}
.affiliate-intro {
    font-size: 0.95rem;
    color: var(--color-content-secondary);
    margin-bottom: 0.75rem;
}
.affiliate-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
}
.affiliate-links li {
    font-size: 0.9rem;
    color: var(--color-content-secondary);
}
.affiliate-link {
    color: var(--color-primary, #6366f1);
    font-weight: 600;
    text-decoration: none;
}
.affiliate-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .compare-view {
        grid-template-columns: 1fr;
    }
    .editor-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        border-radius: 24px;
    }
    .editor-form {
        padding: 1.25rem;
    }
    .drop-zone {
        min-height: 180px;
        border-radius: 18px;
    }
    .drop-zone-inner {
        min-height: 176px;
    }
    .drop-zone-wrap {
        min-height: 180px;
    }
    .editor-card-result {
        padding: 1.25rem;
    }
}

.hero-container {
    gap: 1rem;
    text-align: center;
    flex-direction: column;
    display: flex;
}

.hero-wrapper {
    flex-direction: column;
    display: flex;
    text-align: center;
    align-items: center;

}

.h1-cls {
    display: flex;
    gap: .5rem;
    flex-direction: column;
    align-items: center;
}

.img-span {
    display: flex;
    align-items: center;
}

.bg-img {
    display: inline-flex;
    vertical-align: middle;
    height: 31px;
    margin-right: .5rem;
    position: relative;
    width: 31px;
}

.image-prop {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    color: transparent;
}

.main-heading {
    font-size: 50px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -.72px;
    vertical-align: middle;
    display: inline;
}

.hero-body {
    color: #707177;
    padding-top: .75rem;
    max-width: 720px;
    font-size: 17px;
    font-weight: 500;
    line-height: 150%;
    margin: auto;
}

.choose-img-wrapper {
    max-width: 640px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    position: relative;
}

.upload-img-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    display: grid;
}

.upload-img-size {
    aspect-ratio: 3 / 2;
    position: relative;
}

.upload-img-wrapper {
    max-width: 635px;
    height: 460px;
    margin: auto;
    background-image: repeating-conic-gradient(#f5f2fa 0 25%, transparent 0 50%);
    background-position: 50%;
    --tw-shadow: 0px 16px 32.77px rgba(0, 0, 0, .12), 0px 32px 65.54px rgba(0, 0, 0, .06), 0px 64px 131.07px rgba(0, 0, 0, .03);
    --tw-shadow-colored: 0px 16px 32.77px var(--tw-shadow-color), 0px 32px 65.54px var(--tw-shadow-color), 0px 64px 131.07px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background-color: #fff;
    border-color: #fff;
    border-width: 2px;
    border-radius: 15em;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    display: flex;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#message {
    margin-top: 0.75rem;
    min-height: 1.25rem;
    font-size: 15px;
}

#message.message-error {
    color: var(--color-negative-500, #f33);
    font-weight: 500;
}

.img-upload-hidden {
    display: block;
}

.upload-btn {
    color: #fff;
    text-align: center;
    background-color: #333333;
    border-radius: 26px;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: -moz-fit-content;
    padding: 9px 20px;
}

.upload-btn1 {
    color: #fff;
    text-align: center;
    background-color: #333333;
    border-radius: 24px;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: -moz-fit-content;
    padding: 1em 1.8em;
    font-size: 26px;
}

.image-preview {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

p#imageDimensions {
    margin: 1.2em 0;
}

.glow {
    font-size: 18px;
    color: #fff;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 18px #333333, 0 0 24px #333333, 0 0 34px #333333, 0 0 44px #333333, 0 0 54px #333333;
    }

    to {
        text-shadow: 0 0 14px #fff, 0 0 24px #8000ff, 0 0 34px #8000ff, 0 0 44px #8000ff, 0 0 54px #8000ff, 0 0 64px #8000ff, 0 0 74px #8000ff;
    }
}

.processedImage {
    max-width: 300px;
}

.result-download-column {
    text-align: center;
}

input::file-selector-button {
    background-image: linear-gradient(to right,
            #8000ff,
            #ebd8ff,
            #333333 100%,
            #333333 200%);
    background-position-x: 0%;
    background-size: 200%;
    border: 0;
    border-radius: 8px;
    color: #fff;
    padding: 1rem 1.25rem;
    text-shadow: 0 1px 1px #333;
    transition: all 0.25s;
}

input::file-selector-button:hover {
    background-position-x: 100%;
    transform: scale(1.05);
}


[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    background-color: #00000000 transparent;
    background-image: none;
}

[role=button],
button {
    cursor: pointer;
}

button,
select {
    text-transform: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.upload-btn-wrapper {
    padding-left: 17px;
    padding-right: 22px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 3.5rem;
    display: flex;
}

.icon-size-600 {
    height: 1.5rem;
    width: 1.5rem;
}

.shrink-0 {
    flex-shrink: 0;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}

.btn-text {
    margin-left: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 17px;
    font-weight: 600;
    line-height: 130%;
}

.drop-img {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    line-height: 130%;
}

.upload-bg-box {
    transition-duration: .3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    --tw-backdrop-blur: blur(4px);
    opacity: 0;
    background-color: var(--color-white-alpha-3);
    border-radius: 18px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}

.how-to-section {
    gap: 3rem;
    padding: 2.5rem 1rem;
    flex-direction: column;
    display: flex;
}

.heading2 {
    width: 100%;
    max-width: 640px;
    text-align: center;
    gap: .75rem;
    align-items: center;
    flex-direction: column;
    max-width: 384px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.h2-text {
    font-size: 50px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -.5px;

}

.how-to-content {
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.how-to-section-wrap {
    gap: 1.5rem;
    justify-content: center;
    flex-direction: column;
    display: flex;
}

#header_logo {
    width: 180px;
    height: auto;
    max-width: min(220px, 100%);
}

.content-flex {
    padding: 1.25rem;
    background-color: #fff2fe;
    border-radius: 18px;
}

.content-flex-span {
    color: #333333;
    padding-top: 6.5px;
    padding-bottom: 7.5px;
    padding-left: .75rem;
    padding-right: .75rem;
    background-color: #00000022;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: .75rem;
    font-size: 17px;
    font-weight: 700;
    line-height: 130%;
}

.content-flex-heading {
    padding-bottom: 1rem;
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
}

.content-flex-body {
    color: var(--color-content-secondary);
    font-size: 17px;
    font-weight: 500;
    line-height: 150%;
    margin-top: calc(.75rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.75rem* var(--tw-space-y-reverse));
}

.fast-bg-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    flex-direction: column;
    display: flex;
}

.fast-bg-container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.fast-bg-grid {
    gap: 1rem;
    align-items: center;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    max-width: 24rem;
    display: grid;
    margin-left: auto;
    margin-right: auto;
}

.bg-video {
    position: relative;
}

.fast-bg-video {
    background-color: var(--color-neutral-4);
    border-radius: 18px;
    overflow: hidden;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    --tw-translate-y: 0px;
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    aspect-ratio: 4 / 3;
    position: relative;
}

.video {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

img,
video {
    max-width: 100%;
    height: auto;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}

.bg-content {
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    display: grid;
    margin-left: auto;
    margin-right: auto;
}

.bg-flex {
    flex: 1 1 0%;
}

.bg-flex-heading {
    font-weight: 700;
    line-height: 110%;
    font-size: 29px;
    letter-spacing: -.29px;
    display: flex;
}

.bg-flex-content {
    color: var(--color-content-secondary);
    gap: 2rem;
    flex-direction: column;
    flex: 1 1 0%;
    display: flex;
    font-size: 17px;
    font-weight: 500;
    line-height: 150%;
}

.btn-edge-flex {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 2.5rem;
    display: flex;
}

.btn-edge-flex-span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 130%;
}

.tips_container {
    border-radius: 55.5px;
    background: #dcbcff;
    max-width: 82.87%;
    margin: 60px auto 120px;
    padding: 40px 238px;
}

.tips_content {
    display: flex;
    column-gap: 12px;
    align-items: center;
    max-width: fit-content;
    margin: auto;
    flex-wrap: wrap;
}

.tips_content p {
    color: #18172F;
    font-size: 20px;
    line-height: normal;
}

.tips_content .tips-link,
.tips_content span {
    color: #333333;
    font-size: 20px;
    line-height: normal;
    text-decoration-line: underline;
}

.tips_content .tips-link:hover {
    color: #16163F;
}

.page-main {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1rem 4rem;
}

.page-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-neutral-9);
    margin-bottom: 0.5rem;
}

.page-content .lead {
    font-size: 1.125rem;
    color: var(--color-content-secondary);
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-content section p,
.page-content ul {
    color: var(--color-content-secondary);
    margin-bottom: 1rem;
}

.page-content ul {
    padding-left: 1.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-list { margin-top: 1rem; }
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-white-2, #e6e7ed);
}
.faq-item:last-of-type { border-bottom: 0; }
.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-neutral-9);
    margin-bottom: 0.5rem;
}
.faq-item p,
.faq-item .faq-a {
    margin: 0;
    color: var(--color-content-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* SEO landing page sections */
.seo-trust {
    color: var(--color-content-secondary, #5c5e6b);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.seo-section {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}
.seo-section .h2-text {
    margin-bottom: 1rem;
}
.seo-steps {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
    color: var(--color-content-secondary);
    line-height: 1.6;
}
.seo-steps li {
    margin-bottom: 0.5rem;
}
.seo-use-cases {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
    color: var(--color-content-secondary);
    line-height: 1.6;
}
.seo-use-cases li { margin-bottom: 0.35rem; }
.seo-faq-list .faq-item h3.faq-q { margin-bottom: 0.35rem; }
.seo-internal-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.seo-internal-links li {
    margin-bottom: 0.5rem;
}
.seo-internal-links a {
    color: var(--color-primary, #6366f1);
    text-decoration: none;
}
.seo-internal-links a:hover {
    text-decoration: underline;
}

.seo-breadcrumb {
    font-size: 0.9rem;
    color: var(--color-content-secondary);
    margin-bottom: 1rem;
}
.seo-breadcrumb a {
    color: var(--color-primary, #6366f1);
    text-decoration: none;
}
.seo-breadcrumb a:hover {
    text-decoration: underline;
}
.seo-breadcrumb .breadcrumb-sep {
    margin: 0 0.35rem;
    opacity: 0.7;
}
.seo-breadcrumb .breadcrumb-current {
    color: var(--color-neutral-8);
}

.seo-links-block {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.seo-links-block .h2-text {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

/* Container: centers content, used by index and SEO template */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* About, Pricing, Tools, SEO pages: centered content column */
.page-main-wide {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem 4rem;
}

.about-hero,
.pricing-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-hero .lead,
.pricing-hero .lead {
    margin-bottom: 0;
    font-size: 1.2rem;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.08);
}

.about-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-neutral-9);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.about-card p {
    margin: 0;
    color: var(--color-content-secondary, #404147);
    line-height: 1.6;
    font-size: 1rem;
}

.about-card-highlight {
    border-color: rgba(124, 58, 237, 0.2);
    background: linear-gradient(135deg, rgba(254, 247, 254, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.about-cta {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Pricing page */
.pricing-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, rgba(254, 247, 254, 0.5) 100%);
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
    border: 2px solid rgba(124, 58, 237, 0.15);
    position: relative;
    text-align: center;
}

.pricing-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.pricing-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-neutral-9);
    margin: 0 0 0.5rem;
}

.pricing-card-desc {
    color: var(--color-content-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 320px;
    flex: 1;
    min-height: 0;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-neutral-8, #404147);
    font-size: 1rem;
    line-height: 1.4;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 50%;
}

.pricing-cta-btn {
    display: inline-block;
    margin-top: auto;
    padding-top: 1.75rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pricing-card-featured {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.18);
}

.pricing-card-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-neutral-9);
    margin: 0 0 1rem;
}

.pricing-card-interval {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-content-secondary);
}

.pricing-loading,
.pricing-error {
    text-align: center;
    color: var(--color-content-secondary);
    padding: 2rem;
}

.pricing-faq {
    margin-top: 2rem;
}

.pricing-faq h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-neutral-9);
}

.pricing-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-neutral-9);
    margin: 0 0 0.5rem;
}

.pricing-faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-content-secondary);
    line-height: 1.55;
}

/* API page */
.api-pricing { margin-top: 2rem; }
.api-pricing-intro { color: var(--color-content-secondary); margin-bottom: 1rem; }
.api-pricing h2, .api-docs-preview h2, .api-cta-section h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.api-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.api-plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.08);
}
.api-plan-card.api-plan-featured { border-color: rgba(124, 58, 237, 0.4); box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12); }
.api-plan-badge { font-size: 0.8rem; font-weight: 600; color: var(--color-primary, #6366f1); margin-bottom: 0.25rem; }
.api-plan-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.35rem; }
.api-plan-desc { font-size: 0.9rem; color: var(--color-content-secondary); margin: 0 0 1rem; }
.api-plan-features { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.9rem; color: var(--color-neutral-8); }
.api-plan-features li { margin-bottom: 0.35rem; padding-left: 0; }
.api-cta { display: inline-block; text-align: center; margin-top: 0.25rem; }
.api-cta-large { display: inline-block; margin-top: 0.5rem; }
.api-docs-preview { margin-top: 2rem; }
.api-docs-preview code { background: rgba(0,0,0,0.06); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
.api-code {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0.75rem 0;
}
.api-code code { background: none; color: inherit; padding: 0; }
.api-cta-section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); }

/* Contact form */
.contact-api-hint {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.contact-form-section { margin-top: 1.5rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.contact-form .required { color: #c00; }
.contact-input {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.contact-textarea { min-height: 100px; resize: vertical; }
.contact-form button[type="submit"] { margin-top: 0.5rem; }
.contact-form-message { margin-top: 1rem; font-size: 0.95rem; }
.contact-form-message.success { color: #0a7c42; }
.contact-form-message.error { color: #c00; }

/* Auth modal and header */
.auth-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.auth-profile-wrap {
  display: none;
  align-items: center;
  position: relative;
}
.auth-profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--color-background-subdued, #f5f5f5);
  color: var(--color-neutral-8, #333);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.auth-profile-btn:hover {
  background: #ebebeb;
}
.auth-profile-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}
.auth-profile-btn:focus-visible {
  outline: 2px solid var(--color-black, #111);
  outline-offset: 2px;
}
.auth-profile-icon { flex-shrink: 0; }
.auth-profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  max-width: min(280px, calc(100vw - 1.5rem));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.35rem 0;
  z-index: 200;
}
.auth-profile-menu[hidden] {
  display: none !important;
}
.auth-profile-email {
  margin: 0;
  padding: 0.5rem 1rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-neutral-8, #555);
  word-break: break-word;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.auth-profile-link {
  display: none;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neutral-8, #333);
  text-decoration: none;
  border-radius: 0;
}
.auth-profile-link:hover,
.auth-profile-link:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}
.auth-profile-logout.auth-logout-btn {
  width: 100%;
  text-align: left;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neutral-8, #333);
  border-radius: 0;
  margin-top: 0;
}
.auth-profile-logout.auth-logout-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-black, #111);
}
.auth-profile-logout.auth-logout-btn:focus-visible {
  outline: 2px solid var(--color-black, #111);
  outline-offset: -2px;
}
.auth-logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neutral-8, #555);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.auth-logout-btn:hover {
  background: rgba(0,0,0,0.06);
  color: var(--color-black, #111);
}
.auth-logout-btn:focus-visible {
  outline: 2px solid var(--color-black, #111);
  outline-offset: 2px;
}
.auth-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-modal[hidden] { display: none; }
.auth-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.auth-modal-box { position: relative; background: #fff; border-radius: 16px; padding: 1.75rem; max-width: 400px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; line-height: 1; }
.auth-modal-close:hover { color: #000; }
.auth-modal-title { margin: 0 0 1rem; font-size: 1.35rem; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.auth-tab { padding: 0.4rem 0.75rem; background: #f0f0f0; border: none; border-radius: 8px; cursor: pointer; font-size: 0.95rem; }
.auth-tab.active { background: var(--color-primary, #6366f1); color: #fff; }
.auth-panel { margin-bottom: 1rem; }
.auth-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9rem; }
.auth-input { width: 100%; padding: 0.5rem 0.65rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 0.75rem; box-sizing: border-box; }
.auth-error { color: #c00; font-size: 0.9rem; margin: 0 0 0.5rem; min-height: 1.25rem; }
.auth-submit { width: 100%; margin-top: 0.25rem; }
.auth-divider { text-align: center; margin: 1rem 0 0.75rem; font-size: 0.85rem; color: #666; }
.auth-social { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.auth-social-btn { flex: 1; min-width: 80px; padding: 0.5rem 0.75rem; font-size: 0.9rem; border: 1px solid #ccc; border-radius: 8px; background: #fff; cursor: pointer; }
.auth-social-btn:hover { background: #f5f5f5; }

/* Bulk page */
.bulk-free-cta {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.bulk-free-cta a { color: var(--color-primary, #6366f1); font-weight: 600; }
.bulk-how, .bulk-pricing, .bulk-cta-section { margin-top: 2rem; }
.bulk-how h2, .bulk-pricing h2, .bulk-cta-section h2 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.bulk-steps, .bulk-features { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.bulk-steps li, .bulk-features li { margin-bottom: 0.5rem; }
.bulk-cta-section .api-cta-large { display: inline-block; margin-top: 0.5rem; }

.bulk-card { margin-top: 2rem; padding: 1.5rem; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
.bulk-upload-section h2 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.bulk-upload-hint { font-size: 0.875rem; color: var(--color-neutral-7, #666); margin-bottom: 1rem; }
.bulk-steps-indicator { display: flex; align-items: center; margin-bottom: 1.25rem; gap: 0; }
.bulk-step-dot { width: 28px; height: 28px; border-radius: 50%; background: #e5e5e5; color: #888; font-size: 0.75rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.bulk-step-dot.active { background: #333; color: #fff; }
.bulk-step-dot.done { background: #22c55e; color: #fff; }
.bulk-step-line { flex: 1; max-width: 40px; height: 2px; background: #e5e5e5; }
.bulk-step-labels { display: none; }
@media (min-width: 480px) { .bulk-step-labels { display: flex; gap: 1rem; margin-left: 0.5rem; font-size: 0.75rem; color: #666; } .bulk-step-labels span { width: 70px; } }
.bulk-drop-zone-wrap { margin-bottom: 1rem; }
.bulk-drop-zone { display: block; border: 2px dashed #ccc; border-radius: 12px; padding: 2rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.bulk-drop-zone:hover, .bulk-drop-zone-dragover { border-color: #6366f1; background: rgba(99, 102, 241, 0.04); }
.bulk-drop-zone .bulk-file-input { position: absolute; width: 0; height: 0; opacity: 0; }
.bulk-drop-zone-inner { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; pointer-events: none; }
.bulk-drop-icon { font-size: 2rem; }
.bulk-drop-text { font-size: 0.95rem; color: #333; }
.bulk-drop-hint { font-size: 0.8rem; color: #888; }
.bulk-actions { margin-bottom: 0.75rem; }
.bulk-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.bulk-progress { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0; font-size: 0.9rem; color: #555; }
.bulk-spinner { width: 18px; height: 18px; border: 2px solid #e5e5e5; border-top-color: #333; border-radius: 50%; animation: bulk-spin 0.7s linear infinite; }
@keyframes bulk-spin { to { transform: rotate(360deg); } }
.bulk-status { font-size: 0.9rem; margin: 0.5rem 0; min-height: 1.25em; }
.bulk-status-error { color: var(--color-error, #c00); }
.bulk-result { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.bulk-result-card .bulk-result-success { width: 48px; height: 48px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; }
.bulk-result-message { margin-bottom: 1rem; font-weight: 500; text-align: center; }
.bulk-download-btn { display: inline-flex; margin-bottom: 0.5rem; }
.bulk-result .upload-btn-secondary { display: block; margin-top: 0.5rem; background: transparent; color: #666; }
.bulk-result .upload-btn-secondary:hover { background: #f5f5f5; }

.bulk-cta-card { padding: 1.25rem; text-align: center; }
.bulk-cta-text { margin-bottom: 1rem; font-size: 0.95rem; color: #555; }
.bulk-cta-btn { display: inline-flex; }

@media (min-width: 1024px) {
    .bg-img {
        width: 71px;
        height: 71px;
        margin-right: 1rem;
        display: grid;
    }

    .hero-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .main-heading {
        font-size: 50px;
        font-weight: 700;
        line-height: 110%;
        letter-spacing: -.72px;
        color: #333333;
    }

    .hero-container {
        gap: 1rem;
    }

    .how-to-section {
        gap: 4rem;
    }

    .heading2 {
        max-width: 640px;
    }

    .how-to-content {
        max-width: 1072px;
    }

    .how-to-section-wrap {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .content-flex {
        flex: 1 1 0%;
    }

    .fast-bg-section {
        gap: 5rem;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .fast-bg-section1 {
        background: #fff2fe;
    }

    .fast-bg-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .fast-bg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 67rem;
    }

    .bg-content {
        padding-left: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .how-to-section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .fast-bg-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 768px) {
    .headClass {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .how-to-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .fast-bg-container {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}




.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-sm {
    max-width: 24rem;
}

@media (min-width: 1024px) {
    .lg\:max-w-\[960px\] {
        max-width: 960px;
    }
}

@media (min-width: 768px) {
    .md\:max-w-\[704px\] {
        max-width: 704px;
    }
}

@media (min-width: 640px) {
    .sm\:max-w-\[592px\] {
        max-width: 592px;
    }
}

@media (min-width: 1280px) {
    .xl\:max-w-\[1200px\] {
        max-width: 1200px;
    }
}

.gap-12 {
    gap: 3rem;
}

.grid {
    display: grid;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

@media (min-width: 1280px) {
    .xl\:col-auto {
        grid-column: auto;
    }
}

@media (min-width: 640px) {
    .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

@media (min-width: 1280px) {
    .xl\:col-auto {
        grid-column: auto;
    }
}

@media (min-width: 1280px) {
    .xl\:pb-8 {
        padding-bottom: 2rem;
    }
}

.text-white {
    color: var(--color-white);
}

.font-bold {
    font-weight: 700;
}

.text-xl {
    font-size: 20px;
}

.bg-content-accent {
    background-color: #4c0f89;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 640px) {
    .sm\:py-18 {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

@media (min-width: 768px) {
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .xl\:px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .xl\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.pt-4 {
    padding-top: 1rem;
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .xl\:w-auto {
        width: auto;
    }
}

.space-y-4>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem* var(--tw-space-y-reverse));
}

.text-white-alpha-8 {
    color: var(--color-white-alpha-8);
}

.items-center {
    align-items: center;
}

.inline-flex {
    display: inline-flex;
}

.component-600 {
    font-size: 17px;
}

.component-500,
.component-600 {
    font-weight: 500;
    line-height: 130%;
}

menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.relative {
    position: relative;
}

.-left-2 {
    left: -.5rem;
}

.-top-2 {
    top: -.5rem;
}

.inline-grid {
    display: inline-grid;
}

@media (min-width: 1280px) {
    .xl\:w-auto {
        width: auto;
    }
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}