:root {
    --primary: #ff6a00;
    --primary-strong: #f05a00;
    --primary-dark: #a73b00;
    --amber: #ffb000;
    --ink: #101114;
    --ink-soft: #252830;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #ffffff;
    --paper-soft: #fbfbfd;
    --wash: #f6f7fb;
    --silver: #d7dce5;
    --success: #111111;
    --shadow: 0 24px 70px -44px rgba(16, 17, 20, 0.62);
    --shadow-strong: 0 32px 86px -46px rgba(255, 106, 0, 0.72);
    --radius-lg: 30px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Manrope", "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 106, 0, 0.16), transparent 26rem),
        radial-gradient(circle at 90% 7%, rgba(255, 176, 0, 0.12), transparent 25rem),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 44%, #f3f5f8 100%);
    text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
    font-family: "IBM Plex Sans Arabic", "Manrope", "Segoe UI", Tahoma, Arial, sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(16, 17, 20, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 17, 20, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

button,
input,
select {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(228, 231, 236, 0.72);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: fit-content;
}

.brand-mark {
    position: relative;
    display: inline-grid;
    width: 78px;
    height: 54px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 250, 0.82)),
        #fff;
    box-shadow: 0 20px 42px -28px rgba(16, 17, 20, 0.72);
}

.brand-mark::after {
    position: absolute;
    inset-inline-end: -18px;
    bottom: -22px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    content: "";
    background: rgba(255, 106, 0, 0.18);
}

.brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 70px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-name {
    font-size: 1.42rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.brand-subline {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

html[dir="rtl"] .brand-subline {
    letter-spacing: 0;
    text-transform: none;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.nav a,
.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--muted);
    font-size: 0.91rem;
    font-weight: 800;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.language-switch a.active {
    border-color: rgba(255, 106, 0, 0.20);
    background: #fff3e8;
    color: var(--ink);
    transform: translateY(-1px);
}

.language-switch {
    display: inline-flex;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: #fff;
    box-shadow: 0 14px 32px -28px rgba(16, 17, 20, 0.6);
}

.language-switch a {
    min-height: 34px;
    padding: 7px 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a22 100%);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 20px 44px -28px rgba(255, 106, 0, 0.85);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -24px rgba(255, 106, 0, 0.92);
}

.button.secondary {
    border-color: rgba(16, 17, 20, 0.10);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    box-shadow: 0 18px 34px -30px rgba(16, 17, 20, 0.65);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
    gap: 52px;
    align-items: center;
    padding: 76px 0 58px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset-inline-start: -10%;
    top: 34px;
    z-index: -1;
    width: 230px;
    height: 230px;
    border-radius: 70px;
    content: "";
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(255, 176, 0, 0.10));
    filter: blur(2px);
    transform: rotate(18deg);
}

.hero-copy {
    max-width: 660px;
    min-width: 0;
}

.eyebrow,
.pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 106, 0, 0.20);
    border-radius: 999px;
    background: #fff3e8;
    color: var(--primary-dark);
    padding: 7px 12px;
    font-size: 0.84rem;
    font-weight: 900;
}

.hero-copy > .eyebrow {
    border-color: rgba(16, 17, 20, 0.10);
    background:
        linear-gradient(135deg, #101114 0%, #252830 100%);
    color: #fff;
    box-shadow: 0 22px 46px -34px rgba(16, 17, 20, 0.86);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: -0.045em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    letter-spacing: -0.02em;
}

h1 {
    max-width: 720px;
    margin-top: 0;
    font-size: clamp(2.55rem, 5vw, 4.85rem);
    line-height: 1.03;
    overflow-wrap: break-word;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.08;
}

h3 {
    font-size: 1.26rem;
    line-height: 1.25;
}

p {
    line-height: 1.8;
}

.lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: #4d5562;
    font-size: clamp(1.06rem, 1.5vw, 1.24rem);
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin-top: 30px;
}

