/* Responsive CSS */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-5);
  }
  
  .hero-title {
    font-size: var(--font-size-5xl);
  }
  
  .crypto-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: calc(var(--font-size-4xl) + 0.5rem);
  }
  
  .crypto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-content, 
  .cta-content,
  .edu-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }
  
  .hero-text,
  .hero-image,
  .cta-text,
  .cta-image,
  .edu-text,
  .edu-image {
    flex: none;
    width: 100%;
  }
  
  .hero-image,
  .cta-image,
  .edu-image {
    display: flex;
    justify-content: center;
    order: -1;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .form-group {
    max-width: 500px;
    margin: 0 auto var(--space-2);
  }
  
  .crypto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .auth-buttons .btn-text {
    display: none;
  }
  
  .header-content {
    height: 64px;
  }
  
  .hero,
  .features,
  .explore {
    padding: var(--space-5) 0;
  }
  
  .hero-content, 
  .cta-content,
  .edu-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-5);
  }
  
  .hero-text,
  .hero-image,
  .cta-text,
  .cta-image,
  .edu-text,
  .edu-image {
    flex: none;
    width: 100%;
  }
  
  .hero-image,
  .cta-image,
  .edu-image {
    display: flex;
    justify-content: center;
    order: -1;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-md);
  }
  
  .form-group {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .form-group input,
  .form-group .btn {
    width: 100%;
    border-radius: var(--radius-md);
  }
  
  .ticker-wrap {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .ticker-item {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .crypto-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  
  .section-header {
    margin-bottom: var(--space-4);
  }
  
  .section-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .section-header p {
    font-size: var(--font-size-md);
  }
  
  .tabs {
    overflow-x: auto;
    padding-bottom: var(--space-2);
    justify-content: flex-start;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .cta-banner,
  .education {
    margin: var(--space-4) 0;
    padding: var(--space-4) 0;
  }
  
  .cta-text h2,
  .edu-text h2 {
    font-size: var(--font-size-2xl);
  }
  
  .device-mockup {
    transform: scale(0.85);
  }
  
  .trophy-graphic,
  .chart-graphic {
    transform: scale(0.8);
  }
}

/* Small Mobile (up to 479px) */
@media (max-width: 479px) {
  .logo h1 {
    font-size: var(--font-size-md);
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .announcement-bar {
    font-size: var(--font-size-xs);
    padding: var(--space-1);
  }
  
  .device-mockup {
    transform: scale(0.75);
  }
  
  .cta-text h2,
  .edu-text h2 {
    font-size: var(--font-size-xl);
  }
  
  .cta-text p,
  .edu-text p {
    font-size: var(--font-size-sm);
  }
  
  .trophy-graphic,
  .chart-graphic {
    transform: scale(0.7);
  }
}