* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'DM Sans', sans-serif;
    background-color: white;
    color: black;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: -0.03em;
  }
  
  /* Serif font class */
  .serif {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
  }
  
  /* Main container */
  .main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Logo styling */
  .logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
  }
  
  .logo-text {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
  }
  
  /* Pre-order text in the top right */
  .pre-order-text {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    font-size: 1.5rem;
  }
  
  .pre-order-link {
    color: black;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  
  /* Hero section */
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 2rem;
  }
  
  .hero-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    margin: 0 auto;
  }
  
  .alma-title {
    font-size: 6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1;
    color: black;
  }
  
  .hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .big-text {
    margin-top: 0.5rem;
  }
  
  .cta-button, .button {
    display: inline-block;
    background-color: #000000;  /* Change from #888888 to #000000 */
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;  /* Change from not-allowed to pointer */
    border: none;
    font-family: 'Instrument Serif', serif;
}

  .cta-button:disabled, .button:disabled {
    opacity: 0.8;
    pointer-events: none;
  }
  
  .cta-button:hover, .button:hover {
    transform: scale(1.05);  /* Add hover effect */
    background-color: #333333;  /* Slightly lighter on hover */
}
  
  .pricing-info {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Typography */
  h1, h2, h3, p {
    font-weight: 400;
  }
  
  h2 {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
  }
  
  h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  strong {
    font-weight: bold;
  }
  
  /* Layout */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 5rem 0;
    position: relative;
  }
  
  /* Features section */
  .features {
    padding: 6rem 0;
  }
  
  .features h2 {
    text-align: center;
    margin-bottom: 5rem;
  }
  
  /* FAQ section */
  .faq {
    padding: 5rem 0;
  }
  
  .faq h2 {
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .question {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    margin-bottom: 0.5rem;
  }
  
  .question-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .plus-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #666;
  }
  
  .answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
  }
  
  .answer p {
    margin: 0;
    padding: 1rem 0;
    line-height: 1.6;
    color: #666;
  }
  
  .question.active .answer {
    max-height: 500px;
    opacity: 1;
  }
  
  .question.active .plus-icon {
    transform: rotate(45deg);
  }
  
  /* Hover effect */
  .question-header:hover {
    color: #000;
  }
  
  .question-header:hover .plus-icon {
    color: #000;
  }
  
  /* Final CTA section */
  .final-cta {
    padding: 6rem 0;
    text-align: center;
  }
  
  .final-cta h2 {
    margin-bottom: 2rem;
  }
  
  .final-cta p {
    margin-bottom: 1rem;
  }
  
.button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    margin-top: 2rem;
    font-weight: 400;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Instrument Serif', serif;
}

  
  
