:root {
    --paper: #f7f4ef;
    --paper-strong: #efe9df;
    --surface: #ffffff;
    --surface-soft: #fbfaf7;
    --ink: #24312f;
    --muted: #69746f;
    --line: #ddd6cb;
    --line-soft: #ece5db;
    --green: #2ecc71;
    --green-dark: #188a50;
    --green-soft: #eaf8ef;
    --steel: #eef3f3;
    --copper: #a86d3a;
    --warning: #f3b64c;
    --danger: #d74f43;
    --shadow: 0 18px 50px rgba(44, 55, 50, 0.10);
    --shadow-soft: 0 10px 30px rgba(44, 55, 50, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(36, 49, 47, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 49, 47, 0.028) 1px, transparent 1px),
        var(--paper);
    background-size: 34px 34px, 34px 34px, auto;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

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

::selection {
    background: rgba(46, 204, 113, 0.24);
}

.container {
    position: relative;
}

.top-offer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    padding: 8px 16px;
    color: #24513c;
    background: #eaf8ef;
    border-bottom: 1px solid #d2ecd9;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.top-offer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-offer span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--green);
}

.tinkr-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 74px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(16px);
}

.tinkr-logo {
    width: 112px;
    height: auto;
    display: block;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2836,49,47,.82%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.tinkr-nav-link {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.tinkr-nav-link:hover,
.tinkr-nav-link:focus {
    color: var(--green-dark);
}

.btn,
.btn-tinkr,
.btn-tinkr-primary,
.btn-tinkr-outline {
    min-height: 42px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0;
}

.btn-tinkr,
.btn-tinkr-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    color: #ffffff;
    background: var(--green);
    border: 1px solid var(--green);
    box-shadow: 0 10px 22px rgba(46, 204, 113, 0.20);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-tinkr:hover,
.btn-tinkr:focus,
.btn-tinkr-primary:hover,
.btn-tinkr-primary:focus {
    color: #ffffff;
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(24, 138, 80, 0.22);
}

.btn-tinkr-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.btn-tinkr-outline:hover,
.btn-tinkr-outline:focus {
    color: var(--green-dark);
    background: #ffffff;
    border-color: rgba(46, 204, 113, 0.52);
}

.btn-primary,
.btn-success {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green-dark);
    --bs-btn-hover-border-color: var(--green-dark);
    --bs-btn-active-bg: var(--green-dark);
    --bs-btn-active-border-color: var(--green-dark);
}

.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--line);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
}

.btn-warning {
    --bs-btn-bg: var(--warning);
    --bs-btn-border-color: var(--warning);
    --bs-btn-color: #3d2c12;
    --bs-btn-hover-bg: #e0a334;
    --bs-btn-hover-border-color: #e0a334;
    --bs-btn-hover-color: #2e220d;
}

.btn-danger {
    --bs-btn-bg: var(--danger);
    --bs-btn-border-color: var(--danger);
}

.store-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 16%, rgba(46, 204, 113, 0.18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f4ef 52%, #edf5f2 100%);
    border-bottom: 1px solid var(--line-soft);
}

.store-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(247, 244, 239, 0.86));
    pointer-events: none;
}

.store-hero .container {
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: 56px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 80px;
}

.hero-copy {
    max-width: 640px;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--green);
}

.hero-title {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: 0.96;
    font-weight: 900;
}

.hero-subtitle {
    max-width: 590px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.72;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #38524a;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
}

.trust-row i {
    color: var(--green-dark);
    font-size: 1.1rem;
}

.hero-product-stage {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 520px);
}

.hero-product-stage::before {
    content: "prévia técnica";
    position: absolute;
    top: -18px;
    right: 18px;
    z-index: 2;
    padding: 7px 10px;
    color: #6d4c2b;
    background: #fff5e8;
    border: 1px solid #edd5b7;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-plate,
.real-dxf-frame {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background:
        linear-gradient(90deg, rgba(36, 49, 47, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 49, 47, 0.045) 1px, transparent 1px),
        #ffffff;
    background-size: 28px 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-plate::after,
.real-dxf-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(36, 49, 47, 0.18);
    border-radius: 6px;
    pointer-events: none;
}

.hero-plate img,
.real-dxf-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(36, 49, 47, 0.10));
}

