/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --color-black: #040304;
    --color-dark-gray: #252021;
    --color-medium-gray: #676967;
    --color-light-gray: #C6C3C6;
    --color-beige: #B7AC9D;
    --color-taupe: #74685B;
    --color-brown: #9E6835;
    --color-off-white: #F8F8F8;
    --color-white: #FFFFFF;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAFAFA 50%, #F5F5F5 100%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.loading {
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: auto;
    max-width: 500px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(1) contrast(1);
    display: block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.loader-bar {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: rgba(4, 3, 4, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    animation: loadProgress 2s ease-in-out forwards;
    background: linear-gradient(90deg, #E8836B, #D4A054, #8BA888, #5B9E9E);
    background-size: 400% 100%;
    animation: loadProgress 2s ease-in-out forwards, colorSweep 2s ease-in-out forwards;
}

.loader-credit {
    margin-top: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(4, 3, 4, 0.4);
    letter-spacing: 0.03em;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

img,
video {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 32, 33, 0.1);
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
}

/* Logo Images */
.brand-logo {
    height: 4.5rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-small {
    height: 1.25rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-footer {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.brand-k, .brand-k-small {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 4px;
    text-align: center;
    line-height: 1.5rem;
    font-weight: 700;
}

.brand-k-small {
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1.25rem;
    font-size: 0.875rem;
}

.brand-text, .brand-text-small {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-text-small {
    font-size: 0.875rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-medium-gray);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(4, 3, 4, 0.06);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--color-black);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--color-dark-gray);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.3);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--color-black);
    text-decoration: none;
    border: 1px solid var(--color-black);
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #040304;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-link {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--color-medium-gray);
}

/* Nav CTA Button */
.nav-cta {
    background: #040304 !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #333 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Beta CTA Section */
.beta-cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--color-off-white);
}

.beta-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #040304;
    margin-bottom: 1rem;
}

.beta-cta-section p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .beta-cta-section h2 {
        font-size: 1.75rem;
    }
    
    .beta-cta-section p {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 4rem) 0 var(--spacing-xl);
    background: transparent;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-black);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

/* Text Reveal Animation */
[data-text-reveal] {
    display: inline-block;
    position: relative;
}

[data-text-reveal]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    transform-origin: left;
    animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes textReveal {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.hero-title-line-1[data-text-reveal]::after {
    animation-delay: 0.2s;
}

.hero-title-line-2[data-text-reveal]::after {
    animation-delay: 0.4s;
}

.strikethrough-purple {
    text-decoration: line-through;
    text-decoration-color: #FCD34D;
    color: var(--color-black);
}

.kulayboards-accent {
    color: var(--color-medium-gray);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-medium-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--color-medium-gray);
}

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

/* Material Showcase */
.material-showcase {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 600px;
}

/* Material Showcase Cards */
.showcase-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(4, 3, 4, 0.15);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    background: white;
}

.showcase-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 80px rgba(4, 3, 4, 0.25);
    z-index: 10 !important;
}