.hero-points div {
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 44px -36px rgba(16, 17, 20, 0.55);
}

.hero-points strong,
.hero-points span {
    display: block;
}

.hero-points strong {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1.35;
}

.hero-points span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.5;
}

.platform-showcase {
    position: relative;
    display: grid;
    gap: 16px;
    overflow: hidden;
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 34px;
    padding: 18px;
    background:
        radial-gradient(circle at 80% 12%, rgba(255, 176, 0, 0.30), transparent 11rem),
        linear-gradient(145deg, #101114 0%, #252831 52%, #ff6a00 100%);
    color: #fff;
    box-shadow: 0 34px 90px -50px rgba(16, 17, 20, 0.82);
}

.platform-showcase::before {
    position: absolute;
    inset-inline-end: -76px;
    top: -82px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    content: "";
    background: rgba(255, 255, 255, 0.15);
}

.platform-showcase::after {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 18px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    content: "";
}

.showcase-topbar,
.showcase-storefront,
.showcase-steps {
    position: relative;
    z-index: 1;
}

.showcase-topbar {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 13px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 850;
}

.showcase-topbar span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
}

.showcase-topbar span:first-child {
    background: var(--primary);
}

.showcase-topbar strong {
    margin-inline-start: auto;
    color: #fff;
    font-weight: 900;
}

.showcase-storefront {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.62fr);
    gap: 16px;
    align-items: stretch;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.showcase-storefront > div:first-child {
    display: grid;
    align-content: center;
}

.showcase-storefront span,
.showcase-steps small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 850;
}

.showcase-storefront strong {
    display: block;
    max-width: 9ch;
    margin-top: 10px;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

html[dir="rtl"] .showcase-storefront strong {
    letter-spacing: -0.035em;
}

.showcase-storefront p {
    max-width: 320px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
}

.showcase-product {
    display: grid;
    align-content: end;
    gap: 8px;
    border-radius: 24px;
    padding: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 56px -38px rgba(0, 0, 0, 0.85);
}

.showcase-product span {
    display: block;
    min-height: 136px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 68% 28%, rgba(255, 106, 0, 0.28), transparent 36px),
        linear-gradient(145deg, #f4f6fb 0%, #ffffff 100%);
}

.showcase-product strong,
.showcase-product small {
    display: block;
    color: var(--ink);
}

.showcase-product strong {
    font-size: 0.92rem;
    font-weight: 950;
}

.showcase-product small {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.showcase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.showcase-steps div {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    padding: 14px;
    background: rgba(16, 17, 20, 0.30);
}

.showcase-steps span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 950;
}

.showcase-steps strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.35;
}

.hero-float {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 24px 48px -34px rgba(16, 17, 20, 0.70);
    backdrop-filter: blur(14px);
}

.hero-float-one {
    inset-inline-start: -18px;
    top: 42px;
}

.hero-float-two {
    inset-inline-end: -14px;
    bottom: 54px;
}

.panel,
.card,
.form-card {
    border: 1px solid rgba(228, 231, 236, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.panel {
    padding: 24px;
}

.dashboard-preview {
    position: relative;
    display: grid;
    gap: 16px;
    min-height: 460px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(16, 17, 20, 0.96) 0%, rgba(33, 36, 44, 0.94) 42%, rgba(255, 106, 0, 0.92) 100%);
    color: #fff;
    min-width: 0;
}

.dashboard-preview::before {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    content: "";
    pointer-events: none;
}

.dashboard-preview::after {
    position: absolute;
    inset-inline-end: -72px;
    top: -72px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    content: "";
    background: rgba(255, 255, 255, 0.14);
}

.preview-topbar,
.preview-main,
.preview-grid {
    position: relative;
    z-index: 1;
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-topbar .pill {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.live-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #29d17d;
    box-shadow: 0 0 0 8px rgba(41, 209, 125, 0.15);
}

.preview-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    min-height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.10);
    min-width: 0;
}

.preview-label,
.preview-card span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
}

