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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #88D8E7;
    color: #2A3A52;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Luvu Color Palette */
:root {
    --luvu-blue: #88D8E7;
    --luvu-rose: #F53173;
    --luvu-fire: #F7A337;
    --luvu-dark-blue: #2A3A52;
    --luvu-gray: #D7D8EE;
    --luvu-orange: #FD8E23;
    --luvu-yellow-orange: #FFBA38;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* Content Sections */
.content-sections {
    padding: 60px 0;
    background: white;
    font-family: 'Nunito', sans-serif;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.content-row:last-child {
    margin-bottom: 0;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--luvu-dark-blue);
    margin-bottom: 16px;
}

.content-text p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: #5a6478;
    line-height: 1.6;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content-sections {
        padding: 40px 0;
    }
    
    .content-row {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .content-row.reverse {
        flex-direction: column !important;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .content-image img {
        border-radius: 15px;
    }
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--luvu-dark-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--luvu-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--luvu-dark-blue);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--luvu-dark-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--luvu-blue);
}

.mobile-download-btn .pressable-btn-content {
    padding: 16px 40px;
    font-size: 22px;
    background: white;
    color: var(--luvu-dark-blue);
}

.mobile-download-btn::before {
    background: #E5E5E5;
}

.mobile-download-btn {
    cursor: default;
}

