:root {
    --primary-color: #d4a373; /* Warm paper/coffee tone */
    --secondary-color: #2c3e50; /* Deep blue/slate for text */
    --accent-color: #e76f51; /* Soft terracotta for CTAs */
    --bg-color: #fdfcdc; /* Very light cream */
    --white: #ffffff;
    --text-color: #333333;
    --light-gray: #f4f4f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

#navbar nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

#navbar nav ul li a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

#navbar nav ul li a:hover {
    color: var(--primary-color);
}

.btn-primary-small {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 25px;
}

.btn-primary-small:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-text .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    max-width: 480px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#book-mockup {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.3);
}

.btn-secondary {
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Trama */
#trama {
    background-color: var(--white);
}

.trama-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hook {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.4;
}

.trama-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Features */
#features {
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Purchase */
#acquisto {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

#acquisto h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

#acquisto p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-large {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 20px 50px;
}

.btn-large:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        padding-top: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text .description {
        margin: 0 auto 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .nav-container nav {
        display: none; /* Simple hiding for mobile for MVP */
    }
}
