:root {
    --primary-bg: #4b2c82;
    --primary-bg-soft: #5c3b95;
    --accent: #f7b52b;
    --text-main: #ffffff;
    --text-muted: #e5daf9;
    --card-bg: #ffffff;
    --card-text: #2c2438;
    --card-muted: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at top left, #6b46c1, #2d1359);
    min-height: 100vh;
    color: var(--text-main);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(120deg, var(--primary-bg-soft), #2d1359);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(247, 181, 43, 0.15);
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 80px 20px 20px;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 960px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: var(--text-main);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.03em;
}

h2 {
    font-size: 1.25rem;
    margin-top: 1.8rem;
    margin-bottom: 0.35rem;
    color: #3b275e;
}

h3 {
    font-size: 1.05rem;
    margin-top: 1.1rem;
    margin-bottom: 0.2rem;
    color: #4c356e;
}

p, li {
    line-height: 1.6;
    font-size: 0.95rem;
}

p {
    margin: 0.4rem 0;
}

ul {
    padding-left: 1.2rem;
    margin: 0.4rem 0 0.6rem;
}

a {
    color: #6b46c1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding: 24px 16px 40px;
}

.affirmation-card,
.content-card {
    background: linear-gradient(155deg, rgba(255,255,255,0.98), rgba(240,233,255,0.98));
    color: var(--card-text);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affirmation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.affirmation-text {
    color: var(--card-text);
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 10px 16px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Affirmations List Styles */
.affirmations-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.affirmations-list li {
    background: rgba(247, 181, 43, 0.05);
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    color: var(--card-text);
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.affirmations-list li:hover {
    background: rgba(247, 181, 43, 0.1);
    transform: translateX(5px);
}

/* Privacy Policy Specific Styles */
.meta {
    font-size: 0.85rem;
    color: var(--card-muted);
    margin-bottom: 0.6rem;
}

.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(107,70,193,0.08);
    color: #4c2f83;
    border: 1px solid rgba(107,70,193,0.18);
    margin-top: 2px;
}

.logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.logo-bubble {
    width: 34px;
    height: 26px;
    border-radius: 8px;
    background: var(--accent);
    position: relative;
}

.logo-bubble::after {
    content: "";
    position: absolute;
    left: 6px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--accent);
    transform: rotate(30deg);
}

.logo-lines {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 6px;
    height: 2px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    box-shadow:
        0 6px 0 rgba(0,0,0,0.18),
        0 12px 0 rgba(0,0,0,0.18);
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-text h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.header-text p {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Download Page Styles */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 280px;
    justify-content: center;
}

.windows-btn {
    background: #0078D4;
    color: white;
}

.windows-btn:hover {
    background: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

.android-btn {
    background: #3DDC84;
    color: #1a1a1a;
}

.android-btn:hover {
    background: #2dbf6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 220, 132, 0.3);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .affirmation-text {
        font-size: 1.1rem;
    }
    
    .content-card {
        padding: 24px 20px 28px;
    }
}

@media (min-width: 768px) {
    .content-card {
        padding: 32px 36px 36px;
    }
}
