

:root {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 56%, #333333 100%);
    --accent-color: #333333;
    --accent-color-2: #666666;
    --text-dark: #000000;
    --text-muted: #555555;
    --bg-light: #f0f0f0;
    --surface: #ffffff;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #f7f9fc;
}

/* Hero Section */
.creator {
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

}

.creator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Hero Images Superposition */
.hero-images {
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.floating-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: 1;
}

.floating-image-main {
    width: 85%;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-5deg);
    z-index: 3;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: float-main 6s ease-in-out infinite;
}

.floating-image-1 {
    width: 250px;
    height: 200px;
    top: 10%;
    left: -5%;
    transform: rotate(-8deg);
    z-index: 4;
    animation: float-1 8s ease-in-out infinite;
}

.floating-image-2 {
    width: 220px;
    height: 180px;
    top: 5%;
    right: -3%;
    transform: rotate(6deg);
    z-index: 2;
    animation: float-2 7s ease-in-out infinite;
}

.floating-image-3 {
    width: 200px;
    height: 160px;
    bottom: 8%;
    left: 5%;
    transform: rotate(4deg);
    z-index: 1;
    animation: float-3 9s ease-in-out infinite;
}

.floating-image-4 {
    width: 180px;
    height: 150px;
    bottom: 12%;
    right: 8%;
    transform: rotate(-5deg);
    z-index: 4;
    animation: float-4 8.5s ease-in-out infinite;
}

.floating-image-5 {
    width: 240px;
    height: 190px;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    z-index: 2;
    animation: float-5 7.5s ease-in-out infinite;
}

/* Image active au premier plan */
.floating-image.active {
    z-index: 100 !important;
    box-shadow: 0 40px 100px rgba(102, 126, 234, 0.5);
    transform: scale(1.05) !important;
    cursor: pointer;
}

.floating-image {
    cursor: pointer;
}

.hero-images:hover .floating-image-main {
    transform: translate(-50%, -50%) rotateY(0deg) scale(1.02);
}

.hero-images:hover .floating-image-1 {
    transform: rotate(-12deg) translateY(-10px);
}

.hero-images:hover .floating-image-2 {
    transform: rotate(10deg) translateY(-10px);
}

.hero-images:hover .floating-image-3 {
    transform: rotate(8deg) translateY(-8px);
}

.hero-images:hover .floating-image-4 {
    transform: rotate(-8deg) translateY(-8px);
}

.hero-images:hover .floating-image-5 {
    transform: translateX(-50%) rotate(-6deg) translateY(-12px);
}

/* Cinematic enhancement for creator hero (content unchanged) */
.creator.creator-cinematic {
    padding: 76px 0;
}

.creator.creator-cinematic .container {
    position: relative;
    z-index: 2;
}

.creator-cinematic-shell {
    background: linear-gradient(135deg, rgba(7, 16, 30, 0.72) 0%, rgba(9, 22, 40, 0.58) 100%);
    border: 1px solid rgba(173, 214, 255, 0.22);
    border-radius: 30px;
    padding: 34px 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.creator.creator-cinematic .hero-content {
    padding-right: 1rem;
}

.creator.creator-cinematic .hero-images {
    height: 640px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.creator.creator-cinematic .hero-image-stack::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('image/Charte Graphique - Charte Graphique .png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) blur(2px);
    transform: scale(1.06);
}

.creator.creator-cinematic .hero-image-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(5, 12, 25, 0.18) 0%, rgba(5, 12, 25, 0.68) 62%, rgba(5, 12, 25, 0.82) 100%);
    pointer-events: none;
}

.creator.creator-cinematic .floating-image {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.34);
    z-index: 3;
}

.creator.creator-cinematic .floating-image-main {
    width: 72%;
    height: 470px;
    top: 52%;
    left: 39%;
    transform: translate(-50%, -50%) rotateY(-4deg);
    z-index: 4;
}

