/* ==========================================================================
   Auratrix Technologies - Responsive Stylesheet
   Mobile First & Multi-device Breakpoints
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .geo-ip-status-box {
    justify-content: center;
  }

  .floating-stat-card.stat-1 {
    right: 0;
    top: -10px;
  }

  .floating-stat-card.stat-2 {
    left: 0;
    bottom: -15px;
  }

  .hero-v3-title {
    font-size: 2.6rem;
  }

  .showcase-floating-phone {
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
  }

  .hero-v3-orbit-badge {
    display: none;
  }

  .hero-v3-stats-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .calc-types-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .calc-addons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets & Large Phones (max-width: 768px) */
.badge-text-short {
  display: none;
}

@media (max-width: 768px) {
  .badge-text-full {
    display: none;
  }

  .badge-text-short {
    display: inline !important;
  }

  .ticker-label-badge {
    padding: 0 0.5rem 0 1.2rem;
    font-size: 0.72rem;
  }

  .hero-v3-title {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .hero-v3-tag {
    font-size: 0.76rem;
    padding: 0.35rem 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-typewriter-standalone {
    margin: 0.2rem auto 1.6rem;
    min-height: 44px;
  }

  .typewriter-dynamic-text {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .typewriter-cursor {
    font-size: 1.3rem;
  }

  .hero-enterprise-bar {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
  }

  .enterprise-item {
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
  }

  .hero-enterprise-bar .spec-sep {
    display: none;
  }

  .hero-trust-bar {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-lg);
  }

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

  .hero-v3-stats-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-card-luxury {
    padding: 1.2rem 1.1rem;
  }

  .stat-ribbon-number {
    font-size: 2.1rem;
  }

  .tech-strip-section {
    padding: 4rem 0;
  }

  .tech-strip-title {
    font-size: 1.6rem;
  }

  .tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  /* Mobile Nav Overlay & Drawer */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-gold);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.8rem 2.5rem;
    gap: 0.95rem;
    transition: right var(--transition-smooth);
    z-index: 999;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }

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

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  body.lang-en .nav-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-gold);
    transition: left var(--transition-smooth);
  }

  body.lang-en .nav-menu.open {
    left: 0;
    right: auto;
  }

  .header-actions .btn-contact-header {
    display: none;
  }

  .geo-detection-bar {
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: flex-start;
  }

  .geo-currency-selector-inline {
    width: 100%;
    justify-content: space-between;
  }

  .calc-card {
    padding: 2rem 1.5rem;
  }

  .calculator-card {
    padding: 2rem 1.25rem;
  }

  .calc-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .calc-addons-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .calc-speed-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .calc-summary-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-summary-right {
    width: 100%;
  }

  .calc-summary-right .btn {
    width: 100%;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .geo-toast {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
  }

  .back-to-top-btn {
    bottom: 1.5rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
  }

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

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .floating-stat-card {
    position: static;
    margin: 1rem 0;
    width: 100%;
    animation: none;
  }

  .hero-v3-stats-ribbon {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 2.5rem;
  }

  .stat-ribbon-number {
    font-size: 2rem;
  }

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

  .calc-types-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .calc-total-number {
    font-size: 2.4rem;
  }

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

  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile Improvements for New Features v4.0
   ========================================================================== */

/* --- WhatsApp Widget --- */
@media (max-width: 640px) {
  .whatsapp-float-widget {
    bottom: 16px !important;
    left: 14px !important;
    right: auto !important;
  }
  .wa-trigger-btn {
    width: 50px;
    height: 50px;
  }
  .wa-chat-popup {
    width: calc(100vw - 28px);
    max-width: 320px;
  }
}

/* --- Social Proof Toast --- */
@media (max-width: 640px) {
  .social-proof-toast {
    left: auto;
    right: 14px;
    bottom: 74px;
    max-width: calc(100vw - 28px);
    padding: 10px 14px;
  }
}

/* --- Testimonials --- */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px) !important;
    min-width: calc(50% - 12px) !important;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
  .testimonials-track {
    gap: 0;
  }
  .testimonials-section {
    padding: 70px 0;
  }
}

/* --- FAQ --- */
@media (max-width: 640px) {
  .faq-section {
    padding: 70px 0;
  }
  .faq-question {
    font-size: 0.88rem;
    padding: 16px 18px;
  }
  .faq-answer-inner {
    padding: 14px 18px 18px;
  }
  .faq-categories {
    gap: 8px;
  }
  .faq-cat-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

/* --- Comparison Table --- */
@media (max-width: 768px) {
  .why-us-section {
    padding: 70px 0;
  }
  .comparison-table {
    min-width: 520px;
    font-size: 0.8rem;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 10px;
  }
  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child {
    padding-right: 14px;
  }
}

/* --- Language Toggle on Mobile --- */
@media (max-width: 480px) {
  .lang-toggle-wrap {
    display: none;
  }
}

/* --- Video Modal --- */
@media (max-width: 640px) {
  .video-modal-box {
    border-radius: 14px;
  }
  .video-modal-header {
    padding: 14px 16px;
  }
}

/* --- Hero Actions (video button) --- */
@media (max-width: 768px) {
  .btn-open-video {
    padding: 10px 20px;
    font-size: 0.82rem;
  }
  .hero-v3-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- Header Actions with Lang Toggle --- */
@media (max-width: 768px) {
  .header-actions {
    gap: 8px;
  }
}