.logo {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 48px;
    color: var(--luvu-blue);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Header Wave Separator */
.header-wave-separator {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
    z-index: 999;
    margin-top: -1px; /* Eliminate any gap */
}

.header-wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Pressable Button Component */
.pressable-btn {
    display: inline-block;
    position: relative;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Button wrapper that contains shadow and content */
.pressable-btn-wrapper {
    position: relative;
    display: inline-block;
}

/* The actual button content */
.pressable-btn-content {
    position: relative;
    padding: 14px 32px;
    background: var(--luvu-blue);
    color: white;
    border-radius: 18px;
    font-family: 'Cherry Bomb One', cursive;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.1s ease;
    z-index: 2;
}

/* The shadow underneath */
.pressable-btn::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: calc(100% + 4px);
    background: #6BB5C5;
    border-radius: 18px;
    z-index: 1;
}

/* Hover state */
.pressable-btn:hover .pressable-btn-content {
    transform: translateY(2px);
}

/* Active/pressed state */
.pressable-btn:active .pressable-btn-content {
    transform: translateY(4px);
}

/* Header button specific */
.header-btn .pressable-btn-content {
    padding: 12px 28px;
    font-size: 22px;
    background: white;
    color: var(--luvu-dark-blue);
}

.header-btn::before {
    background: #E5E5E5;
}

.header-btn {
    cursor: pointer;
}

/* Press kit button specific */
.press-kit-btn .pressable-btn-content {
    padding: 16px 40px;
    background: var(--luvu-rose);
    border-radius: 20px;
    font-size: 16px;
}

.press-kit-btn::before {
    background: #D12A5D;
    border-radius: 20px;
}

/* App Store Badge - Hero */
.app-store-badge {
    display: inline-block;
    width: 180px;
    height: 60px;
    transition: opacity 0.2s ease, transform 0.1s ease;
    text-decoration: none;
}

.app-store-badge:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.app-store-badge:active {
    transform: scale(0.98);
}

.app-store-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Nav App Store Badge */
.nav-app-store-badge {
    display: inline-block;
    width: 120px;
    height: 40px;
    transition: opacity 0.2s ease, transform 0.1s ease;
    text-decoration: none;
}

.nav-app-store-badge:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-app-store-badge:active {
    transform: scale(0.98);
}

.nav-app-store-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-app-store-badge.mobile {
    margin-top: 20px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: #88D8E7;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: var(--luvu-dark-blue);
    margin-bottom: 40px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    margin-top: 40px;
}

.coming-soon-btn .pressable-btn-content {
    background: white;
    color: var(--luvu-dark-blue);
    padding: 16px 32px;
    font-size: 18px;
}

.coming-soon-btn::before {
    background: #E5E5E5;
}

.coming-soon-btn {
    cursor: default;
}

.press-btn .pressable-btn-content {
    background: white;
    color: var(--luvu-dark-blue);
    padding: 16px 32px;
    font-size: 18px;
}

.press-btn::before {
    background: #E5E5E5;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Luvu Rive Animation */
.luvu-rive-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 120px;
    height: 120px;
    z-index: 10;
}

.luvu-rive {
    width: 100%;
    height: 100%;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    position: relative;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Features Section */
.features {
    background: #88D8E7;
    padding: 80px 0;
    position: relative;
}

/* Wavy Divider */
.wave-divider {
    position: absolute;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider.top {
    top: -1px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Feature Rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-title {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 48px;
    line-height: 1.2;
    color: var(--luvu-rose);
}

.feature-row:nth-child(2) .feature-title {
    color: var(--luvu-blue);
}

.feature-row:nth-child(3) .feature-title {
    color: var(--luvu-fire);
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(42, 58, 82, 0.1);
}

/* Footer */
.footer {
    background: #88D8E7;
    padding: 80px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-btn {
    margin-bottom: 20px;
}

/* Remove old button styles that are no longer needed */

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

.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show mobile menu button, hide desktop nav */
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    .header {
        padding: 16px 0;
    }
    
    .logo {
        font-size: 40px;
    }
    
    .header-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tagline {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .feature-row, .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .feature-title {
        font-size: 32px;
        text-align: center;
    }
    
    /* Mobile hero buttons */
    .hero-buttons {
        justify-content: center;
    }
    
    .app-store-badge {
        width: 160px;
        height: 54px;
    }
    
    .coming-soon-btn .pressable-btn-content,
    .press-btn .pressable-btn-content {
        padding: 18px 40px;
        font-size: 20px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(136, 216, 231, 0.1) 100%);
    animation: pulse 2s ease-in-out infinite;
    border-radius: 40px;
}

/* Hover Effects */
.feature-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(42, 58, 82, 0.15);
}

/* Press Page Styles */
.press-page {
    padding: 80px 0 120px;
    background-color: #88D8E7;
    min-height: 100vh;
}

.press-content {
    max-width: 1000px;
    margin: 0 auto;
}

.press-header {
    text-align: center;
    margin-bottom: 60px;
}

.press-title {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 48px;
    color: var(--luvu-dark-blue);
    margin-bottom: 20px;
}

.press-subtitle {
    font-size: 18px;
    color: var(--luvu-dark-blue);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Section */
.press-contact {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(42, 58, 82, 0.1);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--luvu-dark-blue);
    margin-bottom: 24px;
}

.contact-info {
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--luvu-dark-blue);
}

.contact-item strong {
    font-weight: 600;
    margin-right: 8px;
}

.contact-link {
    color: var(--luvu-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.press-info h3 {
    font-weight: 600;
    color: var(--luvu-dark-blue);
    margin-bottom: 12px;
}

.press-info p {
    line-height: 1.6;
    color: var(--luvu-dark-blue);
    opacity: 0.8;
}

/* Press Form Section */
.press-form-section {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(42, 58, 82, 0.1);
}

.form-description {
    color: var(--luvu-dark-blue);
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.press-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--luvu-dark-blue);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--luvu-gray);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--luvu-dark-blue);
    background: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--luvu-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    margin-top: 16px;
    align-self: flex-start;
}

.submit-btn .pressable-btn-content {
    background: var(--luvu-rose);
    padding: 16px 32px;
    font-size: 16px;
}

.submit-btn::before {
    background: #D12A5D;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-message h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.form-message p {
    margin: 0;
    line-height: 1.5;
}

.form-message a {
    color: inherit;
    text-decoration: underline;
}

/* Responsive Design for Press Page */
@media (max-width: 768px) {
    .press-page {
        padding: 60px 0 80px;
    }
    
    .press-title {
        font-size: 36px;
    }
    
    .press-subtitle {
        font-size: 16px;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .press-contact,
    .press-form-section {
        padding: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* Invite Page Styles */
.invite-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--luvu-blue) 0%, var(--luvu-rose) 100%);
    display: flex;
    align-items: center;
}

.invite-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.invite-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(42, 58, 82, 0.15);
    text-align: center;
}

.invite-header {
    margin-bottom: 40px;
}

.invite-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.invite-title {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 36px;
    color: var(--luvu-dark-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.invite-subtitle {
    font-size: 18px;
    color: var(--luvu-dark-blue);
    opacity: 0.8;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.invite-details {
    margin-bottom: 40px;
}

.friend-code-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--luvu-dark-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.friend-code {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 32px;
    color: var(--luvu-rose);
    background: rgba(245, 49, 115, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    border: 2px solid rgba(245, 49, 115, 0.2);
    letter-spacing: 2px;
}

.invite-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.open-app-btn .pressable-btn-content {
    background: var(--luvu-rose);
    padding: 18px 48px;
    font-size: 18px;
    border-radius: 20px;
}

.open-app-btn::before {
    background: #D12A5D;
    border-radius: 20px;
}

.app-store-section {
    text-align: center;
}

.app-store-text {
    font-size: 14px;
    color: var(--luvu-dark-blue);
    opacity: 0.7;
    margin-bottom: 12px;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-store-link:hover {
    transform: scale(1.05);
}

.app-store-badge {
    height: 48px;
    width: auto;
}

.invite-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.invite-preview .phone-mockup {
    width: 280px;
    height: 560px;
    filter: drop-shadow(0 20px 40px rgba(42, 58, 82, 0.2));
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(245, 49, 115, 0.2);
    border-top: 4px solid var(--luvu-rose);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

.loading-overlay p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--luvu-dark-blue);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Invite Page */
@media (max-width: 768px) {
    .invite-section {
        padding: 80px 0 60px;
    }
    
    .invite-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .invite-card {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .invite-title {
        font-size: 28px;
    }
    
    .invite-subtitle {
        font-size: 16px;
    }
    
    .friend-code {
        font-size: 24px;
        padding: 12px 20px;
    }
    
    .open-app-btn .pressable-btn-content {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    .invite-preview {
        order: -1;
    }
    
    .invite-preview .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .app-store-badge {
        height: 40px;
    }
}