/* Premium Membership Page Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--neutral-bg);
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  :root {
    --primary: #0066cc;
    --primary-light: #4a90e2;
    --primary-dark: #1a365d;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #34d399;
    --neutral-dark: #2c2c2c;
    --neutral-light: #f8fafc;
    --neutral-bg: #ffffff;
    --light-blue: #e3f2fd;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --success: #38a169;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hero Section (Textbooks Landing Styles) */
  .hero-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 48px 16px 32px;
    color: #333;
  }
  .hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero-section .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: normal;
  }
  .hero-section .hero-text h1 {
    font-family: "Times New Roman", serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .hero-section .hero-text p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
  }
  .hero-section .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-section .btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
  }
  .hero-section .btn-primary {
    background: #0066cc;
    color: #fff;
    border: 2px solid #0066cc;
  }
  .hero-section .btn-primary:hover {
    background: #004499;
    border-color: #004499;
  }
  .hero-section .btn-secondary {
    background: #ffffff;
    color: #0066cc;
    border: 2px solid #0066cc;
  }
  .hero-section .btn-secondary:hover {
    background: #eef6ff;
  }
  .hero-section .hero-image {
    text-align: right;
  }
  .hero-section .hero-textbook-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  
  /*.hero-overlay {*/
  /*  position: absolute;*/
  /*  top: 0;*/
  /*  left: 0;*/
  /*  right: 0;*/
  /*  bottom: 0;*/
  /*  background: rgba(0, 0, 0, 0.4);*/
  /*  display: flex;*/
  /*  align-items: center;*/
  /*}*/
  
  /* removed old hero-content and hero-text overrides (legacy hero) */
  
  .cta-button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
  }
  
  .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s;
  }
  
  .cta-button:hover::before {
    left: 100%;
  }
  
  .cta-button.primary {
    background-color: #0066cc;
    color: white;
    border: 2px solid #0066cc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .cta-button.primary:hover {
    background-color: #004499;
    border-color: #004499;
  }
  
  /* Benefits Section */
  .benefits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  }
  
  .section-title {
    font-family: "Times New Roman", serif;
    font-size: 35.2px;
    text-align: center;
    margin-bottom: 48px;
    color: #2c2c2c;
    font-weight: 400;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 4rem;
  }
  
  .benefit-card {
    display: block;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
      border-color 0.15s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .benefit-card * {
    text-decoration: none;
  }
  
  .benefit-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  .benefit-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  .benefit-card:nth-child(3) {
    animation-delay: 0.3s;
  }
  .benefit-card:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  .benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }
  
  .benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #60a5fa;
    text-decoration: none;
  }
  
  .benefit-card:hover * {
    text-decoration: none;
  }
  
  .benefit-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px #bfdbfe;
    border-color: #60a5fa;
  }
  
  .benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    color: #0066cc;
  }
  
  .benefit-content {
    position: relative;
    z-index: 2;
  }
  
  .benefit-content h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.2;
  }
  
  .benefit-content p {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    transition: all 0.3s ease;
  }
  
  .benefit-cta {
    color: #0066cc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
  }
  
  .benefit-card:hover .benefit-cta {
    color: #004499;
  }
  
  .benefit-card:hover .benefit-icon {
    color: #004499;
    transform: scale(1.1);
  }
  
  .benefits-cta {
    text-align: center;
    margin-top: 3rem;
  }
  
  /* Comparison Table */
  .comparison {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px 48px 16px;
    background-color: #ffffff;
  }
  
  .comparison h2 {
    font-family: "Times New Roman", serif;
    font-size: 30px;
    margin-bottom: 16px;
    text-align: center;
    color: #2c2c2c;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 36px;
  }
  
  .table-wrapper {
    overflow-x: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0 auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    table-layout: fixed;
  }
  
  thead {
    background-color: #ffffff;
    color: #2c2c2c;
    border-bottom: 1px solid #e0e0e0;
  }
  
  th {
    padding: 16px 24px !important;
    text-align: center !important;
    font-weight: 600;
    font-size: 16px;
    color: #2c2c2c;
    border-right: none;
    text-transform: none;
    letter-spacing: 0;
  }
  
  th:first-child {
    text-align: left !important;
    font-weight: 600;
    font-size: 16px;
    width: 50%;
  }
  
  th:nth-child(2) {
    width: 25%;
  }
  th:nth-child(3) {
    width: 25%;
  }
  
  td {
    padding: 15px !important;
    border-bottom: 1px solid #e0e0e0;
    border-right: none;
    color: #2c2c2c;
    text-align: center;
    vertical-align: middle;
    position: relative;
    transition: all 0.3s ease;
    font-size: 16px;
  }
  
  td:first-child {
    width: 50%;
    text-align: left;
  }
  
  td:nth-child(2) {
    width: 25%;
  }
  td:nth-child(3) {
    width: 25%;
  }
  
  tbody tr {
    transition: all 0.3s ease;
  }
  
  tbody tr:hover {
    background-color: #fcfcfc;
  }
  
  tbody tr:nth-child(even) {
    background-color: #ffffff;
  }
  
  tbody tr:nth-child(even):hover {
    background-color: #fcfcfc;
  }
  
  .feature-name {
    font-weight: 500;
    color: #2c2c2c;
    text-align: left;
    font-size: 16px;
  }
  
  .feature-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .feature-icon {
    font-size: 19.2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0066cc;
  }
  
  .feature-text-group {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .feature-text {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1.3;
  }
  
  .feature-subtext {
    font-size: 13.6px;
    color: #666666;
    line-height: 1.4;
    margin-top: 4.8px;
  }
  
  .check-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-image: url("https://dispatch.barnesandnoble.com/content/dam/ccr/membership/input-checkbox-circle-large-checked@2x.png");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    filter: hue-rotate(300deg) saturate(5);
  }
  
  .cross-mark {
    color: #cccccc;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
  }
  
  /* Membership Action Buttons */
  .action-row {
    border-top: 2px solid #e0e0e0;
  }
  
  .premium-action-cell {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: transparent;
  }
  
  .premium-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .price-text {
    font-size: 14.4px;
    color: #666666;
    font-weight: 500;
  }
  
  .membership-btn {
    padding: 9.6px 24px;
    border: 2px solid #0066cc;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14.4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
  }
  
  .premium-btn {
    text-decoration: none;
    background-color: #0066cc;
    color: white;
  }
  
  .premium-btn:hover {
    background-color: #004499;
    border-color: #004499;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  }
  
  /* CTA Section */
  .cta-section {
    background-color: white;
    padding: 64px 32px;
    text-align: center;
    margin-top: 0;
    border-top: 4px solid #0066cc;
  }
  
  .cta-section h2 {
    font-family: "Times New Roman", serif;
    font-size: 28.8px;
    margin-bottom: 16px;
    color: #2c2c2c;
    font-weight: 400;
  }
  
  .cta-section p {
    font-size: 17.6px;
    color: #666666;
    margin-bottom: 32px;
  }
  
  .cta-section .cta-button {
    background-color: #0066cc;
    color: white;
    border: 2px solid #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .cta-section .cta-button:hover {
    background-color: #004499;
    border-color: #004499;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  /* Responsive */
  @media (max-width: 769px) {
    .hero {
      min-height: 60vh;
    }
  
    .hero-text h1 {
      font-size: 42px;
    }
  
    .hero-text p {
      font-size: 18px;
    }
  }
  
  /* FAQ (Accordion) */
  .faq-section {
    font-family: "Poynter", "PoynterOSDisp", serif;
    padding: 12px 32px 46px;
    background-color: #ffffff;
  }
  
  .faq-section .section-title {
    font-weight: 600;
    font-style: italic;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    margin-bottom: 32px;
    color: #111827;
  }
  
  .faq-accordion {
    max-width: 920px;
    margin: 0 auto;
  }
  
  .faq-accordion details {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 0;
  }
  
  .faq-accordion summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
    color: #111827;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .faq-accordion summary::marker {
    display: none;
  }
  .faq-accordion summary::-webkit-details-marker {
    display: none;
  }
  
  .faq-accordion details > summary {
    border-top: 1px solid #e5e7eb;
  }
  
  .faq-accordion summary::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #374151;
    font-size: 14px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .faq-accordion details[open] > summary::after {
    content: "\f106";
    transform: rotate(0deg);
  }
  
  .faq-accordion .faq-content {
    padding: 0 0 0 0;
    color: #374151;
    line-height: 1.6;
    font-size: 14.4px;
    max-height: 0;
    overflow: hidden;
    will-change: max-height, padding;
    transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .faq-accordion details[open] .faq-content {
    padding: 0 0 16px 0;
    max-height: 5000px;
  }
  
  /* Hero Section from textbooks landing v3 */
  .hero-section {
    background: transparent;
    color: #333;
    padding: 80px 0;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    padding: 15px;
  }
  
  .hero-text {
    flex: 1;
    text-align: left;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
  }
  .btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
  }
  .btn-primary {
    background: #ff6b35;
    color: white;
  }
  .btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
  }
  .btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
  }
  .btn-secondary:hover {
    background: #ffffff;
    color: #1e3a8a;
  }
  
  .hero-image {
    flex: 1;
    text-align: center;
  }
  .hero-textbook-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
  }
  .hero-textbook-image:hover {
    transform: scale(1.05);
  }
  
  @media (max-width: 768px) {
    footer {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }
  
  @media (max-width: 968px) {
    .hero-section .hero-content {
      grid-template-columns: 1fr;
      gap: 24px;
      text-align: center;
    }
    .hero-section .hero-image {
      text-align: center;
    }
    .hero-section .hero-text h1 {
      font-size: 32px;
    }
  
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  
    .benefit-card {
      min-height: 180px;
      padding: 1.5rem 1rem;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      padding: 10px !important;
      min-height: 50vh;
    }
  
    .hero-text h1 {
      font-size: 35.2px;
    }
  
    .hero-text p {
      font-size: 15px;
    }
  
    .section-title {
      font-size: 24px;
    }
  
    .membership-btn {
      width: 100%;
      max-width: 200px;
    }
  
    .benefits-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .benefit-card {
      min-height: 160px;
      padding: 1.5rem 1rem;
    }
  
    .benefit-icon {
      font-size: 32px;
    }
  
    table {
      font-size: 14.4px;
    }
  
    th,
    td {
      padding: 1rem;
    }
  }