/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force text case for specific elements */
.svg-overlay-text,
.launching-text {
    text-transform: none !important;
    font-variant: normal !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #F5F5DC;
    background: #0f172a;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Add subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Add decorative SVG elements */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 50 0 L 0 0 0 50' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}





/* Main Content */
.main-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

/* Logo and Phone Container */
.logo-phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    max-width: 90vw;
    width: 100%;
    padding: 0 5vw;
}

/* SVG Container */
.svg-container {
    flex: 1;
    width: 100%;
    max-width: min(500px, 80vw);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.litch-svg {
    width: 100%;
    height: auto;
    max-width: min(600px, 75vw);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* SVG Overlay Text */
.svg-overlay-text {
    position: static;
    color: #FFFFFF;
    font-size: clamp(0.9rem, 4vw, 1.4rem);
    font-weight: 400;
    text-align: center;
    margin-top: clamp(0.5rem, 2vw, 1rem);
    letter-spacing: 0.02em;
    opacity: 0.9;
    line-height: 1.4;
    text-transform: none !important;
    font-variant: normal !important;
    text-rendering: optimizeLegibility !important;
    max-width: min(400px, 90vw);
}

/* Phone Mockup Container */
.phone-mockup-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: clamp(-200px, -25vw, -100px);
    width: 100%;
    position: relative;
}

.phone-mockup-img {
    max-width: min(600px, 85vw);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2)) contrast(1.1) brightness(0.95);
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    /* Hide any unwanted white elements */
    background-color: transparent;
    /* Reserve space to prevent layout shift */
    min-height: min(600px, 85vw);
    aspect-ratio: 9/16;
    object-fit: contain;
    /* Loading state */
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.phone-mockup-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

/* Launching Soon Text */
.launching-text {
    color: #F5F5DC;
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    font-weight: 400;
    text-align: center;
    margin: clamp(-80px, -15vw, -40px) 0 clamp(0.3rem, 1vw, 0.5rem) 0;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-transform: none !important;
    font-variant: normal !important;
    text-rendering: optimizeLegibility !important;
    position: static;
}



/* Waitlist Section */
.waitlist-section {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    position: static;
    z-index: 5;
}

.join-waitlist-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #F5F5DC;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(3rem, 15vw, 7rem);
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: 'Cormorant Garamond', serif;
    max-width: min(400px, 90vw);
    width: auto;
    position: relative;
    z-index: 6;
    box-sizing: border-box;
}

.join-waitlist-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.join-waitlist-btn:active {
    transform: translateY(0);
}



/* Social Media Section */
.social-section {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2rem);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.3rem, 1vw, 0.5rem);
    color: #F5F5DC;
    text-decoration: none;
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: clamp(0.5rem, 2vw, 0.8rem) clamp(0.8rem, 3vw, 1.2rem);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: clamp(16px, 4vw, 20px);
    height: clamp(16px, 4vw, 20px);
    stroke: #F5F5DC;
}



/* Advanced Fluid Responsive Design */
.container {
    padding: 0 clamp(10px, 5vw, 30px);
}

.main-content {
    min-height: 100vh;
    padding: clamp(0.5rem, 2vw, 2rem) 0;
    gap: clamp(1rem, 3vw, 3rem);
}

/* Social Media Section Fluid */
.social-section {
    margin: clamp(1rem, 3vw, 2rem) 0;
}

.social-link {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    gap: clamp(0.2rem, 1vw, 0.5rem);
}

.instagram-icon {
    width: clamp(16px, 4vw, 20px);
    height: clamp(16px, 4vw, 20px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: #F5F5DC;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}

.close-btn {
    background: none;
    border: none;
    color: #F5F5DC;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #F5F5DC;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #F5F5DC;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(245, 245, 220, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #F5F5DC;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    animation: successPulse 0.6s ease-out;
}

.success-message h2 {
    color: #F5F5DC;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.success-message p {
    color: #F5F5DC;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.add-another-btn, .exit-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
}

.add-another-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #F5F5DC;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.add-another-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.exit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #F5F5DC;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.exit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svg-container,
.phone-mockup-container,
.launching-text,
.waitlist-section {
    animation: fadeInUp 0.8s ease-out;
}

.phone-mockup-container {
    animation-delay: 0.2s;
}

.launching-text {
    animation-delay: 0.4s;
}

.waitlist-section {
    animation-delay: 0.6s;
}