.ticker-band {
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid var(--line-soft);
}

.ticker-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ticker-track span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--copper);
}

.t-section {
    padding: 78px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading.compact {
    margin-bottom: 22px;
}

.section-heading h2,
.pricing-hero h1,
.final-cta h2 {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.05;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-link {
    color: var(--green-dark);
    font-weight: 900;
    border-bottom: 2px solid rgba(46, 204, 113, 0.45);
}

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

.product-card,
.pricing-table-card,
.simulator-card,
.process-panel,
.final-cta,
.auth-card,
.workspace-card,
.card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.product-card {
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 204, 113, 0.45);
    box-shadow: var(--shadow);
}

.product-visual {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        linear-gradient(90deg, rgba(36, 49, 47, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 49, 47, 0.04) 1px, transparent 1px),
        var(--steel);
    background-size: 26px 26px;
    border-bottom: 1px solid var(--line-soft);
}

.product-real {
    position: relative;
}

.product-real img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(36, 49, 47, 0.10);
    border-radius: 8px;
}

.product-real-wide img {
    height: 220px;
}

.badge-soft {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 7px 10px;
    color: #23533d;
    background: #e9f8ef;
    border: 1px solid #ccebd7;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-body {
    padding: 22px;
}

.product-body h3 {
    margin: 0 0 9px;
    font-size: 1.18rem;
    font-weight: 900;
}

.product-body p {
    margin: 0;
    min-height: 64px;
    color: var(--muted);
    line-height: 1.55;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.product-meta span {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 900;
}

.product-meta a {
    color: var(--green-dark);
    font-weight: 900;
}

.process-panel {
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(234, 248, 239, 0.92), rgba(255, 255, 255, 0.95)),
        #ffffff;
}

.process-grid,
.included-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.process-step,
.included-grid > div {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
}

.process-step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 8px;
    font-weight: 900;
}

.process-step h3,
.included-grid h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    font-weight: 900;
}

.process-step p,
.included-grid p,
.final-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.included-grid i {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 8px;
    font-size: 1.4rem;
}

.cta-section {
    padding-top: 10px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 34px;
    background:
        linear-gradient(135deg, #ffffff, #edf8f1 70%),
        #ffffff;
}

.final-cta h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

.pricing-hero {
    padding: 84px 0 64px;
    background:
        radial-gradient(circle at 82% 8%, rgba(168, 109, 58, 0.15), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7f4ef 100%);
    border-bottom: 1px solid var(--line-soft);
}

.pricing-hero .container {
    max-width: 850px;
}

.pricing-hero h1 {
    max-width: 760px;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.pricing-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.pricing-table-card,
.simulator-card {
    padding: 24px;
}

.pricing-table-card .table {
    margin: 0;
}

.pricing-table-card th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.pricing-table-card td,
.pricing-table-card th {
    padding: 16px 12px;
    border-color: var(--line-soft);
}

.pricing-table-card tbody tr:hover {
    background: var(--surface-soft);
}

.pricing-note {
    margin-top: 18px;
    padding: 14px 16px;
    color: #355148;
    background: var(--green-soft);
    border: 1px solid #ccebd7;
    border-radius: 8px;
    line-height: 1.5;
}

.simulator-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.simulator-head span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 8px;
    font-size: 1.45rem;
}

.simulator-head h5 {
    margin: 0 0 2px;
    font-weight: 900;
}

.simulator-head p {
    margin: 0;
    color: var(--muted);
}

.simulator-result {
    padding: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
}

.simulator-result p {
    margin-bottom: 6px;
}

.simulator-total {
    color: var(--green-dark);
    font-size: 1.38rem;
    font-weight: 900;
}

.auth-shell {
    min-height: calc(100vh - 260px);
    display: grid;
    place-items: center;
    padding: 70px 12px;
}

.auth-card {
    width: min(100%, 440px);
    padding: 30px;
}

.auth-card h2 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 900;
    text-align: center;
}