.preview-main strong,
.preview-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.05rem;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.preview-number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.preview-card {
    min-height: 118px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.12);
    min-width: 0;
}

.preview-card.accent {
    background: rgba(255, 255, 255, 0.20);
}

.preview-card.dark {
    background: rgba(16, 17, 20, 0.58);
}

.section {
    padding: 48px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head p {
    max-width: 670px;
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card::before {
    position: absolute;
    inset-inline: 22px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    content: "";
    background: linear-gradient(90deg, var(--primary), var(--amber));
    opacity: 0;
    transition: opacity 0.18s ease;
}

.card:hover {
    border-color: rgba(255, 106, 0, 0.28);
    box-shadow: 0 30px 76px -44px rgba(16, 17, 20, 0.68);
    transform: translateY(-3px);
}

.card:hover::before,
.card.featured::before {
    opacity: 1;
}

.card.featured {
    border-color: rgba(255, 106, 0, 0.42);
    box-shadow: var(--shadow-strong);
}

.template-card {
    isolation: isolate;
}

.paid-template-card {
    border-color: rgba(255, 106, 0, 0.34);
    background:
        radial-gradient(circle at 94% 0%, rgba(255, 106, 0, 0.18), transparent 14rem),
        radial-gradient(circle at 0% 8%, rgba(255, 176, 0, 0.12), transparent 12rem),
        rgba(255, 255, 255, 0.94);
}

.paid-template-card::after {
    position: absolute;
    inset-inline-end: -58px;
    top: -58px;
    z-index: -1;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    content: "";
    background: rgba(255, 106, 0, 0.12);
}

.template-card-luxury-perfume {
    background:
        radial-gradient(circle at 94% 0%, rgba(218, 180, 92, 0.22), transparent 14rem),
        linear-gradient(180deg, #171717 0%, #101114 100%);
    color: #fff;
}

.template-card-luxury-perfume h3,
.template-card-luxury-perfume .price,
.template-card-luxury-perfume .list li {
    color: #fff;
}

.template-card-luxury-perfume .muted,
.template-card-luxury-perfume .premium-template-callout span {
    color: rgba(255, 255, 255, 0.72);
}

.template-card-luxury-perfume .premium-template-callout,
.template-card-luxury-perfume .template-value-row span {
    border-color: rgba(218, 180, 92, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.template-card-cafe-pro {
    background:
        radial-gradient(circle at 96% 0%, rgba(15, 118, 110, 0.18), transparent 14rem),
        linear-gradient(180deg, #fffaf1, #fff2df);
}

.template-card-boutique-pro {
    background:
        radial-gradient(circle at 90% 0%, rgba(192, 38, 211, 0.18), transparent 14rem),
        radial-gradient(circle at 0% 14%, rgba(14, 165, 233, 0.12), transparent 12rem),
        #fff;
}

.template-card-marketplace-pro {
    background:
        linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 90% 0%, rgba(45, 212, 191, 0.20), transparent 14rem),
        #f8fbff;
    background-size: 28px 28px, 28px 28px, auto, auto;
}

.premium-ribbon {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    padding: 8px 11px;
    background: linear-gradient(135deg, #101114, #ff6a00);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    box-shadow: 0 18px 34px -26px rgba(16, 17, 20, 0.86);
}

.template-preview {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 270px;
    margin: -6px -6px 18px;
    overflow: hidden;
    border: 1px solid rgba(228, 231, 236, 0.94);
    border-radius: 24px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.template-preview.is-paid {
    border-color: rgba(255, 106, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 247, 239, 0.95), #fff 62%),
        #fff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.86),
        0 26px 54px -42px rgba(255, 106, 0, 0.72);
}

.template-preview.image {
    display: block;
}

.template-preview.image img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
}

.choice .template-preview {
    min-height: 230px;
    margin: 0;
}

.choice .template-preview.image img {
    min-height: 230px;
}

.template-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 11px 14px 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.template-browser span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
}

.template-browser span:first-child {
    background: var(--primary);
}

.template-browser strong {
    margin-inline-start: auto;
    color: #111;
}

.template-browser em {
    border-radius: 999px;
    padding: 4px 7px;
    background: #101114;
    color: #fff;
    font-style: normal;
    font-size: 0.61rem;
    font-weight: 950;
}

.template-hero-mini {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 12px;
    align-items: center;
    min-height: 118px;
    margin: 4px 14px 0;
    padding: 15px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.22), transparent 8rem),
        linear-gradient(135deg, #101114 0%, #282c35 58%, var(--primary) 59%, #ff9d3e 100%);
    color: #fff;
}

.template-preview.perfume .template-hero-mini,
.template-preview.luxury-perfume .template-hero-mini {
    background:
        radial-gradient(circle at 88% 0%, rgba(218, 180, 92, 0.28), transparent 8rem),
        linear-gradient(135deg, #050506 0%, #161515 58%, #d7b56d 59%, #fff1bd 100%);
}

.template-preview.restaurant .template-hero-mini,
.template-preview.cafe-pro .template-hero-mini {
    background:
        radial-gradient(circle at 84% 2%, rgba(255, 255, 255, 0.20), transparent 8rem),
        linear-gradient(135deg, #30160a 0%, #743916 52%, #0f766e 53%, #14b8a6 100%);
}

.template-preview.boutique-pro .template-hero-mini {
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.30), transparent 8rem),
        linear-gradient(135deg, #171321 0%, #c026d3 54%, #e0f2fe 55%, #fff 100%);
}

.template-preview.marketplace-pro .template-hero-mini {
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.24), transparent 8rem),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #2563eb 49%, #2dd4bf 68%, #e0f2fe 69%, #fff 100%);
}

.template-preview.is-paid .template-hero-mini {
    min-height: 138px;
    box-shadow: 0 22px 50px -38px rgba(16, 17, 20, 0.9);
}

.template-preview.is-paid .template-hero-mini h4 {
    font-size: 1.1rem;
}

.mini-badge,
.mini-button {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
}

.mini-badge {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.15);
}

.mini-button {
    margin-top: 9px;
    padding: 6px 10px;
    background: #fff;
    color: #111;
}

.template-hero-mini h4 {
    margin: 8px 0 4px;
    font-size: 1.02rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.template-hero-mini p {
    max-width: 180px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    line-height: 1.55;
}

.template-visual {
    position: relative;
    height: 90px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px -24px rgba(0, 0, 0, 0.85);
}

.template-visual.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.template-visual.grid span {
    display: block;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #eef1f5 100%);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.template-visual.bottle span:first-child {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 34px;
    height: 58px;
    border-radius: 14px 14px 18px 18px;
    background: linear-gradient(180deg, #111 0%, #4b5563 100%);
    transform: translateX(-50%);
}

.template-visual.bottle span:nth-child(2) {
    position: absolute;
    top: 11px;
    left: 50%;
    width: 18px;
    height: 12px;
    border-radius: 6px 6px 2px 2px;
    background: #ff6a00;
    transform: translateX(-50%);
}

.template-preview.luxury-perfume .template-visual.bottle span:nth-child(2) {
    background: #d7b56d;
}

.template-visual.bottle span:nth-child(3) {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.18);
}

.template-visual.plate span:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 10px #f1f5f9, inset 0 0 0 18px #ffefe3;
    transform: translate(-50%, -50%);
}

.template-preview.cafe-pro .template-visual.plate span:first-child,
.template-preview.restaurant .template-visual.plate span:first-child {
    box-shadow: inset 0 0 0 10px #ecfeff, inset 0 0 0 18px #fed7aa;
}

.template-visual.plate span:nth-child(2),
.template-visual.plate span:nth-child(3) {
    position: absolute;
    top: 14px;
    width: 12px;
    height: 58px;
    border-radius: 999px;
    background: #111;
    opacity: 0.62;
}

.template-visual.plate span:nth-child(2) {
    left: 14px;
}

.template-visual.plate span:nth-child(3) {
    right: 14px;
}

.template-visual.bag span:first-child {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 58px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(145deg, #111 0%, #3f4650 100%);
    transform: translateX(-50%);
}

.template-visual.bag span:nth-child(2) {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 34px;
    height: 22px;
    border: 4px solid #ff6a00;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    transform: translateX(-50%);
}

.template-preview.boutique-pro .template-visual.bag span:nth-child(2) {
    border-color: #c026d3;
}

.template-visual.bag span:nth-child(3) {
    position: absolute;
    right: 20px;
    bottom: 22px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
}

.template-visual.market {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 12px;
}

.template-visual.market span {
    display: block;
    border-radius: 16px;
    background: linear-gradient(180deg, #111 0 34%, #fff 35% 100%);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.12);
}

.template-preview.marketplace-pro .template-visual.market span {
    background: linear-gradient(180deg, #2563eb 0 34%, #fff 35% 100%);
}

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

.template-sections-mini {
    display: flex;
    gap: 7px;
    padding: 0 14px 14px;
    flex-wrap: wrap;
}

.template-sections-mini span {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    padding: 5px 8px;
    background: #fff8f3;
    color: #6b3a16;
    font-size: 0.68rem;
    font-weight: 900;
}

.template-premium-strip {
    display: grid;
    gap: 3px;
    margin: 0 14px 14px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff7ef;
}

.template-premium-strip strong {
    color: var(--ink);
    font-size: 0.78rem;
}

.template-premium-strip span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.45;
}

.premium-template-callout {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 18px;
    padding: 13px 14px;
    background: #fff7ef;
}

.premium-template-callout strong {
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.premium-template-callout span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.55;
}

.template-value-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.template-value-row span {
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 999px;
    padding: 7px 9px;
    background: #fff;
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 900;
}

.template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.builder-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 18px;
}

.builder-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(228, 231, 236, 0.92);
    border-radius: var(--radius-lg);
    padding: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.builder-card.large {
    grid-row: span 2;
    min-height: 458px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 176, 0, 0.34), transparent 12rem),
        linear-gradient(145deg, #101114 0%, #262a32 58%, #ff6a00 100%);
}

.builder-card.large .pill {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.builder-card.large h3,
.builder-card.large .muted {
    color: #fff;
}

.builder-card.large .muted {
    opacity: 0.78;
}

.builder-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: auto;
}

.builder-products span {
    display: block;
    min-height: 120px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 72% 26%, rgba(255, 106, 0, 0.20), transparent 42px),
        linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(225, 230, 238, 0.86));
    box-shadow: 0 22px 42px -30px rgba(0, 0, 0, 0.70);
}

