:root {
    --bg-main: #060919;
    --bg-card: rgba(12, 16, 43, 0.88);
    --bg-input: rgba(8, 11, 28, 0.92);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-glow: #00f0ff;
    --btn-primary: #ff0077;
    --text-main: #f1f5f9;
    --text-muted: #8ea0b8;
    --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.45);
    --font-heading: "Plus Jakarta Sans", sans-serif;
    --font-stat: "Orbitron", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 240, 255, 0.16), transparent 26%),
        radial-gradient(circle at 85% 12%, rgba(255, 0, 119, 0.16), transparent 28%),
        linear-gradient(180deg, #050816 0%, #060919 45%, #02040f 100%);
    color: var(--text-main);
    font-family: var(--font-heading);
    padding: 20px;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
    animation: gridDrift 24s linear infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: -20%;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 30%, rgba(0, 240, 255, 0.18), transparent 20%),
        radial-gradient(circle at 72% 18%, rgba(255, 0, 119, 0.16), transparent 18%),
        radial-gradient(circle at 58% 75%, rgba(124, 58, 237, 0.18), transparent 24%);
    filter: blur(40px);
    opacity: 0.8;
    animation: auroraFloat 16s ease-in-out infinite alternate;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select,
input[type="color"] {
    cursor: pointer;
}

.page-noise,
.orb {
    position: fixed;
    pointer-events: none;
}

.page-noise {
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 14px 14px;
    mask-image: linear-gradient(180deg, black, transparent 90%);
}

.orb {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-left {
    top: 80px;
    left: -120px;
    background: rgba(0, 240, 255, 0.72);
    animation: orbPulseLeft 12s ease-in-out infinite;
}

.orb-right {
    right: -120px;
    bottom: 40px;
    background: rgba(255, 0, 119, 0.65);
    animation: orbPulseRight 14s ease-in-out infinite;
}

.shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

.builder-page {
    position: relative;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.logo span {
    color: var(--border-glow);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}

.ui-lang-select {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(10, 14, 34, 0.78);
    border: 1px solid var(--border-soft);
}

.ui-lang-select span,
.input-group label,
.toggle-group small,
.pro-info p,
.preview-panel h3,
.widget-subtitle,
.widget-attribution,
.media-fallback,
.hero-copy p,
.mini-label,
.hero-metrics span {
    color: var(--text-muted);
}

.ui-lang-select select,
.input-group select,
.input-group input,
#embedCode {
    width: 100%;
    color: var(--text-main);
    background: var(--bg-input);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    outline: none;
}

.ui-lang-select select,
.input-group select,
.input-group input {
    min-height: 48px;
    padding: 0 14px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    padding: 48px 0 28px;
}

.hero-copy,
.card-panel {
    position: relative;
    z-index: 1;
}

.badge,
.mini-label,
.live-badge,
.pro-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge,
.mini-label {
    background: rgba(0, 240, 255, 0.08);
    color: var(--border-glow);
    border: 1px solid rgba(0, 240, 255, 0.16);
}

.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;
}

.hero-copy h1,
.hero-copy .hero-heading {
    margin: 18px 0 16px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    max-width: 11ch;
    background: linear-gradient(135deg, #ffffff 20%, #9ae6ff 60%, #ffa7d1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    max-width: 58ch;
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 28px;
}

.seo-marketing-benefits,
.seo-faq-accordion {
    margin-top: 42px;
}

.seo-content-grid,
.seo-benefit-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

.seo-content-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
}

.seo-copy-stack,
.seo-section-heading {
    display: grid;
    gap: 14px;
}

.seo-benefits-section,
.seo-faq-accordion {
    display: grid;
    gap: 24px;
}

.seo-copy-stack h2,
.seo-section-heading h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.3rem);
    line-height: 1.12;
    max-width: 18ch;
}

.seo-copy-stack p,
.seo-section-heading p,
.seo-benefit-card p,
.faq-item p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.78;
}

.seo-query-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.seo-query-list li {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(154, 230, 255, 0.16);
    background: rgba(9, 18, 40, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seo-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-benefit-card {
    height: 100%;
    padding: 24px;
}

.seo-benefit-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
}

.faq-item {
    padding: 20px 22px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    margin-bottom: 12px;
}

.primary-btn,
.pro-btn,
.ghost-btn,
.action-click-btn,
.code-header button {
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-btn,
.pro-btn,
.ghost-btn,
.action-click-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
}

.primary-btn {
    padding: 0 28px;
    color: #fff;
    background: linear-gradient(90deg, #ff0077, #8b5cf6);
    box-shadow: 0 14px 34px rgba(255, 0, 119, 0.35);
}

.primary-btn:hover,
.pro-btn:hover,
.ghost-btn:hover,
.action-click-btn:hover {
    transform: translateY(-2px);
}

.primary-btn:focus-visible,
.pro-btn:focus-visible,
.ghost-btn:focus-visible,
.action-click-btn:focus-visible,
.code-header button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.14);
}

