:root {
  --primary-color: #4ca3dd;
  --accent-color: aliceblue;
  --background-color: rgb(18, 1, 41);
  --text-color: #333;
  --button-color: #2a8bc1;
  --button-hover: #1f6793;
  --box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

header {
  background: #120027;
  border-radius: 50px;
  padding: auto;
  box-shadow: none;
  position: sticky;
  top: 20px;
  z-index: 100;
  display: flex;
  margin-bottom: -60px;
  width: 85vw;
  margin: 0 auto;
  padding: 0;
}

.header-logo {
  height: 75px;
  width: 200px;
  align-items: left;
  border-radius: 35px;
  transform: scale(0.9);
}

header p {
  font-weight: 600;
  font-size: 1.5rem;
  color: aliceblue;
  text-align: center;
  padding: auto;
  margin: auto;
  margin-right: auto;
  justify-content: center;
}

.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-direction: row;
  padding: auto;
}

.login-button {
  background-color: #4a00d4;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  height: 45px;
  width: auto;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: auto;
  margin-right: 15px;
}

.signup-button {
  background-color: #08def2;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  height: 45px;
  width: auto;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: auto;
}

main {
  max-width: 100vw;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

section {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 2rem;
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  position: relative;
  z-index: 10; /* Ensure it is above other content initially */
  transition: all 0.3s ease;
  margin-top: 120px;
}

.hero h2 {
  font-size: 9rem;
  font-weight: 200;
  margin-bottom: 3rem;
  font-style: normal;
  color: var(--accent-color);
  width: 100%;
}

.hero p {
  font-size: 2rem;
  margin-bottom: -120px;
  color: var(--accent-color);
}

.why-use {
  margin-top: 0;
  margin-bottom: 50px;
  text-align: center;
  font-size: 5rem;
  color: aliceblue;
}

.why-use.pdf {
  margin-left: -250px;
}

.why-use.logging {
  font-size: 4.5rem;
}

.why-use.rainy {
  margin-right: -250px;
}

.pdf-container {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-top: -50px;
}

.features-container {
  width: 45%;
  color: aliceblue;
  font-size: 2rem;
  margin-top: auto;
}

.dropdown-arrow {
  font-size: 2rem;
  margin: auto;
  transition: transform 0.3s ease;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.pdf-video-container {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-top: -50px;
  justify-content: center;
  align-items: center;
}

/* Logging Section */
.logging-container {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-top: -50px;
  margin-bottom: 50px;
}

.features-container.one{
  width: 50%;
  color: aliceblue;
  font-size: 1.5rem;
  margin-top: 50px;
}

.features-container.two{
  width: 45%;
  color: aliceblue;
  font-size: 1.5rem;
  margin-top: auto;
}

.logging-note {
  font-size: 1.2rem;
  color: aliceblue;
  margin-top: 20px;
  margin-bottom: -10px;
  text-align: center;
  margin: 0 auto;
}

.rainy-container {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-top: -50px;
  margin-bottom: 50px;
}

.rainy-logo {
  height: 300px;
  width: auto;
  border-radius: 35px;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.05);
    }
}

.rainy-demo p {
  font-size: 1.2rem;
  color: aliceblue;
  margin-top: 10px;
  text-align: center;
  margin: 0 auto;
}

.rainy-details {
  width: 50%;
  color: aliceblue;
  font-size: 1.5rem;
  margin-top: auto;
  margin-left: auto;
}

.rainy-note {
  color: aliceblue;
}

.header-email {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  margin-top: 10px;
  background-color: #4a00d4;
  padding: 1.5rem;
  border-radius: 50px;
  border: none;
  transform: scale(1.2);
  transition: all 0.3s ease;
  transform-origin: center center;
}

.header-email:hover {
  transform: scale(1.3);
  transition: all 0.3s ease;
  box-shadow: #360c85 0px 0px 29px 0px;
}

.email-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.email-form input[type="email"] {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  flex: 1 0 250px;
  max-width: 350px;
  outline: none;
  transition: border-color 0.3s ease;
}

.email-form input[type="email"]:focus {
  border-color: var(--accent-color);
}

.email-form button {
  background: var(--button-color);
  color: white;
  border: none;
  padding: 0 1.8rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex: 0 0 auto;
}

.email-form button:hover {
  background: var(--button-hover);
}

.about {
    margin-bottom: 7rem;
}

