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

:root {
    --bg-light: #fbfff7;
    --bg-warm: #f4fff0;
    --bg-section: #e8f8dd;
    --pink: #ff8bb5;
    --orange: #ffc46d;
    --purple: #a986ff;
    --peach: #ffd9bd;
    --grass: #65c94f;
    --leaf: #2f9b4f;
    --mint: #c9f5d4;
    --cream: #fbfff7;
    --ink: #315039;
    --card-bg: rgba(255, 255, 255, 0.58);
    --card-border: rgba(255, 255, 255, 0.82);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.76);
    --gradient: linear-gradient(135deg, #4f9f5f 0%, #86c96c 100%);
    --fresh-shadow: 0 24px 70px rgba(90, 138, 77, 0.18);
}

html {
    scroll-behavior: smooth;

}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(251, 255, 247, 0.98) 0%, transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(101, 201, 79, 0.28) 0%, transparent 26%),
        radial-gradient(circle at 78% 46%, rgba(201, 245, 212, 0.58) 0%, transparent 34%),
        radial-gradient(circle at 18% 78%, rgba(126, 214, 99, 0.28) 0%, transparent 30%),
        linear-gradient(180deg, #5fbd4c 0%, #9ade7d 38%, #e8f8dd 68%, #fbfff7 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

.simple-page {
    min-height: 100vh;
    color: var(--ink);
}

.simple-content {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
    padding: 96px 0;
}

.simple-back {
    display: inline-flex;
    color: #3f8f54;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 28px;
}

.simple-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.12;
    margin-bottom: 22px;
}

.simple-content h2 {
    font-size: 24px;
    margin: 34px 0 12px;
}

.simple-content p {
    color: rgba(49, 80, 57, 0.72);
    font-size: 17px;
    line-height: 1.8;
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.simple-grid section {
    min-height: auto;
    padding: 24px;
    border-radius: 14px;
    background: rgba(251, 255, 247, 0.72);
    border: 1px solid rgba(101, 201, 79, 0.2);
    box-shadow: 0 14px 38px rgba(90, 138, 77, 0.12);
}

.studio-page {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(251, 255, 247, 0.96), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(201, 245, 212, 0.56), transparent 28%),
        linear-gradient(180deg, #edf8e8 0%, #fbfff7 100%);
}

.studio-page section {
    min-height: auto;
}

.studio-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 22px;
    width: min(1480px, calc(100% - 48px));
    min-height: calc(100vh - 48px);
    margin: 24px auto;
}

.studio-history,
.studio-main > section,
.creator-panel {
    border: 1px solid rgba(101, 201, 79, 0.18);
    background: rgba(251, 255, 247, 0.78);
    box-shadow: 0 18px 50px rgba(90, 138, 77, 0.12);
}

.studio-history {
    border-radius: 18px;
    padding: 22px;
    overflow: hidden;
    max-height: calc(100vh - 48px);
    position: sticky;
    top: 24px;
}

.studio-brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.studio-brand a {
    color: #3f8f54;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
}

.studio-brand span,
.history-header button,
.studio-back,
.price-hint {
    color: rgba(49, 80, 57, 0.62);
    font-size: 13px;
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.history-header h2,
.creator-section-title h2,
.active-task-panel h2 {
    color: var(--ink);
    font-size: 20px;
}

.history-header button {
    border: 1px solid rgba(101, 201, 79, 0.18);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 6px 12px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-right: 4px;
}

.history-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.78);
}

.history-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
}

.history-item time {
    color: rgba(49, 80, 57, 0.54);
    font-size: 12px;
}

.history-item p {
    color: rgba(49, 80, 57, 0.72);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 5px;
}

.history-empty {
    padding: 18px 12px;
    color: rgba(49, 80, 57, 0.58);
    font-size: 13px;
    text-align: center;
}

.studio-main {
    display: grid;
    grid-template-rows: auto 190px 1fr;
    gap: 18px;
    min-width: 0;
}

.studio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.studio-back {
    text-decoration: none;
    font-weight: 700;
}

.studio-topbar h1 {
    color: var(--ink);
    font-size: 34px;
    line-height: 1.1;
    margin-top: 6px;
}

.studio-login-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    color: white;
    background: var(--gradient);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(79, 159, 95, 0.24);
}

