/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: 7rem 3% 2rem;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-img img {
    max-width: 400px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  section {
    padding: 4rem 3%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
  }

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

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

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero {
    flex-direction: column-reverse;
    padding: 6rem 5% 2rem;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
    min-height: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }

  .cta {
    justify-content: center;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .hero-img img {
    max-width: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding: 3rem 5%;
  }

  .glass-card {
    padding: 1.5rem;
  }

  /* Hide custom cursor on mobile */
  .cursor {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
    min-height: 2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .cta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-img img {
    max-width: 250px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  section {
    padding: 2.5rem 5%;
  }

  .nav-menu {
    max-width: 100%;
  }
}

/* Landscape Mobile */
@media (max-width: 812px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 5rem 5% 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-img img {
    max-width: 250px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .hero {
    padding: 8rem 10% 2rem;
  }

  section {
    padding: 6rem 10%;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-text h2 {
    font-size: 3rem;
  }

  .hero-img img {
    max-width: 600px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .cursor,
  #particles,
  .loading-screen {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
