/* 
* SafeBot Responsive Styles
* Media queries and responsive adjustments
*/

/* Desktop vs Mobile visibility classes */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Tablet & Smaller Desktop */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    padding: 0 var(--spacing-md);
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
    margin-bottom: 0;
    flex: 0 1 auto;
  }

  .hero-image {
    justify-content: center;
    margin-top: 0;
    flex: 0 1 auto;
  }

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

  .feature-card {
    padding: var(--spacing-md);
  }

  .pricing-plans {
    gap: var(--spacing-md);
  }

  .pricing-plan {
    min-width: 280px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .app-screen {
    max-width: 250px;
    margin-left: 0;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg) 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition-medium);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: var(--spacing-sm) 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .app-screen {
    max-width: 250px;
    margin-left: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .step {
    align-items: flex-start;
  }

  .pricing-plan.recommended {
    transform: scale(1);
  }

  .pricing-plan.recommended:hover {
    transform: translateY(-5px);
  }

  .testimonials-container {
    max-width: 100%;
  }

  .testimonials-scroll {
    max-height: 450px;
  }

  .testimonial {
    margin-bottom: var(--spacing-lg);
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .value-item {
    margin-bottom: var(--spacing-md);
  }
}

/* Mobile Large */
@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .logo a {
    font-size: 1.25rem;
  }

  .logo img,
  .footer-logo img {
    height: 40px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .nav-buttons {
    display: none;
  }

  .hero {
    padding-top: calc(70px + var(--spacing-xl));
  }

  .hero .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .step:not(:last-child)::after {
    left: 20px;
    top: 50px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-btn {
    width: 200px;
    margin-right: 0;
    margin-bottom: var(--spacing-md);
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-xl);
  }

  .footer-col {
    align-items: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .value-cta p {
    font-size: 1rem;
  }

  .value-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .value-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }

  .testimonials-scroll {
    max-height: 400px;
  }

  .testimonial {
    padding: var(--spacing-md);
  }
}

/* Mobile Small */
@media screen and (max-width: 375px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .pricing-plan {
    min-width: 100%;
  }

  .faq-question {
    padding: var(--spacing-md);
  }

  .faq-question h3 {
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 var(--spacing-md);
  }

  .faq-item.active .faq-answer {
    padding: var(--spacing-md);
  }

  .app-btn {
    min-width: 200px;
    width: 100%;
    max-width: 240px;
  }
}