
:root{
 --lavender-bg:#f4f0f8;
 --lavender-light:#faf8fc;
 --lavender:#e5ddef;
 --lavender-dark:#7d5ba6;
 --text:#3d3748;
 --white:#fff;
 --shadow:0 12px 30px rgba(0,0,0,.10);
 --radius:12px;
 --max-width:1180px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Montserrat,sans-serif;background:var(--lavender-bg);color:var(--text);line-height:1.7}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4{font-family:"Cormorant Garamond",serif;font-weight:500}
.container{width:min(var(--max-width),92%);margin:auto}
nav{position:sticky;top:0;z-index:100;background:rgba(244,240,248,.96);backdrop-filter:blur(8px);border-bottom:1px solid rgba(0,0,0,.06)}
.nav-wrapper{display:flex;justify-content:space-between;align-items:center;padding:18px 0}
.logo{font-size:3.0rem;font-weight: 600;
    line-height: 1;color:var(--lavender-dark)}
.logo-sub{text-transform:uppercase;letter-spacing:3px;font-size:1rem}
nav ul{list-style:none;display:flex;gap:2rem}
nav a{font-size:.9rem;text-transform:uppercase;font-weight:500}
nav a:hover{color:var(--lavender-dark)}
.hero{background:var(--lavender-bg);overflow:hidden}
.hero-content{display:grid;grid-template-columns:1fr 380px;max-width:1100px;margin:auto;min-height:420px}
.hero-text{display:flex;flex-direction:column;justify-content:center;padding:50px 60px 50px 40px;position:relative}
.hero-text:after{content:"";position:absolute;right:-180px;top:0;width:260px;height:100%;background:linear)}
.hero-text h1{font-size:4.25rem;color:var(--lavender-dark);line-height:.95;margin-bottom:10px}
.subtitle{text-transform:uppercase;letter-spacing:3px;margin-bottom:24px;color:#6b6580}
.hero-buttons{display:flex;gap:12px;margin-top:12px}
.hero-btn,
.btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid #7d5ba6;
    background-color: #7d5ba6;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.hero-btn:hover,
.btn:hover {
    background-color: #e5ddef;
    border-color: #7d5ba6;
    color: #7d5ba6;
}
.hero-photo{width:380px;height:320px;justify-self:end;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);align-self:center}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:100% center}
.features{padding:80px 0;background:#fff}
.section-title{text-align:center;font-size:3.2rem;color:var(--lavender-dark)}
.divider{text-align:center;margin:12px 0 50px;color:var(--lavender-dark)}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px}
.card,.feature{background:#fff;border-radius:var(--radius);padding:30px;box-shadow:0 4px 18px rgba(0,0,0,.05);transition:.25s}
.card:hover,.feature:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.feature{text-align:center}
.feature-icon{width:56px;height:56px;stroke:var(--lavender-dark);stroke-width:1.5;fill:none;margin:0 auto 18px}
.newsletter{padding:80px 0}
.newsletter-box{background:#fff;border-radius:var(--radius);padding:40px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.signup{display:flex;gap:10px}
.signup input{padding:14px;border:none;background:#f7f4fb;min-width:260px}
.signup button{padding:14px 24px;border:none;background:var(--lavender-dark);color:#fff}
.page-header{padding:70px 0 40px;text-align:center;background:#fff}
.page-header h1{font-size:4rem;color:var(--lavender-dark)}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;padding:60px 0}
.book-card img{aspect-ratio:2/3;object-fit:cover;border-radius:8px;margin-bottom:18px}
footer{background:var(--lavender-dark);color:#fff;text-align:center;padding:24px;margin-top:60px}
.book-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-link:hover {
    color: var(--lavender-dark);
    text-decoration: underline;

.book-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:40px;
    max-width:900px;
    margin:0 auto;
}
@media(max-width:900px){
 nav ul{display:none}
}
 .hero-content{grid-template-columns:1fr}
 .hero-photo{order:1;width:100%;max-width:420px;height:300px;justify-self:center;margin-top:30px}
 .hero-text{order:2;padding:40px 28px}
 .hero-text:after{display:none}
 .hero-text h1{font-size:3.3rem}
 .newsletter-box{flex-direction:column;text-align:center}
 .signup{flex-direction:column;width:100%}
 .signup input{min-width:100%;width:100%}
}
