:root {
    --beige-light: #f5f0e6;
    --beige: #e8d9c5;
    --beige-dark: #d4c4a7;
    --accent: #c17c74;
    --text: #4a4238;
    --text-light: #6b5e4c;
}

body {
    margin: 0;
    padding: 100px 0 0; /* Add padding to prevent content from being hidden under header */
    font-family: 'Poppins', sans-serif;
    background: var(--beige-light);
    color: var(--text);
    scroll-behavior: smooth;
    min-height: 100vh;
    line-height: 1.6;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
    gap: 2rem; /* Add gap for spacing */
}
header.header-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
    z-index: 1001;
    flex-shrink: 0; /* Prevent logo from shrinking */
    min-width: 180px; /* Adjust as needed for your logo+text */
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1001;
    flex: 1; /* Take remaining space */
    justify-content: flex-end; /* Push nav items to the right */
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav a:not(.cta-nav):hover {
    color: #ee9ca7;
    transform: translateY(-2px);
}

nav a {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

/* Trust & Safety Section */
.trust-section {
    padding: 4rem 0;
    position: relative;
    scroll-margin-top: 80px; /* Ensure sections account for fixed header */
}

.trust-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.trust-section .section-tag {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.trust-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2D3436;
    font-weight: 700;
    line-height: 1.2;
}

.trust-section .section-intro {
    font-size: 1.2rem;
    color: #636E72;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F1F3F5;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.trust-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2D3436;
    font-weight: 600;
}

.trust-card p {
    color: #636E72;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.trust-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #636E72;
    font-size: 0.95rem;
}

.trust-card ul li:before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.trust-cta {
    background: linear-gradient(135deg, #f8f9fd 0%, #eef2ff 100%);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.trust-content {
    flex: 1;
    z-index: 2;
}

.trust-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2D3436;
}

.trust-content p {
    color: #636E72;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
}

.trust-links {
    display: flex;
    gap: 1.5rem;
}

.trust-links a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.trust-links a:hover {
    color: #E55C5C;
    text-decoration: underline;
}

.trust-links a:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.trust-links a:hover:after {
    transform: translateX(3px);
}

.trust-image {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.shield-icon {
    font-size: 8rem;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .trust-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .trust-content {
        text-align: center;
    }
    
    .trust-links {
        justify-content: center;
    }
    
    .trust-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 4rem 0;
    }
    
    .trust-section h2 {
        font-size: 2rem;
    }
    
    .trust-section .section-intro {
        font-size: 1.1rem;
    }
    
    .trust-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .shield-icon {
        font-size: 6rem;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.pricing-section .section-tag {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D3436;
    font-weight: 800;
    line-height: 1.2;
}

.pricing-section .section-intro {
    font-size: 1.2rem;
    color: #636E72;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #FF6B6B;
    position: relative;
    z-index: 1;
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: #FF6B6B;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #2D3436;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #FF6B6B;
    margin: 0.5rem 0;
    line-height: 1;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: #636E72;
    opacity: 0.8;
}

.price-description {
    color: #636E72;
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: #2D3436;
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-features li:before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2D3436;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    margin-top: auto;
}

.pricing-button.primary {
    background: #FF6B6B;
    color: white;
    border-color: #FF6B6B;
}

.pricing-button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.pricing-button.primary:hover {
    background: #E55C5C;
    border-color: #E55C5C;
}

.pricing-footer {
    text-align: center;
    margin-top: 2rem;
    color: #636E72;
    font-size: 0.95rem;
}

.pricing-footer p {
    margin: 0.5rem 0;
}

.text-link {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.text-link:hover {
    color: #E55C5C;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-card {
        min-width: 250px;
    }
    
    .pricing-card.featured {
        transform: scale(1.01);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.03) translateY(-5px);
    }
}

@media (max-width: 900px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        max-width: 400px;
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .pricing-section h2 {
        font-size: 2rem;
    }
    
    .pricing-section .section-intro {
        font-size: 1.05rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Navigation Icons */
.safety-icon {
    margin-right: 0.5rem;
    font-size: 1.1em;
    vertical-align: middle;
}

.mobile-preview-link .mobile-icon {
    margin-right: 0.5rem;
    font-size: 1.1em;
    vertical-align: middle;
}

/* Mobile Preview Link */
.mobile-preview-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.mobile-preview-link:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.mobile-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Hide mobile icon on small screens */
@media (max-width: 768px) {
    .mobile-preview-link span:not(.mobile-icon) {
        display: none;
    }
    
    .mobile-preview-link {
        padding: 0.5rem !important;
        margin: 0 0.2rem;
    }
}

nav a:not(.cta-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ee9ca7;
    transition: width 0.3s ease;
}

nav a:not(.cta-nav):hover::after {
    width: 100%;
}
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -100px; /* Compensate for body padding */
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 240, 230, 0.9) 0%, rgba(232, 217, 197, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadein 1.2s ease-out;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.hero h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideup 1.2s cubic-bezier(.25,1.2,.5,1);
}
.cta-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: cta-bounce 2.5s infinite alternate;
    letter-spacing: 0.5px;
}
.cta-btn:hover {
    background: rgba(193, 124, 116, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 124, 116, 0.2);
}
.cta-animate {
    animation: cta-bounce 2.5s infinite alternate;
}
@keyframes cta-bounce {
    0% { box-shadow: 0 2px 10px rgba(238,156,167,0.17); }
    100% { box-shadow: 0 6px 32px 0 rgba(238,156,167,0.22); }
}

/* Fade-in animation */
.animate-fadein {
    animation: fadein 1.2s ease-out;
}
@keyframes fadein {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: none; }
}
/* Slide-up animation */
.animate-slideup {
    animation: slideup 1.2s cubic-bezier(.25,1.2,.5,1);
}
@keyframes slideup {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: none; }
}
/* Icon bounce animation */
.animate-bounce {
    animation: icon-bounce 1.5s infinite alternate;
}
@keyframes icon-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px) scale(1.1); }
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about h2 {
    font-size: 2.5rem;
    color: #2d3436;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.section-intro {
    color: #636e72;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 2rem 0;
    max-width: 100% !important;
    text-align: left !important;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
}