/* Card Sizes & Positions */
.showcase-card-large {
    width: 320px;
    height: 360px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.showcase-card-large:hover {
    transform: translate(-50%, -50%) translateY(-8px) scale(1.05);
}

/* Inspiration card styling */
.showcase-card-inspiration {
    border: 3px solid var(--color-black);
    box-shadow: 0 30px 80px rgba(4, 3, 4, 0.3);
}

.showcase-label-inspiration {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
    opacity: 1;
    transform: translateY(0);
}

.showcase-label-inspiration .material-name {
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.showcase-card-medium {
    width: 150px;
    height: 170px;
    z-index: 2;
}

/* Top left */
.showcase-card-medium:nth-of-type(2) {
    top: 10px;
    left: 10px;
}

/* Bottom right */
.showcase-card-medium:nth-of-type(3) {
    bottom: 35px;
    right: 25px;
}

.showcase-card-small {
    width: 130px;
    height: 130px;
    z-index: 1;
}

/* Top right */
.showcase-card-small:nth-of-type(4) {
    top: 15px;
    right: 20px;
}

/* Bottom left */
.showcase-card-small:nth-of-type(5) {
    bottom: 25px;
    left: 15px;
}

/* Right middle */
.showcase-card-small:nth-of-type(6) {
    width: 110px;
    height: 110px;
    top: 40%;
    right: 5px;
    transform: translateY(-50%);
}

/* Material Images */
.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-image {
    transform: scale(1.1);
}

/* Material Labels */
.showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-label {
    opacity: 1;
    transform: translateY(0);
}

.material-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.material-category {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Color Palette */
.color-palette {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(4, 3, 4, 0.1);
    z-index: 5;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.color-dot:hover {
    transform: scale(1.2);
}

/* Entrance Animations */
.showcase-card {
    opacity: 0;
    animation: fadeInScale 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.showcase-card-large {
    animation-delay: 0.2s;
}

.showcase-card-medium:nth-of-type(2) {
    animation-delay: 0.4s;
}

.showcase-card-medium:nth-of-type(3) {
    animation-delay: 0.5s;
}

.showcase-card-small:nth-of-type(4) {
    animation-delay: 0.6s;
}

.showcase-card-small:nth-of-type(5) {
    animation-delay: 0.7s;
}

.color-palette {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 1s;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.showcase-card-large {
    animation-name: fadeInScaleLarge;
}

@keyframes fadeInScaleLarge {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Scroll reveal – elements get .scroll-reveal and .is-visible when in view */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Sections */
[data-scroll-section] {
    position: relative;
}

/* Enhanced scroll animations */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-scroll-reveal].in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
}

/* Features Section */
.features {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

/* Carousel Navigation Buttons */
.carousel-nav {
    display: none;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(4, 3, 4, 0.1);
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(4, 3, 4, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
    left: 10px;
}

.carousel-nav-next {
    right: 10px;
}

.carousel-nav svg {
    display: block;
}

@media (max-width: 1024px) {
    .carousel-nav {
        display: flex;
    }
}

/* Features Carousel */
.features-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}

.features-carousel {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 calc((100vw - 300px) / 2);
}

.features-carousel::-webkit-scrollbar {
    display: none;
}

.features-carousel .feature-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    min-width: 300px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(4, 3, 4, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--color-black);
    width: 24px;
    border-radius: 4px;
}

/* Desktop: Keep grid layout */
@media (min-width: 1024px) {
    .features-carousel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
    }
    
    .features-carousel .feature-card {
        flex: none;
        min-width: auto;
    }
    
    .carousel-dots {
        display: none;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(4, 3, 4, 0.08);
    background: var(--color-white);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 3, 4, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.feature-card-inner {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(4, 3, 4, 0.15);
}

/* Magnetic Effect */
[data-magnetic] {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.feature-card p {
    color: var(--color-medium-gray);
    line-height: 1.7;
}

.feature-card-highlight {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(4, 3, 4, 0.15);
}

.feature-card-highlight:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.2);
}

.video-container {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Mobile Hero Title */
.mobile-hero-title {
    display: none;
    width: 100%;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.mobile-hero-title .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.mobile-hero-title .hero-title-line {
    display: block;
}

/* Mobile Discover Line */
.mobile-discover-line {
    display: none;
    width: 100%;
    text-align: center;
    padding: 0 var(--spacing-md);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.mobile-discover-line p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Mobile Material Showcase */
.mobile-material-showcase {
    display: none;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.video-container-mobile {
    display: none;
    width: 100%;
    margin-top: var(--spacing-md);
}

.mobile-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.mobile-showcase-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-off-white);
}

.mobile-showcase-card {
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mobile-showcase-card:active img {
    transform: scale(1.1);
}

.mobile-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.promo-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.15);
}

/* Materials Section */
.materials {
    background-color: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(10px);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.material-card {
    background-color: var(--color-white);
    border: 1px solid rgba(37, 32, 33, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4, 3, 4, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.material-card:hover::before {
    width: 300px;
    height: 300px;
}

.material-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(4, 3, 4, 0.15);
}

.material-category,
.material-swatch,
.material-name {
    position: relative;
    z-index: 1;
}

.material-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    flex-shrink: 0;
}

.material-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(37, 32, 33, 0.1);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background-color: var(--color-white);
}

.material-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.material-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.material-image.active {
    opacity: 1;
    z-index: 1;
}

.material-image:not(.active) {
    z-index: 0;
}

.paint-color-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.8s ease-in-out, background-color 0.1s linear;
    border-radius: inherit;
    background-color: #A8D5BA;
}

.material-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
}

.catalog-video-block {
    margin-top: var(--spacing-lg);
    width: 100%;
}

.catalog-video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    letter-spacing: 0.02em;
}

.catalog-video-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(4, 3, 4, 0.12);
    border: 1px solid rgba(37, 32, 33, 0.08);
    background: var(--color-black);
}

.catalog-video {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.manufacturer-inquiry {
    margin-top: var(--spacing-lg);
    text-align: center;
    padding: var(--spacing-md);
}

.manufacturer-inquiry p {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.7;
}

.manufacturer-inquiry a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.manufacturer-inquiry a:hover {
    color: var(--color-medium-gray);
    text-decoration: underline;
}

/* How It Works Section */
.how-it-works {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.how-it-works-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works-video {
    flex: 0 0 auto;
    width: 320px;
    max-width: 320px;
}

.how-it-works-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.how-it-works-steps {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
    max-width: 500px;
}

.step-item {
    text-align: left;
}

.step-item .step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(4, 3, 4, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #040304;
}

.step-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.steps {
    display: none;
}

/* Mobile Steps Carousel */
.steps-carousel-wrapper {
    display: none;
}

@media (max-width: 768px) {
    .how-it-works-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .how-it-works-video {
        max-width: 100%;
    }
    
    .how-it-works-steps {
        gap: 2.5rem;
        padding-left: 2rem;
    }
    
    .steps {
        display: none;
    }
    
    .steps-carousel-wrapper {
        display: none;
    }
    
    .steps-carousel {
        display: none;
    }
    
    .steps-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .steps-carousel .step {
        display: none;
    }
    
    .steps-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .steps-carousel-dots .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(4, 3, 4, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .steps-carousel-dots .carousel-dot.active {
        background: var(--color-black);
        width: 24px;
        border-radius: 4px;
    }
}

/* Built for Designers Section */
.built-for-designers {
    background-color: var(--color-white);
}

.built-for-designers .section-header h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xxl);
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(4, 3, 4, 0.1);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: rgba(4, 3, 4, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-xs);
}

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

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .use-case-card {
        padding: var(--spacing-lg);
    }
    
    .use-case-card h3 {
        font-size: 1.125rem;
    }
}

.step {
    text-align: center;
}

.step-visual {
    width: 100%;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.15);
    background: var(--color-off-white);
}

.step-gif {
    width: 100%;
    height: auto;
    display: block;
}

.step-animation {
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 2rem;
}

/* Step 3: Style Pills Animation */
.step-3-animation {
    flex-direction: column;
    gap: 1rem;
}

.style-pill {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    font-weight: 600;
    color: var(--color-medium-gray);
    transition: all 0.4s ease;
    animation: pillFloat 3s ease-in-out infinite;
}

.style-pill:nth-child(1) {
    animation-delay: 0s;
}

.style-pill:nth-child(2) {
    animation-delay: 0.3s;
}

.style-pill:nth-child(3) {
    animation-delay: 0.6s;
}

.style-pill:nth-child(4) {
    animation-delay: 0.9s;
}

.style-pill.active {
    background: var(--color-black);
    color: white;
    border-color: var(--color-black);
    transform: scale(1.1);
}

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

/* Step 4: Material Grid Animation */
.step-4-animation {
    padding: 1.5rem;
}

.material-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 240px;
}

