/* ══════════════════════════════════════════════════════════════════
   INSTAGRAVO STYLESHEET - AETHERFLOW DIGITAL
   ══════════════════════════════════════════════════════════════════ */

:root {
    --gs-bg: #06040d;
    --gs-panel: #0d0a17;
    --gs-footer-bg: #050309;
    --gs-paper: #f4f1ea;
    --gs-text: #F4F1EA;
    --gs-title: #F8F5EF;
    --gs-p: rgba(244, 241, 234, .66);
    --gs-p-strong: rgba(244, 241, 234, .86);
    --gs-p-dim: rgba(244, 241, 234, .6);
    --gs-border: rgba(255, 255, 255, .06);
    --gs-border-hi: rgba(255, 255, 255, .12);
    
    /* AetherFlow Palette */
    --gs-gold: #ffb300;
    --gs-gold-mid: #ff8f00;
    --gs-gold-ink: #110c00;
    --gs-grad-gold: linear-gradient(135deg, #ffb300, #ff8f00);
    --gs-teal-hi: #5FD3C4;
    --gs-shadow-btn: 0 16px 42px -12px rgba(255, 179, 0, .45);
    --gs-shadow-card: 0 30px 70px -34px rgba(0, 0, 0, .8);
    --gs-maxw: 1120px;
    --gs-pad: 26px;
}

body {
    background-color: var(--gs-bg);
    color: var(--gs-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, p {
    margin: 0;
}
.gs-h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--gs-title);
}
.gs-h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: var(--gs-title);
}
.gs-em {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gs-gold);
}
.gs-em--teal {
    color: var(--gs-teal-hi);
}

/* ── Components ── */
.gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--gs-grad-gold);
    color: var(--gs-gold-ink);
    box-shadow: var(--gs-shadow-btn);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.gs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px -10px rgba(255, 179, 0, 0.6);
}
.gs-btn--nav {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}
.gs-btn--lg {
    font-size: 17px;
    padding: 18px 32px;
    border-radius: 14px;
}
.gs-btn--block {
    width: 100%;
}

.gs-halo-top {
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translate(-50%);
    width: min(1100px, 120vw);
    height: 760px;
    background: radial-gradient(ellipse at center, rgba(255, 179, 0, 0.15), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* ── Header ── */
.gs-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gs-border);
    background: rgba(6, 4, 13, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.gs-nav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 15px var(--gs-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gs-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.gs-logo__img {
    height: 34px;
    width: 34px;
    border-radius: 8px;
    object-fit: cover;
}
.gs-logo__text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.gs-logo__text span {
    color: var(--gs-gold);
}
.gs-nav__links {
    display: flex;
    gap: 26px;
}
.gs-nav__links a {
    color: rgba(244, 241, 234, 0.7);
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}
.gs-nav__links a:hover {
    color: #ffffff;
}
.gs-nav__login {
    color: rgba(244, 241, 234, 0.8);
    font-size: 14.5px;
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
}
.gs-nav__login:hover {
    color: #ffffff;
}

/* ── Hero Section ── */
.gs-hero {
    position: relative;
    z-index: 1;
}
.gs-hero__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px var(--gs-pad) 20px;
    text-align: center;
}
.gs-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(255, 179, 0, 0.25);
    background: rgba(255, 179, 0, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: var(--gs-gold);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.gs-hero__title {
    max-width: 900px;
    margin: 0 auto 20px;
}
.gs-hero__lead {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.55;
    color: rgba(244, 241, 234, 0.65);
    max-width: 660px;
    margin: 0 auto 24px;
}
.gs-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.gs-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--gs-border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 600;
    color: rgba(244, 241, 234, 0.8);
}
.gs-chip--teal {
    border-color: rgba(53, 185, 169, 0.35);
    background: rgba(53, 185, 169, 0.06);
}

/* ── Prints Carousel ── */
.gs-carousel {
    padding: 30px 0;
    overflow: hidden;
}
.gs-carousel__mask {
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gs-carousel__track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: gsMarquee 38s linear infinite;
}
.gs-carousel__cell {
    width: 480px;
    flex: 0 0 auto;
}
.gs-window {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--gs-panel);
    box-shadow: var(--gs-shadow-card);
}
.gs-window__bar {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.gs-window__dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
}
.gs-window__dot--r { background: #ff5f56; }
.gs-window__dot--a { background: #ffbd2e; }
.gs-window__dot--g { background: #27c93f; }
.gs-carousel__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@keyframes gsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Hero CTA ── */
.gs-herocta {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px var(--gs-pad) 40px;
    text-align: center;
}
.gs-herocta__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.gs-herocta__price {
    text-align: left;
    line-height: 1.25;
}
.gs-herocta__old {
    font-size: 13px;
    color: rgba(244, 241, 234, 0.5);
    text-decoration: line-through;
    display: block;
}
.gs-herocta__new {
    font-size: 19px;
    font-weight: 800;
    color: var(--gs-gold);
}
.gs-herocta__seals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(244, 241, 234, 0.6);
}
.gs-seal__check {
    color: var(--gs-teal-hi);
    font-weight: 700;
    margin-right: 4px;
}

/* ── Flow Section ── */
.gs-flow {
    border-top: 1px solid var(--gs-border);
    border-bottom: 1px solid var(--gs-border);
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 179, 0, 0.08), transparent 70%);
    padding: 60px 0;
}
.gs-flow__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 var(--gs-pad);
}
.gs-flow__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}
.gs-flow__punch {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.45;
    font-weight: 600;
    color: rgba(244, 241, 234, 0.9);
    margin-top: 15px;
}
.gs-flow__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gs-gold);
    max-width: 600px;
}
.gs-flow__divider::before, .gs-flow__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.3));
}
.gs-flow__divider::after { transform: scaleX(-1); }

