/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --background: #0a0a1a;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-solid: #12122a;
    --surface-light: rgba(255, 255, 255, 0.08);
    --surface-hover: rgba(255, 255, 255, 0.12);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.15));
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
}

/* ===== Light Theme ===== */
[data-theme="light"] {
    --background: #f8fafc;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-solid: #ffffff;
    --surface-light: rgba(0, 0, 0, 0.04);
    --surface-hover: rgba(0, 0, 0, 0.06);
    --text: #1e293b;
    --text-muted: #64748b;
    --border: rgba(0, 0, 0, 0.08);
    --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.08));
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.08);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--gradient);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(20px);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 26, 0.95);
    box-shadow: var(--shadow);
}

[data-theme="light"] .header {
    background: rgba(248, 250, 252, 0.85);
}

[data-theme="light"] .header.scrolled {
    background: rgba(248, 250, 252, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    border-radius: 1px;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--surface-hover);
    transform: rotate(15deg);
}

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ===== Burger ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.btn-header {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

[data-theme="light"] .mobile-menu {
    background: rgba(248, 250, 252, 0.95);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

.mobile-menu-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation: glow-float 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 40%;
    left: 50%;
    animation: glow-float 12s ease-in-out infinite 2s;
}

[data-theme="light"] .hero-glow {
    opacity: 0.12;
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

[data-theme="light"] .hero-badge {
    color: var(--primary-dark);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.typed-wrapper {
    display: inline;
}

.typed-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typed-cursor {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 1s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hero Gallery */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.gallery-item-1 { animation: float-card 6s ease-in-out infinite; }
.gallery-item-2 { animation: float-card 6s ease-in-out infinite 1.5s; }
.gallery-item-3 { animation: float-card 6s ease-in-out infinite 3s; }
.gallery-item-4 { animation: float-card 6s ease-in-out infinite 4.5s; }

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 100px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

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

.gallery-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card.hidden {
    display: none;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.gallery-card-image {
    aspect-ratio: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.gallery-card-style {
    padding: 5px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: white;
}

/* ===== Sections ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 56px;
}

/* ===== Styles Section ===== */
.styles {
    background: var(--gradient-soft);
}

.style-catalog-card.hidden {
    display: none;
}

/* ===== How it Works ===== */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
    padding: 40px 30px 30px;
    flex: 1;
}

.step-connector {
    color: var(--text-muted);
    flex-shrink: 0;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step h3 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

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

/* ===== Pricing ===== */
.pricing {
    background: var(--gradient-soft);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-currency {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-note svg {
    flex-shrink: 0;
    color: var(--primary);
}

.pricing-note strong {
    color: var(--text);
}

/* ===== Reviews ===== */
.reviews {
    padding: 100px 0;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 320px;
    max-width: 360px;
    padding: 28px;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.faq-question span {
    font-weight: 600;
    font-size: 0.95rem;
}

.faq-question svg {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    background: var(--gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 800;
    position: relative;
}

.cta p {
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--surface-solid);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-logo img {
    height: 28px;
    width: auto;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

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

    .steps {
        flex-direction: column;
        gap: 16px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

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

    .hero-badge {
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .review-card {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== Bonus Banner ===== */
.bonus-banner {
    padding: 16px 0;
    background: var(--gradient-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bonus-banner__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.bonus-banner__content svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.bonus-banner__content strong,
.bonus-banner__content span[data-bonus] {
    color: var(--primary-light);
    font-weight: 700;
}

/* ===== L1: Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--surface-solid);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    color: white;
}

/* Gallery cards clickable cursor when real images */
.gallery-card {
    cursor: pointer;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ===== Before/After Slider ===== */
.before-after {
    max-width: 640px;
    margin: 0 auto 48px;
}

.before-after__images {
    position: relative;
    aspect-ratio: 3 / 4;
    max-height: 65vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    margin: 0 auto;
}

.before-after__before,
.before-after__after {
    position: absolute;
    inset: 0;
}

.before-after__before img,
.before-after__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-after__before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.before-after__after {
    z-index: 0;
}

.before-after__label {
    position: absolute;
    top: 16px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    z-index: 3;
    pointer-events: none;
}

.before-after__label--before {
    left: 16px;
}

.before-after__label--after {
    right: 16px;
}

.before-after__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    z-index: 4;
    transform: translateX(-50%);
    cursor: ew-resize;
    touch-action: none;
}

.before-after__handle-line {
    position: absolute;
    inset: 0;
    background: white;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.before-after__handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    color: #333;
    transition: transform 0.2s ease;
}

.before-after__handle-circle:hover,
.before-after__handle-circle:active {
    transform: translate(-50%, -50%) scale(1.1);
}

.before-after__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.before-after__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.before-after__arrow:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.before-after__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 140px;
}

.before-after__style-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.before-after__style-price {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
}

/* ===== Category Pills ===== */
.category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 4px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.category-pill:hover {
    color: var(--text);
    border-color: var(--primary);
}

.category-pill.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* ===== Styles Catalog Grid ===== */
.styles-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.style-catalog-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.style-catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.style-catalog-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface-light);
}

.style-catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.style-catalog-card__image .img-before {
    position: relative;
    z-index: 1;
}

.style-catalog-card__image .img-after {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
}

.style-catalog-card:hover .img-before {
    opacity: 0;
}

.style-catalog-card:hover .img-after {
    opacity: 1;
    z-index: 2;
}

.style-catalog-card__info {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.style-catalog-card__name {
    font-weight: 600;
    font-size: 0.9rem;
}

.style-catalog-card__price {
    background: var(--gradient);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    color: white;
}

.style-catalog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    background: var(--gradient-soft);
}

.styles-cta {
    text-align: center;
    margin-top: 8px;
}

/* Responsive: styles catalog */
@media (max-width: 1024px) {
    .styles-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .before-after {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .styles-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-scroll {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 4px 8px;
    }
    .before-after {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .styles-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .before-after__nav {
        gap: 12px;
    }
    .category-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* ===== Txt2img Section ===== */
.txt2img-section {
    padding: 100px 0;
    background: var(--gradient-soft);
}

.txt2img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.txt2img-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.txt2img-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.txt2img-card__image {
    aspect-ratio: 1;
    overflow: hidden;
}

.txt2img-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.txt2img-card:hover .txt2img-card__image img {
    transform: scale(1.05);
}

.txt2img-card__prompt {
    padding: 12px 14px 4px;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.txt2img-card__caption {
    padding: 4px 14px 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .txt2img-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .txt2img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .txt2img-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ===== Skeleton Loading ===== */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-light) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gallery-item.skeleton img,
.gallery-item.skeleton .gallery-label {
    display: none;
}

.gallery-card.skeleton {
    pointer-events: none;
}

.gallery-card.skeleton .gallery-card-image {
    aspect-ratio: 1;
}

.before-after__images.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-light) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.before-after__images.skeleton img {
    display: none;
}

.before-after__images.skeleton .before-after__label {
    display: none;
}
