:root {
    --bg-dark: #050507;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #e0e0f0;
    --border: rgba(255, 255, 255, 0.1);
    --gold: #d4af37;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    --container-width: 900px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.boutique-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo {
    letter-spacing: 0.3em;
    font-weight: 600;
    font-size: 0.9rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-left: 2rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-primary);
}

.cta-mini {
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Sections */
section {
    padding: 6rem 0;
}

/* Hero - Visual First */
.hero.hero-visual {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: #050507;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Artwork Showcase */
.hero-showcase {
    position: relative;
}

.hero-artwork {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Hero Image Zoom Interaction */
.hero-zoom-container {
    cursor: zoom-in;
    position: relative;
}

.hero-zoomable {
    transition: transform 0.3s ease-out;
}

.hero-zoom-container:hover .hero-zoomable {
    transform: scale(1.8);
    cursor: crosshair;
}

.zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}

.hero-zoom-container:hover .zoom-hint {
    opacity: 0;
}

/* Zoom Previews */
.hero-zoom-previews {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.zoom-preview {
    flex: 1;
    max-width: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.zoom-preview:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.zoom-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.zoom-preview span {
    display: block;
    padding: 0.5rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(0, 0, 0, 0.4);
}

/* Hero Content */
.hero-content {
    text-align: left;
}

.hero-eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-visual h1 {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* CTA Section */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(224, 224, 240, 0.15);
    animation: subtle-glow 3s ease-in-out infinite;
}

@keyframes subtle-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(224, 224, 240, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(224, 224, 240, 0.25);
    }
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust-badges span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-showcase {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-visual h1 {
        font-size: 2.8rem;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-tagline {
        margin: 0 auto 2rem;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .hero.hero-visual {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-visual h1 {
        font-size: 2.2rem;
    }

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

    .hero-zoom-previews {
        gap: 0.75rem;
    }

    .zoom-preview {
        max-width: 90px;
    }

    .zoom-preview span {
        font-size: 0.55rem;
        padding: 0.4rem;
    }

    .hero-trust-badges {
        gap: 1rem;
    }

    .hero-trust-badges span {
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero.hero-visual {
        padding: 4rem 1rem 2rem;
    }

    .hero-visual h1 {
        font-size: 1.8rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-zoom-previews {
        gap: 0.5rem;
    }

    .zoom-preview {
        max-width: 75px;
    }

    .hero-trust-badges {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.btn-mini {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-mini:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Artifact Showcase */
.artifact-showcase {
    background-color: var(--bg-dark);
    padding: 6rem 0;
    text-align: center;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.artifact-showcase h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-style: italic;
}

.gallery-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* Filter Tabs */
.gallery-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

/* Year Range Filters */
.year-range-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.year-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.year-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.year-tag.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border-color: var(--gold);
}

/* Pattern Cards Grid */
.pattern-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pattern-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
}

.pattern-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pattern-card.active {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #0a0a0a;
}

.card-info {
    padding: 1rem;
}

.card-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.card-meta {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.card-type {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-top: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-type.circular {
    background: rgba(100, 150, 255, 0.12);
    color: #64b5f6;
    border: 1px solid rgba(100, 150, 255, 0.25);
}

.card-type.grid {
    background: rgba(255, 180, 100, 0.12);
    color: #ffb74d;
    border: 1px solid rgba(255, 180, 100, 0.25);
}

/* Showcase Preview */
.showcase-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.zoom-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    cursor: crosshair;
    border-radius: 8px;
}

.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
}

.showcase-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: left;
}

#showcase-desc {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 0.9rem;
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .pattern-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .showcase-preview {
        max-width: 500px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .artifact-showcase {
        padding: 4rem 0;
    }

    .artifact-showcase h2 {
        font-size: 2rem;
    }

    .gallery-intro {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .pattern-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .card-info {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 0.85rem;
    }

    .card-meta {
        font-size: 0.65rem;
    }

    .showcase-preview {
        max-width: 100%;
    }

    .showcase-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #showcase-desc {
        max-width: 100%;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .pattern-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .card-thumb {
        aspect-ratio: 1;
    }

    .card-info {
        padding: 0.6rem;
    }

    .card-title {
        font-size: 0.8rem;
    }

    .card-type {
        font-size: 0.55rem;
        padding: 0.15rem 0.4rem;
    }

    .filter-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .year-range-filters {
        gap: 0.4rem;
    }

    .year-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
}

/* ===================== */
/* Precision Section     */
/* ===================== */
.precision-section {
    background: #050507;
    padding: 6rem 0;
    text-align: center;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* Precision Grid - Centered Cards */
.precision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.precision-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.precision-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
}

.precision-card.featured {
    grid-column: 1 / -1;
    border-color: rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(212, 175, 55, 0.01) 100%);
}

/* Numbered Cards */
.card-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.8;
}

.precision-card.featured .card-number {
    background: var(--gold);
    color: #000;
    opacity: 1;
}

.card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-body strong {
    color: var(--gold);
}

/* Precision Responsive - Tablet */
@media (max-width: 1024px) {
    .precision-grid {
        max-width: 700px;
        gap: 1.25rem;
    }

    .precision-card {
        padding: 1.75rem;
    }
}

/* Precision Responsive - Mobile */
@media (max-width: 768px) {
    .precision-section {
        padding: 4rem 1.5rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

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

    .precision-card.featured {
        grid-column: span 1;
    }

    .precision-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .card-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .card-body h3 {
        font-size: 1.05rem;
    }

    .card-body p {
        font-size: 0.9rem;
    }
}

/* Precision Responsive - Small Mobile */
@media (max-width: 480px) {
    .precision-section {
        padding: 3rem 1rem;
    }

    .precision-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem 1.25rem;
    }

    .card-number {
        margin-bottom: 0.5rem;
    }

    .card-body h3 {
        font-size: 1rem;
    }

    .card-body p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Memory Journey */
.memory-journey {
    background: #050507;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.step-indicator {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.journey-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.row {
    display: flex;
    gap: 1rem;
}

.input-group {
    flex: 1;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.help-text {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

input[type="date"],
input[type="time"],
input[type="number"],
input[type="text"],
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    /* Standard 16px for input legibility */
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    border-color: var(--text-secondary);
}

/* Preview Area */
.preview-area {
    margin-top: 5rem;
    opacity: 1;
    transition: opacity 0.5s;
}

.preview-frame {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.canvas-mount {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    margin: 0 auto 2rem;
}

.grid-mount {
    width: 100%;
    margin: 0 auto 2rem;
}


.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mini-moon {
    width: 60px;
    height: 60px;
    background-size: cover;
    border-radius: 50%;
    background-color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.mini-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    font-weight: 300;
}

/* Jubilee Specific Grid */
.jubilee-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    max-width: 900px !important;
}

.jubilee-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jubilee-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.jubilee-year {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.jubilee-pair {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.jubilee-pair .mini-moon {
    width: 45px;
    height: 45px;
}

.sync-highlight {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}

.sync-badge {
    font-size: 0.6rem;
    color: #d4af37;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.loading {
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.error {
    color: #ff6b6b;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    grid-column: 1 / -1;
    padding: 2rem;
}

.moon-mount {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.moon-render {
    width: 320px;
    height: 320px;
    margin: 0 auto;
    background: radial-gradient(circle, #202025 0%, #000 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

.preview-metadata {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

#display-date {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
    font-style: italic;
}

#display-phase {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Data Source Indicator */
.data-source-type {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: inline-block;
    letter-spacing: 0.05em;
}

.source-direct {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.source-twin {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.craft-disclosure {
    margin: 2rem auto;
    max-width: 600px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-left: 2px solid var(--border);
    padding-left: 1.5rem;
    text-align: left;
}

.customization-panel {
    margin-top: 5rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    width: 100%;
}

.customization-panel h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}

.options-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.option-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.option-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.option-item input,
.option-item select,
.option-item textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.85rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.option-item textarea {
    height: 100px;
    resize: none;
    line-height: 1.5;
}

.option-item input:focus,
.option-item select:focus,
.option-item textarea:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.row-compact {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.row-compact .option-item {
    flex: 1;
}

/* Theme Picker */
.theme-picker {
    display: flex;
    gap: 1.25rem;
}

.theme-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    background: #000;
}

.theme-dot:hover {
    transform: scale(1.15);
}

.theme-dot.active {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.theme-dot.dark {
    background: #0d0d0d;
}

.theme-dot.pure {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dot.gray {
    background: #1f1f1f;
}

/* Metrics Card */
.output-metrics {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.output-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-secondary), transparent);
    opacity: 0.2;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.m-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 300;
}

.m-val {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 400;
}

/* Toggle Switch Styling */
.toggle-group {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-group input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-group label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.toggle-group label:after {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .4s;
    border-radius: 50%;
}

.toggle-group input:checked+label {
    background-color: rgba(255, 255, 255, 0.2);
}

.toggle-group input:checked+label:after {
    transform: translateX(24px);
    background-color: var(--text-primary);
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stat-item .val {
    display: block;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-style: italic;
}

/* Footer & Utils */
.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .journey-controls {
        gap: 1.5rem;
    }

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

    /* Mobile Typography Adjustments */
    .input-group label {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
        /* Force 16px to prevent iOS auto-zoom */
    }

    .moon-render {
        width: 260px;
        height: 260px;
    }

    .canvas-mount {
        max-width: 100%;
    }
}

/* Science & Craft Section */
.science-craft {
    background: #050507;
    padding: 10rem 0;
    border-top: 1px solid var(--border);
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.science-intro {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.spec-item .spec-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.spec-item .spec-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.spec-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

/* Visualization */
.science-visual {
    display: flex;
    justify-content: center;
}

.data-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #000 70%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.sphere-orbit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.sphere-orbit::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Archival Stamp */
.archival-stamp {
    position: absolute;
    top: 2rem;
    right: 2rem;
    border: 1px solid var(--gold);
    padding: 0.75rem 1.25rem;
    background: rgba(212, 175, 55, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.stamp-id {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.6rem;
    color: var(--gold);
    opacity: 0.8;
}

.stamp-auth {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin: 0.25rem 0;
}

.stamp-res {
    font-size: 0.55rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Live Data Panel */
.live-data-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.panel-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.data-stream {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--gold);
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
}

@media (max-width: 768px) {
    .science-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .archival-stamp {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Technical Disclosure Minified */
.technical-disclosure-min {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.disclosure-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    flex: 1;
}

.d-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.disclosure-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.disclosure-item p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Accuracy Badge */
.accuracy-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    cursor: pointer;
}

.badge-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.badge-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--gold);
}

.badge-icon {
    color: var(--gold);
    font-size: 0.8rem;
}

.badge-tooltip {
    position: absolute;
    bottom: 120%;
    right: 0;
    background: #15151a;
    border: 1px solid var(--border);
    padding: 1rem;
    width: 200px;
    text-align: left;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge-tooltip strong {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    color: var(--accent);
}

.badge-tooltip p {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.accuracy-badge:hover .badge-content {
    background: var(--gold);
}

.accuracy-badge:hover .badge-text,
.accuracy-badge:hover .badge-icon {
    color: #000;
}

.accuracy-badge:hover .badge-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 130%;
}

/* Data Stream Refinements */
.data-stream {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: #b0f0b0;
    background: rgba(0, 10, 0, 0.4);
    padding: 1.25rem;
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 4px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.data-stream::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    /* More solid to hide page transform artifacts */
    backdrop-filter: blur(20px);
    z-index: 9999;
    /* Ensure it stays above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: all 0.4s ease-out;
}

.modal-content {
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 850px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 4rem;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
    color: white;
    /* Explicitly white text */
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 300;
    margin: 1rem 0;
}

/* Integrity Modal Data Section */
.integrity-data {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.data-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.data-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.spec-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.spec-value {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: white;
}

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.method-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.5rem;
}

.method-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.method-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.method-card li strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.25rem;
}

.strategic-value-callout {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.strategic-value-callout h4 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.modal-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Animations */
@keyframes flicker {
    0% {
        opacity: 0.97;
    }

    5% {
        opacity: 0.95;
    }

    10% {
        opacity: 0.9;
    }

    15% {
        opacity: 0.95;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.data-stream {
    animation: flicker 0.1s infinite alternate;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .technical-disclosure-min {
        flex-direction: column;
        gap: 2rem;
    }

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

    .modal-content {
        padding: 2rem;
    }
}

/* Integrity Report Card (Pre-Generation Validation) */
.integrity-report {
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Inter', monospace;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.report-title {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.report-id {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.report-steps {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.report-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.step-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    min-width: 100px;
    text-align: center;
    border: 1px solid transparent;
}

.report-step[data-state="active"] .step-status {
    background: rgba(184, 158, 105, 0.1);
    color: var(--gold);
    border-color: rgba(184, 158, 105, 0.3);
    box-shadow: 0 0 10px rgba(184, 158, 105, 0.2);
    animation: pulse-gold 1.5s infinite;
}

.report-step[data-state="complete"] .step-status {
    background: rgba(0, 255, 128, 0.05);
    color: #00ff80;
    border-color: rgba(0, 255, 128, 0.2);
}

.step-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.report-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.summary-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.summary-value {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.report-footer {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    letter-spacing: 1px;
}

@keyframes pulse-gold {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* ============================================
   ORDER SECTION - Simplified Order Form
   ============================================ */

.order-section {
    padding: 4rem 0;
    background: #050507;
}

.order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product Examples */
.product-examples h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.example-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.example-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.example-card.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.example-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.example-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.example-info strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.example-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Order Form Panel */
.order-form-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.order-form-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.form-intro {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group .help-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Price Display */
.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    text-align: center;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-display);
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Order Button */
.btn-order {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Test Mode Toggle */
.test-mode-toggle {
    padding: 0.75rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Order Confirmation */
.order-confirmation {
    margin-top: 2rem;
}

.order-confirmation.hidden {
    display: none;
}

.confirmation-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 255, 128, 0.05);
    border: 1px solid rgba(0, 255, 128, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 255, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #00ff80;
}

.confirmation-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ff80;
}

.confirmation-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.confirmation-card strong {
    color: var(--text-primary);
}

.confirm-time {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.confirmation-card .btn-secondary {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .order-layout {
        grid-template-columns: 1fr;
    }

    .example-cards {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .example-card {
        flex-direction: column;
        min-width: 150px;
        text-align: center;
    }

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

/* Size Options */
.size-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.size-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.size-option:has(input:checked) {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.size-option input[type="radio"] {
    accent-color: var(--gold);
}

.size-label {
    font-weight: 500;
    color: var(--text-primary);
    min-width: 80px;
}

.size-pixels {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* DPI Options */
.dpi-options {
    display: flex;
    gap: 0.75rem;
}

.dpi-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.dpi-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.dpi-option:has(input:checked) {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.dpi-option input[type="radio"] {
    accent-color: var(--gold);
    margin-bottom: 0.25rem;
}

.dpi-option span:first-of-type {
    font-weight: 500;
    color: var(--text-primary);
}

.dpi-note {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* File Size Estimate */
.file-estimate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.85rem;
}

.estimate-label {
    color: var(--text-secondary);
}

.estimate-value {
    font-weight: 600;
    color: var(--gold);
}

.estimate-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Use This Setting Button */
.use-setting-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.use-setting-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================
   WHAT HAPPENS PROCESS SECTION
   ============================================ */

.process-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.process-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
}

.process-section .section-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), #aa8a2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 1rem;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.email-preview-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 255, 128, 0.08);
    border: 1px solid rgba(0, 255, 128, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #00ff80;
}

.email-icon {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        content: '↓';
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: -1rem;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Order Section - Stack layout */
    .order-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    /* Product Examples - Stack vertically */
    .product-examples {
        order: 1;
        /* Show first on mobile */
    }

    .example-cards {
        flex-direction: column;
        gap: 0.75rem;
    }

    .example-card {
        flex-direction: row;
        padding: 0.75rem;
    }

    .example-card img {
        width: 60px;
        height: 60px;
    }

    .example-info strong {
        font-size: 0.9rem;
    }

    .example-info span {
        font-size: 0.75rem;
    }

    .use-setting-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Order Form Panel */
    .order-form-panel {
        order: 2;
        padding: 1.5rem;
    }

    .order-form-panel h2 {
        font-size: 1.25rem;
    }

    .form-intro {
        font-size: 0.85rem;
    }

    /* Hero Section Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-showcase {
        order: 1;
    }

    .hero-content {
        order: 2;
    }

    .hero-zoom-previews {
        justify-content: center;
    }

    /* Precision/How It Works Cards */
    .precision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .precision-card {
        padding: 1.25rem;
    }

    .precision-card.featured {
        grid-column: span 1;
    }

    /* Gallery */
    .pattern-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Process Steps */
    .process-section h2 {
        font-size: 1.4rem;
    }

    .process-step {
        padding: 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step-content h4 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.75rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .pattern-cards {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-tab {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .size-options {
        gap: 0.4rem;
    }

    .size-option {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
    }

    .size-label {
        min-width: auto;
        font-size: 0.9rem;
    }

    .size-pixels {
        font-size: 0.7rem;
    }

    .dpi-options {
        gap: 0.5rem;
    }

    .dpi-option {
        padding: 0.6rem 0.4rem;
    }

    .dpi-option span:first-of-type {
        font-size: 0.85rem;
    }

    .dpi-note {
        font-size: 0.65rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .order-layout {
        gap: 2rem;
    }

    .example-card img {
        width: 70px;
        height: 70px;
    }
}

/* Active zoom preview indicator */
.zoom-preview.active {
    border-color: var(--gold);
    transform: scale(1.05);
}

.zoom-preview {
    cursor: pointer;
    transition: all 0.3s ease;
}