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

:root {
    --primary-purple: #6b2b9a;
    --secondary-purple: #8145c4;
    --light-purple: #9c5fd9;
    --dark-purple: #4a1d70;
    --accent-purple: #b579ee;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-light: rgba(255, 255, 255, 0.6);
    --text-dark: #111827;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.2);
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-pill: 9999px;
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    --gradient-bg: linear-gradient(135deg, #6b2b9a 0%, #8145c4 50%, #9c5fd9 100%);
}

:root {
    --mouse-x: 50%;
    --mouse-y: 50%;
    --hue-rotation: 0deg;
    --retro-primary: #ff0080;
    --retro-secondary: #00ffff;
    --retro-accent: #ffff00;
    --retro-purple: #8a2be2;
    --retro-green: #00ff41;
}

body, html {
    min-height: 100vh;
    font-family: 'SaansTRIAL', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ff006e;
    background-image: url('blob-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    overscroll-behavior: none;
}


.container {
    position: relative;
    z-index: 10;
}

/* Mobile Optimizations for SVG Background */
@media (max-width: 768px) {
    .svg-background {
        opacity: 0.8;
    }
}

/* Performance optimizations for smaller devices */
@media (max-width: 480px) {
    .svg-background {
        opacity: 0.7;
    }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .svg-background .out-top,
    .svg-background .in-top,
    .svg-background .out-bottom,
    .svg-background .in-bottom {
        animation: none;
    }
    
    * {
        transition-duration: 0.1s !important;
    }
}



/* Header Navigation */
.header-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 2rem;
    align-items: center;
    background: none;
    padding: 0;
    border-radius: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* Mobile header nav - positioned after logo */
@media (max-width: 767px) {
    .header-nav {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        gap: 1.5rem;
        width: 100%;
        padding: 1rem 0;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Tablet header nav */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-nav {
        gap: 1.5rem;
        padding: 0.7rem 1.3rem;
    }
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

/* Mobile nav links */
@media (max-width: 767px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}


.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

/* Mobile container - logo moved much higher */
@media (max-width: 767px) {
    .container {
        padding: 0rem 1rem;
        gap: 0;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    
    .logo-container {
        margin-top: -1rem;
        margin-bottom: 0;
        justify-content: center;
        width: 100%;
        text-align: center;
        order: -2;
    }
}

/* Tablet Layout */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        gap: 3rem;
        padding: 2rem;
        align-items: center;
    }
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .container {
        gap: 4rem;
        padding: 2rem 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        gap: 5rem;
        padding: 2rem 3rem;
    }
}

.content {
    flex: 1;
    max-width: 100%;
    text-align: center;
    z-index: 10;
}

/* Mobile Layout - Logo, Navbar, Hero Text, Phone */
@media (max-width: 767px) {
    .container {
        flex-direction: column;
        min-height: 100vh;
        align-items: center;
    }
    
    .header-nav {
        order: -1;
    }
    
    .content {
        order: 1;
        margin-top: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        order: 2;
        margin-top: -2rem;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 0.5rem;
    }
    
    .cta-section {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 10;
        transform: translateY(0rem);
        margin-bottom: 0rem;
    }
}

/* Tablet Layout */
@media (min-width: 768px) {
    .content {
        flex: 1.2;
        text-align: left;
        max-width: 750px;
    }
    
    .logo-container {
        justify-content: flex-start;
    }
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .content {
        flex: 1.3;
        max-width: 900px;
    }
}

.logo-container {
    margin-bottom: 3rem;
    margin-top: -2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.disco-logo {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: translateY(-12px);
}

/* Mobile logo container - visible and centered */
@media (max-width: 767px) {
    .logo-container {
        margin-top: 0 !important;
        margin-bottom: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .disco-logo {
        display: none;
    }
}

.logo {
    width: clamp(264px, 53vw, 422px);
    height: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Mobile logo - increased by 10% */
@media (max-width: 767px) {
    .logo {
        width: clamp(396px, 89vw, 544px) !important;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* Tablet logo */
@media (min-width: 768px) and (max-width: 1023px) {
    .logo {
        width: clamp(220px, 35vw, 300px);
    }
}

/* Desktop logo */
@media (min-width: 1024px) {
    .logo {
        width: clamp(250px, 30vw, 350px);
    }
}

.hero-section {
    margin-bottom: 2rem;
    padding-left: 0;
    margin-left: 0;
}

.hero-title {
    font-size: clamp(2.4rem, 8.4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    padding-left: 0;
    transform: translateY(17px);
}

/* Mobile title - even larger size, clean text, moved up */
@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(3.5rem, 10vw, 5rem);
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 1rem;
        color: var(--text-primary);
        letter-spacing: -0.02em;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        text-align: center;
        width: 100%;
        padding: 0 1rem;
        transform: translateY(-20px);
    }
    
    .hero-title .camera-icon {
        display: none;
    }
    
    .hero-title .wand-icon {
        display: none;
    }
}

/* Tablet title */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: clamp(2.2rem, 6vw, 3rem);
    }
}

/* Hero Bottom Section - Subtitle and CTA side by side */
.hero-bottom-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    transform: translateY(8vh);
    flex-direction: column;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4.8vw, 1.9rem);
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-left: 0;
    padding-left: 40px;
    text-decoration: none;
    text-align: left;
    width: 100%;
}

/* Mobile - Stack vertically */
@media (max-width: 767px) {
    .hero-bottom-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        transform: translateY(-4vh);
        align-items: center;
    }
    
    .hero-subtitle {
        font-size: clamp(1.3rem, 5.5vw, 1.7rem);
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        line-height: 1.4;
        font-weight: 500;
        padding: 0 1.5rem;
        letter-spacing: 0.3px;
    }
    
    .disco-standalone {
        display: block;
        width: 80px;
        height: 80px;
        margin: -0.5rem 0;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    }
    
    .cta-section {
        justify-content: center;
        margin-top: -0.5rem;
    }
}

/* Tablet subtitle */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-subtitle {
        font-size: clamp(1.3rem, 3.5vw, 1.5rem);
    }
}

.hero-subtitle-inline {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: block;
    margin-top: 0.5rem;
}

.hero-icon {
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.3em;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.wand-icon {
    transform: translateY(-10px) scale(1.1);
}

.disco-icon {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
    margin-left: 0;
    transform: scale(1.1) translateY(-2px);
}

/* Standalone disco ball - hidden by default on desktop */
.disco-standalone {
    display: none;
}

/* Desktop only elements */
.desktop-only {
    display: inline;
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
}

.camera-icon {
    margin-right: 0.3em;
    margin-left: 0;
    transform: scale(1) translateY(-10px);  
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    width: 100%;
}

/* Liquid Glass Button Styles */
.waitlist-btn {
    text-decoration: none;
    display: inline-block;
}

.liquidGlass-wrapper {
    position: relative;
    display: flex;
    font-weight: 600;
    overflow: hidden;
    padding: 1.5rem 2.5rem;
    border-radius: 3rem;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-wrapper:focus {
    outline: none;
}

.liquidGlass-wrapper:hover {
    padding: 1.8rem 2.8rem;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.15);
}

.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
    border-radius: 3rem; /* Match parent border-radius */
}

.liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3rem; /* Match parent border-radius */
}

.liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    border-radius: 3rem; /* Match parent border-radius */
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.3),
                inset -1px -1px 1px 1px rgba(255, 255, 255, 0.2);
}

.liquidGlass-text {
    z-index: 3;
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile liquid glass button adjustments */
@media (max-width: 767px) {
    .liquidGlass-wrapper {
        padding: 1.2rem 2.2rem;
    }
    
    .liquidGlass-wrapper:hover {
        padding: 1.4rem 2.4rem;
    }
    
    .liquidGlass-text {
        font-size: 1rem;
    }
    
    .waitlist-btn {
        margin: 0 auto;
        text-align: center;
    }
}

/* Tablet liquid glass button */
@media (min-width: 768px) and (max-width: 1023px) {
    .liquidGlass-wrapper {
        padding: 1.3rem 2.4rem;
    }
    
    .liquidGlass-wrapper:hover {
        padding: 1.5rem 2.6rem;
    }
    
    .liquidGlass-text {
        font-size: 1.05rem;
    }
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .trust-indicators {
        justify-content: flex-start;
    }
}

.security-badge,
.users-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-light);
}

.security-icon,
.users-icon {
    font-size: 1.1rem;
}

.security-text,
.users-text {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Legacy button styles - keeping for potential future use */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
    min-width: 140px;
    white-space: nowrap;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--bg-gray-100);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--bg-gray-50);
    border-color: var(--bg-gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.phone-mockup {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Mobile phone mockup - moved even higher */
@media (max-width: 767px) {
    .phone-mockup {
        flex: none;
        padding: 0.5rem;
        width: 100%;
        margin: -4rem auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet phone mockup */
@media (min-width: 768px) {
    .phone-mockup {
        justify-content: flex-end;
        padding: 2rem 1rem;
    }
}

/* Desktop phone mockup */
@media (min-width: 1024px) {
    .phone-mockup {
        padding: 2rem 2rem 2rem 1rem;
    }
}

.phone-container {
    position: relative;
    display: inline-block;
}

.phone-frame {
    width: 100%;
    max-width: clamp(240px, 30vw, 320px);
    height: auto;
    filter: drop-shadow(0 15px 60px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 2%;
    left: 2%;
    width: 96%;
    height: 96%;
    background: white;
    border-radius: clamp(35px, 8vw, 50px);
    z-index: 1;
    transition: all 0.3s ease;
}

/* Mobile phone frame - massive size */
@media (max-width: 767px) {
    .phone-frame {
        width: 90vw !important;
        max-width: 90vw !important;
        height: auto;
        min-width: 350px;
        object-fit: contain;
        filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.3));
    }
    
    .phone-screen {
        border-radius: clamp(30px, 7vw, 50px);
    }
}

/* Tablet phone frame */
@media (min-width: 768px) and (max-width: 1023px) {
    .phone-frame {
        max-width: clamp(260px, 35vw, 300px);
    }
}

.phone-container:hover .phone-frame {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.25));
}

.phone-container:hover .phone-screen {
    transform: translateY(-5px);
}


/* Mobile responsive */
@media (max-width: 767px) {
    .container {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    
    .phone-mockup {
        padding: 1.5rem;
    }
    
    .phone-frame {
        max-width: clamp(180px, 30vw, 250px);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        width: clamp(140px, 30vw, 200px);
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-icon {
        width: 1.1em;
        height: 1.1em;
    }
    
    .disco-icon {
        width: 1.5em;
        height: 1.5em;
        transform: translateY(-spx);   
    }
    
    .store-badge {
        height: 50px;
    }
    
    .security-badge,
    .users-count {
        padding: 0.4rem 0.8rem;
    }
    
    .security-text,
    .users-text {
        font-size: 0.8rem;
    }
    
    .phone-mockup {
        padding: 1rem;
    }
    
    .phone-frame {
        max-width: clamp(160px, 40vw, 220px);
    }
}