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

/* Performance optimizations for mobile */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f1eb;
    color: #2c2c2c;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.brand-name {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c2c2c;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #2c2c2c;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.6;
}

/* App Preview */
.app-preview {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.app-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Phone Mockups */
.phone-mockups {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    perspective: 1000px;
}

.phone {
    width: 280px;
    height: 560px;
    position: relative;
}

.phone-left {
    transform: rotateY(15deg) rotateZ(-5deg);
}

.phone-right {
    transform: rotateY(-15deg) rotateZ(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.time {
    font-weight: 600;
}

.phone-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.signal-bars, .wifi-icon {
    width: 18px;
    height: 12px;
    background: #000;
    border-radius: 2px;
}

.battery {
    font-size: 14px;
    font-weight: 600;
}

.app-content {
    background: #fff;
    padding: 24px 20px;
    height: calc(100% - 120px);
    overflow: hidden;
}

.app-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.app-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* Left Phone - Best Match Screen Styles */
.greeting {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.profile-icon {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #007AFF;
    border-radius: 50%;
}

.best-match-card {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

.best-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.best-match-label {
    background: #6b7c5a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.match-score {
    background: #6b7c5a;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.outfit-items {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.outfit-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

.navy-sweater {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.beige-shorts {
    background: linear-gradient(135deg, #d7ccc8 0%, #bcaaa4 100%);
}

.white-sneakers {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    border: 1px solid #e0e0e0;
}

.outfit-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: #000;
    text-align: center;
}

.outfit-description {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.try-another {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 16px;
    color: #000;
}

.alternative-outfits {
    display: flex;
    gap: 12px;
}

.alt-outfit {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 12px;
    flex: 1;
    position: relative;
}

.alt-items {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.alt-item {
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.olive-shirt {
    background: linear-gradient(135deg, #689f38 0%, #558b2f 100%);
}

.black-pants {
    background: linear-gradient(135deg, #212121 0%, #000 100%);
}

.black-shoes {
    background: linear-gradient(135deg, #424242 0%, #212121 100%);
}

.graphic-tee {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

.alt-score {
    background: #6b7c5a;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.bottom-nav {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: #f8f8f8;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    padding: 8px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #999;
}

.nav-item.active {
    color: #6b7c5a;
}

.nav-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.nav-label {
    font-size: 10px;
}

/* Right Phone - Wardrobe Screen Styles */
.wardrobe-screen {
    padding: 16px 20px !important;
}

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

.back-button {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
}

.wardrobe-title h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.wardrobe-title p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.add-button {
    width: 40px;
    height: 40px;
    background: #6b7c5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 300;
}

.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tab {
    padding: 12px 24px;
    background: #f0f0f0;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
}

.tab.active {
    background: #6b7c5a;
    color: white;
}

.clothing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.clothing-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clothing-image {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.clothing-name {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
}

/* Clothing item backgrounds */
.white-tshirt {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border: 1px solid #e0e0e0;
}

.white-shirt {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    border: 1px solid #e0e0e0;
}

.color-block-sweater {
    background: linear-gradient(135deg, #d32f2f 0%, #1976d2 100%);
}

.maroon-kurta {
    background: linear-gradient(135deg, #8b0000 0%, #d4af37 50%, #8b0000 100%);
}

.check-shirt {
    background: linear-gradient(135deg, #1976d2 0%, #303f9f 100%);
}

.stripe-shirt {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
}

.phone-bottom-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
}

/* Email Signup */
.email-signup {
    margin-top: 40px;
}

.email-input-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto 16px;
    gap: 0;
    align-items: stretch;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
    background: #fff;
    min-height: 52px;
    box-sizing: border-box;
}

.email-input::placeholder {
    color: #999;
}

.join-button {
    padding: 16px 32px;
    background: #6b7c5a;
    color: white;
    border: 1px solid #6b7c5a;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    min-height: 52px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.join-button:hover {
    background: #5a6b48;
}

.join-button:focus,
.join-button:focus-visible {
    outline: 2px solid #6b7c5a;
    outline-offset: 2px;
}

.signup-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Photo to Wardrobe Section */
.photo-wardrobe-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 60px 0;
}

.photo-wardrobe-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #2c2c2c;
    line-height: 1.3;
}

.photo-wardrobe-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.phone-mockups {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.phone-mockup {
    position: relative;
    max-width: 250px;
    width: 100%;
}

.phone-image {
    width: 100%;
    height: auto;
    max-width: 250px;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.arrow-icon {
    width: 32px;
    height: 32px;
    color: #666;
    stroke-width: 2;
}

.compatibility-text {
    font-size: 16px;
    color: #999;
    font-style: italic;
}

/* Features Section */
.features {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    max-width: 220px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(47%) sepia(14%) saturate(741%) hue-rotate(73deg) brightness(95%) contrast(92%);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
    color: #6b7c5a;
}

.suggestions-icon {
    position: relative;
}

.calendar-overlay {
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: -5px;
    right: -5px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Quote Section */
.quote-section {
    text-align: center;
    margin-bottom: 40px;
}

.main-quote {
    font-size: 28px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 60px;
    line-height: 1.4;
    font-style: normal;
}

/* Bottom Signup */
.bottom-signup {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
    align-items: stretch;
}

.email-input-bottom::placeholder {
    color: #999;
}

.get-access-button {
    padding: 14px 28px;
    background: #6b7c5a;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.get-access-button:hover {
    background: #5a6b48;
}

.get-access-button:focus,
.get-access-button:focus-visible {
    outline: 2px solid #6b7c5a;
    outline-offset: 2px;
}

/* Responsive Design */
/* Large screens optimization */
@media (min-width: 769px) {
    .email-input-container {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }
    
    .email-input {
        border: none;
        border-radius: 0;
        background: transparent;
    }
    
    .join-button {
        border: none;
        border-radius: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }
    
    .hero {
        margin-bottom: 60px;
    }
    
    .brand-name {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .app-image {
        max-width: 450px;
        margin: 30px 0;
    }
    
    .phone-mockups {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .photo-wardrobe-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    
    .photo-wardrobe-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .photo-wardrobe-description {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .phone-mockup {
        max-width: 220px;
    }
    
    .phone-image {
        max-height: 450px;
    }
    
    .arrow-container {
        transform: rotate(90deg);
        margin: 15px 0;
    }
    
    .phone {
        transform: none !important;
        width: 240px;
        height: 480px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .feature-card {
        max-width: 100%;
        width: 100%;
        padding: 28px 20px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 15px;
    }
    
    .main-quote {
        font-size: 24px;
        margin-bottom: 50px;
    }
    
    .bottom-signup {
        flex-direction: column;
        gap: 12px;
    }
    
    .email-input-bottom {
        width: 100%;
    }
    
    .email-input-container {
        flex-direction: column;
        gap: 12px;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }
    
    .email-input {
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 16px 20px;
        font-size: 16px;
        min-height: 50px;
        background: #fff;
    }
    
    .join-button {
        border: 1px solid #6b7c5a;
        border-radius: 12px;
        padding: 16px 32px;
        font-size: 16px;
        min-height: 50px;
    }
    
    .email-input-container {
        max-width: 400px;
    }
    
    .compatibility-text {
        font-size: 15px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px; /* Prevent iOS zoom on input focus */
    }
    
    .container {
        padding: 16px 12px;
    }
    
    .hero {
        margin-bottom: 40px;
    }
    
    .brand-name {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 5px;
    }
    
    .hero-description br,
    .main-quote br,
    .hero-title br,
    .photo-wardrobe-description br {
        display: none;
    }
    
    .app-image {
        max-width: 450px;
        margin: 25px 0;
    }
    
    .email-input-container {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }
    
    .email-input {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
        min-height: 52px;
        border: 1px solid #ddd;
        border-radius: 12px;
        background: #fff;
    }
    
    .join-button {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 52px;
        border-radius: 12px;
        font-weight: 600;
    }
    
    .photo-wardrobe-section {
        padding: 30px 0;
        margin-bottom: 15px;
    }
    
    .photo-wardrobe-title {
        font-size: 22px;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    
    .photo-wardrobe-description {
        font-size: 14px;
        padding: 0 8px;
        margin-bottom: 30px;
    }
    
    .phone-mockup {
        max-width: 180px;
    }
    
    .phone-image {
        max-height: 380px;
    }
    
    .arrow-container {
        margin: 12px 0;
    }
    
    .arrow-icon {
        width: 28px;
        height: 28px;
    }
    
    .compatibility-text {
        font-size: 14px;
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .features {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 24px 16px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .feature-icon img {
        width: 35px;
        height: 35px;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .main-quote {
        font-size: 20px;
        margin-bottom: 40px;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .quote-section {
        margin-bottom: 30px;
    }
    
    .preferences-section {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .preferences-title {
        font-size: 18px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .preference-card {
        padding: 16px 12px;
        min-height: 52px;
        border-radius: 10px;
    }
    
    .preference-text {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .idea-input-container {
        padding: 14px 16px;
        border-radius: 10px;
    }
    
    .idea-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .join-early-access-btn {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 52px;
        border-radius: 10px;
        font-weight: 600;
    }
}

/* Preferences Section */
.preferences-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.preferences-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #2c2c2c;
    line-height: 1.3;
}

.optional-text {
    color: #999;
    font-weight: 400;
    font-size: 18px;
}

.preferences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.preference-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.preference-card:hover {
    border-color: #2c2c2c;
    background: #f9f9f9;
}

.preference-card.selected {
    border-color: #2c2c2c;
    background: #2c2c2c;
    color: #ffffff;
}

.preference-text {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.other-idea-input {
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.idea-input-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 20px;
    gap: 12px;
}

.lightbulb-icon {
    font-size: 18px;
    opacity: 0.6;
}

.idea-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #2c2c2c;
}

.idea-input::placeholder {
    color: #999;
}

.join-early-access-btn {
    background: #6b7c5e;
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.join-early-access-btn:hover {
    background: #5a6b4f;
}

.join-early-access-btn:focus,
.join-early-access-btn:focus-visible {
    outline: 2px solid #6b7c5e;
    outline-offset: 2px;
}

/* Responsive adjustments for preferences */
@media (max-width: 768px) {
    .preferences-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .preferences-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .preference-card {
        padding: 18px 16px;
        min-height: 52px;
        border-radius: 10px;
    }
    
    .preference-text {
        font-size: 15px;
    }
    
    .other-idea-input {
        margin-bottom: 24px;
    }
    
    .join-early-access-btn {
        padding: 16px 40px;
        font-size: 16px;
        min-height: 52px;
    }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 12px 8px;
    }
    
    .brand-name {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .app-image {
        max-width: 450px;
        margin: 20px 0;
    }
    
    .photo-wardrobe-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .photo-wardrobe-description {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .phone-mockup {
        max-width: 160px;
    }
    
    .phone-image {
        max-height: 340px;
    }
    
    .main-quote {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .preferences-title {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .preference-text {
        font-size: 13px;
    }
    
    .join-early-access-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* iOS specific optimizations */
@supports (-webkit-touch-callout: none) {
    .email-input,
    .idea-input {
        font-size: 16px !important; /* Prevent zoom on iOS */
        transform: translateZ(0); /* Enable hardware acceleration */
    }
    
    .join-button,
    .join-early-access-btn,
    .get-access-button {
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Android specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .email-input,
    .idea-input {
        background-color: #fff;
        border-radius: 12px;
    }
    
    .preference-card {
        -webkit-tap-highlight-color: rgba(44, 44, 44, 0.1);
    }
}

/* Cute Popup Styles */
.cute-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cute-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cute-popup {
    background: linear-gradient(145deg, #ffeef8, #fff0fc);
    border-radius: 24px;
    padding: 32px 28px 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(251, 176, 204, 0.3),
        0 8px 32px rgba(255, 182, 193, 0.2);
    border: 2px solid #ffe4e1;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cute-popup-overlay.show .cute-popup {
    transform: scale(1) translateY(0);
}

.popup-sparkle {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    background: linear-gradient(45deg, #ff69b4, #ffc0cb);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 105, 180, 0.4);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: translateX(-50%) scale(1) rotate(0deg); }
    50% { transform: translateX(-50%) scale(1.1) rotate(180deg); }
}

.popup-header {
    margin-top: 16px;
    margin-bottom: 16px;
}

.popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.popup-message {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 24px;
}

.popup-close-btn {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    font-family: inherit;
}

.popup-close-btn:hover {
    background: linear-gradient(135deg, #ff1493, #dc143c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.floating-hearts .heart {
    position: absolute;
    font-size: 16px;
    animation: float-heart 4s ease-in-out infinite;
    opacity: 0.7;
}

.floating-hearts .heart:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.floating-hearts .heart:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 4s;
}

.floating-hearts .heart:nth-child(3) {
    right: 20%;
    animation-delay: 2s;
    animation-duration: 3.5s;
}

@keyframes float-heart {
    0%, 100% {
        transform: translateY(100px) rotate(0deg);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Different popup types */
.cute-popup.success {
    background: linear-gradient(145deg, #e8f5e8, #f0fff0);
    border-color: #90ee90;
    box-shadow: 
        0 20px 40px rgba(144, 238, 144, 0.3),
        0 8px 32px rgba(152, 251, 152, 0.2);
}

.cute-popup.success .popup-sparkle {
    background: linear-gradient(45deg, #32cd32, #90ee90);
    box-shadow: 0 4px 16px rgba(50, 205, 50, 0.4);
}

.cute-popup.success .popup-close-btn {
    background: linear-gradient(135deg, #32cd32, #228b22);
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.3);
}

.cute-popup.success .popup-close-btn:hover {
    background: linear-gradient(135deg, #228b22, #006400);
}

.cute-popup.warning {
    background: linear-gradient(145deg, #fff8e1, #fffacd);
    border-color: #ffd700;
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.3),
        0 8px 32px rgba(255, 223, 0, 0.2);
}

.cute-popup.warning .popup-sparkle {
    background: linear-gradient(45deg, #ffa500, #ffd700);
    box-shadow: 0 4px 16px rgba(255, 165, 0, 0.4);
}

.cute-popup.warning .popup-close-btn {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.cute-popup.warning .popup-close-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ff7f00);
}

.cute-popup.error {
    background: linear-gradient(145deg, #ffe8e8, #fff0f0);
    border-color: #ffb3ba;
    box-shadow: 
        0 20px 40px rgba(255, 179, 186, 0.3),
        0 8px 32px rgba(255, 192, 203, 0.2);
}

.cute-popup.error .popup-sparkle {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

.cute-popup.error .popup-close-btn {
    background: linear-gradient(135deg, #ff6b6b, #e55353);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.cute-popup.error .popup-close-btn:hover {
    background: linear-gradient(135deg, #e55353, #cc4848);
}

.cute-popup.info {
    background: linear-gradient(145deg, #e3f2fd, #e8f4f8);
    border-color: #87ceeb;
    box-shadow: 
        0 20px 40px rgba(135, 206, 235, 0.3),
        0 8px 32px rgba(176, 224, 230, 0.2);
}

.cute-popup.info .popup-sparkle {
    background: linear-gradient(45deg, #87ceeb, #b0e0e6);
    box-shadow: 0 4px 16px rgba(135, 206, 235, 0.4);
}

.cute-popup.info .popup-close-btn {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
}

.cute-popup.info .popup-close-btn:hover {
    background: linear-gradient(135deg, #4682b4, #2e5c8a);
}

/* Mobile responsive popup */
@media (max-width: 480px) {
    .cute-popup {
        width: 85%;
        padding: 28px 20px 20px;
    }
    
    .popup-sparkle {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-message {
        font-size: 15px;
    }
    
    .popup-close-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}