/* LogBuddy Landing Page Styles */
/* Using app theme colors and Space Grotesk font */

:root {
    /* Colors from AppColors.swift */
    --background: #252525;
    --foreground: #fafafa;
    --card: #252525;
    --card-foreground: #fafafa;
    --primary: #fafafa;
    --primary-foreground: #353535;
    --secondary: #454545;
    --secondary-foreground: #fafafa;
    --muted: #454545;
    --muted-foreground: #b5b5b5;
    --accent: #454545;
    --accent-foreground: #fafafa;
    --border: #454545;
    
    /* Chart colors for accents */
    --chart1: #5b5bd4;
    --chart2: #6ec4a4;
    --chart3: #c9b83e;
    --chart4: #c766c7;
    --chart5: #dd7b5e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Navigation */
header {
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--foreground);
}

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

.nav-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--foreground);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--chart1), var(--chart2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 2rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 24px;
}

.description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 40px;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.app-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.feature {
    background-color: var(--secondary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--foreground);
}

.feature p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--foreground);
}

/* Privacy Page Specific Styles */
.privacy-page {
    padding: 40px 0;
}

.privacy-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--foreground);
}

.privacy-page .last-updated {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.privacy-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--foreground);
}

.privacy-page p,
.privacy-page ul {
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.privacy-page ul {
    padding-left: 24px;
}

.privacy-page li {
    margin-bottom: 8px;
}

.privacy-page a {
    color: var(--chart2);
    text-decoration: none;
}

.privacy-page a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--chart2);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 24px;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 16px;
    }

    .privacy-page h1 {
        font-size: 2rem;
    }
}
