/* ==========================================================================
   StoryVerse Ebook Store - Modern Dark Theme Stylesheet
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #111724;
    --bg-card: rgba(18, 24, 38, 0.78);
    --bg-card-hover: rgba(26, 35, 54, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(245, 158, 11, 0.35);
    --border-gold: #f59e0b;
    
    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Gold / Yellow Accent Palette */
    --gold-primary: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.35);
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gold-gradient-hover: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
    
    /* Secondary Accents */
    --accent-blue: #38bdf8;
    --accent-purple: #a855f7;
    
    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 8px 25px -3px rgba(245, 158, 11, 0.35);
    
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Glowing Ambient Lights --- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(140px);
    opacity: 0.18;
}

.glow-top-left {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, #f59e0b, #eab308);
}

.glow-bottom-right {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, #38bdf8, #6366f1);
}

.glow-center {
    width: 450px;
    height: 450px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #f59e0b, #9333ea);
    opacity: 0.08;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.mt-3 {
    margin-top: 1rem;
}

.btn-block {
    width: 100%;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.section-badge {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 3.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #0b0f17;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -2px rgba(245, 158, 11, 0.5);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* --- Navigation Bar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    color: #0b0f17;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.logo-text .highlight {
    color: var(--gold-light);
}

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

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* --- Hero Section --- */
.hero-section {
    padding: 5.5rem 0 4.5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Hero Carousel Visual Card */
.hero-visual {
    position: relative;
}

.hero-carousel-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-lg), 0 0 35px rgba(245, 158, 11, 0.12);
    position: relative;
    transition: var(--transition);
}

.featured-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--gold-gradient);
    color: #0b0f17;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.hero-slider {
    position: relative;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #090c12;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.96);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 20, 0.95) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.hero-slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 0.5rem;
}

.hero-slider-nav button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-slider-nav button:hover {
    background: var(--gold-gradient);
    color: #0b0f17;
    border-color: var(--gold-primary);
}

#heroSlideIndicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Category Library Showcase & Carousels
   ========================================================================== */
.library-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
}

.categories-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2.8rem;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.category-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.1);
    transform: translateY(-4px);
}

/* Alternate orientation for every second card */
.category-card:nth-child(even) {
    grid-template-columns: 1fr 420px;
}

.category-card:nth-child(even) .category-carousel-wrapper {
    order: 2;
}

.category-card:nth-child(even) .category-details {
    order: 1;
}

/* Carousel Container Inside Card */
.category-carousel-wrapper {
    position: relative;
    background: #090c14;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 5;
}

.carousel-viewport {
    height: 380px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.category-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease;
    transform: scale(0.96);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.category-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1.2rem 0.85rem;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 12, 19, 0.95) 75%);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.slide-book-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.slide-book-tagline {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    background: rgba(14, 18, 28, 0.95);
    border-top: 1px solid var(--border-subtle);
}

.carousel-nav-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
}

.carousel-nav-btn:hover {
    background: var(--gold-gradient);
    color: #0b0f17;
    border-color: var(--gold-primary);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    width: 22px;
    border-radius: var(--radius-full);
    background: var(--gold-light);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.slide-counter {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    z-index: 5;
}

/* Category Details Content */
.category-details {
    display: flex;
    flex-direction: column;
}

.category-theme-name {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.category-title {
    font-size: 1.85rem;
    margin-bottom: 0.4rem;
}

.category-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.category-book-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-bottom: 1.8rem;
}

.category-book-list h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.category-book-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
}

.category-book-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-book-list li i {
    color: var(--gold-light);
    font-size: 0.85rem;
}

/* --- Features Section --- */
.features-section {
    padding: 5.5rem 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.35rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Pricing Section (4 Cards Grid) --- */
.pricing-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-lg);
}

/* Featured / Ultimate Tier Highlight */
.pricing-card.featured {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(180deg, rgba(30, 25, 15, 0.85) 0%, rgba(18, 24, 38, 0.9) 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
}

.popular-ribbon, .value-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #0b0f17;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.value-ribbon {
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.card-tier-header {
    margin-bottom: 1.5rem;
}

.tier-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.tier-name {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.84rem;
    min-height: 40px;
    line-height: 1.45;
}

.card-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.card-price-box .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
}

.card-price-box .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.card-price-box .period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.35rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tier-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.4;
}

.tier-features li i.fa-circle-check {
    color: var(--gold-light);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.tier-features li.disabled {
    color: var(--text-muted);
    opacity: 0.55;
}

.tier-features li.disabled i {
    color: var(--text-muted);
}

.tier-features strong {
    color: var(--text-primary);
}

.btn-pricing {
    width: 100%;
    background: var(--gold-gradient);
    color: #0b0f17;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    border: none;
}

.btn-pricing:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.btn-mega {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 5.5rem 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b0f17;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.reviewer span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.faq-accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    color: var(--gold-light);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.35rem;
}

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 4rem 0 6rem;
}

.cta-banner-box {
    background: linear-gradient(135deg, rgba(30, 38, 56, 0.95) 0%, rgba(20, 26, 40, 0.95) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.1);
}

.cta-banner-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-banner-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
    background: #07090e;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 340px;
}

.footer-links h4 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.footer-socials a:hover {
    color: var(--gold-light);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(10, 13, 20, 0.95);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .hero-title {
        font-size: 2.85rem;
    }

    .category-card,
    .category-card:nth-child(even) {
        grid-template-columns: 360px 1fr;
        gap: 2rem;
        padding: 1.8rem;
    }
}

/* Tablets (<= 868px) */
@media (max-width: 868px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 460px;
        margin: 0 auto;
    }

    .category-card,
    .category-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-card:nth-child(even) .category-carousel-wrapper {
        order: 1;
    }
    
    .category-card:nth-child(even) .category-details {
        order: 2;
    }

    .carousel-viewport {
        height: 340px;
    }
    
    .cta-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 13, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-150%);
        transition: transform 0.35s ease;
        z-index: 99;
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .carousel-viewport {
        height: 280px;
    }
    
    .category-card {
        padding: 1.3rem;
    }

    .category-title {
        font-size: 1.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.95rem;
    }
}
