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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

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

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

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

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
}

.app-store-badge {
    margin-top: 32px;
}

.app-store-badge img {
    height: 50px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-gray {
    background: #fafafa;
}

.section-content {
    max-width: 700px;
}

.section h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.section p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* Steps / How It Works */
.steps {
    margin-top: 48px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-content p {
    color: #666;
    margin-bottom: 0;
}

/* Privacy Highlights */
.privacy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}

.privacy-icon {
    color: #22c55e;
    font-size: 20px;
    font-weight: 600;
}

.privacy-link a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.privacy-link a:hover {
    opacity: 0.6;
}

/* Support Links */
.support-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.support-link {
    display: inline-block;
    padding: 12px 24px;
    background: #f5f5f5;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.support-link:hover {
    background: #e5e5e5;
}

/* Privacy Section */
.privacy-intro {
    font-size: 20px;
    margin-bottom: 48px;
    color: #1a1a1a;
}

.privacy-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.privacy-content p {
    margin-bottom: 24px;
}

/* Support Section */
.contact-info {
    font-size: 20px;
    margin-top: 32px;
}

.contact-info a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.6;
}

/* Developer Info */
.developer-info {
    margin-top: 32px;
}

.developer-info p {
    margin-bottom: 12px;
    font-size: 18px;
}

.developer-info a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.developer-info a:hover {
    opacity: 0.6;
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-page {
    padding: 140px 0 80px;
}

.legal-content {
    max-width: 700px;
}

.legal-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.last-updated {
    color: #999;
    font-size: 16px;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.legal-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
    color: #666;
}

.legal-section li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-section a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.3s ease;
}

.legal-section a:hover {
    opacity: 0.6;
}

.contact-details {
    background: #fafafa;
    padding: 24px;
    border-radius: 12px;
    margin-top: 16px;
}

.contact-details p {
    margin-bottom: 8px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.back-link {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

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

.back-link a:hover {
    color: #1a1a1a;
}

/* Footer */
.footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

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

.footer-links {
    margin-top: 12px;
}

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

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

/* Animations */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .step {
        flex-direction: column;
        gap: 16px;
    }

    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-content h1 {
        font-size: 36px;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .support-links {
        flex-direction: column;
    }

    .support-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section h2 {
        font-size: 28px;
    }

    .container {
        padding: 0 20px;
    }

    .legal-content h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .privacy-highlights {
        grid-template-columns: 1fr;
    }
}
