.hero {
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a0a0a;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    padding: 0.3rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-stack-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 1;
}

.hero-stack-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-stack-item {
    position: absolute;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    pointer-events: none;
    transform-origin: center center;
}

.hero-stack-item[data-pos="0"] { 
    transform: rotate(-22deg) translateX(-340px) translateY(-40px); 
    z-index: 1;
}
.hero-stack-item[data-pos="1"] { 
    transform: rotate(-11deg) translateX(-170px) translateY(-20px); 
    z-index: 2;
}
.hero-stack-item[data-pos="2"] { 
    transform: rotate(0deg) translateX(0px) translateY(0px); 
    z-index: 3;
}
.hero-stack-item[data-pos="3"] { 
    transform: rotate(11deg) translateX(170px) translateY(-20px); 
    z-index: 2;
}
.hero-stack-item[data-pos="4"] { 
    transform: rotate(22deg) translateX(340px) translateY(-40px); 
    z-index: 1;
}

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

.hero-grid {
    position: relative;
    z-index: 2;
}

.scrolling-strip {
    padding: 2rem 0;
    background: var(--background-dark);
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.strip-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
}

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

.strip-item {
    flex: 0 0 180px;
    height: 120px;
    border-radius: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

.gallery-showcase {
    padding: 5rem 0;
    background: var(--background-dark);
}

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

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 3/2;
    border: 1px solid var(--border-light);
    background: var(--background);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.gallery-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-download-btn {
    background: rgba(0, 184, 148, 0.9);
    color: white;
    border: none;
    padding: 0.2rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    cursor: pointer;
    font-weight: 600;
}

.gallery-download-btn:hover {
    background: #00b894;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

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

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 1rem;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -2.5rem;
    right: -0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.modal-close:hover {
    color: #94a3b8;
}

.image-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.features {
    padding: 5rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: rgba(108, 92, 231, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-section {
    padding: 5rem 0;
    background: var(--background-dark);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
}

.image-stack-section {
    padding: 5rem 0;
    background: var(--background-dark);
}

.image-stack-grid {
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 2rem auto;
}

.stack-collection {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.stack-container {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-item {
    position: absolute;
    width: 200px;
    height: 270px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    transform-origin: bottom center;
}

.stack-item:nth-child(1) { transform: rotate(-30deg) translateX(-160px) translateY(30px); z-index: 5; }
.stack-item:nth-child(2) { transform: rotate(-15deg) translateX(-80px) translateY(15px); z-index: 4; }
.stack-item:nth-child(3) { transform: rotate(0deg) translateX(0px) translateY(0px); z-index: 3; }
.stack-item:nth-child(4) { transform: rotate(15deg) translateX(80px) translateY(15px); z-index: 2; }
.stack-item:nth-child(5) { transform: rotate(30deg) translateX(160px) translateY(30px); z-index: 1; }

.main-stack-item {
    width: 200px;
    height: 270px;
}

.stack-item:hover {
    box-shadow: 0 25px 50px -10px rgba(108, 92, 231, 0.2);
    z-index: 50 !important;
}

.main-stack-item:hover {
    transform: rotate(0deg) scale(1.05) translateX(0px) translateY(0px) !important;
}

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

.collection-info {
    text-align: center;
    margin-top: 1.5rem;
}

.collection-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

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

@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-stats { gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stack-item {
        width: 320px;
        height: 400px;
    }
    .hero-stack-item[data-pos="0"] { transform: rotate(-20deg) translateX(-240px) translateY(-30px); }
    .hero-stack-item[data-pos="1"] { transform: rotate(-10deg) translateX(-120px) translateY(-15px); }
    .hero-stack-item[data-pos="2"] { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .hero-stack-item[data-pos="3"] { transform: rotate(10deg) translateX(120px) translateY(-15px); }
    .hero-stack-item[data-pos="4"] { transform: rotate(20deg) translateX(240px) translateY(-30px); }
    .image-stack-grid { max-width: 550px; }
    .stack-item { width: 170px; height: 230px; }
    .stack-item:nth-child(1) { transform: rotate(-26deg) translateX(-130px) translateY(25px); }
    .stack-item:nth-child(2) { transform: rotate(-13deg) translateX(-65px) translateY(12px); }
    .stack-item:nth-child(3) { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .stack-item:nth-child(4) { transform: rotate(13deg) translateX(65px) translateY(12px); }
    .stack-item:nth-child(5) { transform: rotate(26deg) translateX(130px) translateY(25px); }
}

@media (max-width: 768px) {
    .hero-stack-item {
        width: 250px;
        height: 320px;
    }
    .hero-stack-item[data-pos="0"] { transform: rotate(-18deg) translateX(-180px) translateY(-22px); }
    .hero-stack-item[data-pos="1"] { transform: rotate(-9deg) translateX(-90px) translateY(-11px); }
    .hero-stack-item[data-pos="2"] { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .hero-stack-item[data-pos="3"] { transform: rotate(9deg) translateX(90px) translateY(-11px); }
    .hero-stack-item[data-pos="4"] { transform: rotate(18deg) translateX(180px) translateY(-22px); }
    .strip-item { flex: 0 0 140px; height: 90px; }
}

@media (max-width: 600px) {
    .hero { padding: 2rem 0 4rem; min-height: 80vh; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-title { font-size: 1.8rem; }
    .cta-content h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .strip-item { flex: 0 0 100px; height: 70px; }
    .image-modal-content { max-width: 100%; max-height: 100%; }
    .modal-close { top: 0.5rem; right: 0.5rem; font-size: 2rem; }
    .hero-stack-wrapper { opacity: 1; }
    .hero-stack-item {
        width: 160px !important;
        height: 210px !important;
    }
    .hero-stack-item[data-pos="0"] { transform: rotate(-16deg) translateX(-100px) translateY(-12px); }
    .hero-stack-item[data-pos="1"] { transform: rotate(-8deg) translateX(-50px) translateY(-6px); }
    .hero-stack-item[data-pos="2"] { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .hero-stack-item[data-pos="3"] { transform: rotate(8deg) translateX(50px) translateY(-6px); }
    .hero-stack-item[data-pos="4"] { transform: rotate(16deg) translateX(100px) translateY(-12px); }
    .image-stack-grid { max-width: 380px; }
    .stack-container { height: 320px; }
    .stack-item { width: 120px !important; height: 170px !important; }
    .stack-item:nth-child(1) { transform: rotate(-22deg) translateX(-80px) translateY(18px); }
    .stack-item:nth-child(2) { transform: rotate(-11deg) translateX(-40px) translateY(9px); }
    .stack-item:nth-child(3) { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .stack-item:nth-child(4) { transform: rotate(11deg) translateX(40px) translateY(9px); }
    .stack-item:nth-child(5) { transform: rotate(22deg) translateX(80px) translateY(18px); }
}

@media (max-width: 400px) {
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-number { font-size: 1.4rem; }
    .hero-stack-item {
        width: 120px !important;
        height: 160px !important;
    }
    .hero-stack-item[data-pos="0"] { transform: rotate(-14deg) translateX(-70px) translateY(-8px); }
    .hero-stack-item[data-pos="1"] { transform: rotate(-7deg) translateX(-35px) translateY(-4px); }
    .hero-stack-item[data-pos="2"] { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .hero-stack-item[data-pos="3"] { transform: rotate(7deg) translateX(35px) translateY(-4px); }
    .hero-stack-item[data-pos="4"] { transform: rotate(14deg) translateX(70px) translateY(-8px); }
    .stack-item { width: 90px !important; height: 130px !important; }
    .stack-item:nth-child(1) { transform: rotate(-18deg) translateX(-55px) translateY(12px); }
    .stack-item:nth-child(2) { transform: rotate(-9deg) translateX(-28px) translateY(6px); }
    .stack-item:nth-child(3) { transform: rotate(0deg) translateX(0px) translateY(0px); }
    .stack-item:nth-child(4) { transform: rotate(9deg) translateX(28px) translateY(6px); }
    .stack-item:nth-child(5) { transform: rotate(18deg) translateX(55px) translateY(12px); }
}
/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}