@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #FAFBFC;
    --bg-gradient-end: #FFF0EE;
    --card-bg: rgba(255, 255, 255, 0.9);
    --primary-color: #FA8072; /* Salmon / Soft Coral */
    --primary-hover: #e07468;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --border-color: rgba(250, 128, 114, 0.15);
    --glass-blur: blur(12px);
    --shadow: 0 10px 30px -10px rgba(250, 128, 114, 0.15);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(250, 128, 114, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 128, 114, 0.4);
}

/* Header/Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(250, 128, 114, 0.08);
    transition: all var(--transition-speed);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    box-shadow: 0 4px 6px rgba(250, 128, 114, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-speed);
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    background: rgba(250, 128, 114, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 25px; /* App uses 30 border-radius based on file */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(250, 128, 114, 0.35);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 128, 114, 0.25);
}

.btn-secondary {
    background: rgba(250, 128, 114, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(250, 128, 114, 0.15);
}

.btn-secondary:hover {
    background: rgba(250, 128, 114, 0.15);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1A202C;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid rgba(250, 128, 114, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(250, 128, 114, 0.04);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 128, 114, 0.25);
    box-shadow: 0 15px 35px rgba(250, 128, 114, 0.08);
}

.card-icon {
    background: rgba(250, 128, 114, 0.1);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2D3748;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Legal Content Pages */
.legal-main {
    padding-top: 8rem;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid rgba(250, 128, 114, 0.08);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
    background: none;
    -webkit-text-fill-color: #1A202C !important;
    color: #1A202C;
}

.legal-content p.date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.25rem;
    color: #4A5568;
}

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

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(250, 128, 114, 0.03);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.copyright {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .legal-content {
        padding: 2rem;
    }
}