.feature-text h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3436;
    font-size: 1.2rem;
}

.feature-text p {
    margin: 0;
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: #95a5a6;
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    position: relative;
    z-index: 2;
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.placeholder-content span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 1.2rem;
    color: #2d3436;
    font-weight: 500;
    margin: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    top: -30px;
    right: -30px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Mobile Preview Section */
.mobile-preview {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.mobile-preview .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Device Mockup */
.device-mockup {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 10px solid #2d3436;
}

.device-screen {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    height: 600px;
    position: relative;
}

.app-screen {
    display: none;
    flex-direction: column;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
}

.app-screen.active {
    display: flex;
}

.app-header {
    padding: 1rem;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    text-align: center;
    position: relative;
}

.app-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.back-button {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    cursor: pointer;
}

/* Profile Card */
.profile-card {
    padding: 2rem 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f1f3f5;
    margin-bottom: 1.5rem;
    background-image: url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80');
    background-size: cover;
    background-position: center;
}

.profile-card h4 {
    margin: 0.5rem 0;
    font-size: 1.4rem;
    color: #2d3436;
}

.profile-card p {
    color: #636e72;
    margin-bottom: 2rem;
}

.profile-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-dislike,
.btn-like {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-dislike {
    background: #f1f3f5;
    color: #ff6b6b;
}

.btn-like {
    background: #ff6b6b;
    color: white;
}

/* Chat Screen */
.chat-container {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    position: relative;
    font-size: 0.9rem;
}

.message.received {
    background: #f1f3f5;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.sent {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message .time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.3rem;
    text-align: right;
}

.message-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #f1f3f5;
}

.message-input input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.9rem;
}

.message-input button {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.message-input button:hover {
    background: #ff5252;
}

/* Preview Features */
.preview-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f5;
}

.feature:hover,
.feature.active {
    border-color: #ff6b6b;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.1);
}

.feature h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3436;
    font-size: 1.2rem;
}

.feature p {
    margin: 0;
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Download Buttons */
.download-buttons {
    margin-top: 2rem;
    text-align: center;
}

.download-buttons p {
    color: #95a5a6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.store-buttons img {
    height: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.store-buttons img:hover {
    transform: translateY(-3px);
}

/* Mobile CTA Section */
.mobile-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-cta .container {
    position: relative;
    z-index: 2;
}

.mobile-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.mobile-cta h2 {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.mobile-cta p {
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.mobile-cta .btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-cta .btn-primary {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.mobile-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
}

.mobile-cta .btn-primary:active {
    transform: translateY(0);
}

/* Decorative Elements */
.mobile-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 154, 158, 0.1);
    z-index: 1;
}

.mobile-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(250, 208, 196, 0.1);
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mobile-cta {
        padding: 4rem 0;
    }
    
    .mobile-cta h2 {
        font-size: 2.2rem;
    }
    
    .mobile-cta p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    .preview-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 3rem;
    }
    
    .preview-features {
        order: -1;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        min-height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
}

/* How it Works Card Animation and Hover */
.step {
    transition: transform 0.22s cubic-bezier(.4,1.7,.5,1), box-shadow 0.22s;
}
.step:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(238,156,167,0.13), 0 1.5px 3px rgba(0,0,0,0.04);
}
.icon.animate-bounce {
    transition: color 0.2s;
}
.icon.animate-bounce:hover {
    color: #222;
}
.how-it-works {
    background: #fff;
    padding: 3rem 2rem;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3436;
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--accent);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.step {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.icon {
    font-size: 3.5rem;
    margin: 1.5rem 0;
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3436;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.step p {
    color: #636e72;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Step Features Styling */
.step-features {
    text-align: left;
    margin: 1.5rem 0 0 0;
    padding: 0;
    list-style: none;
}

.step-features li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.6;
}

.step-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-align: center;
}

/* CTA Container */
.cta-container {
    margin-top: 4rem;
    text-align: center;
}

.cta-container .cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.cta-container .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
}

