/* Aria Harrison — Warm Dark Editorial */

:root {
    --bg:        #0A0806;
    --surface:   #14100C;
    --border:    #2A2018;
    --text:      #F5F0EB;
    --muted:     #8B7060;
    --accent:    #C4A882;
    --accent-h:  #D4B892;
    --green:     #A8C4A2;
    --red:       #C47060;
    --yellow:    #C4A060;
    --radius:    0.75rem;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

.container-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ── Nav ── */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-right a:hover { color: var(--text); }
.nav-right a.nav-active { color: var(--accent); }

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    line-height: 1;
}
.btn-primary:hover { background: var(--accent-h); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--accent);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-text {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: underline;
    padding: 0;
}
.btn-text:hover { color: var(--text); }

.btn-danger {
    display: inline-block;
    background: transparent;
    color: var(--red);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--red);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-danger:hover { background: var(--red); color: #fff; }

/* ── Cards ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

/* ── Landing Page ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background-image: url('/assets/aria_plain.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 8, 6, 0.55) 0%,
        rgba(10, 8, 6, 0.70) 50%,
        rgba(10, 8, 6, 0.92) 100%
    );
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-statement {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-statement .dim {
    color: var(--muted);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* ── Sections ── */
.section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 780px;
    margin: 0 auto;
}

.section-rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ── The Shirt Section ── */
.shirt-block {
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.shirt-block-inner {
    max-width: 560px;
    margin: 0 auto;
}

.shirt-headline {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.shirt-body {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.shirt-body strong {
    color: var(--text);
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* ── How It Works ── */
.how-section {
    border-top: 1px solid var(--border);
    padding: 5rem 2rem;
}

.how-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.how-step {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.how-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.how-step p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── MIRI Section ── */
.miri-section {
    border-top: 1px solid var(--border);
    padding: 5rem 2rem;
}

.miri-inner {
    max-width: 640px;
    margin: 0 auto;
}

.miri-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.miri-amount {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.miri-body {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.miri-body p {
    margin-bottom: 1rem;
}

.miri-body strong {
    color: var(--text);
}

/* ── Visual Section (before/after) ── */
.visual-section {
    border-top: 1px solid var(--border);
    padding: 5rem 2rem;
}

.visual-inner {
    max-width: 960px;
    margin: 0 auto;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.visual-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.visual-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.visual-card-label {
    padding: 0.85rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    border-top: 1px solid var(--border);
}

.visual-card-label span {
    color: var(--accent);
}

/* ── YouTube Section ── */
.video-section {
    border-top: 1px solid var(--border);
    padding: 5rem 2rem;
}

.video-inner {
    max-width: 860px;
    margin: 0 auto;
}

.video-embed {
    margin-top: 2.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ── Upload Zone ── */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(196, 168, 130, 0.04);
}

.upload-icon { color: var(--muted); margin-bottom: 1rem; }
.upload-link { color: var(--accent); cursor: pointer; text-decoration: underline; }
.upload-hint { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }

#upload-preview {
    text-align: center;
    padding: 2rem;
}
#upload-preview img {
    max-width: 280px;
    max-height: 180px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #fff;
    padding: 0.75rem;
}
#preview-filename {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ── Steps Indicator ── */
.steps-indicator {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.steps-indicator .step {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.steps-indicator .step.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.steps-indicator .step.done {
    color: var(--green);
    border-bottom-color: var(--green);
}

.step-content { min-height: 200px; }

/* ── Spinner ── */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

#generating-spinner {
    text-align: center;
    padding: 3rem 2rem;
}
#generating-spinner p { color: var(--muted); margin-top: 0.5rem; }

/* ── Generate Step ── */
.generate-content {
    text-align: center;
    padding: 3rem 2rem;
}
.generate-content p {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Mockup Preview ── */
.mockup-preview {
    text-align: center;
    padding: 2rem 0;
}

.mockup-preview img {
    max-width: 100%;
    max-height: 480px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.mockup-caption {
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ── Pay Section ── */
.pay-section {
    text-align: center;
    padding: 2rem 0;
}

.pay-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pay-section .pay-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.pay-section .pay-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1rem;
}

/* ── Success Page ── */
.success-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--green);
}

.success-icon {
    margin-bottom: 1.5rem;
    color: var(--green);
}

.success-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.success-card .success-sub {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.order-detail-row:last-child { border-bottom: none; }
.order-detail-row .label { color: var(--muted); }
.order-detail-row .value { font-weight: 600; }

/* ── Admin ── */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.admin-table tr:hover td { background: rgba(255,255,255,0.015); }

.admin-stat {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.75rem;
    margin-bottom: 1.5rem;
    margin-right: 1rem;
}

.admin-stat .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.admin-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
}

.admin-form-inline {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-form-inline input[type="text"],
.admin-form-inline input[type="url"] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--text);
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    min-width: 200px;
}

/* ── Admin login ── */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.admin-login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.admin-login-card h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.admin-login-card .subtitle {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
}

.field {
    margin-bottom: 1.25rem;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.field input[type="password"],
.field input[type="text"],
.field input[type="url"] {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.field input:focus {
    outline: none;
    border-color: var(--accent);
}

/* ── Google Sign In ── */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.google-btn:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.25); }

/* ── Login Page ── */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.login-card-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.login-card-header .brand {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.login-card-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.login-card-header p {
    color: var(--muted);
    font-size: 0.9rem;
}

.login-card-body {
    padding: 2rem;
}

.login-card-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

/* ── Utilities ── */
.hidden { display: none !important; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .site-nav { padding: 1rem 1.25rem; }
    .hero { padding: 3rem 1.25rem; }
    .section, .shirt-block, .how-section, .miri-section, .visual-section, .video-section { padding: 3.5rem 1.25rem; }
    .visual-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 1rem; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.5rem 0.6rem; }
    .admin-form-inline { flex-direction: column; align-items: flex-start; }
    .admin-form-inline input { min-width: unset; width: 100%; }
    .container, .container-narrow { padding: 1rem; }
    .card { padding: 1.25rem; }
}