.builder-products span:nth-child(2) {
    transform: translateY(24px);
}

.template-product {
    display: grid;
    min-width: 0;
    gap: 6px;
    border-radius: 14px;
    padding: 9px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.product-thumb {
    display: block;
    height: 36px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 70% 24%, rgba(255, 106, 0, 0.18), transparent 24px),
        linear-gradient(135deg, #eef1f5 0%, #fff6ee 100%);
}

.template-product strong,
.template-product small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-product strong {
    font-size: 0.72rem;
}

.template-product small {
    color: var(--muted);
    font-size: 0.66rem;
}

.price {
    margin: 16px 0;
    color: var(--ink);
    font-size: 2.22rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.muted {
    color: var(--muted);
}

.list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

.list li {
    color: var(--ink-soft);
    font-weight: 650;
    line-height: 1.55;
}

.list li::before {
    margin-inline-end: 8px;
    color: var(--success);
    font-weight: 900;
    content: "✓";
}

.form-card {
    padding: 26px;
}

.field {
    display: grid;
    gap: 7px;
}

label {
    font-weight: 900;
}

input,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 15px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
select:focus {
    border-color: rgba(255, 106, 0, 0.54);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.choice {
    display: grid;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    background: #fff;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.choice:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.choice input {
    width: auto;
}

.choice:has(input:checked) {
    border-color: var(--primary);
    background: #fff8f3;
}

.ai-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(41, 209, 125, 0.36);
    border-radius: 999px;
    padding: 7px 11px;
    background: linear-gradient(135deg, rgba(41, 209, 125, 0.18), rgba(255, 255, 255, 0.88));
    color: #067647;
    font-size: 0.8rem;
    font-weight: 950;
}

.ai-badge::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    content: "";
    background: #17b26a;
    box-shadow: 0 0 0 6px rgba(23, 178, 106, 0.14);
}

.ai-store-generator {
    position: relative;
    display: grid;
    gap: 12px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid rgba(45, 212, 191, 0.42);
    border-radius: 30px;
    padding: 22px;
    background:
        radial-gradient(circle at 88% 0%, rgba(34, 197, 94, 0.52), transparent 15rem),
        radial-gradient(circle at 8% 100%, rgba(45, 212, 191, 0.32), transparent 14rem),
        linear-gradient(145deg, #052e2b 0%, #064e3b 52%, #0f766e 100%);
    color: #fff;
    box-shadow:
        0 30px 74px -44px rgba(6, 95, 70, 0.92),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    scroll-margin-top: 110px;
}

.ai-store-generator::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.78), transparent 82%);
}

