  :root {
    --navy: #1a2744;
    --navy-dark: #0f1a30;
    --navy-light: #2a3d66;
    --gold: #c9a84c;
    --gold-light: #e0c76e;
    --gold-dark: #a88a2e;
    --white: #ffffff;
    --cream: #faf8f2;
    --gray: #f5f5f5;
    --text: #333333;
    --text-light: #666666;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
  }

  /* ===== HEADER ===== */
  header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    max-width: 1600px;
    margin: 0 auto;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
  }

  .logo-icon {
    width: 55px;
    height: 55px;
    position: relative;
  }

  .logo-icon svg {
    width: 100%;
    height: 100%;
  }

  .logo-text h1 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
  }

  .logo-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
  }

  nav ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
  }

  nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
  }

  nav ul li a:hover {
    color: var(--gold);
  }

  nav ul li a:hover::after {
    width: 100%;
  }

  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s;
  }

  /* ===== HERO ===== */
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, var(--navy-light) 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
    border-radius: 50%;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  }

  .hero-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
  }

  .hero-text {
    color: var(--white);
  }

  .hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
  }

  .hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-text h2 span {
    color: var(--gold);
  }

  .hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    max-width: 500px;
  }

  .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .btn-primary {
    background: var(--gold);
    color: var(--navy);
  }

  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
  }

  .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
  }

  .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
  }

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hero-book {
    width: 320px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
  }

  .hero-book:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
  }

  .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
  }

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

  .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
  }

  .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* ===== SECTION TITLES ===== */
  .section-title {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-title .overline {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .section-title .overline::before,
  .section-title .overline::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
  }

  .section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: 700;
  }

  .section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.7;
  }

  /* ===== BOOKS SECTION ===== */
  .books-section {
    padding: 80px 40px;
    max-width: 1600px;
    margin: 0 auto;
  }

  .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
  }

  .book-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
  }

  .book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(26,39,68,0.15);
  }

  .book-card-image {
    height: 430px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .book-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s;
  }

  .book-card:hover .book-card-image img {
    transform: scale(1.05) rotate(-2deg);
  }

  .book-level-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--navy);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .book-card-content {
    padding: 25px;
  }

  .book-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .book-card-content .author {
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .book-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .book-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }

  .book-chapters {
    font-size: 0.8rem;
    color: var(--text-light);
  }

  .book-chapters strong {
    color: var(--navy);
  }

  .btn-read {
    background: var(--navy);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }

  .btn-read:hover {
    background: var(--gold);
    color: var(--navy);
  }

  /* ===== BOOK DETAIL PAGE ===== */
  .book-detail {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 2000;
    overflow-y: auto;
    animation: slideUp 0.5s ease;
  }

  .book-detail.active {
    display: block;
  }

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

  .detail-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .detail-header .logo-container {
    cursor: pointer;
  }

  .btn-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-close:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
  }

  .detail-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 60px 40px 80px;
    position: relative;
  }

  .detail-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
  }

  .detail-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
  }

  .detail-book-cover {
    position: sticky;
    top: 120px;
  }

  .detail-book-cover img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  }

  .detail-info {
    color: var(--white);
  }

  .detail-info .level-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

  .detail-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .detail-info .subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 500;
  }

  .detail-info .author-line {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .detail-info .author-line strong {
    color: var(--gold);
  }

  .detail-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .meta-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }

  .meta-item .meta-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .meta-item .meta-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
  }

  .meta-item .meta-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
  }

  .detail-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
  }

  .detail-section {
    margin-bottom: 50px;
  }

  .detail-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
  }

  .detail-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 15px;
  }

  .chapters-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
  }

  .chapter-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
  }

  .chapter-item:hover {
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(201,168,76,0.15);
    transform: translateX(5px);
  }

  .chapter-num {
    background: var(--navy);
    color: var(--gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .chapter-item span {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
  }

  .objectives-list {
    list-style: none;
    margin-top: 20px;
  }

  .objectives-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }

  .objectives-list li .obj-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .quote-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
  }

  .quote-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(201,168,76,0.15);
    font-family: 'Playfair Display', serif;
  }

  .quote-box p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
  }

  .quote-box .quote-author {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gold);
    font-style: normal;
    font-family: 'Inter', sans-serif;
  }

  .detail-cta {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: 30px;
  }

  .detail-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
  }

  .detail-cta p {
    color: var(--text-light);
    margin-bottom: 25px;
  }

  /* ===== ABOUT SECTION ===== */
  .about-section {
    background: var(--white);
    padding: 80px 40px;
  }

  .about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
  }

  .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
  }

  .about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    color: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
  }

  .about-card:nth-child(2) {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    margin-top: 30px;
  }

  .about-card:nth-child(3) {
    margin-top: -30px;
  }

  .about-card .card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .about-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .about-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
  }

  /* ===== CONTACT SECTION ===== */
  .contact-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 80px 40px;
    color: var(--white);
  }

  .contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .contact-info p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .contact-list {
    list-style: none;
  }

  .contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .contact-list li .c-icon {
    width: 40px;
    height: 40px;
    background: rgba(201,168,76,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-list li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
  }

  .contact-list li a:hover {
    color: var(--gold);
  }

  .contact-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px;
  }

  .contact-form h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--gold);
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.7);
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
  }

  .form-group textarea {
    height: 120px;
    resize: vertical;
  }

  .btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
  }

  .btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--navy-dark);
    padding: 40px;
    text-align: center;
    color: rgba(255,255,255,0.5);
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
  }

  .footer-logo h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
  }

  footer p {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 15px 0;
    flex-wrap: wrap;
  }

  .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
  }

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

  /* ===== SCROLL TO TOP ===== */
  .scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(201,168,76,0.4);
  }

  .scroll-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .scroll-top:hover {
    transform: translateY(-3px);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .hero-content {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .hero-text p {
      margin: 0 auto 35px;
    }

    .hero-buttons {
      justify-content: center;
    }

    .hero-stats {
      justify-content: center;
    }

    .hero-image {
      order: -1;
    }

    .hero-book {
      width: 250px;
    }

    .detail-content {
      grid-template-columns: 1fr;
    }

    .detail-book-cover {
      position: static;
      max-width: 300px;
      margin: 0 auto;
    }

    .about-content {
      grid-template-columns: 1fr;
    }

    .contact-content {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .header-top {
      padding: 12px 20px;
    }

    .menu-toggle {
      display: flex;
    }

    nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--navy-dark);
      padding: 80px 30px 30px;
      transition: right 0.4s;
      box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    }

    nav.open {
      right: 0;
    }

    nav ul {
      flex-direction: column;
      gap: 20px;
    }

    nav ul li a {
      font-size: 1.1rem;
    }

    .hero {
      padding: 50px 20px;
      min-height: auto;
    }

    .hero-text h2 {
      font-size: 2rem;
    }

    .hero-stats {
      gap: 20px;
    }

    .stat-number {
      font-size: 1.5rem;
    }

    .books-section {
      padding: 50px 20px;
    }

    .books-grid {
      grid-template-columns: 1fr;
    }

    .section-title h2 {
      font-size: 1.8rem;
    }

    .detail-hero {
      padding: 40px 20px 60px;
    }

    .detail-info h1 {
      font-size: 1.8rem;
    }

    .detail-meta {
      grid-template-columns: 1fr;
    }

    .detail-body {
      padding: 20px;
    }

    .chapters-list {
      grid-template-columns: 1fr;
    }

    .about-features {
      grid-template-columns: 1fr;
    }

    .about-section,
    .contact-section {
      padding: 50px 20px;
    }

    .contact-form {
      padding: 25px;
    }

    .quote-box {
      padding: 25px;
    }

    .quote-box p {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 480px) {
    .logo-text h1 {
      font-size: 1.2rem;
    }

    .logo-text p {
      font-size: 0.55rem;
    }

    .hero-text h2 {
      font-size: 1.6rem;
    }

    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }

    .btn {
      width: 100%;
      justify-content: center;
    }

    .about-visual {
      grid-template-columns: 1fr;
    }

    .about-card:nth-child(2) {
      margin-top: 0;
    }

    .about-card:nth-child(3) {
      margin-top: 0;
    }
  }

  @media (min-width: 2560px) {
    .hero-text h2 {
      font-size: 4.5rem;
    }

    .section-title h2 {
      font-size: 3.5rem;
    }

    .books-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .detail-info h1 {
      font-size: 3.5rem;
    }

    .hero-book {
      width: 450px;
    }
  }

  @media (min-width: 3840px) {
    .hero-text h2 {
      font-size: 6rem;
    }

    .section-title h2 {
      font-size: 4.5rem;
    }

    .books-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 50px;
    }

    .detail-info h1 {
      font-size: 5rem;
    }

    .hero-book {
      width: 600px;
    }

    .detail-content {
      grid-template-columns: 500px 1fr;
      gap: 100px;
    }
  }

  /* Loading animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }

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













/* ===== POPUP PAIEMENT MOBILE MONEY ===== */
.payment-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 26, 48, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.payment-overlay.active { display: flex; }

