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

html {
    scroll-behavior: smooth;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #FF6B9D;
    outline-offset: 2px;
}

/* High contrast focus for dark backgrounds */
.hero a:focus,
.navbar a:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Brand Gradient */
.gradient-bg {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
}

.gradient-text {
    color: white;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: #333;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6B9D;
}

.cta-button {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23grad)"/><circle cx="800" cy="300" r="150" fill="url(%23grad)"/><circle cx="300" cy="700" r="120" fill="url(%23grad)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    position: relative;
    z-index: 2;
}

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

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.primary-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.primary-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    transform: scale(1.2);
}

.app-screenshot {
    width: 280px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.heart-float {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.heart-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.heart-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.heart-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

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

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 24px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon {
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* App Preview Section */
.app-preview {
    background: white;
}

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

.preview-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.preview-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkmark {
    color: #10B981;
    font-weight: bold;
    font-size: 1.2rem;
}

.preview-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.phone-preview {
    transform: scale(0.9);
}

.preview-screenshot {
    width: 200px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    color: white;
}

.pricing .section-title,
.pricing .section-subtitle {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #FF6B9D;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
}

.period {
    font-size: 1.1rem;
    opacity: 0.8;
}

.plan-savings {
    font-size: 0.9rem;
    opacity: 0.8;
}

.plan-features {
    margin-bottom: 32px;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.primary-plan {
    background: white;
    color: #FF6B9D;
}

.primary-plan:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.secondary-plan {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-plan:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-footer {
    text-align: center;
    margin-top: 48px;
}

.pricing-note {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-placeholder {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0.6;
}

.testimonial-content {
    text-align: center;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-location {
    color: #999;
    font-size: 0.9rem;
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.coming-soon-content h3 {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    color: #FF6B9D;
}

.faq-answer {
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer[aria-hidden="true"] {
    max-height: 0;
    padding: 0;
    margin: 0;
}

.faq-answer[aria-hidden="false"] {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: #666;
    line-height: 1.6;
}

/* Early Access Section */
.early-access {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    color: white;
}

.early-access-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.early-access-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.early-access-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 48px;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.form-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
}

.form-group input:valid {
    border-color: #2ed573;
}

.submit-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44BCE 50%, #4A5FBC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #ccc;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B9D;
}

.contact-info p {
    margin-bottom: 8px;
    color: #ccc;
}

.contact-info a {
    color: #FF6B9D;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-legal p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.disclaimer {
    font-style: italic;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .early-access-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container,
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.heart-icon {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Additional Accessibility Styles */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .gradient-text {
        -webkit-text-fill-color: unset;
        color: #FF6B9D;
    }
}