.ai-store-generator > * {
    position: relative;
    z-index: 1;
}

.ai-store-generator .ai-badge {
    border-color: rgba(187, 247, 208, 0.54);
    background: rgba(236, 253, 245, 0.94);
    color: #065f46;
    box-shadow: 0 18px 40px -28px rgba(16, 185, 129, 0.8);
}

.ai-store-generator label {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.55;
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.generator-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.generator-row input {
    min-height: 56px;
    border-color: rgba(187, 247, 208, 0.36);
    border-radius: 999px;
    padding-inline: 20px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-size: 1rem;
    box-shadow: 0 22px 52px -38px rgba(0, 0, 0, 0.72);
}

.generator-row input:focus {
    border-color: rgba(45, 212, 191, 0.88);
    box-shadow:
        0 0 0 4px rgba(45, 212, 191, 0.18),
        0 22px 52px -38px rgba(0, 0, 0, 0.72);
}

.generator-row .button {
    border-color: rgba(187, 247, 208, 0.44);
    background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
    color: #052e2b;
    box-shadow: 0 24px 52px -30px rgba(20, 184, 166, 0.92);
}

.generator-row .button:hover {
    box-shadow: 0 28px 58px -26px rgba(20, 184, 166, 0.98);
}

.generator-examples,
.generated-section-chips,
.generated-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.generator-examples span,
.generated-section-chips span {
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 999px;
    padding: 8px 11px;
    background: #fff;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.ai-store-generator .generator-examples span {
    border-color: rgba(187, 247, 208, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
}

.ai-prefill-note {
    position: relative;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    margin-top: 0;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: 26px;
    padding: 18px;
    background:
        radial-gradient(circle at 92% 0%, rgba(41, 209, 125, 0.12), transparent 12rem),
        radial-gradient(circle at 0% 20%, rgba(255, 106, 0, 0.14), transparent 11rem),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 26px 60px -42px rgba(16, 17, 20, 0.76);
}

.ai-prefill-note strong {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.55;
}

.ai-prefill-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.generated-store-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 22px;
    align-items: start;
}

.generated-preview-card {
    position: relative;
    display: grid;
    gap: 16px;
    overflow: hidden;
    border: 1px solid rgba(16, 17, 20, 0.10);
    border-radius: 34px;
    padding: 18px;
    background:
        radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--generated-primary) 22%, transparent), transparent 14rem),
        linear-gradient(145deg, #101114 0%, #252830 58%, var(--generated-primary) 100%);
    color: #fff;
    box-shadow: 0 36px 86px -50px rgba(16, 17, 20, 0.85);
}

