/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2ff 100%);
    color: #222;
    line-height: 1.6;
}

/* CONTAINER */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER */

.header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
}

nav a:hover {
    color: #2563eb;
}

/* HERO */

.hero {
    margin: 48px 0 32px;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #111827;
    letter-spacing: -1px;
}

.hero p {
    color: #5b6472;
    font-size: 18px;
}

/* GRID */

.generator-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 25px;
    margin-bottom: 40px;
}

/* CARD */

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.card h3 {
    margin-bottom: 18px;
    color: #111827;
    font-size: 18px;
}

.card label {
    display: block;
    margin-bottom: 18px;
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

/* INPUTS */

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

input[type="number"] {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* RESULTS */

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.result-row span {
    color: #4b5563;
}

.result-row strong {
    color: #111827;
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* BUTTON */

.btn-primary {
    width: 100%;
    margin-top: 20px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
}

.btn-primary:active {
    transform: translateY(0);
}

/* VIEWER */

#viewer3d {
    width: 100%;
    height: 420px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-top: 20px;
    background: #ffffff;
    overflow: hidden;
}

/* VALIDATION */

.validation-message {
    display: none;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.validation-message.active {
    display: block;
}

.validation-success {
    color: #16a34a;
}

/* FAQ */

.faq {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.faq h2 {
    margin-bottom: 20px;
}

.faq h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

/* MOBILE */

@media (max-width: 768px) {

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

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

    .hero {
        text-align: left;
        margin: 32px 0 24px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .card {
        padding: 22px;
    }

    #viewer3d {
        height: 320px;
    }

}

/* Home page */

.home-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fb, #ffffff);
}

.home-hero-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.home-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf0ff;
    font-size: 14px;
    font-weight: 600;
}

.home-hero h2 {
    margin: 0 0 16px;
    font-size: 48px;
    line-height: 1.1;
}

.home-hero p {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.6;
}

.home-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.primary-button {
    background: #111827;
    color: #ffffff;
}

.secondary-button {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.home-preview-card {
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.preview-box {
    width: 180px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    transform: perspective(500px) rotateX(18deg) rotateY(-24deg);
    box-shadow: 20px 24px 0 #2563eb;
}

.home-section {
    padding: 64px 0;
}

.section-title {
    margin-bottom: 28px;
}

.section-title h2 {
    margin-bottom: 8px;
    font-size: 32px;
}

.section-title p {
    color: #555;
}

.generator-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

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

.generator-card,
.benefit-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.generator-card.featured {
    border-color: #2563eb;
}

.card-status {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.card-status.available {
    background: #dcfce7;
}

.card-status.soon {
    background: #f3f4f6;
}

.generator-card h3,
.benefit-card h3 {
    margin-bottom: 10px;
}

.generator-card p,
.benefit-card p {
    color: #555;
    line-height: 1.5;
}

.generator-card a {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile */

@media (max-width: 800px) {
    .home-hero {
        padding: 48px 0;
    }

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

    .home-hero h2 {
        font-size: 36px;
    }

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

    .home-actions {
        flex-direction: column;
    }
}

/* Header and navigation */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.site-logo {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}

.site-tagline {
    font-size: 14px;
    color: #6b7280;
}

.site-nav {
    background: #111827;
}

.site-nav-inner {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* Mobile navigation */

@media (max-width: 700px) {
    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .site-nav-inner {
        overflow-x: auto;
        gap: 18px;
        white-space: nowrap;
    }
}

/* Generator pages */

.generator-page {
    padding: 48px 0;
}

.generator-intro {
    margin-bottom: 32px;
}

.generator-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.generator-panel,
.generator-preview {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.generator-panel label.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.generator-panel label.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}

.generator-panel input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
}

.generator-panel button {
    width: 100%;
    margin-top: 10px;
}

.preview-area {
    width: 100%;
    height: 420px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f9fa;
}

@media (max-width: 800px) {
    .generator-layout {
        grid-template-columns: 1fr;
    }

    .preview-area {
        height: 320px;
    }
}
/* =====================================================
   Clean Home Page Override
   ===================================================== */

.home-hero {
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.home-hero-inner {
    max-width: 820px;
    padding-top: 64px;
    padding-bottom: 52px;
    text-align: center;
}

.home-badge,
.section-eyebrow {
    display: inline-block;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-badge {
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    letter-spacing: 0.03em;
    text-transform: none;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0 auto 16px;
    color: #111827;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.home-hero p {
    max-width: 650px;
    margin: 0 auto 26px;
    color: #5b6472;
    font-size: 18px;
    line-height: 1.7;
}

.home-hero .button {
    padding: 13px 20px;
}

.home-section {
    padding-top: 56px;
    padding-bottom: 64px;
}

.home-generators-section {
    scroll-margin-top: 24px;
}

.home-soon-section {
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid #e5e7eb;
}

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

.section-title {
    margin-bottom: 26px;
}

.section-heading-row .section-title {
    margin-bottom: 0;
}

.section-title h2 {
    margin: 5px 0 6px;
    color: #111827;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-title p {
    max-width: 680px;
    color: #6b7280;
}

.generator-count {
    flex: 0 0 auto;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

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

.generator-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.generator-card-available:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.generator-card-soon {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: none;
}

.generator-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.generator-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
}

.generator-card-soon .generator-icon {
    background: #f3f4f6;
    color: #9ca3af;
}

.generator-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.card-status.available {
    background: #dcfce7;
    color: #166534;
}

.card-status.soon {
    background: #f3f4f6;
    color: #6b7280;
}

.generator-card-content {
    flex: 1;
}

.generator-card h3 {
    margin: 0 0 9px;
    color: #111827;
    font-size: 20px;
    line-height: 1.3;
}

.generator-card p {
    color: #6b7280;
    line-height: 1.65;
}

.generator-card-link,
.generator-card-disabled {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid #e5e7eb;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.generator-card-link {
    color: #2563eb;
}

.generator-card-link:hover {
    color: #1d4ed8;
}

.generator-card-link span {
    font-size: 20px;
    transition: transform 0.15s ease;
}

.generator-card-link:hover span {
    transform: translateX(3px);
}

.generator-card-disabled {
    color: #9ca3af;
}

/* Footer */

.site-footer {
    background: #111827;
    color: #d1d5db;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 1fr));
    gap: 48px;
    padding-top: 52px;
    padding-bottom: 40px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.footer-description {
    max-width: 410px;
    color: #9ca3af;
}

.footer-note {
    margin-top: 18px;
    color: #d1d5db;
    font-size: 14px;
}

.footer-column h2 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 15px;
}

.footer-links {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.site-footer-bottom {
    border-top: 1px solid #273244;
}

.site-footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #9ca3af;
    font-size: 13px;
}

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

@media (max-width: 760px) {
    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
    }

    .site-footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 640px) {
    .home-hero-inner {
        padding-top: 44px;
        padding-bottom: 40px;
        text-align: left;
    }

    .home-hero h1,
    .home-hero p {
        margin-left: 0;
        margin-right: 0;
    }

    .home-hero h1 {
        font-size: 40px;
    }

    .home-hero p {
        font-size: 16px;
    }

    .home-hero .button {
        width: 100%;
        text-align: center;
    }

    .home-section {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    .generator-card {
        min-height: 250px;
    }
}

/* =====================================================
   Information and legal pages
   ===================================================== */

.info-page {
    padding: 56px 0 72px;
}

.info-page-header {
    max-width: 780px;
    margin-bottom: 30px;
}

.info-page-header .section-eyebrow {
    margin-bottom: 8px;
}

.info-page-header h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(36px, 6vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.info-page-header p {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}

.info-card {
    max-width: 880px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.info-card h2 {
    margin: 30px 0 10px;
    color: #111827;
    font-size: 23px;
    line-height: 1.3;
}

.info-card h2:first-child {
    margin-top: 0;
}

.info-card p,
.info-card li {
    color: #4b5563;
    line-height: 1.75;
}

.info-card p + p {
    margin-top: 14px;
}

.info-card ul {
    margin: 12px 0 0 22px;
}

.info-card li + li {
    margin-top: 8px;
}

.info-card a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-meta {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
}

.contact-box {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
}

.contact-box h2 {
    margin-top: 0;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.contact-email:hover {
    background: #1d4ed8;
}

@media (max-width: 640px) {
    .info-page {
        padding-top: 40px;
        padding-bottom: 52px;
    }

    .info-page-header p {
        font-size: 16px;
    }

    .info-card {
        padding: 22px;
        border-radius: 14px;
    }

    .contact-email {
        width: 100%;
        text-align: center;
    }
}

/* Generator card photos */
.generator-card{padding:0;overflow:hidden}
.generator-card-image-link{display:block!important;margin:0!important;text-decoration:none}
.generator-card-image-wrap{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#eff6ff;border-bottom:1px solid #e5e7eb}
.generator-card-image{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.generator-card-available:hover .generator-card-image{transform:scale(1.025)}
.generator-card-image-fallback{position:absolute;inset:0;display:none;place-items:center;background:linear-gradient(135deg,#eff6ff,#dbeafe)}
.generator-card-image-wrap.image-error .generator-card-image-fallback{display:grid}
.generator-card-content{padding:22px 24px 0}
.generator-card-link{margin:22px 24px 0;padding-bottom:20px}
@media(max-width:640px){
  .generator-card-content{padding:20px 20px 0}
  .generator-card-link{margin-left:20px;margin-right:20px;padding-bottom:18px}
}