.studio-login-btn.logged-in {
    color: #315039;
    background: rgba(251, 255, 247, 0.86);
    border: 1px solid rgba(101, 201, 79, 0.22);
    box-shadow: 0 8px 20px rgba(90, 138, 77, 0.1);
}

.active-task-panel {
    border-radius: 18px;
    padding: 26px;
}

.task-empty,
.task-success,
.task-running {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.task-empty,
.task-success {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.task-empty p,
.task-success p,
.task-running p,
.creator-section-title p {
    color: rgba(49, 80, 57, 0.66);
    font-size: 14px;
    line-height: 1.7;
}

.task-status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #65c94f;
    box-shadow: 0 0 0 8px rgba(101, 201, 79, 0.14);
    flex: 0 0 auto;
}

.task-meta {
    margin-left: auto;
    min-width: 110px;
    text-align: right;
}

.task-meta span {
    display: block;
    color: rgba(49, 80, 57, 0.55);
    font-size: 12px;
    margin-bottom: 4px;
}

.task-meta strong {
    color: var(--ink);
    font-size: 15px;
}

.creator-panel {
    min-height: auto;
    border-radius: 18px;
    padding: 28px;
    overflow: hidden;
}

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

.studio-type-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.studio-type-grid button {
    min-height: 46px;
    border: 1px solid rgba(101, 201, 79, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.studio-type-grid button:hover,
.studio-type-grid button.active {
    color: white;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(79, 159, 95, 0.24);
    transform: translateY(-2px);
}

.creator-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.prompt-group textarea {
    min-height: 246px;
}

.creator-params {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1px dashed rgba(79, 159, 95, 0.42);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
}

.upload-box input {
    display: none;
}

.upload-box span {
    color: #3f8f54;
    font-size: 14px;
    font-weight: 700;
    max-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.creator-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
}

.studio-page .generation-result {
    margin-top: 18px;
}

.studio-page .generation-result img {
    max-height: 520px;
}

.studio-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    place-items: center;
    background: rgba(33, 51, 38, 0.32);
    backdrop-filter: blur(12px);
    animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.studio-auth-modal.active {
    display: grid;
}

.studio-auth-card,
.studio-pay-card {
    position: relative;
    width: min(720px, calc(100% - 48px));
    min-height: 440px;
    border-radius: 24px;
    border: 1px solid rgba(101, 201, 79, 0.15);
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(49, 80, 57, 0.18);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    animation: authSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-illustration-side {
    position: relative;
    background: linear-gradient(160deg, #e8f8dd 0%, #c9f5d4 50%, #b8edc4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    overflow: hidden;
}

.auth-illustration-side::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: floatBubble 6s ease-in-out infinite;
}

.auth-illustration-side::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    animation: floatBubble 5s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.auth-illustration-side img {
    width: 180px;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(49, 80, 57, 0.12));
    animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.auth-illustration-text {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 16px;
}

.auth-illustration-text h3 {
    color: #315039;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.auth-illustration-text p {
    color: rgba(49, 80, 57, 0.65);
    font-size: 13px;
    margin: 0;
}

.auth-form-side {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: none;
    place-items: center;
    background: rgba(33, 51, 38, 0.28);
    backdrop-filter: blur(10px);
}

.studio-pay-modal.active {
    display: grid;
}

.studio-auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #315039;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-auth-close:hover {
    background: #ffffff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(49, 80, 57, 0.12);
}

.studio-auth-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 3px;
    border-radius: 999px;
    background: #f4f8f1;
    margin-bottom: 16px;
}

.studio-auth-tabs button {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    background: transparent;
    color: rgba(49, 80, 57, 0.55);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.studio-auth-tabs button.active {
    color: #315039;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(49, 80, 57, 0.08);
}

.auth-form-side h2,
.studio-pay-card h2 {
    color: #315039;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.studio-pay-card > p {
    color: rgba(49, 80, 57, 0.68);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.pay-channel-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.pay-channel-row button {
    border: 1px solid rgba(101, 201, 79, 0.22);
    border-radius: 999px;
    padding: 8px 14px;
    color: #315039;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
}

.pay-channel-row button.active {
    color: white;
    background: #65b95d;
    border-color: transparent;
}

.pay-qr-box {
    display: grid;
    place-items: center;
    min-height: 280px;
    border: 1px solid rgba(101, 201, 79, 0.18);
    border-radius: 14px;
    background: #ffffff;
    margin-bottom: 12px;
}

.pay-qr-box img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.studio-auth-form {
    display: grid;
    gap: 14px;
}

.studio-auth-form label {
    display: grid;
    gap: 6px;
}

.studio-auth-form label span {
    color: rgba(49, 80, 57, 0.65);
    font-size: 13px;
    font-weight: 600;
}

.studio-auth-form input {
    width: 100%;
    border: 1.5px solid #e8ede5;
    border-radius: 10px;
    background: #fafcf9;
    color: #315039;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.studio-auth-form input:focus {
    border-color: #65c94f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(101, 201, 79, 0.12);
}

.studio-auth-form input::placeholder {
    color: rgba(49, 80, 57, 0.35);
}

.studio-auth-form .auth-code-row {
    display: none;
}

.studio-auth-form .auth-code-row.active {
    display: grid;
}

.auth-code-row div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 8px;
}

.auth-code-row button,
.studio-auth-submit {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #65c94f 0%, #4f9f5f 100%);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-code-row button {
    font-size: 13px;
    padding: 10px 8px;
}

.auth-code-row button:hover,
.studio-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 159, 95, 0.28);
}

.studio-auth-submit {
    min-height: 44px;
    margin-top: 4px;
    font-size: 15px;
}

.studio-auth-message {
    min-height: 18px;
    color: #e76f68;
    font-size: 13px;
    line-height: 1.5;
}

.studio-auth-message:empty {
    display: none;
}

[v-cloak] {
    display: none;
}

.admin-page {
    min-height: 100vh;
    background: #f6f8f4;
    color: #213326;
}

.admin-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 18px;
    border-right: 1px solid #dde8d8;
    background: #fbfff7;
}