.button:hover {
  transform: scale(1.05);
  background-color: #333333;
}
  
  /* Footer */
  footer {
    padding: 4rem 0;
    text-align: center;
  }
  
  .footer-links {
    margin-top: 1.5rem;
  }
  
  .footer-links a {
    margin: 0 1rem;
    color: #000;
    text-decoration: none;
  }
  
  
  .alma-image {
    max-width: 350px;
    margin: 2rem auto;
    display: block;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15rem;
    margin-top: 3rem;
  }
  
  .img-container {
    display: flex;
    justify-content: center;
  }
  
  .feature-image {
    width: 180%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .feature-image:hover {
    transform: scale(1.02);
  }
  
  .text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15rem;
    margin-top: 2rem;
  }
  
  .text-container {
    max-width: 450px;
    margin-left: -35%;
  }
  
  .feature-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  
  .feature-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    text-align: left;
  }
  
  /* Add these media queries at the end of your CSS file */
  @media screen and (max-height: 900px) {
    .alma-title {
      font-size: 5.5rem;
    }
  
    .hero-content {
      max-width: 450px;
      padding: 1.2rem;
    }
  
    .alma-image {
      max-width: 300px;
      margin: 1.2rem auto;
    }
  
    .cta-button {
      padding: 0.9rem 2.2rem;
      font-size: 1.3rem;
      margin-bottom: 1.2rem;
    }
  
    .hero-text {
      font-size: 1.1rem;
      margin-bottom: 1.2rem;
    }
  
    .pricing-info {
      font-size: 0.9rem;
    }
  
    .main-container {
      padding: 1.2rem;
    }
  }
  
  /* iPad Pro 13-inch (1366 x 1024) */
  @media screen and (max-width: 1366px) {
    .alma-title {
      font-size: 6rem;
    }
  
    .hero-content {
      max-width: 500px;
      padding: 1.5rem;
    }
  
    .alma-image {
      max-width: 300px;
      margin: 1.2rem auto;
    }
  
    .hero-text {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }
  
    .cta-button {
      padding: 1rem 2.5rem;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
    }
  
    .pricing-info {
      font-size: 1rem;
    }
  
    .features-grid {
      gap: 8rem;
    }
    
    .text-grid {
      gap: 8rem;
    }
    
  
    .feature-image {
      width: 150%;
      max-width: 350px;
    }
  
    .text-container {
      margin-left: -5%;
    }
  }
  
  /* iPad Pro 11-inch (1180 x 820) */
  @media screen and (max-width: 1180px) {
    .alma-title {
      font-size: 5.5rem;
    }
  
    .features-grid {
      gap: 5rem;
    }
    
    .text-grid {
      gap: 5rem;
    }
  
    .alma-image {
      max-width: 250px;
      margin: 1.2rem auto;
    }
  
    .feature-image {
      width: 140%;
      max-width: 300px;
    }
  
    .text-container {
      margin-left: 7%;
      max-width: 300px;
    }
  }
  
  /* iPad Mini (1133 x 744) */
  @media screen and (max-width: 1133px) {
    .alma-title {
      font-size: 4.5rem;
    }
  
    .features-grid {
      gap: 3rem;
    }

    .question-header {
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      font-size: 1.2rem;
      font-weight: 500;
    }
    
    .text-grid {
      gap: 3rem;
    }
  
    .alma-image {
      max-width: 250px;
      margin: 1.2rem auto;
    }

    .feature-image {
      width: 130%;
      max-width: 300px;
    }
  
    .text-container {
      margin-left: 7%;
      max-width: 250px;
    }
  }
  
  /* Hide mobile slider by default */
  .mobile-slider {
      display: none;
  }
  
  /* Keep desktop view visible by default */
  .desktop-view {
      display: block;
  }
  
  /* Mobile phone media query */
  @media screen and (max-width: 768px) {
      .desktop-view {
          display: none; /* Hide desktop layout */
      }
  
      .mobile-slider {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          -ms-overflow-style: none;
          gap: 1rem;
          padding: 1rem;
      }
  
      .mobile-slider::-webkit-scrollbar {
          display: none;
      }
  
      .slide {
          flex: 0 0 100%;
          scroll-snap-align: center;
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 2rem;
      }
  
      .slide .img-container {
          width: 100%;
      }
  
      .slide .feature-image {
          width: 100%;
          max-width: 300px;
          margin: 0 auto;
      }
  
      .slide .text-container {
          text-align: center;
          max-width: 300px;
          margin: 0 auto;
      }
  
      /* Add scroll indicator */
      .features::after {
          content: '';
          position: absolute;
          right: 1rem;
          top: 50%;
          width: 30px;
          height: 30px;
          background: linear-gradient(to right, transparent, rgba(0,0,0,0.1));
          border-radius: 50%;
          animation: pulse 1.5s infinite;
      }
  
      @keyframes pulse {
          0% { opacity: 0; }
          50% { opacity: 1; }
          100% { opacity: 0; }
      }
  
      .hero {
          top: 40%;
          transform: translate(-50%, -40%);
      }
  
      /* Add slider dots container */
      .slider-dots {
          display: flex;
          justify-content: center;
          gap: 8px;
          margin-top: 20px;
          width: 100%;
      }
  
      .dot {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          background-color: #ddd;
          transition: background-color 0.3s ease;
      }
  
      .dot.active {
          background-color: #000;
      }
  }
  
  @media screen and (min-width: 768px) and (max-width: 1024px) {
    .features-grid, .text-grid {
      gap: 2rem;
      padding: 0 1rem;
    }
    
    .text-container {
      margin-left: 0;
      text-align: center;
    }
    
    .feature-image {
      width: 120%;
      max-width: 250px;
    }
  }
  
.cta-button.disabled, .button.disabled {
    background-color: #888888;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.cta-button.disabled:hover, .button.disabled:hover {
    transform: none;
    background-color: #888888;
}
  
/* Pairing pages specific styles */
.brand-name {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.made-with-alma {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
}

.made-in-miami {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0.8;
}

.products-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    max-width: 600px;
    text-align: center;
}

header {
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
}

.image-container {
    margin: 2rem 0;
}

.center-image {
    max-width: 200px;
    height: auto;
}

.description {
    margin: 2rem 0;
}

#device-status, #error-message, #success-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.buy-button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.buy-button:hover {
    transform: scale(1.05);
    background-color: #333333;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .brand-name, .made-with-alma {
        position: relative;
        text-align: center;
        top: 1rem;
        left: 0;
        right: 0;
        margin-bottom: 1rem;
    }
    
    .products-container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .center-image {
        max-width: 150px;
    }
}
  
  