.payment-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  position: relative;
  animation: slideUp 0.4s ease;
}

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

.payment-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.payment-logo h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin: 0;
}

.payment-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.payment-close:hover { background: var(--danger); border-color: var(--danger); }

.payment-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px 15px;
  gap: 15px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.progress-step.active .step-circle {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

.progress-step.completed .step-circle {
  background: var(--success);
  color: var(--white);
}

.progress-step span { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.progress-step.active span { color: var(--navy); font-weight: 600; }
.progress-line { flex: 1; height: 2px; background: var(--gray-light); margin-bottom: 20px; }

.payment-step { display: none; padding: 25px; animation: fadeIn 0.4s ease; }
.payment-step.active { display: block; }

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

.payment-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.payment-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.book-summary {
  background: linear-gradient(135deg, var(--cream), var(--gray));
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-left: 4px solid var(--gold);
}

.book-summary img {
  width: 60px; height: 80px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.book-summary-info h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.book-summary-info p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

.operator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.operator-card { position: relative; cursor: pointer; }
.operator-card input { position: absolute; opacity: 0; }

.operator-content {
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  background: var(--white);
}

.operator-card input:checked + .operator-content {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  box-shadow: 0 4px 12px rgba(201,168,76,0.2);
}

.operator-icon { font-size: 1.3rem; }
.operator-content span:last-child { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.phone-input-wrapper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.phone-prefix {
  background: var(--gray);
  padding: 13px 15px;
  font-weight: 600;
  color: var(--navy);
  border-right: 1px solid var(--gray-light);
}

.phone-input-wrapper input {
  flex: 1;
  border: none;
  padding: 13px 15px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.phone-input-wrapper input:focus { outline: none; }

.amount-display {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 20px 0;
}

.amount-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.amount-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.ussd-instruction {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.ussd-icon { font-size: 2.5rem; margin-bottom: 10px; }
.ussd-instruction p { color: var(--navy); font-size: 0.95rem; margin: 5px 0; }
.ussd-note { font-size: 0.85rem !important; color: var(--text-light) !important; }

.transaction-info, .success-details {
  background: var(--cream);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
}

.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--text-light); }
.info-row strong { color: var(--navy); }

.countdown {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.2);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.countdown strong {
  color: var(--danger);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.btn-payment-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-payment-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}

.btn-payment-secondary {
  flex: 1;
  padding: 12px;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-payment-secondary:hover { background: var(--navy); color: var(--white); }

.btn-payment-link {
  background: none;
  border: none;
  color: var(--gold-dark);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 15px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.payment-actions { display: flex; gap: 10px; margin-top: 15px; }

.success-checkmark {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--success), #3aa876);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  animation: popIn 0.5s ease;
  box-shadow: 0 10px 30px rgba(45,138,94,0.3);
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.success-animation, .error-animation { text-align: center; margin-bottom: 20px; }

.success-message {
  background: rgba(45,138,94,0.08);
  border: 1px solid rgba(45,138,94,0.3);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--success);
  margin-bottom: 20px;
}

.payment-loading {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.payment-loading.active { display: flex; }

.spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--gray-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.payment-loading p { margin-top: 15px; color: var(--navy); font-weight: 600; }

.payment-footer {
  padding: 15px 25px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.payment-footer a { color: var(--gold-dark); text-decoration: none; font-weight: 600; }

@media (max-width: 480px) {
  .payment-modal { border-radius: 15px; }
  .payment-step h4 { font-size: 1.3rem; }
  .amount-value { font-size: 1.6rem; }
}




















/* ===== SLIDER MANUEL MAIPC ===== */
.maipc-slider-section {
  padding: 80px 40px;
  background: var(--cream);
}

.slider-container {
  max-width: 1400px;
  margin: 0 auto;
}

.slider-header {
  text-align: center;
  margin-bottom: 50px;
}

.slider-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.slider-overline span {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.slider-overline span:first-child,
.slider-overline span:last-child {
  width: 40px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.slider-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.slider-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Wrapper du slider */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(26,39,68,0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Slide individuel */
.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

/* Image à gauche */
.slide-image {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
}

.slide-image::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.slide:hover .slide-image img {
  transform: scale(1.03);
}

.slide-level-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

/* Contenu à droite */
.slide-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.slide-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.slide-subtitle {
  color: var(--gold-dark);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
  font-style: italic;
}

.slide-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Auteur */
.slide-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 25px;
  border-left: 4px solid var(--gold);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.slide-author strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.slide-author span {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Boutons d'action */
.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-slider-primary {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-slider-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}

.btn-slider-secondary {
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-slider-secondary:hover {
  background: var(--navy-light);
}

/* Contrôles de navigation */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-light);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.05);
}

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

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--gold);
  width: 30px;
  border-radius: 6px;
}

.dot:hover:not(.active) {
  background: var(--gold-light);
}

/* Compteur */
.slide-counter {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.slide-counter #currentSlide {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .slide {
    grid-template-columns: 1fr;
  }
  
  .slide-image {
    min-height: 350px;
  }
  
  .slide-content {
    padding: 30px;
  }
  
  .slide-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .maipc-slider-section {
    padding: 50px 20px;
  }
  
  .slider-header h2 {
    font-size: 1.8rem;
  }
  
  .slide-content {
    padding: 25px;
  }
  
  .slide-content h3 {
    font-size: 1.3rem;
  }
  
  .slide-actions {
    flex-direction: column;
  }
  
  .btn-slider-primary,
  .btn-slider-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .slide-image {
    min-height: 250px;
  }
  
  .slide-author {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 2560px) {
  .slide-content h3 {
    font-size: 2.5rem;
  }
  
  .slide-text {
    font-size: 1.1rem;
  }
}
