/*-–––––––––––––––––––––––-
    RESET
-–––––––––––––––––––––––-*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #1d1d1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #0066cc;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/*-–––––––––––––––––––––––-
    GLOBAL STYLES
-–––––––––––––––––––––––-*/
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 5% 80px 5%;
    text-align: center;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.022em;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
}

p {
    font-size: 1.1rem;
    max-width: 980px;
    margin: 0 auto 32px auto;
    color: #86868b;
    letter-spacing: -0.011em;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background-color: #1d1d1f;
    color: #fff;
    padding: 16px 32px;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid #1d1d1f;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-color: transparent;
    color: #1d1d1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/*-–––––––––––––––––––––––-
    HEADER & NAVIGATION
-–––––––––––––––––––––––-*/
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 5%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.nav-links a span {
    font-size: 0.7rem;
    opacity: 0.5;
    font-weight: 400;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a:hover span {
    opacity: 1;
}

.nav-cta {
    margin-left: 24px;
}

.nav-button {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/*-–––––––––––––––––––––––-
    HERO SECTION
-–––––––––––––––––––––––-*/
#hero {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    background: #000;
}

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

/* Use a background image (first video frame) while the video buffers */
.hero-video-container.has-first-frame {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 180px 0 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 32px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.9;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 64px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    line-height: 1.5;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.hero-content .cta-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content .cta-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    color: #000;
}

/*-–––––––––––––––––––––––-
    COLLECTION SECTION
-–––––––––––––––––––––––-*/
#collection {
    background-color: #000;
    padding: 120px 0;
    overflow: hidden;
}

#collection::after {
    display: none;
}

.collection-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.collection-content {
    text-align: left;
    max-width: 500px;
}

.collection-content h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 24px;
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 500;
}

.collection-content p {
    margin-bottom: 40px;
    font-size: 1.25rem;
    color: #a8a8a8;
    font-weight: 300;
    line-height: 1.6;
}

#collection .cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 2px;
    font-weight: 500;
    transition: all .4s cubic-bezier(.25,.46,.45,.94);
    font-size: .875rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 2px solid hsla(0,0%,100%,.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#collection .cta-button-secondary:hover {
    background-color: hsla(0,0%,100%,.05);
    border-color: hsla(0,0%,100%,.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.collection-pre-title {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: hsla(0,0%,100%,.5);
    margin-bottom: 16px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.collection-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.collection-visual::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    right: -30%;
    bottom: -30%;
    background: radial-gradient(ellipse 65% 65% at center, 
        transparent 35%, 
        rgba(0,0,0,0.2) 50%, 
        rgba(0,0,0,0.6) 65%, 
        #000 80%);
    pointer-events: none;
    z-index: 1;
}

.collection-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 30px 20px rgba(0,0,0,0.4));
    transition: filter 0.5s ease;
    position: relative;
    z-index: 0;
    /* Fade the actual image edges into the background */
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, 
        black 30%, 
        rgba(0,0,0,0.8) 50%, 
        rgba(0,0,0,0.3) 65%, 
        transparent 80%);
    mask-image: radial-gradient(ellipse 70% 70% at center, 
        black 30%, 
        rgba(0,0,0,0.8) 50%, 
        rgba(0,0,0,0.3) 65%, 
        transparent 80%);
}

.collection-visual img:hover {
    filter: drop-shadow(0 40px 30px rgba(0,0,0,0.5));
}

/*-–––––––––––––––––––––––-
    THE CASE SECTION
-–––––––––––––––––––––––-*/
#the-case {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    position: relative;
}

#the-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

#the-case h2 {
    font-family: 'Playfair Display', serif;
    color: #1d1d1f;
    margin-bottom: 16px;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.05;
}

#the-case p {
    margin-bottom: 32px;
    font-size: 1.125rem;
    color: #666;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.phone-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.phone-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.phone-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) skewX(-10deg) scaleX(0.8);
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse at center, 
                rgba(0, 0, 0, 0.3) 0%, 
                rgba(0, 0, 0, 0.15) 40%, 
                rgba(0, 0, 0, 0.05) 70%, 
                transparent 100%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-image:hover {
    transform: translateY(-5px) scale(1.02);
}

.phone-container:hover::after {
    transform: translateX(-50%) skewX(-10deg) scaleX(0.9) translateY(5px);
    background: radial-gradient(ellipse at center, 
                rgba(0, 0, 0, 0.4) 0%, 
                rgba(0, 0, 0, 0.2) 40%, 
                rgba(0, 0, 0, 0.08) 70%, 
                transparent 100%);
    filter: blur(12px);
}

/*-–––––––––––––––––––––––-
    CONCEPT SECTION
-–––––––––––––––––––––––-*/
#concept {
    background-color: #000;
    color: #fff;
    position: relative;
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 5%;
}

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

