/* ==========================================================================
   RARAHOST - RESPONSIVE STYLESHEET
   Mobile, Tablet, and Adaptive Breakpoints
   ========================================================================== */

/* --- LARGE LAPTOPS & DESKTOPS (<= 1200px) --- */
@media screen and (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .dash-body {
    grid-template-columns: 180px 1fr;
  }
  
  .dash-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- TABLETS & SMALL LAPTOPS (<= 992px) --- */
@media screen and (max-width: 992px) {
  body {
    padding: 12px 8px;
  }

  .main-container {
    border-radius: 24px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 20px 60px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  /* Dashboard Mockup - Adaptive Tablet */
  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none; /* Simplify on tablets/phones to focus on tools */
  }

  .dash-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-search {
    width: 200px;
  }

  /* Features Grid */
  .better-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .unlimited-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* WordPress 2-col promo */
  .wordpress-container {
    grid-template-columns: 1fr;
  }

  .wp-promo-card {
    padding: 36px 28px;
  }

  .wp-feature-card {
    padding: 36px 28px;
  }

  /* Updates Grid */
  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact & About Layouts */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 24px;
  }

  .about-narrative {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 24px;
  }

  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 24px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* --- MOBILE PHONES (<= 768px) --- */
@media screen and (max-width: 768px) {
  body {
    padding: 8px 4px;
  }

  .main-container {
    border-radius: 20px;
  }

  .nav-wrapper {
    padding: 0 12px;
    top: 10px;
  }

  .navbar {
    padding: 10px 18px;
  }

  .nav-logo-img {
    height: 32px;
  }

  .hero-section {
    padding: 36px 16px 48px;
  }

  .hero-announcement {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* Tech Strip */
  .tech-logos {
    gap: 20px 28px;
  }

  .tech-logo-item {
    font-size: 0.875rem;
  }

  /* Confidence Section */
  .confidence-section {
    padding: 50px 20px;
  }

  .confidence-section h2 {
    font-size: 2rem;
  }

  .confidence-section p {
    font-size: 1rem;
  }

  /* Better Section */
  .better-section {
    padding: 50px 18px;
    margin: 24px 12px;
  }

  .better-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-header h2 {
    font-size: 1.875rem;
  }

  .section-header p {
    font-size: 0.9375rem;
  }

  /* Unlimited Section */
  .unlimited-section {
    padding: 50px 18px;
    margin: 24px 12px;
  }

  .unlimited-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* WordPress Features 2col */
  .wp-features-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wp-promo-card h2 {
    font-size: 1.75rem;
  }

  /* Updates Grid */
  .updates-section {
    padding: 48px 16px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Final CTA */
  .final-cta-section {
    padding: 50px 20px;
    margin: 20px 12px 30px;
  }

  .final-cta-section h2 {
    font-size: 1.875rem;
  }

  .final-cta-section .btn-white {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 48px 20px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Page Heroes */
  .page-hero {
    padding: 48px 20px 36px;
  }

  .page-hero h1 {
    font-size: 2.375rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* About & Contact */
  .about-narrative {
    padding: 32px 16px;
  }

  .narrative-card {
    padding: 24px 20px;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .contact-layout {
    padding: 32px 16px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  /* Dashboard mobile mockup */
  .dash-header {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  .dash-search {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }

  .dash-welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dash-tools-grid {
    grid-template-columns: 1fr;
  }

  .dash-main {
    padding: 16px;
  }
}

/* --- SMALL MOBILE PHONES (<= 480px) --- */
@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .dash-dots {
    display: none;
  }

  .dash-welcome-banner {
    padding: 14px;
  }
}