.auth-card .auth-subtitle {
    margin: 8px 0 24px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

.form-label {
    color: #364541;
    font-size: 0.88rem;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 44px;
    color: var(--ink);
    background-color: #ffffff;
    border-color: var(--line);
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: rgba(46, 204, 113, 0.7);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.14);
}

.form-check-input:checked {
    background-color: var(--green);
    border-color: var(--green);
}

.creator-shell,
.dashboard-shell,
.view-shell {
    max-width: 1250px;
    padding-top: 52px;
    padding-bottom: 72px;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.page-title,
.dashboard-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.05;
}

.page-subtitle,
.dashboard-subtitle {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.creator-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 22px;
    align-items: end;
    margin-bottom: 28px;
}

.creator-summary-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.creator-summary-card div {
    min-width: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.94);
}

.creator-summary-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-summary-card strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
}

.creator-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.creator-form {
    display: grid;
    gap: 16px;
}

.config-card,
.preview-workbench {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.config-card {
    padding: 20px;
}

.config-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.config-section-head > span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    background: var(--green-soft);
    border: 1px solid #ccebd7;
    border-radius: 8px;
    font-size: 1.24rem;
}

.config-section-head h3,
.preview-toolbar h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 900;
}

.config-section-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

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

.preset-option {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    color: #41514d;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.preset-option i {
    color: var(--green-dark);
    font-size: 1.35rem;
}

.preset-option:hover,
.preset-option:focus,
.preset-option.active {
    color: var(--green-dark);
    background: var(--green-soft);
    border-color: rgba(46, 204, 113, 0.55);
    transform: translateY(-1px);
}

.preset-option:focus {
    outline: none;
}

.preset-option:focus-visible {
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.14);
}

.field-grid {
    display: grid;
    gap: 12px;
}

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

.unit-field {
    position: relative;
}

.unit-field .form-control {
    padding-right: 52px;
}

.unit-field span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    pointer-events: none;
}

.config-switch {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px 10px 42px;
    background: var(--surface-soft);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
}

.config-switch .form-check-input {
    margin-left: -30px;
}

.creator-generate-btn {
    position: sticky;
    bottom: 16px;
    z-index: 5;
}