.gs-flow__rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
    background: var(--gs-panel);
    border: 1px solid var(--gs-border-hi);
    border-radius: 20px;
    box-shadow: var(--gs-shadow-card);
}
.gs-flow__step {
    position: relative;
    padding: 0 15px;
}
.gs-flow__step:not(:last-child) {
    border-right: 1px solid var(--gs-border);
}
.gs-flow__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 6px;
    right: -10px;
    z-index: 10;
    color: var(--gs-gold);
    font-weight: 700;
}
.gs-flow__number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: var(--gs-gold);
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 15px;
}
.gs-flow__step--active .gs-flow__number {
    background: var(--gs-grad-gold);
    color: var(--gs-gold-ink);
    border-color: transparent;
}
.gs-flow__step--output .gs-flow__number {
    background: rgba(53, 185, 169, 0.15);
    border-color: rgba(53, 185, 169, 0.35);
    color: var(--gs-teal-hi);
}
.gs-flow__stage {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}
.gs-flow__step--output .gs-flow__stage {
    color: var(--gs-teal-hi);
}
.gs-flow__step-title {
    font-size: 18px;
    margin-bottom: 6px;
}
.gs-flow__step-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(244, 241, 234, 0.6);
}

/* ── Vectorization ── */
.gs-vec {
    position: relative;
    padding: 60px var(--gs-pad);
    max-width: var(--gs-maxw);
    margin: 0 auto;
}
.gs-vec__head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}
.gs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(255, 179, 0, 0.3);
    background: rgba(255, 179, 0, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: var(--gs-gold);
    margin-bottom: 18px;
}
.gs-vec__title {
    margin-bottom: 15px;
}
.gs-vec__lead {
    font-size: clamp(15.5px, 1.6vw, 18px);
    line-height: 1.55;
    color: rgba(244, 241, 234, 0.65);
}
.gs-vec__lead strong {
    color: #ffffff;
}

/* Before / After Slider Grid */
.gs-vec__ba-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}
.gs-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--gs-panel);
    box-shadow: var(--gs-shadow-card);
}
.gs-tile--after {
    background: #ffffff;
    border-color: rgba(255, 179, 0, 0.3);
}
.gs-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.gs-fade[data-active=true] {
    opacity: 1;
}
.gs-fade img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}
.gs-tile--before .gs-fade img {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.gs-tile__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 8, 19, 0.9);
    border: 1px solid var(--gs-border);
    color: var(--gs-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}
.gs-vec__caption {
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(244, 241, 234, 0.6);
    margin-top: 10px;
}
.gs-vec__caption--gold {
    color: var(--gs-gold);
}
.gs-vec__arrow-circle {
    width: 48px;
    height: 48px;
    border-radius: 99px;
    display: grid;
    place-items: center;
    background: var(--gs-grad-gold);
    color: var(--gs-gold-ink);
    box-shadow: 0 10px 24px -6px rgba(255,179,0,0.5);
}
.gs-vec__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.gs-vec__dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}
.gs-vec__dot[data-active=true] {
    width: 24px;
    background: var(--gs-gold);
}

/* Payback Section */
.gs-payback {
    max-width: 900px;
    margin: 50px auto 0;
}
.gs-payback__card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    padding: 30px 40px;
    text-align: center;
}
.gs-payback__claim {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}
.gs-payback__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* ── FAQ Section ── */
.gs-faq {
    border-top: 1px solid var(--gs-border);
    background: rgba(255, 255, 255, 0.01);
    padding: 60px var(--gs-pad);
}
.gs-faq__inner {
    max-width: 760px;
    margin: 0 auto;
}
.gs-faq__head {
    text-align: center;
    margin-bottom: 36px;
}
.gs-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gs-faq__item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}
.gs-faq__btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}
.gs-faq__sign {
    font-size: 24px;
    color: var(--gs-gold);
    transition: transform 0.25s ease;
}
.gs-faq__item[data-open=true] .gs-faq__sign {
    transform: rotate(45deg);
}
.gs-faq__a {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}
.gs-faq__item[data-open=true] .gs-faq__a {
    max-height: 200px;
    opacity: 1;
}
.gs-faq__a-inner {
    padding: 0 22px 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(244, 241, 234, 0.65);
}

