:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #D2691E; /* Chocolate */
    --accent-color: #F4A460; /* SandyBrown */
    --bg-color: #FDFAEE; /* Off-white paper color */
    --text-color: #2D2D2D;
    --text-muted: #666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

.logo-link {
    text-decoration: none;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    background: linear-gradient(135deg, #FDFAEE 0%, #FDFCF0 100%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Hero Visual Animation (Simple Stack) */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.book-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.book {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: 4px;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.book-1 {
    background-color: #8B4513;
    top: 50px;
    left: 100px;
    transform: rotate(-10deg);
    z-index: 1;
}

.book-2 {
    background-color: #D2691E;
    top: 40px;
    left: 120px;
    transform: rotate(5deg);
    z-index: 2;
}

.book-3 {
    background-color: #556B2F; /* DarkOliveGreen */
    top: 30px;
    left: 80px;
    transform: rotate(-5deg);
    z-index: 3;
}

.hero-visual:hover .book-1 { transform: rotate(-15deg) translateX(-20px); }
.hero-visual:hover .book-2 { transform: rotate(10deg) translateX(20px); }
.hero-visual:hover .book-3 { transform: rotate(-8deg) translateY(-20px); }


/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.feature-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Privacy Policy Page */
.policy-page {
    padding: 60px 0;
    background-color: var(--white);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.policy-content h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #2D2D2D;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .book {
        width: 150px;
        height: 200px;
    }
}