.material-grid-mini img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: materialPop 2s ease-in-out infinite;
}

.material-grid-mini img:nth-child(1) {
    animation-delay: 0s;
}

.material-grid-mini img:nth-child(2) {
    animation-delay: 0.2s;
}

.material-grid-mini img:nth-child(3) {
    animation-delay: 0.4s;
}

.material-grid-mini img:nth-child(4) {
    animation-delay: 0.6s;
}

.material-grid-mini img:nth-child(5) {
    animation-delay: 0.8s;
}

.material-grid-mini img:nth-child(6) {
    animation-delay: 1s;
}

@keyframes materialPop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-light-gray);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.step p {
    color: var(--color-medium-gray);
    line-height: 1.7;
}

/* Featured Makers Section - Main Page */
.featured-makers-main {
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #fff;
}

.fm-main-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 4rem 4rem;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.fm-main-content {
    flex: 1;
}

.fm-main-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.fm-main-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.fm-main-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.fm-main-visual {
    flex: 0 0 auto;
}

.fm-main-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 3rem 4rem;
    text-align: center;
}

.fm-main-card-text {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.fm-main-intro {
    background: #fff;
    color: #040304;
    padding: 4rem 2rem;
}

.fm-main-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
}

.fm-partner-logos {
    background: #fff;
    padding: 3rem 2rem;
}