.admin-logo {
    color: #3f8f54;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.admin-sidebar p {
    color: rgba(49, 80, 57, 0.66);
    margin-bottom: 8px;
}

.admin-main {
    min-width: 0;
    padding: 26px;
}

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

.admin-header h1 {
    color: #213326;
    font-size: 30px;
}

.admin-header p {
    color: rgba(49, 80, 57, 0.64);
    margin-top: 4px;
}

.admin-tabs {
    margin-top: 16px;
    border: 1px solid #dde8d8;
    border-radius: 10px;
    background: #ffffff;
    padding: 16px;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: 260px auto;
    justify-content: start;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-pager {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px;
}

.admin-stat-card {
    display: grid;
    gap: 8px;
    min-height: 118px;
    padding: 18px;
    border: 1px solid #dde8d8;
    border-radius: 8px;
    background: #fbfff7;
}

.admin-stat-card span {
    color: rgba(49, 80, 57, 0.68);
    font-size: 13px;
}

.admin-stat-card strong {
    color: #213326;
    font-size: 28px;
    line-height: 1;
}

.admin-stat-card small {
    color: rgba(49, 80, 57, 0.58);
    font-size: 12px;
}

body::before {
    content: '';
    position: fixed;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 255, 247, 0.76) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 6s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 245, 212, 0.58) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 8s ease-in-out infinite reverse;
}

#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

section {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(36, 46, 94, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #3f8f54 0%, #76b85e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 34px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-user {
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-links a.nav-user::after {
    display: none;
}

.nav-links a.nav-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 159, 95, 0.28);
}

.nav-links a.nav-user.is-logged-in {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    max-width: 180px;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.nav-links a.nav-user.is-logged-in:hover {
    transform: none;
    box-shadow: none;
}

.nav-user-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.nav-user-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
    font-size: 13px;
    font-weight: 400;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 8s ease;
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7cc16a 0%, #cee7c0 46%, #fbfff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.3s both;
    filter: drop-shadow(0 10px 28px rgba(49, 80, 57, 0.36));
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 8px 24px rgba(49, 80, 57, 0.45);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-btn-primary {
    color: white;
    background: var(--gradient);
    box-shadow: 0 12px 30px rgba(49, 80, 57, 0.26);
}

.hero-btn-secondary {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    animation: fadeInUp 1s ease 1s both;
}

.hero-highlights span {
    padding: 7px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    opacity: 0.6;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 250, 240, 0.24);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 250, 240, 0.42);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 28px rgba(49, 80, 57, 0.22);
}

