/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    /* Color Palette - Material 3 Inspired */
    --md-sys-color-primary: #B71C1C;
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #FFDAD6;
    --md-sys-color-on-primary-container: #410002;

    --md-sys-color-secondary: #775652;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #FFDAD6;
    --md-sys-color-on-secondary-container: #2C1512;

    --md-sys-color-surface: #FDFCFF;
    --md-sys-color-on-surface: #1A1C1E;
    --md-sys-color-surface-variant: #F4DDDB;
    --md-sys-color-on-surface-variant: #524341;

    --md-sys-color-outline: #857371;

    /* Spacing & Layout */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 12px;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--md-sys-color-on-surface);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    /* Display Small */
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 1.75rem;
    /* Headline Small */
    margin-bottom: var(--spacing-md);
    color: var(--md-sys-color-primary);
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    /* Body Large */
    color: var(--md-sys-color-on-surface-variant);
}

a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    flex: 1;
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cards */
.card {
    background-color: var(--md-sys-color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--md-sys-color-outline);
    /* Using outline for definition simpler than shadow sometimes */
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    /* Adding subtle shadow for lift */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: none;
    /* Removing border in favor of shadow for cleaner look */
    background: #fff;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

/* Specific Component Styles */
.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    margin: var(--spacing-sm);
}

.btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #D32F2F;
    /* Lighter/Brighter on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-tonal {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
}

.btn-tonal:hover {
    background-color: #F8Bfb7;
    /* Slightly Darker shift */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-text {
    background-color: transparent;
    color: var(--md-sys-color-primary);
}

.btn-text:hover {
    background-color: rgba(183, 28, 28, 0.08);
    /* Primary with opacity */
    text-decoration: none;
}

/* Footer & Compliance */
footer {
    padding: var(--spacing-lg);
    text-align: center;
    font-size: 0.875rem;
    color: var(--md-sys-color-on-surface-variant);
    border-top: 1px solid var(--md-sys-color-surface-variant);
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.disclaimer {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: var(--spacing-md);
    }

    .app-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

.early-access-note {
    background-color: var(--md-sys-color-surface-variant);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--md-sys-color-primary);
    text-align: left;
}

.early-access-note p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.early-access-note p:last-child {
    margin-bottom: 0;
}