.concept-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.concept-text p {
    font-size: 1.25rem;
    color: #a8a8a8;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 0;
}

.concept-visual {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.concept-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.concept-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.concept-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.concept-card p {
    font-size: 0.95rem;
    color: #a8a8a8;
    margin-bottom: 0;
    font-weight: 300;
}


/*-–––––––––––––––––––––––-
    JOIN WAITLIST SECTION
-–––––––––––––––––––––––-*/
#join {
    background: #000;
    position: relative;
}

#join::before {
    display: none;
}

#join h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 16px;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.05;
}

#join > p {
    margin-bottom: 64px;
    font-size: 1.25rem;
    color: #a8a8a8;
    font-weight: 300;
    max-width: 600px;
}

#waitlist-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 16px;
    max-width: 500px;
    margin: 0 auto;
}

#waitlist-form input {
    padding: 16px 0;
    width: 100%;
    flex-grow: 1;
    border-radius: 0;
    border: none;
    background-color: transparent;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 400;
}

#waitlist-form input:focus {
    outline: none;
    border-color: #fff;
    transform: none;
    box-shadow: none;
}

#waitlist-form input::placeholder {
    color: #86868b;
    transition: opacity 0.3s;
}

#waitlist-form input:focus::placeholder {
    opacity: 0;
}

#waitlist-form button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    padding: 16px 0;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.form-success-message {
    color: #fff;
    font-weight: 600;
    margin-top: 24px;
}

/*-–––––––––––––––––––––––-
    FOOTER
-–––––––––––––––––––––––-*/
footer {
    padding: 80px 5%;
    background-color: #000;
    color: #fff;
    min-height: auto;
    display: block;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #86868b;
    margin-bottom: 0;
    letter-spacing: -0.016em;
}

/*-–––––––––––––––––––––––-
    ANIMATIONS
-–––––––––––––––––––––––-*/
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Create a lightweight composited layer for hero text to avoid jank */
.hero-content {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: opacity, transform;
}


/*-–––––––––––––––––––––––-
    RESPONSIVE DESIGN
-–––––––––––––––––––––––-*/
@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 60px 5%;
    }

    #collection {
        padding: 80px 5% 80px 5%;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.125;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-content {
        padding: 120px 5% 80px 5%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    header {
        padding: 16px 5%;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    .concept-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .concept-text {
        text-align: center;
    }

    .concept-text h2 {
        font-size: 2.5rem;
    }

    #waitlist-form {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    #waitlist-form input {
        width: 100%;
        max-width: 320px;
    }

    .collection-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .collection-content {
        text-align: center;
        max-width: 100%;
        order: 2;
    }

    .collection-visual {
        order: 1;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Ensure text sits above the visual glow on mobile */
    .collection-container { 
        position: relative; 
    }
    .collection-content { 
        position: relative; 
        z-index: 3; 
    }
    .collection-visual { 
        position: relative; 
        z-index: 1; 
    }
    /* Soften and contain the oversized glow so it doesn't overlap text */
    .collection-visual::after {
        top: -8%;
        left: -8%;
        right: -8%;
        bottom: -8%;
        z-index: 0;
    }

    .collection-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .collection-content p {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.5;
    }

    .collection-pre-title {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }

    .collection-gallery {
        max-width: 320px;
        margin: 0 auto;
    }

    .phone-container {
        max-width: 100%;
        padding: 40px 20px;
    }
    
    .phone-image {
        max-width: 450px;
    }
    
    .phone-container::after {
        width: 70%;
        height: 30px;
    }
    
    /* Video background optimization for mobile */
    .hero-background-video {
        object-position: center center;
    }
}

/* Tablet-specific fixes */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tighten layout so columns don't collide and fix stacking */
    .collection-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 0 5%;
        position: relative;
    }

    .collection-content {
        position: relative;
        z-index: 3; /* keep text above the visual glow */
    }

    .collection-visual {
        position: relative;
        z-index: 1;
        max-width: 420px;
        margin: 0 auto;
    }

    /* Contain the oversized glow so it doesn't bleed into the text column */
    .collection-visual::after {
        top: -15%;
        left: -15%;
        right: -15%;
        bottom: -15%;
        z-index: 0;
    }

    .collection-content h2 {
        font-size: 3rem;
    }

    .collection-content p {
        font-size: 1.125rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .collection-container {
        gap: 24px;
        padding: 0 24px;
        max-width: 350px;
    }
    
    .collection-visual {
        max-width: 240px;
    }
    /* On extra-small screens, remove the glow entirely for clarity */
    .collection-visual::after {
        content: none;
    }
    
    .collection-content h2 {
        font-size: 2rem;
    }
    
    .collection-content p {
        font-size: 0.95rem;
    }
    
    .cta-button-secondary {
        padding: 14px 24px;
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    #collection {
        padding: 70px 5% 70px 5%;
    }
} 