.hero-side,
.controls-panel,
.preview-panel {
    padding: 28px;
}

.card-panel {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    box-shadow: var(--shadow-xl);
}

.card-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 28% 72%, rgba(0, 240, 255, 0.05));
}

.card-panel::before {
    content: "";
    position: absolute;
    inset: -30% 20% auto -10%;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: rotate(8deg);
    opacity: 0.45;
    animation: panelSweep 9s ease-in-out infinite;
}

.hero-side h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.08;
}

.hero-side p {
    margin: 0;
    line-height: 1.7;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.hero-metrics strong,
.stat-value {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-stat);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.builder-container {
    padding: 18px 0 64px;
}

.builder-grid {
    display: grid;
    grid-template-columns: minmax(330px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.controls-panel h2 {
    margin: 0 0 22px;
    font-size: 1.45rem;
}

.input-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.input-group input:focus,
.input-group select:focus,
.ui-lang-select select:focus,
#embedCode:focus {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.08);
}

.color-pickers-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.color-customization-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 8px;
}

.color-group-card {
    margin-bottom: 0;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.color-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
}

.swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.42), transparent 38%), var(--swatch);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.color-swatch:hover,
.color-swatch.is-selected {
    transform: translateY(-2px) scale(1.06);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.36);
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--bg-input);
}

.color-picker-wrapper input[type="color"] {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.color-picker-wrapper.is-circle {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
    flex-shrink: 0;
}

.color-picker-wrapper.is-circle input[type="color"] {
    border-radius: 50%;
    overflow: hidden;
}

.color-picker-wrapper.is-circle input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-wrapper.is-circle input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 50%;
}

.toggle-group {
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--btn-primary);
}

.pro-monetization-box {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 0, 119, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px dashed rgba(255, 0, 119, 0.34);
}

.pro-info {
    display: grid;
    gap: 10px;
}

.pro-info p {
    margin: 0;
}

.pro-status-badge {
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
}

.pro-status-badge.is-active {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.pro-btn {
    min-width: 200px;
    width: 100%;
    color: #fff;
    background: linear-gradient(90deg, #ff0077, #8b5cf6);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.28);
}

.ghost-btn {
    min-width: 140px;
    color: var(--text-main);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.code-output-box {
    display: grid;
    gap: 10px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.code-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    color: var(--border-glow);
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.14);
    border-radius: 12px;
    font-weight: 700;
}

.code-header button:hover {
    opacity: 1;
    transform: translateY(-1px);
}

#embedCode {
    min-height: 120px;
    padding: 14px;
    resize: none;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
}

.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: start;
    position: sticky;
    top: 96px;
}

.preview-panel h3 {
    margin: 0;
    font-size: 1rem;
}

.iframe-wrapper,
.preview-surface {
    width: 100%;
    min-height: 540px;
    background: rgba(5, 8, 22, 0.96);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    transition: min-height 220ms ease, height 220ms ease;
}

.preview-surface {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.preview-widget-card {
    width: min(100%, 460px);
}

#previewIframe {
    width: 100%;
    min-height: 540px;
    height: 540px;
    border: 0;
    display: block;
}

.embed-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
    padding: 20px;
    background: transparent;
    overflow: hidden;
}

.widget-card {
    width: 100%;
    max-width: 420px;
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 16%, rgba(0, 240, 255, 0.16), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(255, 0, 119, 0.12), transparent 34%),
        linear-gradient(155deg, rgba(17, 24, 39, 0.96), rgba(12, 16, 43, 0.95) 48%, rgba(5, 8, 22, 0.98));
    border: 2px solid var(--border-glow);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.2), 0 18px 50px rgba(0, 0, 0, 0.38);
    position: relative;
    overflow: hidden;
    animation: widgetBreath 8.5s ease-in-out infinite;
}

.widget-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.08));
    mix-blend-mode: screen;
    opacity: 0.5;
    animation: sheenSlide 7s ease-in-out infinite;
}

.widget-card::after {
    content: "";
    position: absolute;
    inset: auto -15% -45% 40%;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 119, 0.2), transparent 62%);
    filter: blur(18px);
    pointer-events: none;
    animation: cardGlowPulse 8s ease-in-out infinite;
}

.widget-header {
    display: grid;
    gap: 6px;
}

.live-badge {
    background: rgba(239, 68, 68, 0.12);
    color: #ff7a7a;
    border: 1px solid rgba(239, 68, 68, 0.25);
    animation: badgeBlink 2.6s ease-in-out infinite;
}

.widget-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
}

.widget-subtitle {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.media-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 28px rgba(0, 0, 0, 0.28);
}