.generated-browser {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 10px 13px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 850;
}

.generated-browser span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.generated-browser span:first-child {
    background: var(--primary);
}

.generated-browser strong {
    margin-inline-start: auto;
    color: #fff;
    overflow-wrap: anywhere;
}

.generated-hero-mini {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
    gap: 14px;
    align-items: stretch;
    min-height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 22px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 10rem),
        rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
}

.generated-hero-mini > div:first-child {
    display: grid;
    align-content: center;
}

.generated-hero-mini h2 {
    max-width: 12ch;
    margin-top: 12px;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 0.96;
}

.generated-hero-mini p {
    max-width: 420px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 750;
}

.generated-color-card {
    display: grid;
    align-content: end;
    min-height: 220px;
    border-radius: 24px;
    padding: 16px;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.34), transparent 4rem),
        linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--generated-primary) 20%, #fff) 100%);
    color: var(--ink);
}

.generated-color-card span,
.generated-color-card strong {
    display: block;
}

.generated-color-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.generated-color-card strong {
    margin-top: 5px;
    font-size: 1rem;
    font-weight: 950;
}

.generated-section-chips span {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.generated-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.generated-products div {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.10);
}

.generated-products div > span {
    display: block;
    height: 64px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 70% 24%, color-mix(in srgb, var(--generated-primary) 28%, transparent), transparent 28px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.68));
}

