/* Hero Section */

    .hero {

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      padding: 4rem 0 3rem;

      position: relative;

      overflow: hidden;

    }



    .hero::before {

      content: '';

      position: absolute;

      width: 600px;

      height: 600px;

      background: rgba(255, 255, 255, 0.1);

      border-radius: 50%;

      top: -300px;

      right: -200px;

      animation: float 6s ease-in-out infinite;

    }



    .hero::after {

      content: '';

      position: absolute;

      width: 400px;

      height: 400px;

      background: rgba(255, 255, 255, 0.1);

      border-radius: 50%;

      bottom: -200px;

      left: -100px;

      animation: float 8s ease-in-out infinite reverse;

    }



    @keyframes float {

      0%,
      100% {
        transform: translateY(0px) translateX(0px);
      }

      50% {
        transform: translateY(-30px) translateX(30px);
      }

    }



    .hero .container {

      position: relative;

      z-index: 1;

    }



    .hero-wrapper {

      display: grid;

      grid-template-columns: 1fr 1fr;

      gap: 3rem;

      align-items: center;

      margin-bottom: 3rem;

    }



    .hero-content {

      text-align: left;

      color: white;

      animation: fadeInUp 0.8s ease-out;

    }



    .hero-image {

      position: relative;

      animation: fadeInRight 0.8s ease-out;

    }



    .hero-image-container {

      position: relative;

      background: rgba(255, 255, 255, 0.1);

      border-radius: 30px;

      padding: 2rem;

      backdrop-filter: blur(10px);

      border: 2px solid rgba(255, 255, 255, 0.2);

    }



    .hero-image img {

      width: 100%;

      height: auto;

      border-radius: 20px;

      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));

    }



    .floating-badge {

      position: absolute;

      background: white;

      padding: 0.75rem 1.5rem;

      border-radius: 50px;

      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

      font-weight: 600;

      animation: floatBadge 3s ease-in-out infinite;

    }



    .badge-1 {

      top: 10%;

      left: -5%;

      color: #667eea;

    }



    .badge-2 {

      bottom: 15%;

      right: -5%;

      color: #764ba2;

    }



    @keyframes floatBadge {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-10px);
      }

    }



    @keyframes fadeInRight {

      from {

        opacity: 0;

        transform: translateX(30px);

      }

      to {

        opacity: 1;

        transform: translateX(0);

      }

    }



    @keyframes fadeInUp {

      from {

        opacity: 0;

        transform: translateY(30px);

      }

      to {

        opacity: 1;

        transform: translateY(0);

      }

    }



    .hero-content h1 {

      font-size: 3.5rem;

      margin-bottom: 1rem;

      font-weight: 700;

      line-height: 1.2;

    }



    .hero-content p {

      font-size: 1.4rem;

      margin-bottom: 2rem;

      opacity: 0.95;

    }



    .hero-buttons {

      display: flex;

      gap: 1rem;

      flex-wrap: wrap;

    }



    .btn-primary,
    .btn-secondary {

      padding: 1rem 2.5rem;

      border-radius: 12px;

      font-weight: 600;

      font-size: 1.1rem;

      text-decoration: none;

      transition: all 0.3s;

      display: inline-block;

    }



    .btn-primary {

      background: white;

      color: #667eea;

      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    }



    .btn-primary:hover {

      transform: translateY(-3px);

      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);

    }



    .btn-secondary {

      background: rgba(255, 255, 255, 0.2);

      color: white;

      border: 2px solid white;

      backdrop-filter: blur(10px);

    }



    .btn-secondary:hover {

      background: rgba(255, 255, 255, 0.3);

      transform: translateY(-3px);

    }



    .hero-stats {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

      gap: 2rem;

      margin-top: 3rem;

    }



    .stat {

      background: rgba(255, 255, 255, 0.15);

      padding: 2rem;

      border-radius: 15px;

      text-align: center;

      backdrop-filter: blur(10px);

      border: 1px solid rgba(255, 255, 255, 0.2);

      color: white;

      transition: all 0.3s;

      animation: fadeInUp 0.8s ease-out;

    }



    .stat:nth-child(1) {
      animation-delay: 0.1s;
    }

    .stat:nth-child(2) {
      animation-delay: 0.2s;
    }

    .stat:nth-child(3) {
      animation-delay: 0.3s;
    }



    .stat:hover {

      transform: translateY(-5px);

      background: rgba(255, 255, 255, 0.25);

    }



    .stat h3 {

      font-size: 2.5rem;

      margin-bottom: 0.5rem;

    }



    .stat p {

      font-size: 1rem;

      opacity: 0.9;

    }



    /* Features Section */

    .features {

      padding: 5rem 0;

      background: #f8f9fa;

    }



    .features h2 {

      text-align: center;

      font-size: 2.5rem;

      margin-bottom: 3rem;

      color: #2c3e50;

    }



    .features-grid {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

      gap: 2rem;

    }



    .feature-card {

      background: white;

      padding: 2.5rem 2rem;

      border-radius: 15px;

      text-align: center;

      transition: all 0.3s;

      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    }



    .feature-card:hover {

      transform: translateY(-10px);

      box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);

    }



    .feature-card .icon {

      font-size: 4rem;

      margin-bottom: 1.5rem;

    }



    .feature-card h3 {

      font-size: 1.5rem;

      margin-bottom: 1rem;

      color: #2c3e50;

    }



    .feature-card p {

      color: #6c757d;

      line-height: 1.6;

    }



    /* Featured Notes Section */

    .featured-notes {

      padding: 5rem 0;

      position: relative;

      overflow: hidden;

    }



    /* Popular Notes - Warm flowing gradient background */

    .popular-notes {

      background: linear-gradient(-45deg, #ffe4e1, #fff0f5, #f0f9ff, #f0fdf4);

      background-size: 400% 400%;

      animation: gradientFlow 25s ease infinite;

      position: relative;

    }



    .popular-notes::before {

      content: '';

      position: absolute;

      top: -50%;

      left: -50%;

      width: 200%;

      height: 200%;

      background:

        radial-gradient(circle at 20% 50%, rgba(255, 240, 245, 0.5) 0%, transparent 30%),

        radial-gradient(circle at 80% 20%, rgba(255, 230, 230, 0.4) 0%, transparent 30%),

        radial-gradient(circle at 40% 80%, rgba(240, 253, 244, 0.4) 0%, transparent 30%);

      animation: float 30s ease-in-out infinite;

    }



    .popular-notes::after {

      content: '';

      position: absolute;

      top: 0;

      left: 0;

      right: 0;

      bottom: 0;

      background:

        linear-gradient(transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);

      animation: shimmer 12s linear infinite;

    }



    .popular-notes h2 {

      color: #2c3e50;

      text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);

    }



    /* Info Section - Image with Content */

    .info-showcase {

      background: #ffffff;

      padding: 6rem 0;

      position: relative;

      overflow: hidden;

    }



    .showcase-wrapper {

      display: grid;

      grid-template-columns: 1fr 1fr;

      gap: 4rem;

      align-items: center;

      max-width: 1200px;

      margin: 0 auto;

    }



    .showcase-image {

      position: relative;

      border-radius: 20px;

      overflow: hidden;

      box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);

      transform: perspective(1000px) rotateY(-5deg);

      transition: all 0.5s ease;

    }



    .showcase-image:hover {

      transform: perspective(1000px) rotateY(0deg) scale(1.02);

      box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4);

    }



    .showcase-image img {

      width: 100%;

      height: 500px;

      object-fit: cover;

      display: block;

    }



    .showcase-image::after {

      content: '';

      position: absolute;

      top: 0;

      left: 0;

      right: 0;

      bottom: 0;

      background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);

      pointer-events: none;

    }



    .showcase-content {

      padding: 2rem;

    }



    .showcase-badge {

      display: inline-block;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      color: white;

      padding: 0.6rem 1.5rem;

      border-radius: 50px;

      font-size: 0.9rem;

      font-weight: 600;

      margin-bottom: 1.5rem;

      letter-spacing: 0.5px;

    }



    .showcase-content h2 {

      font-size: 3rem;

      color: #2c3e50;

      margin-bottom: 1.5rem;

      line-height: 1.2;

      font-weight: 700;

    }



    .showcase-content p {

      font-size: 1.15rem;

      color: #666;

      line-height: 1.8;

      margin-bottom: 2rem;

    }



    .showcase-features {

      list-style: none;

      padding: 0;

      margin: 2rem 0 2.5rem 0;

    }



    .showcase-features li {

      display: flex;

      align-items: center;

      gap: 1rem;

      margin-bottom: 1.2rem;

      font-size: 1.1rem;

      color: #555;

    }



    .showcase-features li i {

      width: 45px;

      height: 45px;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      color: white;

      border-radius: 50%;

      display: flex;

      align-items: center;

      justify-content: center;

      font-size: 1.2rem;

      flex-shrink: 0;

    }



    .showcase-cta {

      display: flex;

      gap: 1.5rem;

      margin-top: 2rem;

    }



    .showcase-btn-primary {

      padding: 1rem 2.5rem;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      color: white;

      text-decoration: none;

      border-radius: 50px;

      font-weight: 600;

      font-size: 1.1rem;

      transition: all 0.3s;

      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);

      display: inline-flex;

      align-items: center;

      gap: 0.5rem;

    }



    .showcase-btn-primary:hover {

      transform: translateY(-3px);

      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);

    }



    .showcase-btn-secondary {

      padding: 1rem 2.5rem;

      background: transparent;

      color: #667eea;

      text-decoration: none;

      border-radius: 50px;

      font-weight: 600;

      font-size: 1.1rem;

      border: 2px solid #667eea;

      transition: all 0.3s;

      display: inline-flex;

      align-items: center;

      gap: 0.5rem;

    }



    .showcase-btn-secondary:hover {

      background: #667eea;

      color: white;

    }



    @media (max-width: 968px) {

      .showcase-wrapper {

        grid-template-columns: 1fr;

        gap: 3rem;

      }



      .showcase-image {

        transform: none;

      }



      .showcase-content h2 {

        font-size: 2.5rem;

      }

    }



    /* Latest Notes - Cool flowing gradient background */

    .latest-notes {

      background: linear-gradient(-45deg, #ede9fe, #dbeafe, #e0f2fe, #ecfdf5);

      background-size: 400% 400%;

      animation: gradientFlow 28s ease infinite;

      position: relative;

    }



    .latest-notes::before {

      content: '';

      position: absolute;

      top: -50%;

      left: -50%;

      width: 200%;

      height: 200%;

      background:

        radial-gradient(circle at 70% 30%, rgba(237, 233, 254, 0.5) 0%, transparent 30%),

        radial-gradient(circle at 30% 70%, rgba(219, 234, 254, 0.4) 0%, transparent 30%),

        radial-gradient(circle at 50% 50%, rgba(236, 253, 245, 0.4) 0%, transparent 30%);

      animation: float 35s ease-in-out infinite reverse;

    }



    .latest-notes::after {

      content: '';

      position: absolute;

      top: 0;

      left: 0;

      right: 0;

      bottom: 0;

      background:

        repeating-linear-gradient(90deg,

          transparent,

          transparent 100px,

          rgba(255, 255, 255, 0.08) 100px,

          rgba(255, 255, 255, 0.08) 200px);

      animation: slide 20s linear infinite;

    }



    .latest-notes h2 {

      color: #2c3e50;

      text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);

    }



    .latest-notes .section-subtitle {

      color: #4b5563;

      text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);

    }



    /* Flowing gradient animation */

    @keyframes gradientFlow {

      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }

    }



    /* Floating particles animation */

    @keyframes float {

      0%,
      100% {
        transform: translate(0, 0) rotate(0deg);
      }

      25% {
        transform: translate(-20px, -20px) rotate(5deg);
      }

      50% {
        transform: translate(20px, 20px) rotate(-5deg);
      }

      75% {
        transform: translate(-10px, 10px) rotate(3deg);
      }

    }



    /* Shimmer effect */

    @keyframes shimmer {

      0% {
        transform: translateX(-100%);
      }

      100% {
        transform: translateX(100%);
      }

    }



    /* Sliding background pattern */

    @keyframes slide {

      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(200px);
      }

    }



    .featured-notes .container {

      position: relative;

      z-index: 1;

    }



    .featured-notes h2 {

      text-align: center;

      font-size: 2.5rem;

      margin-bottom: 2rem;

      color: #2c3e50;

    }



    /* Loading text styling for colored backgrounds */

    .popular-notes .notes-grid>p,

    .latest-notes .notes-grid>p {

      color: #4b5563;

      text-align: center;

      grid-column: 1 / -1;

      font-size: 1.1rem;

      padding: 2rem;

      font-weight: 500;

      text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);

    }



    /* Enhanced shadows for cards on colored backgrounds */

    .popular-notes .note-card,

    .latest-notes .note-card {

      box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);

      backdrop-filter: blur(10px);

      background: rgba(255, 255, 255, 0.95);

      border: 1px solid rgba(255, 255, 255, 0.8);

    }



    .popular-notes .note-card:hover,

    .latest-notes .note-card:hover {

      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);

      transform: translateY(-5px);

    }



    .notes-grid {

      display: grid;

      grid-template-columns: repeat(5, 1fr);

      gap: 0.8rem;

      margin-bottom: 2rem;

    }



    .note-card {

      background: white;

      border-radius: 8px;

      overflow: hidden;

      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

      transition: all 0.3s;

      position: relative;

    }



    .note-card:hover {

      transform: translateY(-5px);

      box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);

    }



    .note-badge {

      position: absolute;

      top: 0.5rem;

      right: 0.5rem;

      padding: 0.3rem 0.6rem;

      border-radius: 12px;

      font-size: 0.75rem;

      font-weight: 600;

      z-index: 1;

    }



    .note-badge.popular {

      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

      color: white;

    }



    .note-badge.new {

      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

      color: white;

      right: auto;

      left: 0.5rem;

    }



    .note-image {

      position: relative;

      height: 118px;

      overflow: hidden;

      padding: 0;

      border: none;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      text-align: center;

      font-size: 2rem;

    }

    .note-image img {

      display: block;

      width: 100%;

      height: 100%;

      object-fit: cover;

      object-position: center;

      border: none;

      background: #eef2ff;

    }



    .note-card h3 {

      display: block;

      white-space: nowrap;

      overflow: hidden;

      text-overflow: ellipsis;

      padding: 0.55rem 0.75rem 0.2rem;

      font-size: 1.02rem;

      color: #2c3e50;

      line-height: 1.4;

      height: 1.4em;

      margin: 0;

    }



    .note-card p {

      display: -webkit-box;

      -webkit-box-orient: vertical;

      -webkit-line-clamp: 2;

      overflow: hidden;

      text-overflow: ellipsis;

      padding: 0 0.75rem;

      margin: 0;

      color: #6c757d;

      font-size: 0.88rem;

      line-height: 1.5;

      min-height: calc(1.5em * 2);

    }



    .note-meta {

      padding: 0.45rem 0.75rem 0.2rem;

      display: flex;

      justify-content: space-between;

      font-size: 0.8rem;

      color: #6c757d;

      border-top: 1px solid #e9ecef;

    }



    .note-meta .rating {

      color: #ffc107;

    }



    .note-footer {

      padding: 0.45rem 0.75rem 0.7rem;

      display: flex;

      justify-content: space-between;

      align-items: center;

      background: #f8f9fa;

    }



    .note-footer .price {

      font-size: 1.15rem;

      font-weight: 700;

      color: #667eea;

    }



    .note-footer button {

      padding: 0.35rem 0.8rem;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      color: white;

      border: none;

      border-radius: 5px;

      cursor: pointer;

      font-weight: 600;

      font-size: 0.9rem;

      transition: all 0.3s;

    }



    .note-footer button:hover {

      transform: scale(1.05);

      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);

    }



    /* Top Earners Section */

    .top-earners {

      padding: 5rem 0;

      background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);

    }



    .top-earners h2 {

      text-align: start;

      font-size: 2.5rem;

      margin-bottom: 0.5rem;

      color: #2c3e50;

    }



    .section-subtitle {

      text-align: start;

      color: #6c757d;

      margin-bottom: 3rem;

      font-size: 1.1rem;

    }



    .earners-grid {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

      gap: 2rem;

      margin-bottom: 3rem;

    }



    .earner-card {

      background: white;

      padding: 2rem 1.5rem;

      border-radius: 15px;

      text-align: center;

      transition: all 0.3s;

      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

      position: relative;

      text-decoration: none;

      color: inherit;

      display: block;

    }



    .earner-card:hover {

      transform: translateY(-10px);

      box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);

    }



    .rank-badge {

      position: absolute;

      top: -15px;

      right: -15px;

      width: 45px;

      height: 45px;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      color: white;

      border-radius: 50%;

      display: flex;

      align-items: center;

      justify-content: center;

      font-weight: 700;

      font-size: 1.2rem;

      box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);

    }



    .rank-1 .rank-badge {

      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    }



    .rank-2 .rank-badge {

      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    }



    .rank-3 .rank-badge {

      background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);

    }



    .earner-avatar {

      font-size: 4rem;

      margin-bottom: 1rem;

    }



    .earner-card h3 {

      font-size: 1.3rem;

      margin-bottom: 0.5rem;

      color: #2c3e50;

    }



    .earner-subject {

      color: #6c757d;

      font-size: 0.9rem;

      margin-bottom: 1.5rem;

    }



    .earner-earnings {

      margin-bottom: 1rem;

    }



    .earnings-amount {

      display: block;

      font-size: 2rem;

      font-weight: 700;

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      -webkit-background-clip: text;

      -webkit-text-fill-color: transparent;

      background-clip: text;

    }



    .earnings-label {

      color: #6c757d;

      font-size: 0.85rem;

    }



    .earner-stats {

      color: #6c757d;

      font-size: 0.9rem;

      margin-top: 1rem;

      padding-top: 1rem;

      border-top: 1px solid #e9ecef;

    }



    .earner-cta {

      text-align: center;

      font-size: 1.2rem;

      color: #2c3e50;

      margin-bottom: 1.5rem;

    }



    /* Reviews Section */

    .reviews {

      padding: 5rem 0;

      background: white;

    }



    .reviews h2 {

      text-align: center;

      font-size: 2.5rem;

      margin-bottom: 0.5rem;

      color: #2c3e50;

    }



    .reviews-grid {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

      gap: 2rem;

      margin-top: 3rem;

    }



    .review-card {

      background: #f8f9fa;

      padding: 2rem;

      border-radius: 15px;

      transition: all 0.3s;

      border: 2px solid transparent;

    }



    .review-card:hover {

      border-color: #667eea;

      transform: translateY(-5px);

      box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);

    }



    .review-rating {

      color: #ffc107;

      font-size: 1.5rem;

      margin-bottom: 1rem;

    }



    .review-text {

      color: #2c3e50;

      line-height: 1.7;

      margin-bottom: 1.5rem;

      font-style: italic;

    }



    .review-author {

      display: flex;

      align-items: center;

      gap: 1rem;

    }



    .author-avatar {

      font-size: 3rem;

    }



    .author-info h4 {

      color: #2c3e50;

      margin-bottom: 0.2rem;

    }



    .author-info p {

      color: #6c757d;

      font-size: 0.9rem;

    }



    /* CTA Section */

    .cta-section {

      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

      padding: 5rem 0;

      text-align: center;

      color: white;

    }



    .cta-section h2 {

      font-size: 3rem;

      margin-bottom: 1rem;

    }



    .cta-section p {

      font-size: 1.3rem;

      margin-bottom: 2rem;

      opacity: 0.95;

    }



    .btn-primary-large {

      display: inline-block;

      padding: 1.3rem 3rem;

      background: white;

      color: #667eea;

      text-decoration: none;

      border-radius: 12px;

      font-weight: 700;

      font-size: 1.3rem;

      transition: all 0.3s;

      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    }



    .btn-primary-large:hover {

      transform: translateY(-5px);

      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);

    }



    .text-center {

      text-align: center;

    }



    /* Button styling on colored backgrounds */

    .popular-notes .text-center .btn-primary,

    .latest-notes .text-center .btn-primary {

      background: rgba(255, 255, 255, 0.98);

      color: #667eea;

      font-weight: 700;

      font-size: 1.1rem;

      padding: 0.9rem 2.5rem;

      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

      border: 2px solid rgba(255, 255, 255, 0.9);

      backdrop-filter: blur(10px);

      transition: all 0.3s ease;

    }



    .popular-notes .text-center .btn-primary:hover,

    .latest-notes .text-center .btn-primary:hover {

      transform: translateY(-2px) scale(1.03);

      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

      background: white;

      border-color: white;

    }



    /* Responsive Design */

    @media (max-width: 1024px) {

      .notes-grid {

        grid-template-columns: repeat(4, 1fr);

      }



      .hero-wrapper {

        grid-template-columns: 1fr;

        gap: 2rem;

      }



      .hero-content {

        text-align: center;

      }



      .hero-buttons {

        justify-content: center;

      }

    }



    @media (max-width: 768px) {

      .hero-content h2 {

        font-size: 2.5rem;

      }



      .hero-content p {

        font-size: 1.1rem;

      }



      .hero-image-container {

        padding: 1rem;

      }



      .floating-badge {

        font-size: 0.85rem;

        padding: 0.5rem 1rem;

      }



      .badge-1 {

        left: 0;

      }



      .badge-2 {

        right: 0;

      }



      .features h2,

      .featured-notes h2,

      .top-earners h2,

      .reviews h2 {

        font-size: 2rem;

      }



      .cta-section h2 {

        font-size: 2.2rem;

      }



      .notes-grid,

      .features-grid,

      .earners-grid,

      .reviews-grid {

        grid-template-columns: 1fr;

      }

    }

