/* ===== Age Verification Modal ===== */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: backdrop-filter 0.6s ease-out, -webkit-backdrop-filter 0.6s ease-out, background 0.6s ease-out;
}

.age-modal.fade-out {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: rgba(10, 10, 15, 0);
}

.age-modal.fade-out .age-modal-content {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, #15151f 0%, #1a1a25 100%);
    border-radius: 24px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(99, 102, 241, 0.1);
    animation: modalAppear 0.5s ease;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

.age-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.age-modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-modal-buttons .btn {
    min-width: 140px;
}

@media (max-width: 480px) {
    .age-modal-content {
        padding: 2rem;
    }

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

    .age-modal-buttons .btn {
        width: 100%;
    }
}

/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #15151f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: opacity 0.5s ease;
}

.hero-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-loader-ring {
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
}

.hero-loader-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5;
}

.hero-loader-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 106.81;
    stroke-dashoffset: 106.81;
    transition: stroke-dashoffset 0.15s ease;
}

.hero-loader-pct {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
}


.hero-logo {
    width: clamp(280px, 50vw, 500px);
    height: auto;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-cta {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: ctaFadeInUp 1s ease 0.4s backwards;
}

.hero-cta .btn {
    width: 150px;
    white-space: nowrap;
}

.hero-hint {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: scrollIndicatorIn 1s ease 0.6s backwards;
}

@keyframes scrollIndicatorIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

.scroll-chevron {
    display: none;
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    animation: bounceDown 1.8s ease-in-out infinite;
}

.scroll-label-mobile {
    display: none;
}

@media (max-width: 768px) {
    .mouse,
    .scroll-label-desktop {
        display: none;
    }

    .scroll-chevron,
    .scroll-label-mobile {
        display: block;
    }
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

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

.btn-full {
    width: 100%;
}

/* ===== Section Styles ===== */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

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

/* ===== Portfolio Section ===== */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-page {
    padding-top: 8rem;
}

.portfolio-back {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-preview-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-preview .portfolio-item:nth-child(n+4) {
    pointer-events: none;
}

.portfolio-preview .portfolio-item:nth-child(n+4):hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.portfolio-preview .portfolio-item:nth-child(n+4):hover .portfolio-thumbnail img,
.portfolio-preview .portfolio-item:nth-child(n+4):hover .portfolio-thumbnail video {
    transform: none;
}

.portfolio-preview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-secondary) 70%);
    pointer-events: none;
}

.portfolio-view-all {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

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

    .portfolio-preview-fade {
        height: 40%;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    display: block;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.portfolio-hidden {
    display: none;
}

.portfolio-reveal {
    animation: portfolioReveal 0.4s ease backwards;
}

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

.portfolio-show-more {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    transition: opacity 0.3s ease;
}

.portfolio-show-more.fade-out {
    opacity: 0;
}

.portfolio-thumbnail {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
    border-radius: 16px;
}

.portfolio-thumbnail img,
.portfolio-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-thumbnail img,
.portfolio-item:hover .portfolio-thumbnail video {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.view-icon,
.play-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-glow);
}

.view-icon svg {
    width: 24px;
    height: 24px;
}

.play-icon {
    font-size: 1.5rem;
    padding-left: 4px;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: lightboxOpen 0.35s ease;
}

.lightbox-loader {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.lightbox-loader.active {
    opacity: 1;
}

.loader-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 3;
}

.loader-fill {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 106.81;
    stroke-dashoffset: 106.81;
    transition: stroke-dashoffset 0.15s ease;
}

.loader-pct {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.lightbox.closing {
    display: flex;
    animation: lightboxClose 0.3s ease forwards;
}

@keyframes lightboxOpen {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

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

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast), opacity 0.3s ease;
}

.lightbox-prev.nav-hidden,
.lightbox-next.nav-hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.lightbox-content {
    max-width: 90vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-content.slide-left {
    opacity: 0;
    transform: translateX(-60px);
}

.lightbox-content.slide-right {
    opacity: 0;
    transform: translateX(60px);
}

.lightbox-content.transitioning {
    opacity: 0;
    transform: scale(0.97);
}

.lightbox-content > img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
}

.lightbox-content img.active {
    display: block;
    animation: contentAppear 0.4s ease;
}

.video-player {
    display: none;
}

.video-player.active {
    display: block;
    position: relative;
    animation: contentAppear 0.4s ease;
}

.video-player video {
    display: block;
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.video-controls {
    display: none;
    position: absolute;
    left: 50%;
    top: calc(100% + 0.75rem);
    transform: translateX(-50%);
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
}

.video-controls.active {
    display: flex;
}

.video-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.video-btn:hover {
    opacity: 1;
}

.video-btn svg {
    width: 20px;
    height: 20px;
}

.video-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.video-progress:hover {
    height: 6px;
}

.video-progress-bar {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-family: monospace;
    white-space: nowrap;
}

#lightbox-image {
    transition: opacity 0.3s ease, transform 0.15s ease;
    position: relative;
    z-index: 2;
    transform-origin: center center;
}

.lightbox.zoomed .lightbox-close,
.lightbox.zoomed .lightbox-prev,
.lightbox.zoomed .lightbox-next,
.lightbox.zoomed .version-switcher {
    opacity: 0;
    pointer-events: none;
}

#lightbox-image.version-fade {
    opacity: 0;
}

#lightbox-image.no-transition {
    transition: none;
}

