/* ============================================
   eBooks4U — Sky Blue Artistic (English)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Lora:ital,wght@0,500;0,700;1,500&display=swap');

:root {
    --sky-blue: #7ec8e3;
    --sky-dark: #4a9db5;
    --white: #ffffff;
    --cloud: #f0f8ff;
    --sunny: #f9e076;
    --coral: #f4845f;
    --dark: #2c3e50;
    --grey: #56707f;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Lora', Georgia, serif;
    background: var(--cloud);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; }

/* Header */
.site-header {
    background: linear-gradient(135deg, #b5e2f0 0%, var(--sky-blue) 100%);
    padding: 1rem 2rem;
    box-shadow: 0 8px 25px rgba(126,200,227,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255,255,255,0.6);
    transition: all 0.3s;
    border: 2px solid transparent;
    backdrop-filter: blur(4px);
}

.nav-links a:hover {
    background: white;
    border-color: var(--sky-dark);
    color: var(--sky-dark);
    transform: scale(1.05);
}

.cart-badge {
    background: var(--sunny) !important;
    border: 2px solid white !important;
}

.cart-badge span {
    background: var(--coral);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-left: 6px;
    font-weight: 700;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(150deg, #d4f1f9 0%, #aee1f9 100%);
    padding: 80px 2rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,224,118,0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Comic Neue', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 4px 4px 0 var(--sky-dark);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--coral);
    color: white;
    box-shadow: 0 8px 15px rgba(244,132,95,0.4);
}

.btn-primary:hover {
    background: #e76f51;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(244,132,95,0.5);
}

.btn-outline {
    background: transparent;
    border: 3px solid white;
    color: white;
    margin-left: 1rem;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: white;
    color: var(--sky-dark);
}

/* Sections */
.section {
    padding: 70px 2rem;
    position: relative;
}

.section-title {
    font-family: 'Comic Neue', cursive;
    font-size: 2.8rem;
    color: var(--sky-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    color: var(--grey);
    text-align: center;
    margin-bottom: 3rem;
}

/* Product Cards */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px rgba(0,0,0,0.12);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sunny), var(--coral));
}

.featured-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.95);
    transition: filter 0.3s;
}

.featured-card:hover .featured-card-image {
    filter: brightness(1.05);
}

.featured-card-body {
    padding: 1.5rem;
    text-align: center;
}

.badge-ebook {
    display: inline-block;
    background: var(--sky-dark);
    color: white;
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.featured-card-title {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.featured-card-author {
    color: #888;
    font-style: italic;
    margin-bottom: 1rem;
}

.featured-card-price {
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    background: var(--sky-blue);
    color: white;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-small:hover {
    background: var(--sky-dark);
    transform: scale(1.05);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--sky-blue);
    transition: 0.3s;
}

.feature-card:hover {
    background: white;
    border-color: var(--coral);
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
}

.feature-card h3 {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--sky-dark);
}

.feature-card p {
    color: #444;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
    font-family: 'Comic Neue', cursive;
    font-size: 0.9rem;
    border-top: 6px solid var(--sunny);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .header-inner { flex-direction: column; gap: 1rem; }
}
/* Earnings per downline */
.downline-earnings {
    font-size: 0.8rem;
    color: var(--sky-dark);
    font-weight: bold;
    margin-left: 6px;
    background: #e8f0fe;
    padding: 2px 6px;
    border-radius: 10px;
}