/* ── Footer ── */
.gs-footer {
    border-top: 1px solid var(--gs-border);
    background: var(--gs-footer-bg);
    padding: 40px var(--gs-pad) 20px;
}
.gs-footer__inner {
    max-width: var(--gs-maxw);
    margin: 0 auto;
}
.gs-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(244, 241, 234, 0.4);
}

/* ══════════════════════════════════════════════════════════════════
   STUDIO MEMBERS WORKSPACE (PREMIUM ENHANCED LAYOUT)
   ══════════════════════════════════════════════════════════════════ */

.studio-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--gs-bg);
    overflow: hidden;
}

/* Premium Top Dashboard Header */
.studio-header {
    height: 60px;
    border-bottom: 1px solid var(--gs-border);
    background: #0d0a17;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
.studio-header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}
.studio-nav-dropdowns {
    display: flex;
    align-items: center;
    gap: 18px;
}
.studio-dropdown {
    position: relative;
}
.dropdown-trigger {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #18132b;
    border: 1px solid var(--gs-border-hi);
    border-radius: 8px;
    min-width: 170px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 200;
    margin-top: 4px;
    overflow: hidden;
}
.dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}
.dropdown-content a:hover {
    background: var(--gs-grad-gold);
    color: var(--gs-gold-ink);
}
.studio-dropdown:hover .dropdown-content {
    display: block;
}
.studio-header-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.studio-header-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}
.studio-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.studio-user-badge {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Studio Workspace Grid */
.studio-workspace-split {
    flex: 1;
    display: grid;
    grid-template-columns: 310px 1fr;
    height: calc(100vh - 60px);
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

/* Sidebar panel style */
.studio-sidebar {
    background: #0d0a17;
    border-right: 1px solid var(--gs-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}
.studio-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 14px;
    border-bottom: 1px solid var(--gs-border);
}
.studio-tab-btn {
    padding: 10px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.studio-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}
.studio-tab-btn.active {
    background: rgba(255, 179, 0, 0.08);
    border-color: rgba(255, 179, 0, 0.25);
    color: var(--gs-gold);
}

.studio-tab-panel {
    padding: 18px;
}

/* Tool settings blocks styling */
.studio-section-title {
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gs-gold);
    margin-bottom: 12px;
    border-left: 2px solid var(--gs-gold);
    padding-left: 8px;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--gs-border);
    padding: 9px 12px;
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-control:focus {
    border-color: var(--gs-gold);
}

.range-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}
.range-slider input[type=range] {
    flex: 1;
    accent-color: var(--gs-gold);
}
.range-slider span {
    font-size: 12px;
    font-weight: 700;
    color: var(--gs-gold);
    min-width: 24px;
    text-align: right;
}

.upload-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.2s ease;
}
.upload-dropzone:hover {
    border-color: var(--gs-gold);
    background: rgba(255, 179, 0, 0.02);
}
.upload-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
    display: block;
}
.upload-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Central Workspace */
.studio-workspace {
    background: var(--gs-bg);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}
.studio-workspace-header {
    height: 46px;
    border-bottom: 1px solid var(--gs-border);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 10, 23, 0.2);
}
.studio-canvas-area {
    flex: 1;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    min-width: 0;
    min-height: 0;
}

/* Side-by-side splits preview (Original vs Output) */
.side-by-side-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
    max-width: 1020px;
    max-height: 520px;
    min-width: 0;
    min-height: 0;
}
.preview-column {
    display: flex;
    flex-direction: column;
    background: #0d0a17;
    border: 1px solid var(--gs-border);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}
.preview-column-header {
    height: 40px;
    border-bottom: 1px solid var(--gs-border);
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.02);
}
.preview-column-header span {
    color: var(--gs-gold);
    margin-left: auto;
}
.preview-column-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}
.preview-column-body img, .preview-column-body svg, .preview-column-body canvas {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    min-width: 0;
    min-height: 0;
}

/* Grids inside panels */
.font-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}
.font-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gs-border);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.font-card:hover {
    border-color: var(--gs-gold);
    background: rgba(255, 179, 0, 0.03);
}
.font-card-name {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    margin-bottom: 3px;
}
.font-card-preview {
    font-size: 17px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mockup-preset-card {
    border-radius: 8px;
    border: 1px solid var(--gs-border);
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}
.mockup-preset-card:hover {
    border-color: var(--gs-gold);
}
.mockup-preset-card.active {
    border-color: var(--gs-gold);
    box-shadow: 0 0 8px rgba(255, 179, 0, 0.25);
}
.mockup-preset-card img {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
}
.mockup-preset-name {
    padding: 4px;
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

/* Single Mockup display frame (when active) */
.mockup-frame-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-frame {
    width: 480px;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid var(--gs-border-hi);
    position: relative;
    box-shadow: var(--gs-shadow-card);
}
.mockup-engrave-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    opacity: 0.75;
    mix-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.mockup-engrave-overlay img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0.15) contrast(1.5);
}

.hidden {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .gs-nav__links { display: none; }
    .studio-workspace-split {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
    }
    .side-by-side-preview {
        grid-template-columns: 1fr;
        max-height: none;
        height: auto;
    }
    .studio-sidebar {
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gs-border);
    }
}