.carousel-arrow:hover {
    background: rgba(255, 250, 240, 0.38);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 16px 38px rgba(49, 80, 57, 0.28);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background:
        linear-gradient(180deg, rgba(251, 255, 247, 0.72) 0%, rgba(232, 248, 221, 0.82) 52%, rgba(251, 255, 247, 0.78) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 32%, rgba(251, 255, 247, 0.82) 0 18px, transparent 19px),
        radial-gradient(circle at 11% 34%, rgba(251, 255, 247, 0.74) 0 24px, transparent 25px),
        radial-gradient(circle at 86% 30%, rgba(101, 201, 79, 0.18) 0 16px, transparent 17px),
        radial-gradient(circle at 90% 33%, rgba(201, 245, 212, 0.34) 0 24px, transparent 25px),
        radial-gradient(circle at 18% 68%, rgba(101, 201, 79, 0.18) 0 18px, transparent 19px),
        radial-gradient(circle at 76% 72%, rgba(201, 245, 212, 0.42) 0 30px, transparent 31px);
    opacity: 0.9;
}

.features::after {
    content: '';
    position: absolute;
    inset: auto -80px 8% auto;
    width: 280px;
    height: 160px;
    pointer-events: none;
    border-radius: 70% 20% 70% 20%;
    background: linear-gradient(135deg, rgba(101, 201, 79, 0.2), rgba(251, 255, 247, 0.62));
    border: 2px solid rgba(255, 255, 255, 0.42);
    transform: rotate(-18deg);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite;
}

.glow-pink {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 139, 181, 0.32) 0%, transparent 70%);
    top: -100px;
    right: -50px;
}

.glow-orange {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(101, 201, 79, 0.26) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

.glow-purple {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(201, 245, 212, 0.5) 0%, transparent 70%);
    top: -80px;
    left: -60px;
}

.glow-peach {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(127, 201, 95, 0.3) 0%, transparent 70%);
    bottom: -60px;
    right: -60px;
    animation-delay: 3s;
}

.deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deco::before,
.deco::after {
    content: '';
    position: absolute;
}

.deco-circle-1 {
    width: 112px;
    height: 62px;
    border-radius: 70% 20% 70% 20%;
    background: linear-gradient(135deg, rgba(101, 201, 79, 0.5), rgba(201, 245, 212, 0.82));
    border: 2px solid rgba(255, 255, 255, 0.54);
    top: 15%;
    left: 8%;
    transform: rotate(-18deg);
    box-shadow: 0 16px 34px rgba(79, 143, 79, 0.16);
    animation: float 8s ease-in-out infinite, glow-pulse-white 3s ease-in-out infinite;
}

.deco-circle-2 {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #fffaf0 0 18px, transparent 19px),
        radial-gradient(circle at 62% 44%, #fffaf0 0 23px, transparent 24px),
        radial-gradient(circle at 47% 60%, #fffaf0 0 27px, transparent 28px);
    border: none;
    bottom: 20%;
    right: 10%;
    opacity: 0.82;
    animation: float 6s ease-in-out infinite reverse, glow-pulse-pink 3s ease-in-out infinite 1s;
}

.deco-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(63, 157, 98, 0.24) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 10%;
    right: 15%;
    opacity: 0.6;
}

.deco-ring {
    width: 190px;
    height: 190px;
    border: 14px solid rgba(255, 196, 109, 0.24);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    box-shadow: inset 0 0 0 10px rgba(255, 250, 240, 0.28);
    animation: rotate 20s linear infinite, glow-pulse-white 4s ease-in-out infinite;
}

.deco-circle-3 {
    width: 120px;
    height: 74px;
    border-radius: 65% 20% 65% 20%;
    background: linear-gradient(135deg, rgba(188, 239, 207, 0.72), rgba(127, 201, 95, 0.36));
    border: 2px solid rgba(255, 255, 255, 0.5);
    top: 12%;
    right: 6%;
    transform: rotate(24deg);
    animation: float 7s ease-in-out infinite, glow-pulse-blue 3s ease-in-out infinite 0.5s;
}

.deco-circle-4 {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(251, 255, 247, 0.94) 0 28%, transparent 30%),
        conic-gradient(from 12deg, rgba(101, 201, 79, 0.48), rgba(201, 245, 212, 0.66), rgba(126, 214, 99, 0.42), rgba(101, 201, 79, 0.48));
    border: 2px solid rgba(255, 255, 255, 0.58);
    bottom: 25%;
    left: 8%;
    animation: float 5s ease-in-out infinite reverse, glow-pulse-orange 3s ease-in-out infinite 1.5s;
}