.preview-workbench {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.preview-toolbar .page-kicker {
    margin-bottom: 4px;
}

.creator-preview-box {
    min-height: 560px;
    align-content: start;
}

.preview-empty,
.preview-loading {
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px;
    color: var(--muted);
    text-align: center;
}

.preview-empty i,
.preview-loading i {
    color: var(--green-dark);
    font-size: 2.2rem;
}

.preview-empty strong,
.preview-loading strong {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.preview-empty span,
.preview-loading span {
    max-width: 340px;
    line-height: 1.5;
}

.preview-error i,
.preview-card-error i {
    color: var(--danger);
}

.preview-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.preview-card:hover,
.preview-card.selected {
    transform: translateY(-2px);
    border-color: rgba(46, 204, 113, 0.50);
    box-shadow: var(--shadow-soft);
}

.preview-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid var(--line-soft);
}

.preview-card-footer div {
    min-width: 0;
}

.preview-card-footer strong {
    display: block;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 900;
}

.preview-card-footer span {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.preview-select-btn,
.modal-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    background: var(--green-soft);
    border: 1px solid #ccebd7;
    border-radius: 8px;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.preview-select-btn:hover,
.preview-select-btn:focus,
.modal-icon-btn:hover,
.modal-icon-btn:focus {
    color: #ffffff;
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.preview-card-error {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.creator-checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(46, 204, 113, 0.38);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.creator-checkout-bar strong,
.creator-checkout-bar span {
    display: block;
}

.creator-checkout-bar strong {
    color: var(--ink);
    font-weight: 900;
}

.creator-checkout-bar span {
    color: var(--muted);
    font-size: 0.9rem;
}

.workspace-card .card-body,
.card .card-body {
    padding: 24px;
}

.card h5,
.section-title {
    color: var(--ink);
    font-weight: 900;
}

.card hr {
    border-color: var(--line);
    opacity: 1;
}

.preview-box {
    min-height: 420px;
    padding: 20px;
    background:
        linear-gradient(90deg, rgba(36, 49, 47, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 49, 47, 0.03) 1px, transparent 1px),
        #ffffff;
    background-size: 24px 24px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.preview-option .svg-wrapper {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    background:
        linear-gradient(90deg, rgba(20, 31, 28, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(20, 31, 28, 0.05) 1px, transparent 1px),
        #f6faf7;
    background-size: 18px 18px;
    border: 2px solid var(--line-soft);
    border-radius: 8px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.preview-option .svg-wrapper:hover {
    transform: translateY(-2px);
    border-color: rgba(46, 204, 113, 0.45);
    box-shadow: var(--shadow-soft);
}

.preview-option .svg-wrapper.selected {
    border-color: var(--green) !important;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.14), var(--shadow-soft);
}

.svg-wrapper svg {
    width: 100%;
    height: 320px;
    display: block;
}

.svg-wrapper svg * {
    stroke: #14201d !important;
    stroke-width: 1.45 !important;
    vector-effect: non-scaling-stroke;
}

.preview-modal-open {
    overflow: hidden;
}

.creator-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: none;
    grid-template-rows: auto 1fr;
    min-width: 0;
    color: #eef8f2;
    background: rgba(12, 19, 17, 0.96);
}

.creator-preview-modal.is-open {
    display: grid;
}

.creator-preview-modal-head {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 3vw, 34px);
    background: rgba(19, 31, 27, 0.98);
    border-bottom: 1px solid rgba(209, 244, 222, 0.16);
}

.creator-preview-modal-head span,
.creator-preview-modal-head strong {
    display: block;
}

.creator-preview-modal-head span {
    color: rgba(238, 248, 242, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.creator-preview-modal-head strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.creator-preview-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-preview-modal .modal-select-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
}

.creator-preview-modal .modal-icon-btn {
    color: #eaf8ee;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.creator-preview-modal-canvas {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 34px);
    background:
        linear-gradient(90deg, rgba(238, 248, 242, 0.09) 1px, transparent 1px),
        linear-gradient(0deg, rgba(238, 248, 242, 0.075) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(46, 204, 113, 0.10), transparent 60%),
        #101916;
    background-size: 34px 34px, 34px 34px, auto, auto;
}

.creator-preview-modal-canvas svg {
    width: 100%;
    height: 100%;
    max-width: min(96vw, 1280px);
    max-height: calc(100vh - 98px);
    display: block;
}

.creator-preview-modal-canvas svg * {
    stroke: #ecfff4 !important;
    stroke-width: 2.3 !important;
    vector-effect: non-scaling-stroke;
}

.chapa-card {
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.chapa-card:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 204, 113, 0.45);
    box-shadow: var(--shadow);
}

.chapa-card .preview-box {
    min-height: 210px;
    height: 210px;
    padding: 10px;
}

.chapa-card .preview-box svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-wait {
    color: #6f4b0e;
    background: #fff4d7;
    border: 1px solid #efd89b;
}

.status-paid,
.status-ready {
    color: #18543a;
    background: #e5f7ec;
    border: 1px solid #c5ead2;
}

.status-fail {
    color: #7d271f;
    background: #fdecea;
    border: 1px solid #f2c4be;
}

.empty-state {
    padding: 54px 20px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed var(--line);
    border-radius: 8px;
}

.chapa-preview-svg {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(36, 49, 47, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 49, 47, 0.03) 1px, transparent 1px),
        #ffffff !important;
    background-size: 24px 24px;
    border-color: var(--line-soft) !important;
    border-radius: 8px !important;
}

.chapa-preview-svg svg {
    width: 100%;
    max-height: 560px;
}

pre {
    color: #33413e;
    background: #ffffff !important;
    border-color: var(--line-soft) !important;
    border-radius: 8px !important;
}

.alert {
    border-radius: 8px;
}

.alert-warning {
    color: #60440f;
    background: #fff6df;
    border-color: #efd89b;
}

.tinkr-footer {
    background: #ffffff;
    border-top: 1px solid var(--line-soft);
}

.tinkr-footer h5,
.tinkr-footer h6 {
    color: var(--ink);
}

.tinkr-footer .text-muted {
    color: var(--muted) !important;
}

.tinkr-footer-link {
    display: inline-flex;
    padding: 3px 0;
    color: var(--muted);
}

.tinkr-footer-link:hover {
    color: var(--green-dark);
}

.tinkr-footer-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    background: var(--green-soft);
    border: 1px solid #ccebd7;
    border-radius: 8px;
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .tinkr-navbar .navbar-collapse {
        padding: 18px 0 8px;
    }

    .store-hero .container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 52px;
        padding-bottom: 60px;
    }

    .hero-product-stage {
        order: -1;
        justify-self: stretch;
        width: 100%;
    }

    .hero-plate,
    .real-dxf-frame {
        min-height: 0;
        height: 420px;
    }

    .hero-plate img,
    .real-dxf-frame img {
        max-height: 360px;
    }

    .product-grid,
    .process-grid,
    .included-grid {
        grid-template-columns: 1fr;
    }

    .creator-hero-panel,
    .creator-grid {
        grid-template-columns: 1fr;
    }

    .preview-workbench,
    .creator-generate-btn {
        position: static;
    }

    .creator-preview-box {
        min-height: 440px;
    }

    .section-heading,
    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .top-offer {
        justify-content: center;
        gap: 6px 14px;
        padding: 7px 14px;
        font-size: 0.68rem;
    }

    .top-offer span:nth-child(2) {
        display: none;
    }

    .tinkr-logo {
        width: 96px;
    }

    .store-hero .container {
        padding-top: 34px;
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group .btn-tinkr-primary,
    .hero-cta-group .btn-tinkr-outline,
    .final-cta .btn-tinkr-primary {
        width: 100%;
    }

    .hero-plate,
    .real-dxf-frame {
        height: 340px;
        padding: 16px;
    }

    .hero-plate img,
    .real-dxf-frame img {
        max-height: 300px;
    }

    .ticker-track {
        justify-content: flex-start;
    }

    .t-section {
        padding: 54px 0;
    }

    .pricing-hero {
        padding: 58px 0 48px;
    }

    .auth-card,
    .pricing-table-card,
    .simulator-card,
    .process-panel,
    .final-cta,
    .config-card,
    .preview-workbench {
        padding: 22px;
    }

    .creator-shell,
    .dashboard-shell,
    .view-shell {
        padding-top: 36px;
    }

    .creator-summary-card,
    .preset-grid,
    .field-grid.two {
        grid-template-columns: 1fr;
    }

    .creator-summary-card div {
        padding: 14px;
    }

    .preview-toolbar,
    .creator-checkout-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .creator-checkout-bar .btn {
        width: 100%;
    }

    .creator-preview-box {
        min-height: 360px;
    }

    .svg-wrapper svg {
        height: 250px;
    }

    .creator-preview-modal-head {
        align-items: stretch;
        flex-direction: column;
        padding: 14px 16px;
    }

    .creator-preview-modal-actions {
        justify-content: space-between;
    }

    .creator-preview-modal .modal-select-btn {
        flex: 1;
    }

    .creator-preview-modal-canvas {
        padding: 12px;
    }

    .creator-preview-modal-canvas svg {
        max-height: calc(100vh - 132px);
    }
}
