/* ==========================================================================
   CSS SYSTEM PARA LANDING "FARMACIA RENTABLE"
   ========================================================================== */

/* Variables / Design System */
:root {
    /* Colors */
    --navy-blue: #0A192F;
    --navy-light: #112240;
    --navy-lighter: #233554;
    --pharmacy-green: #00A36C;
    --pharmacy-green-hover: #008759;
    --luxury-gold: #D4AF37;
    --luxury-gold-hover: #B5952F;
    
    --text-white: #CCD6F6;
    --text-pure: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #8892B0;
    
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --error-red: #EF4444;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1100px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2.5rem; /* Significant breathing room on desktop */
}

@media (max-width: 768px) {
    .container {
        padding: 0 7%; /* Responsive airy margins for mobile/tablet */
    }
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.highlight {
    color: var(--luxury-gold);
}

.highlight-green {
    color: var(--pharmacy-green);
}

.text-green {
    color: var(--pharmacy-green);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-medium);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--pharmacy-green);
    color: var(--text-pure);
    box-shadow: 0 4px 14px rgba(0, 163, 108, 0.4);
}

.btn-primary:hover {
    background-color: var(--pharmacy-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 108, 0.6);
}

.btn-block {
    display: block;
    width: 100%;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 163, 108, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 163, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 163, 108, 0); }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--luxury-gold);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    background-color: var(--navy-blue);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-pure);
    overflow: hidden;
}

.glass-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,163,108,0.15) 0%, rgba(10,25,47,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--text-pure);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.guarantee {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 3D Book Mockup CSS */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-mockup {
    width: 300px;
    height: 420px;
    background: linear-gradient(135deg, #112240 0%, #0A192F 100%);
    border-radius: 2px 10px 10px 2px;
    box-shadow: 
        inset 4px 0 10px rgba(0,0,0,0.1),
        inset -1px 0 2px rgba(255,255,255,0.3),
        25px 25px 30px -10px rgba(0,0,0,0.7),
        5px 5px 15px rgba(0,0,0,0.5);
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border-left: 10px solid #D4AF37;
    overflow: hidden;
}

.book-mockup:hover {
    transform: rotateY(-5deg) rotateX(0deg) translateY(-10px);
}

.book-cover {
    padding: 2.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--luxury-gold);
    line-height: 1.1;
}

.book-subtitle {
    font-size: 1rem;
    color: var(--text-pure);
    font-weight: 300;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.book-graphic {
    width: 100%;
    height: 120px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    margin: 2rem 0;
    position: relative;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,163,108,0.1),
        rgba(0,163,108,0.1) 10px,
        rgba(0,0,0,0) 10px,
        rgba(0,0,0,0) 20px
    );
}

.book-author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-align: center;
}