.fm-logos-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1.5rem;
}

.fm-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.fm-logo-item {
    flex: 0 0 auto;
}

.fm-logo-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.fm-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile Marquee */
.fm-logos-marquee {
    display: none;
    overflow: hidden;
    width: 100%;
}

.fm-logos-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3rem;
    animation: marquee 8s linear infinite;
    width: max-content;
    white-space: nowrap;
}

.fm-logos-marquee-track .fm-logo-item {
    flex: 0 0 auto;
    display: inline-flex;
}

.fm-logos-marquee-track .fm-logo-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
}

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

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

    .fm-logos-marquee {
        display: block;
    }
}

.fm-main-pillars {
    background: #fff;
    padding: 4rem 2rem;
}

.fm-main-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fm-main-pillar {
    text-align: left;
}

.fm-main-pillar-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(4, 3, 4, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.fm-main-pillar h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #040304;
}

.fm-main-pillar p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.fm-main-cta {
    background: #fff;
    padding: 4rem 2rem 6rem;
    text-align: center;
}

.fm-main-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #040304;
}

.fm-main-cta-text {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.fm-main-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #040304;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fm-main-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.2);
}

/* Old Featured Makers Styles (keeping for compatibility) */
.makers-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.makers-intro p {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
    line-height: 1.8;
}

.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.maker-card {
    background-color: var(--color-white);
    border: 1px solid rgba(37, 32, 33, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
    text-align: center;
}

.maker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.1);
    border-color: var(--color-black);
}

.maker-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.maker-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.maker-icon svg {
    width: 100%;
    height: 100%;
}

.maker-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.maker-card p {
    color: var(--color-medium-gray);
    line-height: 1.7;
}

.makers-cta {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-off-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 32, 33, 0.1);
}

.makers-cta p {
    font-size: 1rem;
    color: var(--color-black);
    margin: 0;
}

.makers-cta a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid var(--color-black);
}

.makers-cta a:hover {
    color: var(--color-medium-gray);
    border-bottom-color: var(--color-medium-gray);
}

/* About Section */
.about {
    background-color: rgba(248, 248, 248, 0.6);
    backdrop-filter: blur(10px);
    padding: 4rem 2rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-image {
    flex: 0 0 auto;
    width: 200px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #040304;
}

.about-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about {
        padding: 3rem 2rem;
    }

    .about .container {
        padding: 0;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .about-image {
        width: 140px;
        margin: 0 auto;
    }

    .about-text {
        text-align: left;
    }
}

/* Promo Video Section */
.promo-video-section {
    padding: 2rem 0;
    background-color: rgba(248, 248, 248, 0.6);
}

.promo-video-section .video-container-mobile {
    display: block;
    margin: 0;
}

.promo-video-section .promo-video {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(4, 3, 4, 0.15);
}

/* Contact Section */
.contact {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.contact-content > p {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 24px;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--color-black);
}

.contact-form button {
    white-space: nowrap;
}

.form-note {
    font-size: 0.875rem;
    color: var(--color-medium-gray);
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer .container {
    width: 100%;
    max-width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    min-width: 0;
    width: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand .brand-k {
    background-color: var(--color-white);
    color: var(--color-black);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    min-width: 0;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-light-gray);
}

.footer-contact {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-light-gray);
}

.footer-contact p {
    margin: 0.25rem 0;
}

.footer-contact a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-light-gray);
}