.generated-products strong {
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.35;
}

.generated-products small {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
}

.generated-summary-card {
    display: grid;
    gap: 14px;
}

.generated-summary-card h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.generated-details {
    display: grid;
    gap: 10px;
    margin: 4px 0;
}

.generated-details div {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 14px;
    background: #fff;
}

.generated-details dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.generated-details dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-weight: 900;
}

.generated-template-preview .template-preview {
    min-height: 230px;
    margin: 0;
}

.errors {
    margin-bottom: 18px;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 14px 18px;
    background: #fff1f2;
    color: #9f1239;
}

.footer {
    margin-top: 48px;
    border-top: 1px solid rgba(228, 231, 236, 0.92);
    padding: 30px 0;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.66);
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer .brand-mark {
    width: 64px;
    height: 46px;
    border-radius: 16px;
}

.footer .brand-logo {
    width: 58px;
    height: 40px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media (max-width: 1040px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero,
    .grid-3,
    .grid-4,
    .builder-showcase,
    .generated-store-grid,
    .generated-hero-mini {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        gap: 14px;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-points,
    .showcase-steps {
        grid-template-columns: 1fr;
    }

    .showcase-storefront {
        grid-template-columns: 1fr;
    }

    .generated-products {
        grid-template-columns: 1fr;
    }

    .hero-float {
        display: none;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero,
    .hero-copy,
    .hero-visual,
    .lead,
    h1 {
        max-width: 100%;
    }

    .brand-mark {
        width: 66px;
        height: 48px;
    }

    .brand-logo {
        width: 60px;
        height: 42px;
    }

    .generator-row {
        grid-template-columns: 1fr;
    }

    .generator-row .button {
        width: 100%;
    }

    .brand-subline {
        display: none;
    }

    h1 {
        width: 100%;
        font-size: clamp(2.12rem, 10vw, 2.75rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .lead {
        max-width: 100%;
        font-size: 1rem;
        overflow-wrap: break-word;
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .template-hero-mini {
        grid-template-columns: 1fr;
    }

    .platform-showcase {
        border-radius: 26px;
        padding: 14px;
    }

    .showcase-storefront {
        min-height: unset;
        padding: 18px;
    }

    .showcase-storefront strong {
        max-width: 100%;
        font-size: clamp(2rem, 13vw, 3rem);
        line-height: 1;
    }

    .showcase-product span {
        min-height: 116px;
    }

    .template-visual {
        height: 76px;
    }
}