.creator.creator-cinematic .floating-image-1,
.creator.creator-cinematic .floating-image-2,
.creator.creator-cinematic .floating-image-3,
.creator.creator-cinematic .floating-image-4,
.creator.creator-cinematic .floating-image-5 {
    left: auto;
    width: 170px;
    height: 94px;
    right: 12px;
    transform: none;
    border-radius: 12px;
    animation: none;
    z-index: 5;
}

.creator.creator-cinematic .floating-image-1 { top: 12%; }
.creator.creator-cinematic .floating-image-2 { top: 28%; }
.creator.creator-cinematic .floating-image-3 { top: 44%; }
.creator.creator-cinematic .floating-image-4 { top: 60%; }
.creator.creator-cinematic .floating-image-5 { top: 76%; }

.creator.creator-cinematic .hero-images:hover .floating-image-main {
    transform: translate(-50%, -50%) rotateY(0deg) scale(1.015);
}

.creator.creator-cinematic .hero-images:hover .floating-image-1,
.creator.creator-cinematic .hero-images:hover .floating-image-2,
.creator.creator-cinematic .hero-images:hover .floating-image-3,
.creator.creator-cinematic .hero-images:hover .floating-image-4,
.creator.creator-cinematic .hero-images:hover .floating-image-5 {
    transform: translateX(-8px);
}

@media (max-width: 1399px) {
    .creator.creator-cinematic .floating-image-1,
    .creator.creator-cinematic .floating-image-2,
    .creator.creator-cinematic .floating-image-3,
    .creator.creator-cinematic .floating-image-4,
    .creator.creator-cinematic .floating-image-5 {
        width: 150px;
        height: 86px;
        right: 10px;
    }
}

@keyframes float-main {
    0%, 100% { transform: translate(-50%, -50%) rotateY(-5deg) translateY(0px); }
    50% { transform: translate(-50%, -50%) rotateY(-5deg) translateY(-20px); }
}

@keyframes float-1 {
    0%, 100% { transform: rotate(-8deg) translateY(0px); }
    50% { transform: rotate(-8deg) translateY(-15px); }
}

@keyframes float-2 {
    0%, 100% { transform: rotate(6deg) translateY(0px); }
    50% { transform: rotate(6deg) translateY(-18px); }
}

@keyframes float-3 {
    0%, 100% { transform: rotate(4deg) translateY(0px); }
    50% { transform: rotate(4deg) translateY(-12px); }
}

@keyframes float-4 {
    0%, 100% { transform: rotate(-5deg) translateY(0px); }
    50% { transform: rotate(-5deg) translateY(-14px); }
}

@keyframes float-5 {
    0%, 100% { transform: translateX(-50%) rotate(-3deg) translateY(0px); }
    50% { transform: translateX(-50%) rotate(-3deg) translateY(-16px); }
}

/* Glassmorphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.34);
    box-shadow: 0 10px 26px rgba(7, 19, 35, 0.22);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.01em;
}

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

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(0,0,0,0.24);
    color: var(--accent-color);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Tools Grid */
.tools-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.tool-card-advanced {
    background: var(--surface);
    border-radius: 26px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 14px 42px rgba(14, 34, 57, 0.09);
    border: 1px solid #e3eaf1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Tool Card Image Preview */
.tool-preview {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf5 100%);
}

.tool-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tool-card-advanced:hover .tool-preview img {
    transform: scale(1.05);
}

.tool-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.03) 100%);
}

.tool-card-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card-advanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 62px rgba(14, 34, 57, 0.16);
}

.tool-card-advanced:hover::before {
    opacity: 1;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.tool-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
}

