/* ========================================
   CSS Variables & Design System
======================================== */
:root {
    /* Primary Colors */
    --primary: #007a7a;
    --primary-foreground: #ffffff;
    --primary-hover: #006666;
    
    /* Secondary Colors */
    --secondary: #4a332a;
    --secondary-foreground: #ffffff;
    --secondary-hover: #3d2a23;
    
    /* Backgrounds */
    --background: #f8f9fa;
    --card: #ffffff;
    --muted: #f1f5f9;
    
    /* Text */
    --foreground: #333333;
    --muted-foreground: #64748b;
    
    /* Borders */
    --border: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Layout Utilities
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.w-full {
    width: 100%;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: 1.25rem;
}

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-rounded {
    border-radius: var(--radius-full);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========================================
   Header
======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo img {
    height: 40px;
}

@media (min-width: 768px) {
    .logo img {
        height: 48px;
    }
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--muted-foreground);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background-color: var(--card);
    animation: fadeIn 0.3s ease;
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--muted-foreground);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    padding: 4rem 0;
    background-color: var(--card);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0;
    }
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-text h1 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .hero-text p {
        margin: 0 0 2rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-form {
    flex: 1;
    width: 100%;
    max-width: 28rem;
}

@media (min-width: 1024px) {
    .hero-form {
        max-width: 100%;
    }
}

.form-card {
    background-color: var(--card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
    border-top: 4px solid var(--primary);
}

.form-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-card > p {
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem 0 2.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 122, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--muted-foreground);
}

.error-message {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* ========================================
   Services Section
======================================== */
.services {
    padding: 5rem 0;
    background-color: var(--muted);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 6rem;
    height: 4px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    margin: 0 auto;
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 122, 122, 0.1);
    border-radius: var(--radius-full);
    transition: background-color var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 122, 122, 0.2);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.service-card h3 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========================================
   Stats Section
======================================== */
.stats {
    position: relative;
    padding: 5rem 0;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    overflow: hidden;
}

.stats-decoration-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background-color: white;
    opacity: 0.05;
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
}

.stats-decoration-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--primary);
    opacity: 0.2;
    border-radius: var(--radius-full);
    transform: translate(50%, 50%);
}

.stats h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    padding: 1rem;
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-sublabel {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
    padding: 5rem 0;
    background-color: var(--card);
}

.testimonials h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 3rem;
}

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

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-stars {
    display: flex;
    gap: 0.125rem;
    color: #facc15;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.testimonial-stars i {
    font-size: 1rem;
}

.testimonial-card blockquote {
    color: var(--muted-foreground);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========================================
   Recognition Section
======================================== */
.recognition {
    padding: 5rem 0;
    background-color: var(--muted);
}

.recognition-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .recognition-content {
        flex-direction: row;
    }
}

.recognition-image {
    flex: 1;
    order: 2;
}

@media (min-width: 1024px) {
    .recognition-image {
        order: 1;
    }
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.image-overlay p {
    color: white;
    font-weight: 600;
}

.recognition-text {
    flex: 1;
    order: 1;
}

@media (min-width: 1024px) {
    .recognition-text {
        order: 2;
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.recognition-text h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.recognition-text > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.p10-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.p10-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-md);
}

.p10-badge > span {
    color: var(--muted-foreground);
    font-weight: 600;
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--primary);
    width: 1rem;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: background-color var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary);
}

.social-icons i {
    font-size: 1.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ========================================
   Toast Notification
======================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    padding: 1rem 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary);
    transform: translateX(calc(100% + 2rem));
    opacity: 0;
    transition: all var(--transition-normal);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.success {
    border-left-color: #22c55e;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    font-size: 1.25rem;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.success .toast-icon {
    color: #22c55e;
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   Custom Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* ========================================
   Utility Classes
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   Ebooks Page Styles
======================================== */

/* Ebooks Hero */
.ebooks-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 122, 122, 0.1), var(--background), rgba(74, 51, 42, 0.05));
}

.ebooks-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ebooks-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 122, 122, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.ebooks-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ebooks-hero p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Ebooks Section */
.ebooks-section {
    padding: 4rem 0;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ebooks-loading,
.ebooks-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--muted-foreground);
    text-align: center;
}

.ebooks-loading i,
.ebooks-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Ebook Card */
.ebook-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.95);
}

.ebook-card.revealed {
    opacity: 1;
    transform: scale(1);
}

.ebook-card:hover {
    border-color: rgba(0, 122, 122, 0.5);
}

.ebook-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 122, 0.2);
}

.ebook-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ebook-icon {
    width: 4rem;
    height: 5rem;
    background: rgba(0, 122, 122, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ebook-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.ebook-info h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ebook-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.ebook-topics {
    margin-bottom: 1.5rem;
}

.ebook-topics h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ebook-topics ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ebook-topics li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.ebook-topics li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.ebook-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.ebook-price {
    color: var(--primary);
    font-weight: 600;
}

.ebook-status {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.ebook-status .status-selected {
    display: none;
    color: var(--primary);
    font-weight: 500;
}

.ebook-card.selected .status-default {
    display: none;
}

.ebook-card.selected .status-selected {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Ebooks Form Section */
.ebooks-form-section {
    padding: 4rem 0;
    background: var(--muted);
}

.ebooks-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.ebooks-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ebooks-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.ebooks-form-header p {
    color: var(--muted-foreground);
}

.ebooks-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
}

.form-hint {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

/* Ebooks FAQ */
.ebooks-faq {
    padding: 4rem 0;
}

.ebooks-faq h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.faq-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.faq-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Ebooks CTA */
.ebooks-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--primary-foreground);
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Thank You Page - Ebook */
.thank-you-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 122, 122, 0.05), var(--background));
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-icon-large {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon-large i {
    font-size: 2rem;
    color: var(--primary-foreground);
}

.thank-you-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.ebook-title-display {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.thank-you-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Active nav link */
.nav-link.active,
.mobile-nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive - Ebooks */
@media (max-width: 768px) {
    .ebooks-hero {
        padding: 6rem 0 3rem;
    }
    
    .ebooks-hero h1 {
        font-size: 1.75rem;
    }
    
    .ebooks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ebook-card {
        padding: 1.25rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-info {
        grid-template-columns: 1fr;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