.small-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .icon {
        font-size: 3rem;
    }
}

.signup {
    text-align: center;
    padding: 4rem 2rem 3rem 2rem;
}
.signup h2 {
    margin-bottom: 1.5rem;
}
#signupForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 350px;
    margin: 0 auto;
}
#signupForm input, select, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--accent);
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border 0.2s;
    background-color: rgba(255, 255, 255, 0.8);
}
#signupForm input:focus, #signupForm select:focus {
    border-color: #222;
}
#signupForm button {
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.cta-nav:hover {
    background: rgba(238, 156, 167, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 156, 167, 0.1);
}
#formMessage {
    margin-top: 1rem;
    font-weight: 500;
    color: #ee9ca7;
}
footer {
    text-align: center;
    padding: 2rem;
    background: var(--beige);
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--beige-dark);
}
@media (max-width: 800px) {
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
/* Mobile styles */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0;
    margin: 0;
    /* Safari-specific viewport fix */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Safari-specific header fixes */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Safari-specific positioning */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent Safari from collapsing the header */
    min-height: auto;
    height: auto;
  }
  
  /* Add padding to body to account for fixed header */
  body::before {
    content: '';
    display: block;
    height: 120px; /* Adjust based on your header height */
    width: 100%;
  }
  
  .logo {
    margin-bottom: 12px;
    /* Prevent logo from being cut off */
    max-width: 100%;
    overflow: hidden;
  }
  
  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    /* Safari-specific flex fixes */
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  
  .nav-link, .cta-btn, .pricing-button, .btn {
    width: 100%;
    text-align: center;
    margin: 6px 0;
    font-size: 1rem;
    /* Safari-specific button fixes */
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    padding: 12px 16px;
    /* Prevent text scaling */
    -webkit-text-size-adjust: 100%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    /* Prevent text scaling in Safari */
    -webkit-text-size-adjust: 100%;
  }
  
  /* Safari-specific viewport fixes */
  .hero, .about, .pricing-section, .mobile-cta, .signup {
    /* Ensure proper spacing from fixed header */
    padding-top: 20px;
    /* Safari-specific transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Fix for Safari's viewport height issues */
  .auth-modal {
    height: 100vh;
    height: -webkit-fill-available;
    height: -moz-available;
    height: stretch;
  }
  
  /* Safari-specific modal fixes */
  .modal-container {
    /* Prevent modal from being cut off */
    max-height: 80vh;
    max-height: -webkit-fill-available;
    max-height: -moz-available;
    max-height: stretch;
    /* Safari-specific positioning */
    -webkit-transform: scale(0.9) translateY(20px);
    transform: scale(0.9) translateY(20px);
  }
  
  .auth-modal.active .modal-container {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
  }
}

/* Additional Safari-specific fixes for smaller screens */
@media (max-width: 480px) {
  header {
    padding: 0.75rem;
    /* Ensure header doesn't collapse */
    min-height: 80px;
  }
  
  body::before {
    height: 100px; /* Smaller header height for mobile */
  }
  
  .logo-text {
    font-size: 1.5rem; /* Smaller logo text */
  }
  
  nav {
    gap: 8px;
  }
  
  .nav-link, .cta-btn, .pricing-button, .btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  /* Fix for Safari's input zoom issue */
  .form-group input {
    font-size: 16px; /* Prevents zoom on iOS Safari */
  }
}

/* Safari-specific viewport meta tag support */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific styles */
  body {
    /* Prevent rubber band scrolling issues */
    position: relative;
    overflow-x: hidden;
  }
  
  header {
    /* Ensure header stays at top */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Safari-specific backdrop */
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  
  /* Fix for Safari's 100vh issue */
  .auth-modal {
    height: 100vh;
    height: -webkit-fill-available;
  }
}

/* Authentication Modals */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: var(--beige-light);
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(193, 124, 116, 0.1);
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(193, 124, 116, 0.1);
    color: var(--accent);
    transform: scale(1.1);
}

.modal-content {
    padding: 1rem 2rem 2rem;
}

.auth-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.auth-intro p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(193, 124, 116, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: var(--text);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(193, 124, 116, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(193, 124, 116, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--text);
}

.auth-submit {
    background: linear-gradient(135deg, var(--accent) 0%, #d4a5a0 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(193, 124, 116, 0.3);
}

.auth-submit:active {
    transform: translateY(0);
}

.submit-icon {
    transition: transform 0.2s ease;
}

.auth-submit:hover .submit-icon {
    transform: translateX(3px);
}

.auth-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}

.auth-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.auth-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(193, 124, 116, 0.1);
}

.auth-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Modal animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
}

/* Responsive design for modals */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-width: none;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-icon {
        font-size: 2.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .modal-content {
        padding: 0.5rem 1rem 1rem;
    }
}