.badge-status {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-free {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    color: white;
}

.badge-trial {
    background: linear-gradient(135deg, #555555 0%, #777777 100%);
    color: white;
}

.tool-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.tool-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.tool-features li {
    padding: 10px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.tool-features i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.btn-tool {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-tool-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 32, 56, 0.28);
    color: white;
}

/* Color schemes for each tool */
.tool-organigramme { --card-gradient: linear-gradient(135deg, #333333 0%, #555555 100%); }
.tool-organigramme .tool-icon-large { background: linear-gradient(135deg, #333333 0%, #555555 100%); }

.tool-flowchart { --card-gradient: linear-gradient(135deg, #444444 0%, #666666 100%); }
.tool-flowchart .tool-icon-large { background: linear-gradient(135deg, #444444 0%, #666666 100%); }

.tool-mindmap { --card-gradient: linear-gradient(135deg, #555555 0%, #777777 100%); }
.tool-mindmap .tool-icon-large { background: linear-gradient(135deg, #555555 0%, #777777 100%); }

.tool-uml { --card-gradient: linear-gradient(135deg, #333333 0%, #555555 100%); }
.tool-uml .tool-icon-large { background: linear-gradient(135deg, #333333 0%, #555555 100%); }

.tool-charte { --card-gradient: linear-gradient(135deg, #444444 0%, #666666 100%); }
.tool-charte .tool-icon-large { background: linear-gradient(135deg, #444444 0%, #666666 100%); }

.tool-website-builder { --card-gradient: linear-gradient(135deg, #333333 0%, #555555 100%); }
.tool-website-builder .tool-icon-large { background: linear-gradient(135deg, #333333 0%, #555555 100%); }

/* Website Builder Promo Section */
.website-builder-promo {
    padding: 100px 0;
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;

}

.website-builder-promo::before {
    content: '';
    position: absolute;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.website-builder-promo::after {
    content: '';
    position: absolute;


    height: 400px;

    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-badge i {
    color: #ffd700;
    margin-right: 8px;
}

.promo-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.promo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-text {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.promo-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.btn-promo {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-promo-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-promo-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-promo-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.promo-preview {
    position: relative;
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.promo-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 2rem;
    }
    .promo-subtitle {
        font-size: 1.1rem;
    }
    .promo-benefits {
        grid-template-columns: 1fr;
    }
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #f3f6fa 0%, #eef2f7 100%);
}

.workflow-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 31, 52, 0.08);
    border: 1px solid #e4ebf4;
    position: relative;
}

.workflow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

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

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

.workflow-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 54%, #2d2d2d 100%);
    color: white;
    position: relative;
    overflow: hidden;

}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;

    background: rgba(255,255,255,0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent-color);
    height: 100%;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f8fb 0%, #edf2f7 100%);
}

.faq-container {
    width: 100%;
    max-width: none;
    padding-left: clamp(16px, 4vw, 64px);
    padding-right: clamp(16px, 4vw, 64px);
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(10, 31, 52, 0.07);
    border: 1px solid #e3eaf1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 14px 32px rgba(10, 31, 52, 0.12);
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: #ffffff;
    border: none;
    box-shadow: none;
}

.faq-question:not(.collapsed) {
    color: var(--text-dark);
    background: #ffffff;
    box-shadow: none;
}

.faq-question:focus {
    box-shadow: none;
    border: none;
}

.faq-question::after {
    margin-left: auto;
}

.faq-question i {
    color: var(--accent-color);
    margin-right: 0;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 24px 24px;
}

.faq-collapse {
    border-top: 1px solid #edf2f7;
}

/* DNS Help Section */
.dns-help-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #282a2d 0%, #141618 50%, #121213 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#word {
    position: absolute;
    right: clamp(12px, 3vw, 40px);
    top: 50%;
    width: clamp(140px, 20vw, 260px);
    height: clamp(140px, 20vw, 260px);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.38;
    filter: grayscale(1) contrast(1.15);
}

#word canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: none !important;
}

.dns-help-section::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 211, 255, 0.28) 0%, rgba(126, 211, 255, 0) 72%);
    pointer-events: none;
}

.dns-help-box {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(126, 211, 255, 0.35);
    border-radius: 24px;
    padding: 38px;
    background: rgba(8, 9, 9, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 46px rgba(2, 11, 24, 0.45);
}

.dns-help-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(126, 211, 255, 0.16);
    border: 1px solid rgba(126, 211, 255, 0.4);
    color: #d7eeff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dns-help-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.2;
}

.dns-help-text {
    font-size: 1.05rem;
    color: rgba(231, 242, 255, 0.9);
    margin-bottom: 22px;
    line-height: 1.75;
    max-width: 760px;
}

.dns-help-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: grid;
    gap: 8px;
}

.dns-help-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(231, 242, 255, 0.96);
}

.dns-help-list i {
    color: #7ed3ff;
    margin-top: 3px;
}

.btn-dns-help {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: #0f2842;
    background: linear-gradient(135deg, #f7fbff 0%, #dceeff 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dns-help:hover {
    color: #0f2842;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(5, 19, 37, 0.28);
}

@media (max-width: 768px) {
    .hero-badge{
        margin-top: 100px !important;
    }
    .tool-preview{
        padding: 15px;
    }

    #word {
        width: 120px;
        height: 120px;
        right: 8px;
        opacity: 0.28;
    }

    .dns-help-box {
        padding: 26px;
        border-radius: 18px;
    }

    .dns-help-text {
        font-size: 1rem;
    }


    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* Ultra premium refinement */
:root {
    --premium-ink: #000000;
    --premium-muted: #555555;
    --premium-surface: #ffffff;
    --premium-border: #e0e0e0;
    --premium-gradient-hero: linear-gradient(140deg, #000000 0%, #1a1a1a 56%, #333333 100%);
}

body {
    background: radial-gradient(circle at 10% 0%, #fafafa 0%, #f5f5f5 35%, #f0f0f0 100%);
    color: var(--premium-ink);
}

.hero-creator {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 56%, #2d2d2d 100%);
    min-height: 94vh;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 30px 70px rgba(10, 28, 47, 0.22);
}

.creator::after {
    content: '';
    position: absolute;
    right: -140px;
    top: -160px;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 73%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.1;
    text-wrap: balance;
    margin-bottom: 1.2rem;
    text-shadow: 0 10px 25px rgba(8, 23, 39, 0.16);
}

.hero-subtitle {
    max-width: 650px;
    color: rgba(240, 246, 252, 0.96);
    line-height: 1.75;
    font-size: clamp(1.03rem, 1.8vw, 1.24rem);
}

.hero-badge {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.79rem;
    padding: 11px 20px;
    border-color: rgba(255, 255, 255, 0.42);
}

.btn-hero {
    border-radius: 14px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
}

.btn-hero-primary {
    background: #ffffff;
    color: #18486f;
    box-shadow: 0 16px 36px rgba(8, 28, 47, 0.24);
}

.btn-hero-primary:hover {
    color: #123b5d;
    background: #f4f9ff;
}

.btn-hero-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.btn-hero-outline:hover {
    border-color: #fff;
}

.hero-stats {
    margin-top: 2.2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    min-width: 155px;
    padding: 14px 18px;
    backdrop-filter: blur(8px);
}

.hero-stats .stat-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
}

.website-builder-promo {


    box-shadow: 0 24px 62px rgba(9, 28, 47, 0.2);
}

.tools-section {
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    padding-top: 110px;
}

.tool-card-advanced {
    border-radius: 24px;
    border: 1px solid var(--premium-border);
    box-shadow: 0 16px 42px rgba(10, 31, 52, 0.11);
}

.tool-card-advanced:hover {
    box-shadow: 0 24px 62px rgba(10, 31, 52, 0.17);
}

.tool-title,
.promo-title,
.section-title,
.cta-title {
    letter-spacing: 0.01em;
}

.tool-description,
.section-subtitle,
.faq-answer,
.cta-text {
    color: var(--premium-muted);
}

.faq-item {
    border-radius: 18px;
    border: 1px solid var(--premium-border);
    box-shadow: 0 12px 30px rgba(10, 31, 52, 0.08);
}

.cta-section {

    box-shadow: 0 -8px 30px rgba(8, 24, 40, 0.08);
}

@media (max-width: 992px) {
    .website-builder-promo {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-creator {
        min-height: auto;
        padding: 52px 0 48px;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats .stat-item {
        width: 100%;
    }

    .tools-section,
    .how-it-works {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

/* ========================================
    TEMPLATES CAROUSEL SECTION
    ======================================== */
.templates-carousel-section {
    --slide-width: 380px;
    --slide-height: 240px;
    --slide-gap: 30px;
    --set-size: 7;
    --carousel-duration: 52s;
    width: 100%;
    padding: 100px 0;
    background:linear-gradient(135deg, #282a2d 0%, #141618 50%, #121213 100%);
}

.container-carousel {
    max-width: 100%;
    padding: 0 40px;
}

.carousel-title {
    text-align: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 600;
    color: #f5f8fc;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    margin-bottom: 60px;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
    background:transparent;
    border-radius: 20px;
    padding: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.carousel-reverse {
    background: transparent;
}

.carousel-inner {
    display: flex;
    gap: var(--slide-gap);
    width: max-content;
    animation: slide-left var(--carousel-duration) linear infinite;
    padding: 0;
    will-change: transform;
}

.carousel-inner-reverse {
    animation: slide-right var(--carousel-duration) linear infinite;
}

.carousel-slide {
    flex-shrink: 0;
    width: var(--slide-width);
    height: var(--slide-height);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * (var(--slide-width) + var(--slide-gap)) * var(--set-size)));
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(calc(-1 * (var(--slide-width) + var(--slide-gap)) * var(--set-size)));
    }
    100% {
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .templates-carousel-section {
        --slide-width: 300px;
        --slide-height: 200px;
        --slide-gap: 25px;
        --carousel-duration: 48s;
    }

    .carousel-slide {
        width: 300px;
        height: 200px;
    }

    .carousel-inner {
        gap: var(--slide-gap);
    }

    .carousel-inner-reverse {
        animation: slide-right var(--carousel-duration) linear infinite;
    }
}

@media (max-width: 768px) {
    .templates-carousel-section {
        --slide-width: 250px;
        --slide-height: 160px;
        --slide-gap: 20px;
        --carousel-duration: 44s;
    }

    .container-carousel {
        padding: 0 20px;
    }

    .carousel-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        margin-bottom: 40px;
    }

    .carousel-wrapper {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .carousel-slide {
        width: 250px;
        height: 160px;
    }

    .carousel-inner {
        gap: var(--slide-gap);
    }

    .carousel-inner-reverse {
        animation: slide-right var(--carousel-duration) linear infinite;
    }
}

@media (max-width: 480px) {
    .templates-carousel-section {
        --slide-width: 200px;
        --slide-height: 130px;
        --slide-gap: 15px;
        --carousel-duration: 40s;
    }

    .container-carousel {
        padding: 0 15px;
    }

    .templates-carousel-section {
        padding: 60px 0;
    }

    .carousel-title {
        font-size: clamp(1.45rem, 7.5vw, 1.95rem);
        margin-bottom: 30px;
    }

    .carousel-wrapper {
        padding: 15px 0;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .carousel-slide {
        width: 200px;
        height: 130px;
    }

    .carousel-inner {
        gap: var(--slide-gap);
    }

    .carousel-inner-reverse {
        animation: slide-right var(--carousel-duration) linear infinite;
    }
}

/* ==========================================
    SCROLL ANIMATION HERO SECTION
    ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.scroll-hero-section {
    --gutter: 2rem;
}

@media (max-width: 600px) {
    .scroll-hero-section {
    --gutter: 1rem;
    }
}

.scroll-hero-section {
    background: #000;
    color: #fff;
    overflow: clip;
}

.scroll-hero-section .content-wrap {
    background: #000;
    overflow: clip;
}

/* Header */
.scroll-hero-section header {
    min-height: 100vh;
    display: grid;
    align-content: center;
    max-width: calc(100% - (2 * var(--gutter)));
    padding-left: 48px;
    text-align: left;
}

.scroll-hero-section h2 {
    padding-top: 12px;
}

        .scroll-hero-headline {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: clamp(18px, 3vw, 48px);
        }

        .scroll-hero-left {
            display: flex;
            align-items: flex-start;
            gap: clamp(14px, 2.6vw, 34px);
            min-width: 0;
        }

        .scroll-hero-copy {
            min-width: 0;
        }

        .scroll-hero-editor {
            position: relative;
            width: clamp(360px, 42vw, 560px);
            min-height: 220px;
            border: 1px solid rgba(255, 255, 255, 0.38);
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(8px);
            padding: 14px 16px;
            box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
        }

        .scroll-hero-editor-header {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: 'Manrope', sans-serif;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.86);
            margin-bottom: 16px;
        }

        .scroll-hero-editor-header::before {
            content: '';
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #ffffff;
            opacity: 0.9;
        }

        .scroll-hero-typed-wrap {
            min-height: 96px;
        }

        .scroll-hero-typed {
            display: inline;
            margin: 0;
            font-family: 'Manrope', sans-serif;
            font-size: clamp(0.96rem, 1.35vw, 1.1rem);
            line-height: 1.65;
            letter-spacing: 0.02em;
            color: rgba(248, 252, 255, 0.96);
        }

        .scroll-hero-caret {
            display: inline-block;
            width: 2px;
            height: 1.05em;
            background: rgba(255, 255, 255, 0.95);
            margin-left: 2px;
            animation: hero-caret-blink 1s steps(1, end) infinite;
            vertical-align: -0.12em;
        }

        .scroll-hero-handle {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.34);
        }

        .scroll-hero-handle.tl { top: -5px; left: -5px; }
        .scroll-hero-handle.tr { top: -5px; right: -5px; }
        .scroll-hero-handle.bl { bottom: -5px; left: -5px; }
        .scroll-hero-handle.br { bottom: -5px; right: -5px; }

        @keyframes hero-caret-blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

.scroll-hero-section a {
    color: white;
}

.scroll-hero-section .fluid {
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.6;
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
}

.scroll-hero-copy h1.fluid {
    font-size: clamp(5rem, 14vw, 14rem) !important;
}

.scroll-hero-copy h2.fluid {
    font-size: clamp(1rem, 2.8vw, 2rem) !important;
}

.scroll-hero-section h2.fluid {
    font-size: clamp(0.5rem, 2vw, 1.5rem);
    padding-top: 48px;
    font-weight: 400;
}

/* Section setup - Sticky spacer trick */
.scroll-hero-section main section:first-of-type {
    min-height: 240vh; /* Extra height for scroll space */
}

.scroll-hero-section .content {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    place-items: center;
    align-content: center;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.scroll-hero-section main section:last-of-type {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #000;
}

/* Grid Layout - 5 columns x 3 rows */
.scroll-hero-section .grid {
    --offset: 0;
    --container-width: 1600px;
    --gap: clamp(10px, 7.35vw, 80px);

    width: var(--container-width);
    max-width: calc(100% - (2 * var(--gutter)));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: var(--gap);
    margin: 0 auto;
    align-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

@media (max-width: 600px) {
    .scroll-hero-copy h1 {
        font-size: clamp(75px, 21vw, 83px) !important;
    }

    .scroll-hero-copy h2 {
        font-size: clamp(29px, 9vw, 35px) !important;
    }

    .fluid-lg {
        font-size: clamp(2rem, 5vw, 5rem) !important;
    }
  

    .scroll-hero-section .grid {
    grid-template-columns: repeat(3, 1fr);
    --offset: -1;
    }
  
    .scroll-hero-section .grid > .layer:nth-of-type(1) {
    display: none;
    }
}

/* Layers using subgrid */
.scroll-hero-section .grid > .layer {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
}

/* Layer 1: Outer edges - odd on left column, even on right column */
.scroll-hero-section .grid > .layer:nth-of-type(1) div:nth-of-type(odd) {
    grid-column: 1;
}

.scroll-hero-section .grid > .layer:nth-of-type(1) div:nth-of-type(even) {
    grid-column: -2;
}

/* Layer 2: Inner columns */
.scroll-hero-section .grid > .layer:nth-of-type(2) div:nth-of-type(odd) {
    grid-column: calc(2 + var(--offset));
}

.scroll-hero-section .grid > .layer:nth-of-type(2) div:nth-of-type(even) {
    grid-column: calc(-3 - var(--offset));
}

/* Layer 3: Center column top and bottom */
.scroll-hero-section .grid > .layer:nth-of-type(3) div:first-of-type {
    grid-column: calc(3 + var(--offset));
    grid-row: 1;
}

.scroll-hero-section .grid > .layer:nth-of-type(3) div:last-of-type {
    grid-column: calc(3 + var(--offset));
    grid-row: -1;
}

.scroll-hero-section .grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1rem;
}



@media (min-width: 1200px) {
    
    .scroll-hero-section .grid {
        --container-width: 1760px;
        --gap: clamp(8px, 5.2vw, 64px);
    }

    .scroll-hero-section .grid > .layer div {
        overflow: hidden;
        border-radius: 1rem;
    }

    .scroll-hero-section .grid > .layer img {
        transform: scale(1.08);
        transform-origin: center;
    }
}

.scroll-hero-section .grid .scaler {
    position: relative;
    grid-area: 2 / calc(3 + var(--offset));
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: none !important;
    -webkit-touch-callout: none !important;
}

.scroll-hero-section .scaler {
    z-index: 2;
    width: 400px !important;
    height: 400px !important;
    position: relative;
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: none !important;
    touch-action: none !important;
    -webkit-touch-callout: none !important;
    cursor: not-allowed !important;
    overflow: hidden !important;
}

.scroll-hero-section .scaler::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: not-allowed !important;
    z-index: 999;
}

.scroll-hero-section .scaler img {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    object-fit: cover;
    border-radius: 1rem;
    width: 400px !important;
    height: 400px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
    touch-action: none !important;
    -webkit-touch-callout: none !important;
    draggable: false;
    min-width: 400px !important;
    max-width: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    cursor: not-allowed !important;
    resize: none;
    display: block !important;
}

/* ==========================================
    FASHION GALLERY STYLES
    ========================================== */
@import url("https://fonts.cdnfonts.com/css/thegoodmonolith");

@font-face {
    font-family: "PPNeueMontreal";
    src: url("https://assets.codepen.io/7558/PPNeueMontreal-Variable.woff2")
    format("woff2");
    font-weight: 100 900;
    font-style: normal;
}

::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

.preloader-overlay {
    background: #000;
}












.fashion-gallery {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    overflow: hidden;
    z-index: 1;
    opacity: 0.4;
}

/* Gallery Text Overlay */
.gallery-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    /* padding: 3rem; */
    pointer-events: none;
}

.gallery-overlay-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: "Fraunces", serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gallery-overlay-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-family: "Manrope", sans-serif;
}

.viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 1;
}

.canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    will-change: transform;
    isolation: isolate;
}

.grid-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-item {
    position: absolute;
    width: 320px;
    height: 320px;
    background: #000;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
    cursor: pointer;
    will-change: transform, opacity;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.grid-item.out-of-view {
    opacity: 0.1;
}

.grid-item.selected {
    z-index: 2 !important;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* Split Screen Layout */
.split-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.split-screen-container.active {
    opacity: 1;
    pointer-events: all;
}

.split-left {
    position: relative;
    width: 50vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

.split-right {
    position: relative;
    width: 50vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

.zoom-target {
    width: 100%;
    height: 100%;
    position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Image title overlay */
.image-title-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    transform: none;
    color: white;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
}

.image-title-overlay.active {
    opacity: 0;
}

.image-slide-number {
    position: relative;
    width: 400px;
    height: 20px;
    margin-bottom: 0.5em;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.image-slide-number span {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: "TheGoodMonolith", monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.image-slide-title {
    position: relative;
    width: 400px;
    height: 60px;
    margin-bottom: 1em;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.image-slide-title h1 {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: "PPNeueMontreal", sans-serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
}

.image-slide-description {
    position: relative;
    width: 400px;
    min-height: 80px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.description-line {
    position: relative;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-family: "PPNeueMontreal", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    transform: translateY(0px);
    will-change: transform;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Controls Container */
.controls-container {
    position: fixed;
    bottom: 1.25em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 6;
    opacity: 0;
    transition: left 1.2s cubic-bezier(0.87, 0, 0.13, 1);
}

.controls-container.visible {
    opacity: 1;
}

.controls-container.split-mode {
    left: 75%;
}

.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.preloader-overlay canvas {
    width: 150px;
    height: 150px;
}

.percentage-indicator {
    background-color: #f0f0f0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 0);
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.625em 1.25em;
    border-radius: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "TheGoodMonolith", monospace;
    font-size: 0.75em;
    font-weight: 400;
    text-transform: uppercase;
    color: #333;
    min-width: 5em;
    white-space: nowrap;
}

.switch {
    display: flex;
    gap: 1.25em;
    background-color: #222;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.625em 1.25em;
    border-radius: 0.25em;
    transition: padding 0.3s ease-in-out;
}

.sound-toggle {
    background-color: #f0f0f0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 0);
    background-size: 0.44em 0.44em;
    background-position: -0.06em -0.06em;
    padding: 0.5em 0.75em;
    border-radius: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 3.75em;
    position: relative;
    border: none;
    border-color: transparent;
}

.sound-wave-canvas {
    width: 2em;
    height: 1em;
    border: none !important;
    outline: none !important;
    background: none !important;
}

.switch-button {
    background: none;
    border: none;
    border-color: transparent;
    color: #666;
    cursor: pointer;
    font-family: "TheGoodMonolith", monospace;
    font-size: 0.75em;
    font-weight: 400;
    text-transform: uppercase;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.switch-button-current {
    color: #f0f0f0;
}

.indicator-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #f0f0f0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    top: 50%;
    transform: translateY(-50%);
    left: -8px;
}

.switch-button:hover .indicator-dot {
    opacity: 1;
}

/* Close button */
.close-button {
    position: fixed;
    top: 50%;
    right: 20px;
    width: 64px;
    height: 64px;
    background: none;
    border: none;
    border-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transform: translate(40px, -50%);
}

.close-button.active {
    pointer-events: all;
}

.close-button:hover {
    opacity: 0.7;
}

.close-button svg {
    width: 64px;
    height: 64px;
    transform: rotate(180deg);
}

/* Scaling image overlay */
.scaling-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
    opacity: 1 !important;
}

.scaling-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Page vignette effect */
.page-vignette-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.page-vignette-extreme {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 20%,
    transparent 40%
    );
}

@media (max-width: 900px) {
    .scroll-hero-headline {
        flex-direction: column;
        gap: 16px;
        
    }

    .scroll-hero-left {
        gap: 12px;
    }

    .scroll-hero-editor {
        width: min(100%, 460px);
        min-height: 190px;
        top: 100px;
    }

    .image-title-overlay {
        bottom: 20px;
        left: 20px;
    }
    .scaler{
        left: -50px;
    }

    .image-slide-number {
    width: 300px;
    height: 18px;
    }

    .image-slide-title {
    width: 300px;
    height: 50px;
    }

    .image-slide-title h1 {
    font-size: 36px;
    }

    .image-slide-description {
    width: 300px;
    min-height: 70px;
    }
}