.deco-dots-2 {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(101, 201, 79, 0.26) 2px, transparent 2px);
    background-size: 18px 18px;
    top: 8%;
    left: 12%;
    opacity: 0.5;
}

.deco-ring-2 {
    width: 154px;
    height: 154px;
    border: 12px dotted rgba(255, 250, 240, 0.56);
    border-radius: 50%;
    bottom: 8%;
    right: 5%;
    animation: rotate 25s linear infinite reverse, glow-pulse-blue 4s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow-pulse-white {
    0%, 100% {
        box-shadow: 0 0 24px rgba(255, 250, 240, 0.36), inset 0 0 24px rgba(255, 250, 240, 0.18);
    }
    50% {
        box-shadow: 0 0 44px rgba(255, 250, 240, 0.55), inset 0 0 34px rgba(255, 250, 240, 0.28);
    }
}

@keyframes glow-pulse-pink {
    0%, 100% {
        box-shadow: 0 0 26px rgba(255, 139, 181, 0.32), inset 0 0 24px rgba(255, 139, 181, 0.15);
    }
    50% {
        box-shadow: 0 0 42px rgba(255, 139, 181, 0.46), inset 0 0 32px rgba(255, 139, 181, 0.22);
    }
}

@keyframes glow-pulse-blue {
    0%, 100% {
        box-shadow: 0 0 28px rgba(127, 201, 95, 0.3), inset 0 0 26px rgba(127, 201, 95, 0.14);
    }
    50% {
        box-shadow: 0 0 48px rgba(127, 201, 95, 0.44), inset 0 0 38px rgba(127, 201, 95, 0.2);
    }
}

@keyframes glow-pulse-orange {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 167, 81, 0.4), inset 0 0 30px rgba(255, 167, 81, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 167, 81, 0.6), inset 0 0 50px rgba(255, 167, 81, 0.3);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header.compact {
    margin-bottom: 32px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ink);
    text-shadow: 0 6px 20px rgba(255, 250, 240, 0.68);
}

.section-subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(49, 80, 57, 0.68);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--fresh-shadow);
}

.card-poster {
    background: linear-gradient(135deg, rgba(255, 248, 246, 0.88) 0%, rgba(255, 152, 142, 0.32) 100%);
    border-color: rgba(255, 152, 142, 0.46);
}

.card-photo {
    background: linear-gradient(135deg, rgba(250, 248, 255, 0.9) 0%, rgba(177, 154, 255, 0.3) 100%);
    border-color: rgba(177, 154, 255, 0.44);
}

.card-restore {
    background: linear-gradient(135deg, rgba(248, 255, 251, 0.9) 0%, rgba(93, 210, 153, 0.3) 100%);
    border-color: rgba(93, 210, 153, 0.44);
}

.card-illustration {
    background: linear-gradient(135deg, rgba(247, 252, 255, 0.9) 0%, rgba(111, 190, 255, 0.28) 100%);
    border-color: rgba(111, 190, 255, 0.42);
}

.card-drama {
    background: linear-gradient(135deg, rgba(255, 251, 244, 0.9) 0%, rgba(255, 190, 105, 0.34) 100%);
    border-color: rgba(255, 190, 105, 0.48);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 26px 70px rgba(90, 138, 77, 0.22);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    opacity: 0.28;
    transform: rotate(45deg);
}