.homepage {

      display: flex;

      flex-direction: column;

      background: var(--paper);

      color: var(--ink);

      font-family: var(--font-body);

    }



    .homepage>header {
      order: 1;
    }

    .homepage>.hero {
      order: 2;
    }

    .homepage>.features {
      order: 3;
    }

    .homepage>.category-section {
      order: 4;
    }

    .homepage>.latest-notes {
      order: 5;
    }

    .homepage>.popular-notes {
      order: 7;
    }

    .homepage>.top-earners {
      order: 6;
    }

    .homepage>.why-kwikrevise-section {
      order: 8;
    }

    .homepage>.faq-section {
      order: 9;
    }

    .homepage>.cta-section {
      order: 10;
    }

    .homepage>footer {
      order: 11;
    }



    .homepage h1,

    .homepage h2,

    .homepage h3,

    .homepage h4 {

      color: var(--ink);

      font-family: var(--font-display);

      letter-spacing: -.01em;

    }



    .homepage .container {

      max-width: 1240px;

      padding: 0 32px;

    }



    .homepage>header {

      background: rgba(246, 244, 236, .92);

      border-bottom: 1px solid var(--line);

      box-shadow: none;

      backdrop-filter: blur(8px);

    }



    .homepage>header .container {

      min-height: 76px;

      padding-top: 0;

      padding-bottom: 0;

    }



    .homepage .logo h1,

    .homepage .logo a {

      color: var(--ink);

      font-family: var(--font-display);

    }



    .homepage .logo img {

      height: 68px !important;

    }



    .homepage>header nav {

      background: transparent;

      box-shadow: none;

      position: static;

    }



    .homepage>header nav a {

      color: var(--ink-soft);

      font-size: 14px;

      font-weight: 600;

    }



    .homepage>header nav a:hover {

      color: var(--ink);

    }



    .homepage .nav-search {

      max-width: 300px;

    }



    .homepage .nav-search input {

      border: 1px solid var(--line);

      border-radius: 100px;

      background: var(--card);

      color: var(--ink);

    }



    .homepage .nav-search input:focus {

      border-color: var(--ink);

      box-shadow: 0 0 0 3px rgba(255, 201, 60, .25);

    }



    .homepage .btn-login,

    .homepage .btn-register,

    .homepage .btn-dashboard,

    .homepage .btn-logout,

    .homepage .btn-admin {

      border-radius: 100px;

      font-size: 13px;

      font-weight: 700;

      padding: 9px 16px;

    }



    .homepage .btn-login,

    .homepage .btn-dashboard,

    .homepage .btn-admin {

      background: var(--ink) !important;

      color: #fff !important;

    }



    .homepage .btn-register {

      border: 2px solid var(--ink);

      color: var(--ink) !important;

      background: transparent;

    }



    .homepage .btn-logout {

      background: var(--margin-red);

      color: #fff !important;

    }



    .homepage .hero {

      min-height: 0;

      padding: 64px 0 52px;

      text-align: left;

      color: var(--ink);

      background-color: var(--paper);

      background-image: repeating-linear-gradient(to bottom, transparent, transparent 35px, var(--paper-line) 36px);

    }



    .homepage .hero::before,

    .homepage .hero::after {

      display: none;

    }



    .homepage .hero-wrapper {

      grid-template-columns: 1.05fr .95fr;

      gap: 40px;

      margin-bottom: 34px;

    }



    .homepage .hero-content {

      color: var(--ink);

      animation: homepage-rise .7s ease-out both;

    }



    .homepage .hero-content::before {

      content: 'Study Notes for Students • Updated for Exams';

      display: inline-flex;

      align-items: center;

      gap: 8px;

      margin-bottom: 22px;

      padding: 7px 14px;

      border: 1px solid var(--line);

      border-radius: 100px;

      background: var(--card);

      color: var(--ink-soft);

      font-size: 13px;

      font-weight: 700;

    }



    .homepage .hero-content h2 {

      max-width: 590px;

      color: var(--ink);

      font-size: 56px;

      line-height: 1.04;

      text-shadow: none;

    }



    .homepage .hero-search {

      display: flex;

      gap: 8px;

      max-width: 640px;

      margin-top: 30px;

      padding: 10px;

      border: 1px solid var(--line);

      border-radius: var(--radius-l);

      background: var(--card);

      box-shadow: var(--shadow-card);

    }



    .homepage .hero-search input,

    .homepage .hero-search select {

      min-width: 0;

      border: 0;

      background: transparent;

      color: var(--ink);

      font-family: var(--font-body);

      font-size: 14px;

      padding: 12px 14px;

    }



    .homepage .hero-search input {
      flex: 1;
    }

    .homepage .hero-search select {
      border-right: 1px solid var(--line);
      color: var(--ink-soft);
    }



    .homepage .hero-search .btn-primary {

      flex: none;

      padding: 12px 22px;

      border: 0;

      border-radius: 100px;

      background: var(--ink);

      color: #fff;

      box-shadow: none;

    }



    .homepage .trusted-students {

      max-width: 640px;

      margin-top: 14px;

      color: var(--ink-soft);

      font-size: 12px;

      line-height: 1.5;

    }



    .homepage .trusted-students-label {

      display: block;

      margin-bottom: 7px;

      color: var(--ink);

      font-weight: 700;

    }



    .homepage .trusted-students-list {

      display: flex;

      flex-wrap: wrap;

      gap: 7px;

      margin: 0;

      padding: 0;

      list-style: none;

    }



    .homepage .trusted-students-chip {

      display: inline-flex;

      align-items: center;

      min-height: 28px;

      padding: 4px 10px;

      border: 1px solid var(--line);

      border-radius: 100px;

      background: rgba(255, 255, 255, .72);

      color: var(--ink-soft);

      font-size: 12px;

      font-weight: 600;

    }



    .homepage .hero-content h2::first-line {

      text-decoration: underline;

      text-decoration-color: var(--marker);

      text-decoration-thickness: 8px;

      text-underline-offset: -3px;

    }



    .homepage .hero-highlight {

      background: linear-gradient(transparent 62%, var(--marker) 62%);

    }



    .homepage .hero-content p {

      max-width: 480px;

      margin: 22px 0 0;

      color: var(--ink-soft);

      font-size: 18px;

      line-height: 1.55;

      text-shadow: none;

    }



    .homepage .hero-buttons {

      justify-content: flex-start;

      gap: 14px;

      margin: 32px 0 0;

    }



    .homepage .hero-buttons a,

    .homepage .btn-primary-large,

    .homepage .showcase-btn-primary {

      border-radius: 100px;

      background: var(--marker);

      color: var(--marker-ink);

      box-shadow: 0 6px 0 #DDA916;

    }



    .homepage .hero-buttons .btn-secondary,

    .homepage .showcase-btn-secondary {

      background: transparent;

      border: 2px solid var(--ink);

      color: var(--ink);

      backdrop-filter: none;

    }



    .homepage .hero-buttons .btn-secondary:hover,

    .homepage .showcase-btn-secondary:hover {

      background: var(--ink);

      color: #fff;

    }



    .homepage .hero-image {

      animation: homepage-rise .7s .12s ease-out both;

    }



    .homepage .hero-image-container {

      padding: 18px;

      border: 1px solid var(--line);

      border-radius: var(--radius-l);

      background: rgba(255, 255, 255, .55);

      box-shadow: var(--shadow-pop);

      backdrop-filter: blur(4px);

    }



    .homepage .hero-image img {

      border-radius: var(--radius-m) !important;

      filter: none;

    }



    .homepage .floating-badge {

      padding: 12px 16px;

      border-radius: var(--radius-m);

      box-shadow: var(--shadow-pop);

      font-size: 13px;

    }



    .homepage .badge-1 {
      color: var(--teal);
    }

    .homepage .badge-2 {
      color: var(--margin-red);
    }



    .homepage .hero-stats {

      justify-content: flex-start;

      gap: 34px;

      margin-top: 44px;

    }



    .homepage .stat {

      padding: 0;

      border: 0;

      background: transparent;

      box-shadow: none;

      backdrop-filter: none;

    }



    .homepage .stat h3 {

      color: var(--ink);

      font-size: 26px;

      text-shadow: none;

    }



    .homepage .stat p {

      color: var(--ink-soft);

      font-size: 13px;

      text-shadow: none;

    }



    .homepage .features,

    .homepage .featured-notes,

    .homepage .reviews {

      padding: 72px 0;

    }



    .homepage .features {

      background: #fff;

      border-top: 1px solid var(--line);

      border-bottom: 1px solid var(--line);

      padding: 0;

    }



    .homepage .features>.container {

      max-width: 1176px;

    }



    .homepage .features h2,

    .homepage .featured-notes h2,

    .homepage .top-earners h2,

    .homepage .reviews h2 {

      margin-bottom: 28px;

      font-size: 34px;

      text-shadow: none;

    }



    .homepage .features h2 {
      display: none;
    }



    .homepage .features-grid {

      grid-template-columns: repeat(4, 1fr);

      gap: 20px;

    }



    .homepage .feature-card {

      padding: 22px 18px;

      border: 1px solid var(--line);

      border-radius: var(--radius-m);

      background: var(--card);

      box-shadow: var(--shadow-card);

    }



    .homepage .feature-card:hover {

      box-shadow: var(--shadow-pop);

    }



    .homepage .features .feature-card {

      display: flex;

      align-items: center;

      gap: 10px;

      padding: 26px 0;

      border: 0;

      border-radius: 0;

      box-shadow: none;

    }



    .homepage .features .feature-card:hover {

      transform: none;

      box-shadow: none;

    }



    .homepage .feature-card .icon {

      flex: none;

      margin: 0;

      font-size: 22px;

    }



    .homepage .feature-card h3 {

      margin: 0;

      text-align: left;

      color: var(--ink-soft);

      font-family: var(--font-body);

      font-weight: 600;

      font-size: 13px;

    }



    .homepage .features .feature-card p {
      display: none;
    }



    .homepage .feature-card p,

    .homepage .section-subtitle {

      color: var(--ink-soft);

      font-size: 14px;

    }



    .homepage .features .icon {

      color: var(--teal);

      font-family: var(--font-body);

      font-size: 18px;

      font-weight: 800;

      line-height: 1;

    }



    .homepage .stat h3 {

      font-family: var(--font-display);

      font-weight: 700;

      line-height: 1.1;

    }



    .homepage .stat p {

      font-family: var(--font-body);

      font-weight: 400;

      line-height: 1.4;

    }



    .homepage .popular-notes,

    .homepage .latest-notes {

      background-color: var(--paper);

      background-image: repeating-linear-gradient(to bottom, transparent, transparent 35px, var(--paper-line) 36px);

      animation: none;

    }



    .homepage .notes-section-head {

      display: flex;

      align-items: flex-end;

      justify-content: space-between;

      gap: 24px;

      margin-bottom: 28px;

      text-align: left;

    }



    .homepage .notes-section-head .eyebrow {

      display: block;

      margin-bottom: 6px;

      color: var(--margin-red);

      font-family: var(--font-note);

      font-size: 22px;

    }



    .homepage .notes-section-head h2 {

      margin: 0;

      text-align: left;

      font-size: 34px;

    }



    .homepage .notes-section-head .section-subtitle {

      margin: 6px 0 0;

      text-align: left;

      color: var(--ink-soft);

      font-size: 15px;

    }



    .homepage .notes-section-head .view-all {

      flex: none;

      padding-bottom: 2px;

      border-bottom: 2px solid var(--marker);

      color: var(--ink);

      font-size: 14px;

      font-weight: 700;

      white-space: nowrap;

    }



    .homepage .category-section {

      padding: 52px 0 24px;

      background: var(--paper);

    }



    .homepage .category-section .section-head {

      display: flex;

      align-items: flex-end;

      justify-content: space-between;

      gap: 24px;

      margin-bottom: 28px;

    }



    .homepage .category-section .eyebrow {

      display: block;

      margin-bottom: 6px;

      color: var(--margin-red);

      font-family: var(--font-note);

      font-size: 22px;

    }



    .homepage .category-section h2 {

      margin: 0;

      font-size: 34px;

    }



    .homepage .cat-strip {

      display: flex;

      gap: 12px;

      overflow-x: auto;

      overflow-y: visible;

      padding: 6px 2px 10px;

      scrollbar-width: none;

      -ms-overflow-style: none;

    }



    .homepage .cat-strip::-webkit-scrollbar {

      display: none;

    }



    .homepage .cat-pill {

      flex: 0 0 120px;

      min-height: 110px;

      display: flex;

      flex-direction: column;

      gap: 8px;

      padding: 12px 14px;

      border: 1px solid var(--line);

      border-radius: var(--radius-m);

      background: var(--card);

      color: var(--ink);

      box-shadow: var(--shadow-card);

      transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;

      justify-content: center;

      align-items: center;

      text-align: center;

    }



    .homepage .cat-pill:hover {

      transform: translateY(-4px);

      border-color: var(--ink);

      box-shadow: var(--shadow-pop);

      z-index: 2;

      position: relative;

    }



    .homepage .cat-pill .subject-icon {

      width: 32px;

      height: 32px;

      display: flex;

      align-items: center;

      justify-content: center;

      background: rgba(0, 0, 0, 0.04);

      border-radius: 50%;

      font-size: 22px;

      line-height: 1;

    }



    .homepage .cat-pill strong {

      font-family: var(--font-display);

      font-size: 12.5px;

      line-height: 1.3;

      letter-spacing: 0.1px;

    }



    .homepage .popular-notes::before,

    .homepage .popular-notes::after,

    .homepage .latest-notes::before,

    .homepage .latest-notes::after {

      display: none;

    }



    .homepage .notes-grid {

      grid-template-columns: repeat(5, 1fr);

      gap: 20px;

    }



    .homepage .note-card {

      min-width: 0;

      padding: 0;

      border: 1px solid var(--line);

      border-radius: var(--radius-m);

      box-shadow: var(--shadow-card);

    }

    .homepage .popular-notes .note-card.paid-note {

      border: 3px solid var(--marker);

      background: #fffdf2;

      box-shadow: 0 10px 28px rgba(236, 181, 56, 0.28);

    }

    .homepage .popular-notes .note-card.paid-note:hover {

      box-shadow: 0 14px 30px rgba(236, 181, 56, 0.3);

    }



    .homepage .note-card:hover {

      box-shadow: var(--shadow-pop);

    }



    .homepage .note-image {

      position: relative;

      min-height: 118px;

      height: 118px;

      display: block;

      overflow: hidden;

      padding: 0;

      border: none;

      color: #fff;

      background: linear-gradient(135deg, var(--violet), #4B3FC0);

      font-size: 40px;

      line-height: 1;

    }



    .homepage .note-image img {

      display: block;

      width: 100%;

      height: 100%;

      object-fit: cover;

      object-position: center;

      border: none;

      background: #eef2ff;

    }



    .homepage .notes-grid .note-card:nth-child(5n + 2) .note-image {

      background: linear-gradient(135deg, var(--teal), #146955);

    }



    .homepage .notes-grid .note-card:nth-child(5n + 3) .note-image {

      background: linear-gradient(135deg, var(--margin-red), #8F2E27);

    }



    .homepage .notes-grid .note-card:nth-child(5n + 4) .note-image {

      background: linear-gradient(135deg, var(--ink), #2A3B63);

    }



    .homepage .notes-grid .note-card:nth-child(5n) .note-image {

      background: linear-gradient(135deg, var(--coral), var(--margin-red));

    }



    .homepage .note-badge {

      position: absolute;

      top: 10px;

      left: 10px;

      z-index: 1;

      padding: 4px 9px;

      font-size: 10.5px;

      font-weight: 800;

      letter-spacing: .02em;

    }



    .homepage .note-badge.popular {

      background: var(--marker);

      color: var(--marker-ink);

    }



    .homepage .note-badge.new {

      right: auto;

      left: 10px;

      background: rgba(255, 255, 255, .92);

      color: var(--ink);

    }



    .homepage .note-card h3 {

      min-height: 46px;

      padding: 14px 15px 5px;

      font-size: 14.5px;

      color: var(--ink);

    }



    .homepage .note-card p {

      min-height: 38px;

      padding: 0 15px;

      color: var(--ink-soft);

      font-size: 12px;

    }



    .homepage .note-meta {

      padding: 10px 15px;

      color: var(--ink-soft);

      border-top: 1px dashed var(--line);

      font-size: 12px;

    }



    .homepage .note-footer {

      padding: 10px 15px 14px;

      background: transparent;

    }



    .homepage .note-footer .price {

      color: var(--ink);

      font-family: var(--font-display);

      font-size: 16px;

    }



    .homepage .note-footer button {

      display: inline-flex;

      align-items: center;

      padding: 7px 12px;

      border-radius: 100px;

      background: var(--ink);

      font-size: 12px;

    }



    .homepage .note-card-link {

      display: inline-flex;

      align-items: center;

      padding: 7px 12px;

      border-radius: 100px;

      background: var(--ink);

      color: #fff;

      font-size: 12px;

    }



    .homepage .note-badge {

      border-radius: 100px;

      background: var(--marker);

      color: var(--marker-ink);

    }



    .homepage .note-badge.new {

      background: var(--card);

      color: var(--ink);

    }

    .homepage .paid-note-badge {

      position: absolute;

      top: 0;

      right: 0;

      left: 0;

      z-index: 2;

      padding: 8px 10px;

      border-radius: 0;

      background: var(--marker);

      color: var(--marker-ink);

      font-size: 12px;

      font-weight: 800;

      letter-spacing: .08em;

      text-align: center;

      text-transform: uppercase;

      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);

    }

    .homepage .popular-notes .paid-note .note-image {

      margin-top: 30px;

    }

    .homepage .popular-notes .paid-note .note-footer {

      background: #fff4c7;

    }

    .homepage .popular-notes .paid-note .price {

      color: #9a6500;

      font-size: 17px;

    }



    .homepage .info-showcase {

      display: none;

    }



    .homepage .showcase-wrapper {

      max-width: 1176px;

      gap: 40px;

    }



    .homepage .showcase-image {

      border-radius: var(--radius-l);

      box-shadow: var(--shadow-pop);

      transform: none;

    }



    .homepage .showcase-image::after {

      display: none;

    }



    .homepage .showcase-content {

      padding: 0;

    }



    .homepage .showcase-badge {

      padding: 7px 14px;

      border-radius: 100px;

      background: var(--marker);

      color: var(--marker-ink);

    }



    .homepage .showcase-content h2 {

      margin-bottom: 14px;

      color: var(--ink);

      font-size: 34px;

    }



    .homepage .showcase-content p,

    .homepage .showcase-features li {

      color: var(--ink-soft);

      font-size: 15px;

    }



    .homepage .showcase-features li i {

      width: 36px;

      height: 36px;

      border-radius: 50%;

      background: var(--teal);

      font-size: 14px;

    }



    .homepage .top-earners {

      padding: 72px 0;

      background: #fff;

      border-top: 1px solid var(--line);

      border-bottom: 1px solid var(--line);

    }



    .homepage .earners-grid {

      grid-template-columns: repeat(5, 1fr);

      gap: 20px;

    }



    .homepage .earner-card {

      padding: 22px 16px;

      border: 1px solid var(--line);

      border-radius: var(--radius-m);

      box-shadow: var(--shadow-card);

    }



    .homepage .earner-card:hover {

      box-shadow: var(--shadow-pop);

    }



    .homepage .rank-badge {

      top: 10px;

      right: 10px;

      width: 26px;

      height: 26px;

      background: var(--ink);

      font-size: 12px;

    }



    .homepage .earner-avatar {

      margin-bottom: 8px;

      font-size: 42px;

    }



    .homepage .earner-card h3 {

      font-size: 14px;

    }



    .homepage .earner-subject,

    .homepage .earner-stats,

    .homepage .earnings-label {

      color: var(--ink-soft);

      font-size: 12px;

    }



    .homepage .earnings-amount {

      color: var(--teal);

      background: none;

      -webkit-text-fill-color: initial;

      font-family: var(--font-display);

      font-size: 17px;

    }



    .homepage .reviews {

      display: none;

    }



    .homepage .reviews-grid {

      gap: 20px;

    }



    .homepage .review-card {

      padding: 20px;

      border: 1px solid var(--line);

      border-radius: var(--radius-m);

      background: var(--card);

      box-shadow: var(--shadow-card);

    }



    .homepage .review-card:hover {

      border-color: var(--marker);

      box-shadow: var(--shadow-pop);

    }



    .homepage .review-text,

    .homepage .author-info p {

      color: var(--ink-soft);

    }



    .homepage .cta-section {

      position: relative;

      overflow: hidden;

      padding: 56px;

      margin: 0 auto;

      max-width: 1176px;

      border-radius: var(--radius-l);

      background: var(--ink);

    }



    .homepage .cta-section::before,

    .homepage .cta-section::after {

      content: '';

      position: absolute;

      right: -70px;

      top: 50%;

      width: 260px;

      height: 260px;

      border: 1px solid rgba(255, 255, 255, .22);

      border-radius: 50%;

      transform: translateY(-50%);

      pointer-events: none;

    }



    .homepage .cta-section::after {

      right: -10px;

      width: 150px;

      height: 150px;

      border-color: rgba(255, 255, 255, .28);

    }



    .homepage .cta-section .container {

      position: relative;

      z-index: 1;

    }



    .homepage .cta-section h2 {

      color: #fff;

      font-size: 32px;

    }



    .homepage .cta-section p {

      color: #C7CEE0;

      font-size: 15px;

    }



    @keyframes homepage-rise {

      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }

    }



    @media (max-width: 1024px) {

      .homepage .hero-wrapper {
        grid-template-columns: 1fr;
      }

      .homepage .hero-content {
        text-align: center;
      }

      .homepage .hero-content p {
        margin-left: auto;
        margin-right: auto;
      }

      .homepage .hero-buttons,

      .homepage .hero-stats {
        justify-content: flex-start;
      }

      .homepage .notes-grid,

      .homepage .earners-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .homepage .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }

    }



    @media (max-width: 768px) {

      .homepage>header .container {
        padding: 14px 20px;
      }

      .homepage>header nav:not(.nav-right),

      .homepage .nav-search {
        display: none;
      }

      .homepage .container {
        padding-left: 20px;
        padding-right: 20px;
      }

      .homepage .hero {
        padding: 44px 0 38px;
      }

      .homepage .hero-content h2 {
        font-size: 42px;
      }

      .homepage .hero-content p {
        font-size: 16px;
      }

      .homepage .hero-content,

      .homepage .hero-wrapper,

      .homepage .hero-search {
        min-width: 0;
      }

      .homepage .hero-search {
        flex-wrap: wrap;
      }

      .homepage .hero-search select {
        flex: 1 1 150px;
        min-width: 0;
      }

      .homepage .hero-search input {
        flex: 1 1 190px;
        min-width: 0;
      }

      .homepage .hero-search .btn-primary {
        flex: 1 1 100%;
      }

      .homepage .hero-image-container {
        padding: 10px;
      }

      .homepage .floating-badge {
        font-size: 11px;
        padding: 9px 11px;
      }

      .homepage .features,

      .homepage .featured-notes,

      .homepage .info-showcase,

      .homepage .top-earners,

      .homepage .reviews {
        padding: 52px 0;
      }

      .homepage .features h2,

      .homepage .featured-notes h2,

      .homepage .top-earners h2,

      .homepage .reviews h2,

      .homepage .showcase-content h2 {
        font-size: 28px;
      }

      .homepage .category-section {
        padding-top: 42px;
      }

      .homepage .category-section h2 {
        font-size: 28px;
      }

      .homepage .notes-section-head {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

      }

      .homepage .notes-section-head h2 {
        font-size: 28px;
      }

      .homepage .notes-grid,

      .homepage .earners-grid,

      .homepage .features-grid,

      .homepage .reviews-grid {
        grid-template-columns: 1fr;
      }

      .homepage .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
      }

      .homepage .cta-section {
        margin: 0 20px;
        padding: 38px 24px;
      }

    }

    /* ================= FAQ SECTION ================= */

    .faq-section {
      padding: 100px 0;
      background: #f8f7f2;
      border-top: 1px solid rgba(20, 35, 60, 0.08);
    }

    .faq-header {
      max-width: 760px;
      margin: 0 auto 55px;
      text-align: center;
    }

    .faq-header .eyebrow {
      display: inline-block;
      margin-bottom: 16px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #52627d;
    }

    .faq-header h2 {
      margin: 0;
      color: #162544;
      font-size: clamp(32px, 4vw, 48px);
      line-height: 1.1;
      letter-spacing: -0.03em;
      font-weight: 750;
    }

    .faq-header h2 span {
      position: relative;
      display: inline-block;
      z-index: 1;
    }

    .faq-header h2 span::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 2px;
      height: 11px;
      background: #f5c842;
      z-index: -1;
      transform: rotate(-1deg);
    }

    .faq-header p {
      max-width: 650px;
      margin: 20px auto 0;
      color: #5d6b84;
      font-size: 16px;
      line-height: 1.7;
    }

    .faq-list {
      max-width: 900px;
      margin: 0 auto;
    }

    .faq-item {
      margin-bottom: 14px;
      background: #ffffff;
      border: 1px solid #e3e1d9;
      border-radius: 16px;
      overflow: hidden;
      transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
    }

    .faq-item:hover {
      border-color: #d4d1c7;
      box-shadow: 0 8px 25px rgba(22, 37, 68, 0.06);
    }

    .faq-item.active {
      border-color: #d7d4ca;
      box-shadow: 0 10px 30px rgba(22, 37, 68, 0.07);
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 25px;
      padding: 23px 26px;
      border: 0;
      background: transparent;
      color: #162544;
      font-family: inherit;
      font-size: 17px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
    }

    .faq-question:hover {
      background: #fcfbf8;
    }

    .faq-icon {
      flex: 0 0 32px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #f4c842;
      color: #162544;
      font-size: 22px;
      font-weight: 500;
      line-height: 1;
      transition:
        transform 0.3s ease,
        background 0.3s ease;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
      background: #162544;
      color: #ffffff;
    }

    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.35s ease;
    }

    .faq-answer p {
      min-height: 0;
      overflow: hidden;
      margin: 0;
      padding: 0 26px;
      color: #5d6b84;
      font-size: 15px;
      line-height: 1.75;
      transition: padding 0.35s ease;
    }

    .faq-item.active .faq-answer {
      grid-template-rows: 1fr;
    }

    .faq-item.active .faq-answer p {
      padding: 0 26px 25px;
    }

    .faq-answer a {
      color: #162544;
      font-weight: 700;
      text-decoration: underline;
      text-decoration-color: #f4c842;
      text-underline-offset: 3px;
    }

    /* ================= FAQ MOBILE ================= */

    @media (max-width: 768px) {

      .faq-section {
        padding: 70px 0;
      }

      .faq-header {
        margin-bottom: 35px;
      }

      .faq-header h2 {
        font-size: 34px;
      }

      .faq-header p {
        font-size: 15px;
      }

      .faq-question {
        padding: 20px;
        font-size: 15px;
        gap: 15px;
      }

      .faq-icon {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        font-size: 20px;
      }

      .faq-item.active .faq-answer p {
        padding: 0 20px 21px;
      }

    }


    /* =========================================================
   WHY KWIKREVISE / SEO CONTENT SECTION
   ========================================================= */

    .why-kwikrevise-section {
      padding: 105px 0 110px;
      background: var(--paper);
      background-image:
        repeating-linear-gradient(to bottom,
          transparent,
          transparent 35px,
          var(--paper-line) 36px);
      border-top: 1px solid var(--line);
    }


    /* -------------------------
   HEADER
   ------------------------- */

    .why-kwikrevise-header {
      max-width: 800px;
      margin: 0 auto 65px;
      text-align: center;
    }

    .why-kwikrevise-eyebrow {
      display: inline-flex;
      align-items: center;
      padding: 7px 14px;
      margin-bottom: 18px;

      border: 1px solid var(--line);
      border-radius: 100px;

      background: var(--card);

      color: var(--ink-soft);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .why-kwikrevise-header h2 {
      margin: 0;

      color: var(--ink);
      font-family: var(--font-display);

      font-size: clamp(36px, 5vw, 58px);
      line-height: 1.05;
      letter-spacing: -.035em;
    }

    .why-kwikrevise-header h2 span {
      position: relative;
      display: inline-block;
      z-index: 1;
    }

    .why-kwikrevise-header h2 span::after {
      content: "";

      position: absolute;

      left: 0;
      right: 0;
      bottom: 3px;

      height: 12px;

      background: #f5c842;

      z-index: -1;

      transform: rotate(-1deg);
    }

    .why-kwikrevise-intro {
      max-width: 690px;

      margin: 22px auto 0;

      color: var(--ink-soft);

      font-size: 17px;
      line-height: 1.75;
    }


    /* -------------------------
   MAIN INTRO
   ------------------------- */

    .why-kwikrevise-main {
      display: grid;

      grid-template-columns:
        minmax(0, 1.4fr) minmax(300px, .6fr);

      gap: 45px;

      max-width: 1100px;

      margin: 0 auto 60px;

      align-items: center;
    }

    .why-kwikrevise-text p {
      margin: 0 0 18px;

      color: var(--ink-soft);

      font-size: 16px;
      line-height: 1.8;
    }

    .why-kwikrevise-text p:last-child {
      margin-bottom: 0;
    }


    /* -------------------------
   HIGHLIGHT BOX
   ------------------------- */

    .why-kwikrevise-highlight {
      display: flex;

      gap: 16px;

      padding: 25px;

      background: var(--card);

      border: 1px solid var(--line);

      border-radius: 18px;

      box-shadow:
        0 12px 35px rgba(22, 37, 68, .06);
    }

    .why-highlight-icon {
      flex: 0 0 45px;

      width: 45px;
      height: 45px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 13px;

      background: var(--ink);

      color: #fff;

      font-size: 17px;
    }

    .why-kwikrevise-highlight strong {
      display: block;

      margin-bottom: 7px;

      color: var(--ink);

      font-size: 15px;
    }

    .why-kwikrevise-highlight p {
      margin: 0;

      color: var(--ink-soft);

      font-size: 13px;
      line-height: 1.65;
    }


    /* -------------------------
   BENEFIT CARDS
   ------------------------- */

    .why-kwikrevise-grid {
      display: grid;

      grid-template-columns:
        repeat(4, 1fr);

      gap: 16px;

      max-width: 1200px;

      margin: 0 auto 75px;
    }

    .why-kwikrevise-card {
      position: relative;

      padding: 28px 24px 27px;

      background: var(--card);

      border: 1px solid var(--line);

      border-radius: 18px;

      transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    }

    .why-kwikrevise-card:hover {
      transform: translateY(-4px);

      border-color: rgba(22, 37, 68, .18);

      box-shadow:
        0 15px 35px rgba(22, 37, 68, .08);
    }

    .why-card-number {
      position: absolute;

      top: 20px;
      right: 20px;

      color: rgba(22, 37, 68, .16);

      font-size: 12px;
      font-weight: 800;
    }

    .why-card-icon {
      width: 45px;
      height: 45px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin-bottom: 20px;

      border-radius: 12px;

      background: #fff8df;

      color: var(--ink);

      font-size: 17px;
    }

    .why-kwikrevise-card h3 {
      margin: 0 0 10px;

      color: var(--ink);

      font-family: var(--font-display);

      font-size: 18px;
      line-height: 1.25;
    }

    .why-kwikrevise-card p {
      margin: 0;

      color: var(--ink-soft);

      font-size: 14px;
      line-height: 1.7;
    }


    /* -------------------------
   DETAILED SEO CONTENT
   ------------------------- */

    .why-kwikrevise-content {
      max-width: 1100px;

      margin: 0 auto 60px;

      padding-top: 60px;

      border-top: 1px solid var(--line);
    }

    .why-content-heading {
      max-width: 650px;

      margin-bottom: 35px;
    }

    .why-content-heading span {
      display: block;

      margin-bottom: 12px;

      color: var(--ink-soft);

      font-size: 11px;
      font-weight: 800;

      letter-spacing: .1em;
    }

    .why-content-heading h3 {
      margin: 0;

      color: var(--ink);

      font-family: var(--font-display);

      font-size: clamp(27px, 3vw, 38px);

      line-height: 1.15;

      letter-spacing: -.025em;
    }

    .why-content-columns {
      display: grid;

      grid-template-columns:
        1fr 1fr;

      gap: 55px;
    }

    .why-content-columns p {
      margin: 0 0 20px;

      color: var(--ink-soft);

      font-size: 15px;

      line-height: 1.8;
    }

    .why-content-columns p:last-child {
      margin-bottom: 0;
    }


    /* -------------------------
   TRUST BLOCK
   ------------------------- */

    .why-kwikrevise-trust {
      display: grid;

      grid-template-columns: auto 1fr;

      gap: 22px;

      align-items: start;

      max-width: 1100px;

      margin: 0 auto 45px;

      padding: 32px;

      background: var(--ink);

      border-radius: 20px;

      color: #fff;
    }

    .why-trust-icon {
      width: 52px;
      height: 52px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 14px;

      background: #f5c842;

      color: var(--ink);

      font-size: 20px;
    }

    .why-trust-label {
      margin-bottom: 8px;

      color: rgba(255, 255, 255, .65);

      font-size: 10px;
      font-weight: 800;

      letter-spacing: .12em;
    }

    .why-trust-content h3 {
      margin: 0 0 10px;

      color: #fff;

      font-family: var(--font-display);

      font-size: 24px;

      letter-spacing: -.015em;
    }

    .why-trust-content p {
      max-width: 780px;

      margin: 0;

      color: rgba(255, 255, 255, .75);

      font-size: 14px;

      line-height: 1.75;
    }


    /* -------------------------
   FINAL PARAGRAPH
   ------------------------- */

    .why-kwikrevise-final {
      display: flex;

      align-items: flex-start;

      gap: 18px;

      max-width: 900px;

      margin: 0 auto;

      padding: 28px 30px;

      background: var(--card);

      border: 1px solid var(--line);

      border-radius: 18px;
    }

    .why-final-mark {
      flex: 0 0 34px;

      width: 34px;
      height: 34px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;

      background: #f5c842;

      color: var(--ink);

      font-size: 13px;
    }

    .why-kwikrevise-final p {
      margin: 0;

      color: var(--ink);

      font-size: 15px;

      font-weight: 600;

      line-height: 1.75;
    }


    /* =========================================================
   MOBILE
   ========================================================= */

    @media (max-width: 900px) {

      .why-kwikrevise-grid {
        grid-template-columns:
          repeat(2, 1fr);
      }

      .why-kwikrevise-main {
        grid-template-columns: 1fr;
      }

    }


    @media (max-width: 700px) {

      .why-kwikrevise-section {
        padding: 75px 0 80px;
      }

      .why-kwikrevise-header {
        margin-bottom: 45px;
      }

      .why-kwikrevise-header h2 {
        font-size: 36px;
      }

      .why-kwikrevise-intro {
        font-size: 15px;
      }

      .why-kwikrevise-grid {
        grid-template-columns: 1fr;

        margin-bottom: 55px;
      }

      .why-content-columns {
        grid-template-columns: 1fr;

        gap: 20px;
      }

      .why-kwikrevise-content {
        padding-top: 45px;
      }

      .why-kwikrevise-trust {
        grid-template-columns: 1fr;

        padding: 25px;
      }

      .why-kwikrevise-final {
        padding: 22px;
      }

      .why-kwikrevise-final p {
        font-size: 14px;
      }

    }


    /* =========================================================
   WHY KWIKREVISE
   Replaces Top Earners section
   ========================================================= */

    .homepage .top-earners {
      padding: 72px 0;
      background: var(--paper);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }


    /* =========================================================
   HEADER
   ========================================================= */

    .homepage .why-section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 40px;

      margin-bottom: 34px;
    }

    .homepage .why-section-label {
      display: inline-block;

      margin-bottom: 12px;
      padding: 6px 11px;

      border-radius: 100px;

      background: var(--marker);
      color: var(--marker-ink);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .homepage .why-section-header h2 {
      margin: 0 0 10px;

      color: var(--ink);
      font-size: 34px;
      line-height: 1.15;
    }

    .homepage .why-section-header .section-subtitle {
      max-width: 620px;

      margin: 0;

      color: var(--ink-soft);
      font-size: 15px;
      line-height: 1.65;
    }


    /* Header button */

    .homepage .why-section-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;

      flex-shrink: 0;

      padding: 10px 16px;

      border: 1px solid var(--line);
      border-radius: 100px;

      background: var(--card);
      color: var(--ink);

      font-size: 13px;
      font-weight: 700;
      text-decoration: none;

      box-shadow: var(--shadow-card);

      transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
    }

    .homepage .why-section-link span {
      color: var(--teal);
      font-size: 16px;
    }

    .homepage .why-section-link:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-pop);
      background: #fff;
    }


    /* =========================================================
   CONTENT GRID
   ========================================================= */

    .homepage .why-kwikrevise-grid {
      display: grid;

      grid-template-columns: 1.45fr 1fr 1fr;

      gap: 20px;
    }


    /* =========================================================
   MAIN FEATURE CARD
   ========================================================= */

    .homepage .why-main-card {
      position: relative;

      display: flex;
      flex-direction: column;
      justify-content: center;

      min-height: 390px;

      padding: 34px;

      overflow: hidden;

      border: 1px solid var(--line);
      border-radius: var(--radius-l);

      background: var(--card);

      box-shadow: var(--shadow-card);

      transition:
        transform .25s ease,
        box-shadow .25s ease;
    }

    .homepage .why-main-card::after {
      content: "";

      position: absolute;

      width: 180px;
      height: 180px;

      right: -65px;
      bottom: -65px;

      border-radius: 50%;

      background: var(--marker);

      opacity: .35;

      pointer-events: none;
    }

    .homepage .why-main-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-pop);
    }


    /* Main icon */

    .homepage .why-main-icon {
      display: flex;
      align-items: center;
      justify-content: center;

      width: 56px;
      height: 56px;

      margin-bottom: 24px;

      border: 1px solid var(--line);
      border-radius: var(--radius-m);

      background: var(--paper);

      font-size: 25px;
    }


    /* Label */

    .homepage .why-card-label {
      margin-bottom: 10px;

      color: var(--teal);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .08em;
    }


    /* Heading */

    .homepage .why-main-card h3 {
      max-width: 470px;

      margin: 0 0 14px;

      color: var(--ink);

      font-size: 30px;
      line-height: 1.15;
    }


    /* Description */

    .homepage .why-main-card>p {
      max-width: 500px;

      margin: 0 0 25px;

      color: var(--ink-soft);

      font-size: 14px;
      line-height: 1.7;
    }


    /* Main CTA */

    .homepage .why-main-btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;

      align-self: flex-start;

      padding: 10px 15px;

      border-radius: 100px;

      background: var(--ink);
      color: #fff;

      font-size: 12px;
      font-weight: 700;

      text-decoration: none;

      transition:
        transform .2s ease,
        opacity .2s ease;
    }

    .homepage .why-main-btn span {
      color: var(--marker);
      font-size: 15px;
    }

    .homepage .why-main-btn:hover {
      transform: translateY(-2px);
      opacity: .9;
    }


    /* =========================================================
   SMALL INFORMATION CARDS
   ========================================================= */

    .homepage .why-info-card {
      position: relative;

      min-height: 185px;

      padding: 25px;

      border: 1px solid var(--line);
      border-radius: var(--radius-m);

      background: var(--card);

      box-shadow: var(--shadow-card);

      transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    }

    .homepage .why-info-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-pop);
      border-color: var(--ink);
    }


    /* Number */

    .homepage .why-number {
      position: absolute;

      top: 17px;
      right: 19px;

      color: var(--line);

      font-family: var(--font-display);

      font-size: 30px;
      font-weight: 800;

      line-height: 1;
    }


    /* Icon */

    .homepage .why-icon {
      display: flex;
      align-items: center;
      justify-content: center;

      width: 42px;
      height: 42px;

      margin-bottom: 17px;

      border-radius: 50%;

      background: var(--marker);

      color: var(--marker-ink);

      font-size: 18px;
    }


    /* Card heading */

    .homepage .why-info-card h3 {
      margin: 0 0 8px;

      color: var(--ink);

      font-size: 17px;
      line-height: 1.25;
    }


    /* Card text */

    .homepage .why-info-card p {
      max-width: 280px;

      margin: 0;

      color: var(--ink-soft);

      font-size: 12px;
      line-height: 1.65;
    }


    /* =========================================================
   BOTTOM STRIP
   ========================================================= */

    .homepage .why-bottom-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 25px;

      margin-top: 20px;

      padding: 20px 24px;

      border: 1px solid var(--line);
      border-radius: var(--radius-m);

      background: var(--card);
    }

    .homepage .why-bottom-text {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .homepage .why-bottom-text strong {
      color: var(--ink);

      font-family: var(--font-display);

      font-size: 14px;
    }

    .homepage .why-bottom-text span {
      color: var(--ink-soft);

      font-size: 12px;
    }


    /* Bottom CTA */

    .homepage .why-bottom-strip>a {
      display: inline-flex;
      align-items: center;
      gap: 7px;

      flex-shrink: 0;

      color: var(--ink);

      font-size: 12px;
      font-weight: 750;

      text-decoration: none;
    }

    .homepage .why-bottom-strip>a span {
      color: var(--teal);
      font-size: 16px;

      transition: transform .2s ease;
    }

    .homepage .why-bottom-strip>a:hover span {
      transform: translateX(4px);
    }


    /* =========================================================
   TABLET
   ========================================================= */

    @media (max-width: 1000px) {

      .homepage .why-kwikrevise-grid {
        grid-template-columns: 1fr 1fr;
      }

      .homepage .why-main-card {
        grid-column: 1 / -1;
        min-height: 330px;
      }

    }


    /* =========================================================
   MOBILE
   ========================================================= */

    @media (max-width: 768px) {

      .homepage .top-earners {
        padding: 55px 0;
      }

      .homepage .why-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;

        margin-bottom: 28px;
      }

      .homepage .why-section-header h2 {
        font-size: 28px;
      }

      .homepage .why-section-header .section-subtitle {
        font-size: 14px;
      }

      .homepage .why-section-link {
        padding: 9px 14px;
      }

      .homepage .why-kwikrevise-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .homepage .why-main-card {
        grid-column: auto;

        min-height: auto;

        padding: 27px;
      }

      .homepage .why-main-card h3 {
        font-size: 26px;
      }

      .homepage .why-info-card {
        min-height: auto;
        padding: 23px;
      }

      .homepage .why-bottom-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
      }

      .homepage .why-bottom-text {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
      }

    }
