:root {
    --primary: #13ec5b;
    --primary-dark: #0ea841;
    --primary-gradient: linear-gradient(135deg, #13ec5b 0%, #0ea841 100%);
    --bg: #f6f8f6;
    --text: #0d1b12;
    --text-muted: #4c9a66;
    --surface: #ffffff;
    --border: #e5e7eb;
    --radius: 20px;
    --shadow-soft: 0 4px 20px rgba(19, 236, 91, 0.1);
    --shadow-glow: 0 0 15px rgba(19, 236, 91, 0.3);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #102216;
        --text: #ffffff;
        --text-muted: #9ca3af;
        --surface: #1a3322;
        --border: rgba(255,255,255,0.1);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

p, li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 5rem;
    padding: 2rem 0;
}

.hero-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
}

.small-note {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #000;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-glow);
    border: none;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(19, 236, 91, 0.4);
}

/* Sections */
section {
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-large {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, rgba(19, 236, 91, 0.03) 100%);
}

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

.feature-card {
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* FAQ */
.faq-section {
    max-width: 700px;
    margin: 0 auto 5rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand span {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.disclaimer {
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.6;
}

/* Legal Pages Overrides */
.legal-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    header {
        margin-bottom: 3rem;
    }

    .hero {
        margin-bottom: 3rem;
    }

    .hero-image {
        width: 140px;
        height: 140px;
        border-radius: 24px;
        margin-bottom: 1.5rem;
    }
    
    .p-large {
        padding: 2rem 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center; 
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

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