.footer-credit {
    font-size: 0.75rem;
    color: var(--color-light-gray);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .material-showcase {
        height: 500px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .showcase-card-large {
        width: 240px;
        height: 280px;
    }
    
    .showcase-card-medium {
        width: 150px;
        height: 170px;
    }
    
    .showcase-card-small {
        width: 100px;
        height: 100px;
    }
    
    /* Show hamburger menu from tablet down */
    .nav-container {
        justify-content: space-between;
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
        min-width: 0;
    }
    
    .nav-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: 50%;
        min-width: 0;
    }
    
    .brand-logo {
        height: 3.375rem;
        max-width: 100%;
        object-fit: contain;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #FAFAF9 0%, #F5F4F2 100%);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 10px 40px rgba(4, 3, 4, 0.12);
    }
    
    .nav.is-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links a {
        font-size: 1.0625rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        padding: 1rem 1.5rem;
        background: var(--color-white);
        border-radius: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
        box-shadow: 0 2px 12px rgba(4, 3, 4, 0.06);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        border: none;
    }
    
    .nav-links a:hover {
        background: var(--color-white);
        box-shadow: 0 6px 20px rgba(4, 3, 4, 0.1);
        transform: translateY(-1px);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .hero {
        min-height: auto;
        padding: 0 0 var(--spacing-md);
    }
    
    .loader-logo {
        max-width: 280px;
    }
    
    .loader-bar {
        max-width: 280px;
    }
    
    /* Show mobile hero title at top */
    .mobile-hero-title {
        display: block;
        padding-top: calc(5.5rem + 1.25rem);
        margin-bottom: 2rem;
    }

    /* Show mobile material showcase below title */
    .mobile-material-showcase {
        display: block;
        padding-top: 0;
        margin-bottom: 0;
    }

    .mobile-discover-line {
        display: block;
        margin-top: 4rem;
        margin-bottom: 1rem;
    }
    
    /* Hide desktop hero title on mobile */
    .hero-content .hero-title {
        display: none;
        margin: 0;
    }
    
    /* Style mobile showcase to match desktop aesthetic */
    .mobile-showcase-grid {
        display: flex;
        position: relative;
        height: 340px;
        max-width: 360px;
        margin: 0 auto;
        padding: 0;
    }
    
    .mobile-showcase-card {
        position: absolute;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(4, 3, 4, 0.2);
        background: white;
        transition: opacity 0.6s ease;
    }
    
    /* Center large card - INSPIRATION */
    .mobile-showcase-card:nth-child(1) {
        width: 200px;
        height: 220px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        border: 2px solid var(--color-black);
        box-shadow: 0 20px 50px rgba(4, 3, 4, 0.25);
    }
    
    /* Material 1 - Top left */
    .mobile-showcase-card:nth-child(2) {
        width: 105px;
        height: 120px;
        top: 15px;
        left: 15px;
        z-index: 2;
    }
    
    /* Material 2 - Bottom right */
    .mobile-showcase-card:nth-child(3) {
        width: 105px;
        height: 120px;
        bottom: 35px;
        right: 25px;
        z-index: 2;
    }
    
    /* Material 3 - Top right */
    .mobile-showcase-card:nth-child(4) {
        width: 90px;
        height: 90px;
        top: 20px;
        right: 20px;
        z-index: 1;
    }
    
    /* Material 4 - Top center (hardware above inspiration) */
    .mobile-showcase-card:nth-child(5) {
        width: 65px;
        height: 65px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }
    
    /* Material 5 - Bottom left */
    .mobile-showcase-card:nth-child(6) {
        width: 90px;
        height: 90px;
        bottom: -5px;
        left: 15px;
        z-index: 1;
    }
    
    .mobile-card-label {
        font-size: 0.6875rem;
        padding: 0.375rem 0.5rem;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    
    .mobile-showcase-card.active .mobile-card-label {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Mobile inspiration styling */
    .mobile-showcase-inspiration {
        border: 2px solid var(--color-black) !important;
        box-shadow: 0 20px 50px rgba(4, 3, 4, 0.25) !important;
    }
    
    .mobile-label-inspiration {
        background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
        color: white;
        opacity: 1 !important;
        transform: translateY(0) !important;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    /* Mobile color palette */
    .mobile-color-palette {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.375rem;
        padding: 0.5rem 1rem;
        background: white;
        border-radius: 50px;
        box-shadow: 0 8px 20px rgba(4, 3, 4, 0.15);
        z-index: 10;
    }
    
    .mobile-color-palette .color-dot {
        width: 28px;
        height: 28px;
    }
    
    /* Show mobile video after badge */
    .video-container-mobile {
        display: block;
        margin-top: var(--spacing-md);
    }
    
    .video-container-mobile .promo-video {
        border-radius: var(--border-radius);
        box-shadow: 0 8px 24px rgba(4, 3, 4, 0.15);
        width: 100%;
        max-width: 100%;
    }
    
    /* Hide desktop hero visual on mobile */
    .hero-visual {
        display: none;
    }
    
    .video-container-desktop {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .nav-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .brand-logo {
        height: 3.375rem;
        max-width: 270px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #FAFAF9 0%, #F5F4F2 100%);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 10px 40px rgba(4, 3, 4, 0.12);
    }
    
    .nav.is-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links a {
        font-size: 1.0625rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        padding: 1rem 1.5rem;
        background: var(--color-white);
        border-radius: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
        box-shadow: 0 2px 12px rgba(4, 3, 4, 0.06);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        border: none;
    }
    
    .nav-links a:hover {
        background: var(--color-white);
        box-shadow: 0 6px 20px rgba(4, 3, 4, 0.1);
        transform: translateY(-1px);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-title-line-2 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .catalog-video-wrapper {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    
    .catalog-video-title {
        font-size: 1rem;
    }
    
    .makers-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .makers-intro p {
        font-size: 1rem;
    }
    
    .step-visual {
        max-width: 100%;
    }
    
    /* Featured Makers Main - Mobile */
    .fm-main-hero {
        flex-direction: column;
        padding: 3rem 1.5rem 2rem;
        gap: 2.5rem;
    }
    
    .fm-main-content {
        text-align: center;
    }
    
    .fm-main-label {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .fm-main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .fm-main-tagline {
        font-size: 1.125rem;
    }
    
    .fm-main-card {
        padding: 1.75rem 2rem;
        width: 100%;
    }
    
    .fm-main-card-text {
        font-size: 0.9375rem;
    }
    
    .fm-main-intro {
        padding: 3rem 2rem;
    }
    
    .fm-main-intro-text {
        font-size: 1.125rem;
    }
    
    .fm-main-pillars {
        padding: 3rem 2rem;
    }
    
    .fm-main-pillars-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .fm-main-cta {
        padding: 3rem 2rem 4rem;
    }
    
    .fm-main-cta-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-links a {
        white-space: nowrap;
    }
}

/* Privacy Policy Section */
.privacy-policy {
    padding: calc(var(--spacing-xl) + 4rem) 0 var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
    text-align: center;
}

.privacy-content .last-updated {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-medium-gray);
    margin-bottom: var(--spacing-lg);
}

.privacy-section {
    margin-bottom: var(--spacing-lg);
}

.privacy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.privacy-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark-gray);
}

.privacy-section p {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.privacy-section ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
}

.privacy-section li {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

.privacy-section strong {
    color: var(--color-black);
    font-weight: 600;
}

.privacy-section a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-black);
}

.privacy-section a:hover {
    color: var(--color-medium-gray);
    border-bottom-color: var(--color-medium-gray);
}

@media (max-width: 768px) {
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding: 0 0 var(--spacing-md);
    }
    
    .material-showcase {
        height: 420px;
        max-width: 380px;
    }
    
    .showcase-card-large {
        width: 200px;
        height: 240px;
    }
    
    .showcase-card-medium {
        width: 115px;
        height: 135px;
    }
    
    .showcase-card-small {
        width: 95px;
        height: 95px;
    }
    
    .showcase-card-medium:nth-of-type(2) {
        top: 10px;
        left: 10px;
    }
    
    .showcase-card-medium:nth-of-type(3) {
        bottom: 30px;
        right: 20px;
    }
    
    .showcase-card-small:nth-of-type(4) {
        top: 15px;
        right: 15px;
    }
    
    .showcase-card-small:nth-of-type(5) {
        bottom: 18px;
        left: 12px;
    }
    
    .showcase-card-small:nth-of-type(6) {
        width: 80px;
        height: 80px;
        top: 40%;
        right: 5px;
    }
    
    .color-palette {
        bottom: -30px;
        padding: 0.5rem 1rem;
        gap: 0.375rem;
    }
    
    .color-dot {
        width: 24px;
        height: 24px;
    }
    
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .privacy-policy {
        padding: calc(var(--spacing-lg) + 4rem) 0 var(--spacing-lg);
    }
}