.card-poster .card-icon::before {
    background: linear-gradient(135deg, #ff988e 0%, #ffd8d2 100%);
}

.card-photo .card-icon::before {
    background: linear-gradient(135deg, #b19aff 0%, #ece5ff 100%);
}

.card-restore .card-icon::before {
    background: linear-gradient(135deg, #5dd299 0%, #d9f8e7 100%);
}

.card-illustration .card-icon::before {
    background: linear-gradient(135deg, #6fbeff 0%, #dff2ff 100%);
}

.card-drama .card-icon::before {
    background: linear-gradient(135deg, #ffbe69 0%, #ffe5bf 100%);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1;
}

.card-poster .card-icon svg {
    color: #e76f68;
}

.card-photo .card-icon svg {
    color: #8c71e8;
}

.card-restore .card-icon svg {
    color: #35a96f;
}

.card-illustration .card-icon svg {
    color: #3d93d7;
}

.card-drama .card-icon svg {
    color: #d8872d;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ink);
}

.card-desc {
    font-size: 15px;
    color: rgba(49, 80, 57, 0.68);
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(79, 159, 95, 0.22);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 159, 95, 0.32);
}

.pricing-preview,
.workflow-section,
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 76px;
    position: relative;
    z-index: 2;
}

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

.pricing-card {
    min-height: 190px;
    padding: 28px;
    border-radius: 14px;
    background: rgba(251, 255, 247, 0.78);
    border: 1px solid rgba(101, 201, 79, 0.24);
    box-shadow: 0 18px 50px rgba(90, 138, 77, 0.14);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(248, 255, 251, 0.92), rgba(201, 245, 212, 0.62));
    border-color: rgba(79, 159, 95, 0.36);
}

.pricing-kicker {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: #3f8f54;
    background: rgba(101, 201, 79, 0.14);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-card h3,
.workflow-step h3 {
    color: var(--ink);
    font-size: 24px;
    margin-bottom: 12px;
}

.pricing-card p,
.workflow-step p,
.faq-item p {
    color: rgba(49, 80, 57, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.faq-item {
    padding: 24px;
    border-radius: 14px;
    background: rgba(251, 255, 247, 0.72);
    border: 1px solid rgba(101, 201, 79, 0.2);
    box-shadow: 0 14px 38px rgba(90, 138, 77, 0.12);
}

.faq-item h3 {
    color: var(--ink);
    font-size: 20px;
    margin-bottom: 10px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    padding: 34px 0 8px;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 58px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(79, 159, 95, 0.18), rgba(79, 159, 95, 0.68), rgba(79, 159, 95, 0.18));
}

.workflow-step {
    position: relative;
    padding: 72px 18px 0;
    text-align: center;
}

.workflow-step span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--ink);
    background: #fbfff7;
    border: 2px solid rgba(79, 159, 95, 0.34);
    box-shadow: 0 12px 28px rgba(90, 138, 77, 0.14);
    font-weight: 800;
    z-index: 2;
}

.workflow-dot {
    position: absolute;
    top: 53px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #4f9f5f;
    border: 3px solid #fbfff7;
    box-shadow: 0 0 0 5px rgba(79, 159, 95, 0.12);
    z-index: 2;
}

.workflow-step h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.workflow-step p {
    max-width: 230px;
    margin: 0 auto;
}

.gallery-grid {
    column-count: 4;
    column-gap: 16px;
    max-width: 1400px;
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 250, 240, 0.78);
    box-shadow: 0 18px 50px rgba(90, 138, 77, 0.18);
    margin-bottom: 16px;
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(49, 80, 57, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.gallery-tag {
    display: inline-block;
    background: var(--gradient);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    color: white;
}

.gallery-more {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(79, 159, 95, 0.22);
    position: relative;
    z-index: 2;
}

.gallery-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(79, 159, 95, 0.32);
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background:
        radial-gradient(circle at 50% 0%, rgba(251, 255, 247, 0.86), transparent 42%),
        linear-gradient(135deg, rgba(101, 201, 79, 0.32), rgba(201, 245, 212, 0.46));
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

.cta-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(101, 201, 79, 0.3) 0%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(188, 239, 207, 0.46) 0%, transparent 70%);
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 4s ease-in-out infinite 2s;
}

.cta-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--ink);
}

.cta-subtitle {
    color: rgba(49, 80, 57, 0.68);
    font-size: 17px;
    margin: -14px 0 28px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 18px 50px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 34px rgba(79, 159, 95, 0.26);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 42px rgba(79, 159, 95, 0.36);
}

.footer {
    background: rgba(49, 80, 57, 0.82);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255, 250, 240, 0.24);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
}