.media-container video,
.media-container img,
.media-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.media-fallback {
    position: absolute;
    inset: auto 12px 12px 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(4, 8, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    line-height: 1.5;
}

.is-hidden {
    display: none !important;
}

.action-click-btn {
    width: 100%;
    color: #fff;
    background: linear-gradient(90deg, var(--btn-primary), #ff4da0);
    box-shadow: 0 10px 24px rgba(255, 0, 119, 0.35);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.action-click-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.28) 34%, transparent 52%);
    transform: translateX(-130%);
    animation: buttonSweep 4.4s ease-in-out infinite;
}

.action-click-btn:active {
    transform: scale(0.99);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat-item {
    padding: 14px 12px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.stat-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.stat-value {
    color: #fff;
}

.widget-toast {
    min-height: 18px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--border-glow);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.widget-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.builder-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    min-width: 240px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(7, 10, 25, 0.92);
    border: 1px solid rgba(0, 240, 255, 0.22);
    box-shadow: var(--shadow-xl);
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.builder-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gridDrift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, 42px, 0);
    }
}

@keyframes auroraFloat {
    0% {
        transform: translate3d(-3%, -1%, 0) scale(1);
    }
    50% {
        transform: translate3d(2%, 2%, 0) scale(1.04);
    }
    100% {
        transform: translate3d(4%, -2%, 0) scale(1.08);
    }
}

@keyframes orbPulseLeft {
    0%, 100% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 0.34;
    }
    50% {
        transform: scale(1.14) translate3d(28px, -18px, 0);
        opacity: 0.52;
    }
}

@keyframes orbPulseRight {
    0%, 100% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.16) translate3d(-24px, 14px, 0);
        opacity: 0.5;
    }
}

@keyframes panelSweep {
    0%, 100% {
        transform: translateX(-12%) rotate(8deg);
        opacity: 0.12;
    }
    50% {
        transform: translateX(26%) rotate(8deg);
        opacity: 0.42;
    }
}

@keyframes widgetBreath {
    0%, 100% {
        box-shadow: 0 0 28px rgba(0, 240, 255, 0.2), 0 18px 50px rgba(0, 0, 0, 0.38);
    }
    50% {
        box-shadow: 0 0 34px rgba(0, 240, 255, 0.28), 0 24px 56px rgba(0, 0, 0, 0.42);
    }
}

@keyframes sheenSlide {
    0%, 100% {
        transform: translateX(-18%);
        opacity: 0.18;
    }
    50% {
        transform: translateX(18%);
        opacity: 0.52;
    }
}

@keyframes cardGlowPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.24;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.42;
    }
}

@keyframes badgeBlink {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 122, 122, 0);
        opacity: 0.9;
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 122, 122, 0.24);
        opacity: 1;
    }
}

@keyframes buttonSweep {
    0%, 100% {
        transform: translateX(-130%);
    }
    45%, 60% {
        transform: translateX(130%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .orb-left,
    .orb-right,
    .card-panel::before,
    .widget-card,
    .widget-card::before,
    .widget-card::after,
    .live-badge,
    .action-click-btn::after {
        animation: none !important;
    }
}

.widget-attribution {
    text-align: center;
    font-size: 0.78rem;
}

.widget-attribution a {
    color: var(--border-glow);
}

.site-footer {
    margin-top: 56px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    gap: 20px;
}

.site-footer nav a {
    color: var(--text-muted);
    transition: color 180ms ease;
}

.site-footer nav a:hover {
    color: var(--border-glow);
}

.simple-page {
    position: relative;
}

.simple-main {
    padding: 24px 0 8px;
}

.legal-card {
    padding: 28px;
}

.legal-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--border-glow);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.legal-card h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal-updated {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-card h2 {
    margin: 26px 0 10px;
    font-size: 1.15rem;
}

.legal-card p,
.legal-card li {
    color: var(--text-muted);
    line-height: 1.68;
}

.legal-card ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.contact-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.contact-item {
    padding: 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(8, 11, 28, 0.72);
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--border-glow);
}

.seo-cluster-links {
    margin-top: 22px;
}

.cluster-link-list {
    margin: 14px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.cluster-link-list a {
    color: var(--border-glow);
}

.cluster-link-list a:hover {
    text-decoration: underline;
}

@media (max-width: 920px) {
    .hero-section,
    .builder-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .hero-copy .hero-heading {
        max-width: none;
    }

    .seo-content-grid,
    .seo-benefit-grid {
        grid-template-columns: 1fr;
    }

    .preview-panel {
        position: static;
        top: auto;
    }
}

@media (max-width: 680px) {
    body {
        padding: 14px;
    }

    .shell {
        width: min(100%, calc(100% - 8px));
    }

    .main-header,
    .pro-monetization-box,
    .code-header {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy h1,
    .hero-copy .hero-heading {
        font-size: 2.4rem;
    }

    .color-pickers-row,
    .color-control-row,
    .hero-metrics,
    .stats-row,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .color-control-row {
        display: grid;
    }

    #previewIframe,
    .iframe-wrapper {
        min-height: 500px;
        height: 500px;
    }
}