/* Real book cover image with 3D shadow */
.book-3d-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-cover-img {
    width: 280px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 
        -6px 0 12px rgba(0,0,0,0.4),
        25px 25px 40px -8px rgba(0,0,0,0.7),
        5px 5px 20px rgba(0,0,0,0.4);
    transform: rotateY(-12deg) rotateX(3deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-left: 6px solid rgba(0,0,0,0.3);
}

.book-cover-img:hover {
    transform: rotateY(-4deg) rotateX(0deg) translateY(-8px);
    box-shadow: 
        -4px 0 8px rgba(0,0,0,0.3),
        35px 35px 50px -10px rgba(0,0,0,0.6),
        10px 10px 25px rgba(0,0,0,0.3);
}

/* book-card-cover with real image height */
.book-card-cover {
    height: 220px;
    overflow: hidden;
}

.book-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problem-section {
    max-width: 800px;
    margin: 0 auto;
}

.problem-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.pain-points {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}

.pain-points li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.pain-points i {
    color: var(--error-red);
    margin-top: 0.3rem;
}

.warning-box {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--luxury-gold);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.warning-box i {
    color: var(--luxury-gold);
    font-size: 1.5rem;
}

.warning-box p {
    margin: 0;
    font-weight: 500;
}

/* =========================================
   SOLUTION SECTION
   ========================================= */
.solution-section {
    background-color: var(--navy-blue);
    color: var(--text-white);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text h2 {
    color: var(--text-pure);
    font-size: 2.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: var(--pharmacy-green);
    margin-bottom: 1rem;
}

.stat-card h3 {
    color: var(--text-pure);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   LEAD MAGNET INFO
   ========================================= */
.lead-magnet-wrapper {
    background-color: var(--bg-light);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lm-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.benefits-list {
    text-align: left;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.time-impact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* =========================================
   FORM SECTION
   ========================================= */
.form-section {
    background-image: linear-gradient(180deg, var(--bg-white) 0%, var(--navy-lighter) 100%);
    position: relative;
    padding-bottom: 6rem;
}

.form-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--navy-blue);
    border-top: 4px solid var(--pharmacy-green);
    color: var(--text-white);
    text-align: center;
}

.form-card h2 {
    color: var(--text-pure);
}

.optin-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.input-wrapper input:focus {
    border-color: var(--pharmacy-green);
    background: rgba(255, 255, 255, 0.1);
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Author photo - premium card style */
.author-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.author-photo {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 0 0 4px var(--pharmacy-green),
        0 30px 60px rgba(0, 163, 108, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: block;
    background: var(--bg-light); /* fallback while loading */
}

.author-photo:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 0 0 4px var(--luxury-gold),
        0 40px 70px rgba(212, 175, 55, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.author-badge {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-blue);
    color: var(--text-pure);
    border: 2px solid var(--pharmacy-green);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.author-badge i {
    color: var(--luxury-gold);
}

.books-showcase {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.book-mini {
    background-color: var(--bg-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--navy-blue);
    border: 1px solid #E2E8F0;
}

/* =========================================
   SOCIAL PROOF
   ========================================= */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
}

.quote-author strong {
    display: block;
    color: var(--navy-blue);
}

.quote-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--navy-blue);
    color: var(--text-gray);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    color: var(--text-pure);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.logo span {
    color: var(--pharmacy-green);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--text-pure);
}

/* =========================================
   ANIMATIONS (Intersection Observer)
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 0.6rem 0;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-pure);
    letter-spacing: 2px;
}

.nav-logo span {
    color: var(--pharmacy-green);
}

/* Push hero down to not overlap navbar */
.hero {
    padding-top: 5rem;
}

/* =========================================
   STATS GRID (inside solution)
   ========================================= */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pharmacy-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card p {
    color: var(--text-white);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* =========================================
   STEPS SECTION
   ========================================= */
.steps-section {
    background-color: var(--bg-white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 163, 108, 0.1);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    user-select: none;
}

.step-icon {
    font-size: 2rem;
    color: var(--pharmacy-green);
    margin: 2rem 0 1rem;
    position: relative;
}

.step-card h3 {
    color: var(--navy-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

.step-connector {
    color: var(--luxury-gold);
    font-size: 1.5rem;
    padding-top: 3.5rem;
    flex-shrink: 0;
}

/* =========================================
   BOOKS SECTION
   ========================================= */
.books-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-lighter) 100%);
    color: var(--text-white);
}

.books-section h2 {
    color: var(--text-pure);
}

.books-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.book-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.4);
}

.book-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--pharmacy-green);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 2;
}

.book-card-badge--gold {
    background: var(--luxury-gold);
    color: var(--navy-blue);
}

.book-card-cover {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.book-cover-vitaminam {
    background: linear-gradient(135deg, #00A36C 0%, #006644 100%);
    border-left: 8px solid var(--luxury-gold);
}

.book-cover-stock {
    background: linear-gradient(135deg, #1a3a6b 0%, #0A192F 100%);
    border-left: 8px solid var(--pharmacy-green);
}

.book-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.book-sublabel {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.book-card-body {
    padding: 1.5rem;
}

.book-card-body h3 {
    color: var(--text-pure);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.book-card-body p {
    font-size: 0.95rem;
    color: rgba(204, 214, 246, 0.8);
    margin-bottom: 1rem;
}

.book-highlights {
    background: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
}

.book-highlights li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 0.6rem;
}

.book-highlights li:last-child { margin-bottom: 0; }

.book-highlights i {
    color: var(--pharmacy-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* btn-secondary for book 2 */
.btn-secondary {
    background-color: transparent;
    color: var(--luxury-gold);
    border: 2px solid var(--luxury-gold);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--luxury-gold);
    color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* =========================================
   TESTIMONIALS GRID
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-white);
    transition: box-shadow var(--transition-fast);
}

.faq-item.open,
.faq-item:focus-within {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--pharmacy-green);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-align: left;
    gap: 1rem;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    flex-shrink: 0;
    color: var(--pharmacy-green);
    transition: transform var(--transition-medium);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero-content, .solution-grid, .about-grid,
    .books-grid, .testimonials-grid, .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-wrapper {
        align-items: center;
        margin: 0 auto;
    }
    
    .books-showcase {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .time-impact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: -0.5rem 0;
    }

    .step-card {
        width: 100%;
        max-width: 350px;
    }

    .navbar-inner {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .hero-text h1 { font-size: 2rem; }
    .lead-text { font-size: 1.2rem; }
    .book-mockup { transform: scale(0.8); margin: 0 auto; }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-pure);
    z-index: 9999;
    padding: 1.5rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
