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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

.landing-page {
    overflow-y: auto;
    height: 100%;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 1.2rem 0 2rem;
    color: #4070FF;
    letter-spacing: 0.5px;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(64, 112, 255, 0.1), rgba(64, 112, 255, 0.05));
    border-radius: 8px;
    border-left: 3px solid #4070FF;
}

.tagline::after {
    content: "✨";
    display: inline-block;
    margin-left: 0.5rem;
    animation: sparkle 1.5s infinite ease-in-out alternate;
}

@keyframes sparkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4070FF;
}

.nav-links .auth-link {
    padding: 0.5rem 1.5rem;
    background: #4070FF;
    color: white;
    border-radius: 24px;
    font-weight: 600;
}

.nav-links .auth-link:hover {
    background: #3060FF;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: 72px;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4070FF, #3060FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.features {
    padding: 6rem 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
}

.pricing {
    padding: 8rem 2rem;
    background: #fff;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing .subtitle {
    font-size: 1.25rem;
    color: #4070FF;
    font-weight: 600;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    text-align: left;
}

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

.pricing-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.pricing-card .save-badge {
    background: #FFE8E8;
    color: #FF4A4A;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.pricing-card .price {
    margin-bottom: 1rem;
}

.pricing-card .price .original {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
    display: block;
}

.pricing-card .price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
}

.pricing-card .price .period {
    color: #666;
    font-size: 1rem;
}

.pricing-card .limit {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 0.9rem;
}

.pricing-card .features li ion-icon {
    color: #4070FF;
    font-size: 1rem;
}

.pricing-card .choose-plan {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background: #4070FF;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pricing-card .choose-plan:hover {
    background: #3060FF;
}

.pricing-card.featured {
    border: 2px solid #4070FF;
}

.pricing-card.featured .choose-plan {
    background: #4070FF;
}

.pricing-card .popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #4070FF;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card .annual-price {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer {
    background: #f8f9fa;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4070FF;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

.made-with-love {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.made-with-love:hover {
    color: #4070FF;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-button {
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button img {
    height: 48px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}

.how-it-works {
    padding: 6rem 2rem;
    text-align: center;
    background: #f8f9fa;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.step-card {
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #4070FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-card img {
    width: 80px;
    height: 80px;
    margin: 1.5rem 0;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: #6c757d;
}

.how-it-works, .features, .pricing {
    scroll-margin-top: 100px; /* Add space for fixed navbar */
}

/* Ensure sections are properly positioned */
section {
    position: relative;
    z-index: 1;
}

/* Legal Pages */
.legal-page {
    padding-top: 80px;
    min-height: 100vh;
    background-color: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content .last-updated {
    font-size: 1.1rem;
    color: #4070FF;
    margin-bottom: 2rem;
    display: block;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #333;
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.2rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 60px;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page */
.about-page {
    padding-top: 80px;
    min-height: 100vh;
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.about-content .tagline {
    font-size: 1.1rem;
    color: #4070FF;
    margin-bottom: 2rem;
    display: block;
}

.about-content section {
    margin-bottom: 2.5rem;
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 60px;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-content .tagline {
        font-size: 1rem;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Support Page */
.support-page {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.support-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.support-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.support-content .subtitle {
    font-size: 1.5rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box button {
    padding: 1rem 2rem;
    background: #4070FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #3060FF;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4070FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-button:hover {
    background: #3060FF;
}

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

.resource-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.resource-card p {
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .support-page {
        padding: 6rem 1rem 3rem;
    }
    
    .support-content {
        padding: 2rem;
    }
    
    .support-content h1 {
        font-size: 2.5rem;
    }
    
    .support-content .subtitle {
        font-size: 1.2rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    padding: 8rem 2rem;
    
    h2 {
        text-align: center;
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 4rem;
        background: linear-gradient(135deg, #4070FF, #3060FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

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

    .faq-item {
        border-bottom: 1px solid #dee2e6;
        
        .faq-question {
            padding: 1.5rem 0;
            font-size: 1.25rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;

            &.active {
                color: #4070FF;
            }

            .icon {
                font-size: 1.5rem;
            }
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            color: #6c757d;
            
            &.open {
                max-height: 200px;
                padding-bottom: 1.5rem;
            }
        }
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 1rem;
        
        h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
        }
        
        .faq-question {
            font-size: 1rem;
            padding: 1rem;
        }
        
        .faq-answer {
            padding: 0 1rem;
            font-size: 0.9rem;
        }
    }
}

/* Iframe pages for legal content */
.iframe-page {
  padding-top: 80px; /* Height of the navbar */
  min-height: 100vh;
  background-color: #ffffff;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px); /* Full height minus navbar */
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .iframe-page {
    padding-top: 60px; /* Smaller navbar on mobile */
  }
  
  .iframe-container {
    height: calc(100vh - 60px);
  }
} 