#lightbox-image-back {
    position: absolute;
    z-index: 1;
    display: block !important;
    animation: none !important;
    opacity: 0;
}

#lightbox-image-back.visible {
    opacity: 1;
}

@keyframes contentAppear {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox.active .lightbox-close {
    animation: controlFadeIn 0.4s ease 0.15s backwards;
}

.lightbox.active .lightbox-prev:not(.nav-hidden) {
    animation: controlSlideRight 0.4s ease 0.2s backwards;
}

.lightbox.active .lightbox-next:not(.nav-hidden) {
    animation: controlSlideLeft 0.4s ease 0.2s backwards;
}

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

@keyframes controlSlideRight {
    from { opacity: 0; transform: translateY(-50%) translateX(-20px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes controlSlideLeft {
    from { opacity: 0; transform: translateY(-50%) translateX(20px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Version Switcher */
.version-switcher {
    display: none;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    gap: 0.5rem;
}

.version-switcher.active {
    display: flex;
    animation: versionFadeIn 0.3s ease 0.25s backwards;
}

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

.version-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.version-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1rem;
    max-width: 600px;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===== Commissions Section ===== */
.commissions {
    background: var(--bg-primary);
}

.pricing-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
}

.character-counter-row {
    display: flex;
    align-items: center;
    position: relative;
}

.character-counter-row .config-price {
    margin-left: auto;
}

.character-counter {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.character-counter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.character-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.character-btn:hover {
    background: var(--accent-gradient);
    color: white;
}

.character-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 1.5rem;
    text-align: center;
}

.hint {
    position: relative;
    margin-left: 0.25rem;
    display: inline-flex;
    vertical-align: middle;
}

.hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: default;
    transition: all var(--transition-normal);
}

.hint-icon:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hint-tooltip {
    display: none;
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    transform: translateY(-50%);
    z-index: 10;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    width: 260px;
    box-shadow: var(--shadow-lg);
}

.hint:hover .hint-tooltip {
    display: block;
}

.pricing-tab {
    flex: 1;
    cursor: pointer;
}

.pricing-tab input {
    display: none;
}

.pricing-tab span {
    display: block;
    text-align: center;
    padding: 0.6rem 1.25rem;
    border-radius: 9px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.pricing-tab input:checked + span {
    background: var(--accent-gradient);
    color: white;
}

/* Configurator Layout */
.configurator {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: flex-start;
}

.config-spacer {
    width: 280px;
    flex-shrink: 0;
}

.config-options {
    width: 480px;
    flex-shrink: 0;
    max-width: 100%;
}

.config-group {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.config-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.config-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.config-option:hover {
    color: var(--accent-primary);
}

.config-option input[type="radio"],
.config-option input[type="checkbox"] {
    display: none;
}

/* Custom radio */
.config-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
    transition: border-color var(--transition-normal);
}

.config-option input[type="radio"]:checked ~ .config-radio {
    border-color: var(--accent-primary);
}

.config-option input[type="radio"]:checked ~ .config-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* Custom checkbox */
.config-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition-normal);
}

.config-option input[type="checkbox"]:checked ~ .config-check {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
}

.config-option input[type="checkbox"]:checked ~ .config-check::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 2px;
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
}

.config-label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.config-option:hover .config-label {
    color: var(--text-primary);
}

.config-option input:checked ~ .config-label {
    color: var(--text-primary);
}

.config-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
}

/* Summary sidebar */
.config-summary {
    position: sticky;
    top: 100px;
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.config-summary h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.summary-line-mult {
    color: var(--accent-primary);
    font-style: italic;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.75rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.summary-total-price {
    font-size: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-revisions {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.summary-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
    width: 100%;
}

@media (max-width: 900px) {
    .configurator {
        flex-direction: column;
        align-items: center;
    }

    .config-spacer {
        display: none;
    }

    .config-summary {
        position: static;
        width: 100%;
        max-width: 480px;
    }
}

.pricing-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2rem;
    letter-spacing: 0.02em;
}

/* ===== About Section ===== */
.tos {
    background: var(--bg-secondary);
}

.tos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tos-general {
    grid-column: 1 / -1;
}

.tos-general ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tos-general li {
    justify-content: center;
}

.tos-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.tos-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.tos-will h3 {
    color: #4ade80;
}

.tos-wont h3 {
    color: #f87171;
}

.tos-card ul {
    list-style: none;
    padding: 0;
}

.tos-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.tos-card li:last-child {
    border-bottom: none;
}

.tos-general li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
}

.tos-will li::before {
    content: '✓';
    color: #4ade80;
    font-weight: bold;
}

.tos-wont li::before {
    content: '✗';
    color: #f87171;
    font-weight: bold;
}

/* ===== Character Models Section ===== */
.models {
    background: var(--bg-primary);
}

.models-grid {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.model-image-placeholder,
.model-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    object-fit: cover;
    display: block;
}

.model-card h3 {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.models-note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.models-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.models-note a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.contact-card svg {
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-card:hover svg {
    color: var(--accent-primary);
}

.contact-card h3 {
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

@keyframes ctaFadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .tos-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .btn {
        width: 100%;
        max-width: 250px;
    }

    section {
        padding: 4rem 0;
    }

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

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

/* ===== 3D Card Tilt Effect ===== */
.pricing-card[data-tilt] {
    transform-style: preserve-3d;
}

.pricing-card[data-tilt]:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* ===== Loading State ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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