.about h2 {
    font-size: 4.5rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 5rem;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* About Section */
.about-text {
  max-width: 600px;
  margin: 0;
  font-size: 1.7rem;
  color: var(--accent-color);
  flex: 1; /* Allow text to grow */
}

.whisper-logo-about {
  height: 250px;
  width: 150;
  margin: 0;
  flex-shrink: 0; /* Prevent shrinking */
}

.features-section {
    max-width: 100vw;
    width: 100vw;
    padding: 2rem 0;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

/* Features */
.features-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 5rem;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.features-list::-webkit-scrollbar {
  height: 8px;
}

.features-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.features-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.features-list::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.pricing h2 {
    font-size: 4.5rem;
    color: aliceblue;
    text-align: center;
    margin-bottom: 5rem;
}

.pricing-container {
    display: flex;
    flex-direction: row;
    gap: 10rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
}

.pricing-card {
    background: #4a00d4;
    border-radius: 25px;
    padding: auto;
    color: var(--accent-color);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    width: 300px;
    height: 400px;
    transform: scale(1.2);
}

.pricing-card:hover {
    transform: scale(1.3);
}

.pricing-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: aliceblue 2px solid;
    text-align: left;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
}

.pricing-card li {
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: left;
    margin-left: 1rem;
    margin-right: 1rem;
}

.price {
    font-size: 1rem;
    font-weight: 700;
    margin: 1rem 0;
    text-align: left;
    margin-left: 1rem;
    color: var(--accent-color);
}

.join-button {
  margin-top: auto;
  background-color: #08def2;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  height: 45px;
  width: auto;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Video Section */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 60px auto 10rem;
  padding: 0;
  position: relative;
  background: transparent; /* Remove any background color */
  height: auto;            /* Remove fixed height */
}

.video-container iframe,
.video-container video {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  border: none;
  margin: 0;
  position: static;
  background: transparent; /* Remove black background */
}

.video-element {
  background: transparent; /* Remove black background */
}

/* Testimonials */

.testimonials-section {
  padding: 4rem 2rem;
  margin: 5rem auto;
}

.testimonials-section h3 {
  font-size: 2.5rem;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial-card1,
.testimonial-card2 {
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(50, 100, 180, 0.1);
  font-style: italic;
  color: var(--accent-color);
  min-height: 175px;
  background: #8c00ff;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card2 {
  background: #0d29b4;
}

.testimonial-card1:hover,
.testimonial-card2:hover {
  transform: scale(1.05);
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent-color);
  text-align: right;
}

/* Responsive testimonials */
@media (max-width: 900px) {
  .testimonials-section {
    padding: 2rem 1rem;
    margin: 3rem auto;
  }
  .testimonials-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonial-card1,
  .testimonial-card2 {
    min-height: 120px;
    font-size: 1rem;
  }
  .testimonial-author {
    font-size: 0.9rem;
  }
}

.cta-section {
  background: #8c00ff;
  color: var(--accent-color);
  padding: 6rem 4rem 0 4rem;
  text-align: center;
  margin-bottom: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-container {
  border-radius: 25px;
  border: none;
  padding: 1.5rem;
  background: var(--accent-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  height: 100%;
}

.cta-logo {
  height: 100px;
  width: auto;
  margin-top: -400px;
  margin-left: 10px;
  border-radius: 40px;
}

.cta-email-container {
  padding: 1.5rem;
}

.cta-email-container h3 {
  font-size: 1.1rem;
  margin-bottom: -10px;
  margin-top: 15px;
  margin-right: -40px;
  color: rgb(82, 78, 78);
}

.email-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #d9d9d9;
  border-radius: 20px;
  height: 300px;
  width: 550px;
  padding: 2rem;
}

.email-area h2 {
  font-size: 2.5rem;
  color: #737373;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 0;
}

.email-register {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.email-input {
  height: 3rem;
  width: 300px;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  border-color: #4a00d4;
}

.submit {
  height: 3rem;
  width: auto;
  padding: 0 2rem;
  text-align: center;
  border: none;
  border-radius: 25px;
  background: #4a00d4;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit:hover {
  background: #360c85;
  transform: scale(1.05);
}

.cta-info-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.social-link {
  text-decoration: none;
  color: #333;
}

.social-link:hover {
  color: rgb(5, 5, 5);
}

/* Footer */
footer {
  background: #8c00ff;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: -65px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-container p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
}

footer a {
  text-decoration: none;
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 600px) {
  .testimonials {
    flex-direction: column;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form button {
    width: 100%;
  }
}

/* Responsive breakpoints - maintaining existing desktop design */

/* Large tablets and small laptops (768px - 1024px) */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 5rem;
  }
  
  .video-container iframe,
  .video-container video {
    width: 50rem;
    height: 35rem;
    margin-left: -80px;
  }
  
  .cta-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .cta-logo {
    margin-top: 0;
    margin-left: 0;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  
  header p {
    margin-left: 0;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 4rem;
    margin-bottom: 5rem;
  }
  
  .about h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
  }
  
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .about-text {
    font-size: 1.4rem;
  }
  
  .why-use h2 {
    font-size: 3.5rem;
  }
  
  .feature1,
  .feature2,
  .feature3,
  .feature4 {
    width: 300px;
    height: 350px;
    font-size: 1.8rem;
  }
  
  .video-container iframe,
  .video-container video {
    width: 100%;
    height: 100%;
    margin-left: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .testimonials-section h3 {
    font-size: 2.8rem;
  }
  
  .testimonial-card1,
  .testimonial-card2 {
    width: 100%;
    max-width: 400px;
  }
  
  .cta-section {
    padding: 4rem 2rem 0 2rem;
  }
  
  .email-area {
    width: 100%;
    max-width: 500px;
  }
  
  .email-register {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .email-input {
    width: 100%;
    max-width: 350px;
  }
  
  .submit {
    width: 100%;
    max-width: 250px;
  }
  
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
  body {
    font-size: 1rem;
    padding: 0;
    margin: 0;
  }
  header {
    flex-direction: column;
    width: 98vw;
    border-radius: 25px;
    padding: 0.5rem;
    margin-bottom: 0;
  }
  .header-logo {
    width: 120px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  .action-buttons {
    flex-direction: column;
    width: 100%;
    margin: 0;
    gap: 0.5rem;
  }
  .login-button,
  .signup-button {
    width: 100%;
    font-size: 1rem;
    height: 40px;
    margin: 0;
  }
  .hero {
    margin-top: 60px;
    padding: 0.5rem;
  }
  .hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: -20px;
  }
  .why-use {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .pdf-container,
  .logging-container,
  .rainy-container,
  .about-container,
  .cta-container,
  .cta-info-container {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  .features-container,
  .features-container.one,
  .features-container.two,
  .rainy-details,
  .about-text {
    width: 100% !important;
    font-size: 1rem !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
  .rainy-logo,
  .whisper-logo-about,
  .cta-logo {
    width: 90vw !important;
    max-width: 200px;
    height: auto !important;
    margin: 0 auto !important;
    display: block;
  }
  .video-container {
    margin: 30px auto 2rem;
    padding: 0;
    width: 100vw;
    min-width: 0;
  }
  .video-container iframe,
  .video-container video {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 40vw !important;
    min-height: 180px;
    border-radius: 10px;
  }
  .email-area {
    width: 98vw;
    padding: 1rem;
    height: auto;
    min-width: 0;
  }
  .email-area h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .email-register {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
  }
  .email-input,
  .submit {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    height: 2.5rem;
    padding: 0.5rem 1rem;
  }
  .cta-section {
    padding: 1rem 0.5rem 0 0.5rem;
    min-height: unset;
    width: 100vw;
    margin-left: 0;
  }
  .cta-email-container h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-right: 0;
  }
  .pricing-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
  }
  .pricing-card {
    width: 98vw;
    max-width: 320px;
    height: auto;
    transform: scale(1);
    margin: 0 auto;
  }
  .testimonials-section {
    padding: 1rem 0.5rem;
    margin: 2rem auto;
  }
  .testimonials-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonial-card1,
  .testimonial-card2 {
    min-height: 100px;
    font-size: 1rem;
    padding: 1rem;
  }
  .footer-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  footer {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    width: 100vw;
    margin-left: 0;
    font-size: 0.85rem;
  }
}

/* Very small phones (320px) */
@media (max-width: 320px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .about h2,
  .why-use h2 {
    font-size: 2rem;
  }
  
  .feature1,
  .feature2,
  .feature3,
  .feature4 {
    width: 260px;
    font-size: 1.3rem;
  }
  
  .testimonials-section h3 {
    font-size: 1.8rem;
  }
  
  .email-area h2 {
    font-size: 1.8rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--background-color);
  margin: 5% auto;
  padding: 0;
  border: none;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: var(--primary-color);
  color: var(--accent-color);
  padding: 1.5rem 2rem;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.modal-body h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.modal-body ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.close {
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: #d9d9d9;
}

/* Responsive modal */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

/* Additional Responsive Breakpoints */

/* Tablets (768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  
  header p {
    margin-left: 0;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 4rem;
    margin-bottom: 5rem;
  }
  
  .about h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
  }
  
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .about-text {
    font-size: 1.4rem;
  }
  
  .why-use h2 {
    font-size: 3.5rem;
  }
  
  .feature1,
  .feature2,
  .feature3,
  .feature4 {
    width: 300px;
    height: 350px;
    font-size: 1.8rem;
  }
  
  .video-container iframe,
  .video-container video {
    width: 100%;
    height: 100%;
    margin-left: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .testimonials-section h3 {
    font-size: 2.8rem;
  }
  
  .testimonial-card1,
  .testimonial-card2 {
    width: 100%;
    max-width: 400px;
  }
  
  .cta-section {
    padding: 4rem 2rem 0 2rem;
  }
  
  .email-area {
    width: 100%;
    max-width: 500px;
  }
  
  .email-register {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .email-input {
    width: 100%;
    max-width: 350px;
  }
  
  .submit {
    width: 100%;
    max-width: 250px;
  }
  
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
  body {
    font-size: 1rem;
    padding: 0;
    margin: 0;
  }
  header {
    flex-direction: column;
    width: 98vw;
    border-radius: 25px;
    padding: 0.5rem;
    margin-bottom: 0;
  }
  .header-logo {
    width: 120px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  .action-buttons {
    flex-direction: column;
    width: 100%;
    margin: 0;
    gap: 0.5rem;
  }
  .login-button,
  .signup-button {
    width: 100%;
    font-size: 1rem;
    height: 40px;
    margin: 0;
  }
  .hero {
    margin-top: 60px;
    padding: 0.5rem;
  }
  .hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: -20px;
  }
  .why-use {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .pdf-container,
  .logging-container,
  .rainy-container,
  .about-container,
  .cta-container,
  .cta-info-container {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  .features-container,
  .features-container.one,
  .features-container.two,
  .rainy-details,
  .about-text {
    width: 100% !important;
    font-size: 1rem !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
  .rainy-logo,
  .whisper-logo-about,
  .cta-logo {
    width: 90vw !important;
    max-width: 200px;
    height: auto !important;
    margin: 0 auto !important;
    display: block;
  }
  .video-container {
    margin: 30px auto 2rem;
    padding: 0;
    width: 100vw;
    min-width: 0;
  }
  .video-container iframe,
  .video-container video {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 40vw !important;
    min-height: 180px;
    border-radius: 10px;
  }
  .email-area {
    width: 98vw;
    padding: 1rem;
    height: auto;
    min-width: 0;
  }
  .email-area h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .email-register {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
  }
  .email-input,
  .submit {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    height: 2.5rem;
    padding: 0.5rem 1rem;
  }
  .cta-section {
    padding: 1rem 0.5rem 0 0.5rem;
    min-height: unset;
    width: 100vw;
    margin-left: 0;
  }
  .cta-email-container h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-right: 0;
  }
  .pricing-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
  }
  .pricing-card {
    width: 98vw;
    max-width: 320px;
    height: auto;
    transform: scale(1);
    margin: 0 auto;
  }
  .testimonials-section {
    padding: 1rem 0.5rem;
    margin: 2rem auto;
  }
  .testimonials-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonial-card1,
  .testimonial-card2 {
    min-height: 100px;
    font-size: 1rem;
    padding: 1rem;
  }
  .footer-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  footer {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    width: 100vw;
    margin-left: 0;
    font-size: 0.85rem;
  }
}

/* Very small phones (320px) */
@media (max-width: 320px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .about h2,
  .why-use h2 {
    font-size: 2rem;
  }
  
  .feature1,
  .feature2,
  .feature3,
  .feature4 {
    width: 260px;
    font-size: 1.3rem;
  }
  
  .testimonials-section h3 {
    font-size: 1.8rem;
  }
  
  .email-area h2 {
    font-size: 1.8rem;
  }
}