
    :root {
      --primary-green: #059669;
      --primary-green-dark: #047857;
      --primary-green-light: #10b981;
      --accent-red: #dc2626;
      --accent-orange: #ea580c;
      --accent-gold: #d97706;
      --neutral-50: #f9fafb;
      --neutral-100: #f3f4f6;
      --neutral-200: #e5e7eb;
      --neutral-300: #d1d5db;
      --neutral-400: #9ca3af;
      --neutral-500: #6b7280;
      --neutral-600: #4b5563;
      --neutral-700: #374151;
      --neutral-800: #1f2937;
      --neutral-900: #111827;
      --success-green: #16a34a;
      --warning-yellow: #eab308;
      --error-red: #ef4444;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Kalpurush', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.6;
      color: var(--neutral-700);
      background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
    }

    /* Typography */
    .bangla-text {
      font-family: 'Kalpurush', sans-serif;
    }

    .english-text {
      font-family: 'Inter', sans-serif;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Layout Components */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .section {
      padding: 4rem 0;
    }

    .grid {
      display: grid;
      gap: 2rem;
    }

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

    .grid-3 {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .grid-4 {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Header */
    .header {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

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

    .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      color: var(--neutral-800);
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
    }

    .logo-text h1 {
      font-size: 1.25rem;
      margin: 0;
      font-weight: 700;
    }

    .logo-text p {
      font-size: 0.75rem;
      color: var(--neutral-500);
      margin: 0;
    }

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

    .nav a {
      text-decoration: none;
      color: var(--neutral-700);
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      transition: all 0.3s ease;
    }

    .nav a:hover {
      background: var(--neutral-100);
      color: var(--primary-green);
    }

    .search-bar {
      display: flex;
      align-items: center;
      background: white;
      border: 2px solid var(--neutral-200);
      border-radius: 8px;
      padding: 0.5rem 1rem;
      margin: 0 2rem;
      flex: 1;
      max-width: 400px;
    }

    .search-bar input {
      border: none;
      outline: none;
      flex: 1;
      padding: 0.25rem;
      font-size: 0.9rem;
    }

    .cart-icon {
      position: relative;
      padding: 0.5rem;
      background: var(--neutral-100);
      border-radius: 8px;
      color: var(--neutral-700);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .cart-icon:hover {
      background: var(--primary-green);
      color: white;
    }

    .cart-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background: var(--accent-red);
      color: white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      font-size: 0.7rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(234, 88, 12, 0.05) 100%);
      padding: 8rem 0 4rem;
      margin-top: 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }

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

    .hero-text h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .hero-text p {
      font-size: 1.2rem;
      color: var(--neutral-600);
      margin-bottom: 2rem;
    }

    .hero-stats {
      display: flex;
      gap: 2rem;
      margin: 2rem 0;
      flex-wrap: wrap;
    }

    .stat {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--neutral-700);
    }

    .stat-icon {
      width: 20px;
      height: 20px;
      background: var(--primary-green);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.8rem;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn {
      padding: 0.75rem 2rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
      color: white;
      box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    }

    .btn-secondary {
      background: transparent;
      color: var(--primary-green);
      border: 2px solid var(--primary-green);
    }

    .btn-secondary:hover {
      background: var(--primary-green);
      color: white;
    }

    .hero-visual {
      position: relative;
    }

    .book-grid-preview {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      background: white;
      padding: 2rem;
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      /* transform: rotate(3deg);
      transition: transform 0.3s ease; */
    }

    .book-grid-preview:hover {
      transform: rotate(0deg);
    }

    .preview-book {
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
      height: 120px;
      border-radius: 8px;
      padding: 1rem;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .preview-book h4 {
      font-size: 0.9rem;
      margin: 0;
    }

    .preview-book p {
      font-size: 0.7rem;
      opacity: 0.9;
      margin: 0;
    }

    /* Categories */
    .categories {
      background: white;
      padding: 4rem 0;
    }

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

    .section-header h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .section-header p {
      font-size: 1.1rem;
      color: var(--neutral-600);
    }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .category-card {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      border: 1px solid var(--neutral-100);
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
    }

    .category-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      border-color: transparent;
    }

    .category-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .category-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .category-card p {
      font-size: 0.9rem;
      color: var(--neutral-500);
      margin-bottom: 0.5rem;
    }

    .category-count {
      font-size: 0.8rem;
      color: var(--neutral-400);
    }

    /* Featured Books */
    .featured-books {
      background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(16, 185, 129, 0.05) 100%);
      padding: 4rem 0;
    }

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

    .book-card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      position: relative;
    }

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

    .book-cover {
      width: 100%;
      height: 250px;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
      position: relative;
      overflow: hidden;
    }

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

    .book-actions {
      position: absolute;
      top: 1rem;
      right: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      opacity: 0;
      transform: translateX(1rem);
      transition: all 0.3s ease;
    }

    .book-card:hover .book-actions {
      opacity: 1;
      transform: translateX(0);
    }

    .action-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .action-btn:hover {
      background: var(--primary-green);
      color: white;
    }

    .book-price {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      background: rgba(255, 255, 255, 0.95);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      font-weight: 600;
      color: var(--primary-green);
    }

    .book-info {
      padding: 1.5rem;
    }

    .book-info h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--neutral-800);
    }

    .book-info .english-title {
      font-size: 0.9rem;
      color: var(--neutral-500);
      margin-bottom: 1rem;
    }

    .book-author {
      color: var(--neutral-600);
      margin-bottom: 1rem;
    }

    .book-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .book-category {
      background: rgba(5, 150, 105, 0.1);
      color: var(--primary-green);
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.8rem;
    }

    .book-rating {
      display: flex;
      align-items: center;
      gap: 0.25rem;
      color: var(--accent-gold);
    }

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

    /* About Section */
    .about {
      background: white;
      padding: 4rem 0;
    }

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

    .about-text h2 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
    }

    .about-text p {
      font-size: 1.1rem;
      color: var(--neutral-600);
      margin-bottom: 1.5rem;
    }

    .feature-list {
      list-style: none;
      margin: 2rem 0;
    }

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

    .feature-icon {
      width: 24px;
      height: 24px;
      background: var(--success-green);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.8rem;
    }

    .about-visual {
      position: relative;
    }

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

    .stat-card {
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
      color: white;
      padding: 2rem;
      border-radius: 12px;
      text-align: center;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      font-size: 0.9rem;
      opacity: 0.9;
    }

    /* Footer */
    .footer {
      background: var(--neutral-800);
      color: var(--neutral-300);
      padding: 3rem 0 1rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-section h3 {
      color: white;
      margin-bottom: 1rem;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 0.5rem;
    }

    .footer-section ul li a {
      color: var(--neutral-300);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
      color: var(--primary-green-light);
    }

    .footer-bottom {
      border-top: 1px solid var(--neutral-700);
      padding-top: 2rem;
      text-align: center;
      color: var(--neutral-400);
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }

    .social-link {
      width: 40px;
      height: 40px;
      background: var(--neutral-700);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--neutral-300);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .social-link:hover {
      background: var(--primary-green);
      color: white;
    }

    /* Page Navigation with CSS :target */
    .page {
      display: none;
      padding-top: 80px;
    }

    .page:target {
      display: block;
    }

    #home:target~.page,
    .page#home {
      display: block;
    }

    /* Catalog Page */
    .catalog-header {
      background: white;
      padding: 2rem 0;
      border-bottom: 1px solid var(--neutral-200);
    }

    .catalog-controls {
      display: flex;
      justify-content: between;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .filter-tabs {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .filter-tab {
      padding: 0.5rem 1rem;
      border: 1px solid var(--neutral-300);
      border-radius: 6px;
      background: white;
      color: var(--neutral-600);
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .filter-tab:hover,
    .filter-tab.active {
      background: var(--primary-green);
      color: white;
      border-color: var(--primary-green);
    }

    .sort-select {
      padding: 0.5rem 1rem;
      border: 1px solid var(--neutral-300);
      border-radius: 6px;
      background: white;
      color: var(--neutral-600);
    }

    /* Book Detail Page */
    .book-detail {
      background: white;
      padding: 2rem 0;
    }

    .book-detail-content {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 3rem;
      align-items: start;
    }

    .book-detail-cover {
      width: 100%;
      max-width: 400px;
      height: 500px;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .book-detail-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .book-detail-info h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .book-detail-price {
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary-green);
      margin: 1rem 0;
    }

    .book-detail-description {
      font-size: 1.1rem;
      line-height: 1.8;
      color: var(--neutral-600);
      margin: 2rem 0;
    }

    .book-detail-meta {
      background: var(--neutral-50);
      padding: 1.5rem;
      border-radius: 8px;
      margin: 2rem 0;
    }

    .meta-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid var(--neutral-200);
    }

    .meta-row:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .book-actions-detail {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
    }

    /* Cart Page */
    .cart {
      background: white;
      padding: 2rem 0;
      min-height: 60vh;
    }

    .cart-content {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 3rem;
    }

    .cart-items {
      background: white;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .cart-item {
      display: flex;
      gap: 1rem;
      padding: 1rem 0;
      border-bottom: 1px solid var(--neutral-200);
    }

    .cart-item:last-child {
      border-bottom: none;
    }

    .cart-item-cover {
      width: 80px;
      height: 100px;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
      border-radius: 6px;
      flex-shrink: 0;
    }

    .cart-item-info {
      flex: 1;
    }

    .cart-item-info h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .cart-item-price {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--primary-green);
    }

    .cart-summary {
      background: var(--neutral-50);
      padding: 1.5rem;
      border-radius: 8px;
      height: fit-content;
      position: sticky;
      top: 100px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--neutral-200);
    }

    .summary-total {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--primary-green);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .container {
        padding: 0 1rem;
      }

      .header-content {
        flex-direction: column;
        gap: 1rem;
      }

      .nav {
        gap: 1rem;
      }

      .search-bar {
        margin: 0;
        max-width: 100%;
      }

      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
      }

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

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

      .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }

      .book-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }

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

      .book-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

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

      .catalog-controls {
        flex-direction: column;
        align-items: stretch;
      }

      .book-actions-detail {
        flex-direction: column;
      }
    }

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

      .section-header h2 {
        font-size: 2rem;
      }

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

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

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

    /* Animation and Transitions */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-fadeInUp {
      animation: fadeInUp 0.6s ease-out forwards;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.7;
      }
    }

    .animate-pulse {
      animation: pulse 2s ease-in-out infinite;
    }

    /* Utility Classes */
    .text-center {
      text-align: center;
    }

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

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

    .font-bold {
      font-weight: 700;
    }

    .font-semibold {
      font-weight: 600;
    }

    .mb-2 {
      margin-bottom: 0.5rem;
    }

    .mb-4 {
      margin-bottom: 1rem;
    }

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

    .hidden {
      display: none;
    }