/* 图片详情模态框 */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(49, 80, 57, 0.28);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    width: auto;
    max-width: calc(98% - 72px);
    max-height: 90vh;
    animation: modalZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-modal-close {
    position: absolute;
    top: 18px;
    right: -56px;
    background: rgba(255, 253, 247, 0.94);
    border: 1px solid rgba(49, 80, 57, 0.12);
    color: var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-modal-close:hover {
    background: rgba(251, 255, 247, 1);
    border-color: var(--grass);
    transform: rotate(90deg);
}

.image-modal-body {
    display: flex;
    gap: 36px;
    background: linear-gradient(135deg, rgba(255, 253, 247, 0.98) 0%, rgba(251, 255, 247, 0.96) 100%);
    border: 1px solid rgba(49, 80, 57, 0.12);
    border-radius: 22px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(255, 253, 247, 0.46),
        0 20px 80px rgba(49, 80, 57, 0.16);
    width: 100%;
    height: 100%;
}

.image-modal-preview {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 250, 240, 0.8);
    box-shadow: 
        0 0 30px rgba(127, 201, 95, 0.22),
        0 10px 40px rgba(49, 80, 57, 0.12);
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease, height 0.3s ease;
}

.image-modal-preview img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-modal-info {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.image-modal-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 196, 109, 0.08) 50%, transparent 100%);
    animation: scanLine 3s linear infinite;
    pointer-events: none;
}

.tech-corner {
    display: none;
}

.info-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(127, 201, 95, 0.22);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.15);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(49, 80, 57, 0.68);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-label svg {
    width: 16px;
    height: 16px;
    color: var(--leaf);
}

.info-value {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
    word-break: break-word;
}

.info-value.highlight {
    color: var(--pink);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copy-prompt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(79, 159, 95, 0.24);
    margin-top: auto;
}

.copy-prompt-btn svg {
    width: 18px;
    height: 18px;
}

.copy-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(79, 159, 95, 0.34);
}

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

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes cornerPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(255, 107, 157, 0.5);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 15px rgba(255, 107, 157, 0.8);
    }
}

@media (max-width: 768px) {
    .image-modal-body {
        flex-direction: column;
        padding: 20px;
    }
    
    .image-modal-content {
        width: 95%;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .image-modal-close {
        top: -45px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(49, 80, 57, 0.28);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(251, 255, 247, 0.98) 0%, rgba(232, 248, 221, 0.94) 100%);
    border: 1px solid rgba(127, 201, 95, 0.28);
    border-radius: 22px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: modalZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 0 60px rgba(188, 239, 207, 0.44),
        0 20px 80px rgba(49, 80, 57, 0.16);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(127, 201, 95, 0.36);
    color: var(--ink);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(188, 239, 207, 0.45);
    border-color: var(--grass);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--ink);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    color: rgba(49, 80, 57, 0.68);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.input-group textarea,
.input-group select {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(127, 201, 95, 0.22);
    border-radius: 12px;
    padding: 15px;
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(79, 159, 95, 0.16);
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: rgb(255, 255, 255);
}

.params-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.generate-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(79, 159, 95, 0.22);
    margin-top: 10px;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 159, 95, 0.32);
}

.generate-btn:disabled {
    cursor: not-allowed;
}

.generation-result {
    display: none;
    border: 1px solid rgba(127, 201, 95, 0.22);
    border-radius: 14px;
    background: rgba(251, 255, 247, 0.72);
    padding: 14px;
}

.generation-result.active {
    display: block;
}

.generation-result img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 10px;
    background: #fbfff7;
}

.generation-result p {
    margin-top: 10px;
    color: rgba(49, 80, 57, 0.68);
    font-size: 13px;
    line-height: 1.6;
}

.generation-loading,
.generation-error {
    color: var(--ink);
    font-size: 14px;
    text-align: center;
    padding: 24px 10px;
}

.generation-error {
    color: #b84f3f;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-50%) scale(1.15);
        opacity: 0.7;
    }
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        column-count: 3;
    }

    .pricing-grid,
    .workflow-steps,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .studio-shell {
        grid-template-columns: 1fr;
    }

    .studio-main {
        grid-template-rows: auto auto 1fr;
    }

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

    .studio-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        column-count: 2;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .params-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        column-count: 1;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }

    .studio-auth-card {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .auth-illustration-side {
        padding: 20px 16px 12px;
    }

    .auth-illustration-side img {
        width: 120px;
        max-height: 140px;
    }

    .auth-illustration-text {
        margin-top: 8px;
    }

    .auth-illustration-text h3 {
        font-size: 15px;
    }

    .auth-illustration-text p {
        font-size: 12px;
    }

    .auth-form-side {
        padding: 20px 20px 24px;
    }
}
