/**
 * Mobile App Native Experience
 * Makes the website feel like a native mobile app
 */

/* ============================================
   MOBILE APP BASE STYLES
   ============================================ */

/* Only apply on mobile devices */
@media (max-width: 768px) {
  
  /* Safe area support for notched devices */
  :root {
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
    --bottom-nav-height: 70px;
  }
  
  /* Prevent text selection for app-like feel */
  body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: contain;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 20px);
  }
  
  /* Allow text selection on specific elements */
  p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }
  
  /* Smooth scrolling with momentum */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* ============================================
     MOBILE APP HEADER
     ============================================ */
  
  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(var(--safe-area-top) + 10px) 16px 10px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  [data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .navbar .container {
    padding: 0 !important;
  }
  
  /* Simplified logo - only show "Godrix" text */
  .navbar .logo {
    gap: 10px !important;
  }
  
  .navbar .logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  
  .navbar .logo-text h1 {
    font-size: 20px !important;
  }
  
  /* Hide tagline on mobile */
  .navbar .logo-text span {
    display: none !important;
  }
  
  .navbar .logo-img {
    height: 36px !important;
    width: auto !important;
    top: -3px !important;
  }
  
  /* Hide scroll to top on mobile - we have bottom nav */
  .back-to-top {
    display: none !important;
  }
  
  /* ============================================
     BOTTOM NAVIGATION BAR
     ============================================ */
  
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  }
  
  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
    min-width: 64px;
    border-radius: 12px;
  }
  
  [data-theme="light"] .mobile-nav-item {
    color: rgba(30, 58, 95, 0.5);
  }
  
  .mobile-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
  }
  
  .mobile-nav-item.active,
  .mobile-nav-item:active {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
  }
  
  [data-theme="light"] .mobile-nav-item.active,
  [data-theme="light"] .mobile-nav-item:active {
    color: #1e3a5f;
    background: rgba(30, 58, 95, 0.1);
  }
  
  .mobile-nav-item.active i {
    transform: scale(1.1);
  }
  
  /* Active indicator dot */
  .mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 4px;
    width: 4px;
    height: 4px;
    background: #4ade80;
    border-radius: 50%;
  }
  
  [data-theme="light"] .mobile-nav-item.active::before {
    background: #1e3a5f;
  }
  
  /* Center CTA button */
  .mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50%;
    color: #0F172A;
    font-size: 24px;
    margin-top: -28px;
    box-shadow: 
      0 4px 15px rgba(74, 222, 128, 0.4),
      0 0 0 4px rgba(15, 23, 42, 0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  [data-theme="light"] .mobile-nav-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #ffffff;
    box-shadow: 
      0 4px 15px rgba(30, 58, 95, 0.4),
      0 0 0 4px rgba(255, 255, 255, 0.98);
  }
  
  .mobile-nav-cta:active {
    transform: scale(0.95);
  }
  
  /* ============================================
     TOUCH INTERACTIONS
     ============================================ */
  
  /* Touch feedback for all interactive elements */
  a, button, .btn, .card, .service-card, .team-card, .feature-card, .stat-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* Active state feedback */
  .btn:active,
  .card:active,
  .service-card:active,
  .team-card:active,
  .feature-card:active,
  .stat-card:active {
    transform: scale(0.98) !important;
    opacity: 0.9;
  }
  
  /* Smooth press animation for buttons */
  .btn {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  .btn:active {
    transform: scale(0.95) !important;
  }
  
  /* ============================================
     CARDS - APP STYLE
     ============================================ */
  
  .service-card,
  .team-card,
  .feature-card,
  .stat-card,
  .bento-item {
    border-radius: 20px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .feature-card:hover {
    transform: none !important;
  }
  
  /* ============================================
     HERO SECTION - APP STYLE
     ============================================ */
  
  .hero {
    padding-top: calc(var(--safe-area-top) + 80px) !important;
    padding-bottom: 40px !important;
    min-height: calc(100vh - var(--bottom-nav-height)) !important;
  }
  
  .hero h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  .hero p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center;
    padding: 16px 24px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }
  
  /* ============================================
     SECTIONS - APP STYLE
     ============================================ */
  
  section {
    padding: 60px 0 !important;
  }
  
  .section-header {
    margin-bottom: 32px !important;
  }
  
  .section-header h2,
  .section-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  
  .section-tag {
    font-size: 11px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
  }
  
  /* ============================================
     SCROLL SNAP FOR APP-LIKE SECTIONS
     ============================================ */
  
  /* Optional: Enable scroll snap for section-by-section scrolling
  html {
    scroll-snap-type: y proximity;
  }
  
  section {
    scroll-snap-align: start;
  }
  */
  
  /* ============================================
     PULL TO REFRESH INDICATOR (Visual only)
     ============================================ */
  
  .pull-indicator {
    position: fixed;
    top: calc(var(--safe-area-top) + 60px);
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: 40px;
    height: 40px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .pull-indicator i {
    color: #4ade80;
    font-size: 20px;
  }
  
  .pull-indicator.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  
  /* ============================================
     MOBILE MENU OVERLAY - APP STYLE
     ============================================ */
  
  .mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(10, 15, 30, 0.99) 100%) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    z-index: 9998 !important;
    padding: 0 !important;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1) !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
  }
  
  [data-theme="light"] .mobile-menu {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.99) 100%) !important;
  }
  
  .mobile-menu.active {
    transform: translateX(0) !important;
  }
  
  /* Mobile Menu Header */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--safe-area-top) + 20px) 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  [data-theme="light"] .mobile-menu-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }
  
  .mobile-menu-title {
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-greeting {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  [data-theme="light"] .mobile-menu-greeting {
    color: rgba(30, 58, 95, 0.5);
  }
  
  .mobile-menu-brand {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  [data-theme="light"] .mobile-menu-brand {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .mobile-menu-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  [data-theme="light"] .mobile-menu-close {
    background: rgba(30, 58, 95, 0.05);
    border-color: rgba(30, 58, 95, 0.1);
    color: rgba(30, 58, 95, 0.7);
  }
  
  .mobile-menu-close:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile Menu Navigation */
  .mobile-menu-nav {
    padding: 16px 16px 8px;
    flex: 1;
  }
  
  .mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  [data-theme="light"] .mobile-menu-link {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
  }
  
  .mobile-menu-link:active {
    transform: scale(0.98);
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.2);
  }
  
  [data-theme="light"] .mobile-menu-link:active {
    background: rgba(30, 58, 95, 0.08);
    border-color: rgba(30, 58, 95, 0.15);
  }
  
  .mobile-menu-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 211, 238, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
  }
  
  [data-theme="light"] .mobile-menu-link-icon {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(45, 90, 135, 0.1) 100%);
  }
  
  .mobile-menu-link-icon i {
    font-size: 18px;
    color: #4ade80;
  }
  
  [data-theme="light"] .mobile-menu-link-icon i {
    color: #1e3a5f;
  }
  
  .mobile-menu-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-link-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
  }
  
  [data-theme="light"] .mobile-menu-link-title {
    color: #1e3a5f;
  }
  
  .mobile-menu-link-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
  }
  
  [data-theme="light"] .mobile-menu-link-desc {
    color: rgba(30, 58, 95, 0.5);
  }
  
  .mobile-menu-link-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 8px;
  }
  
  [data-theme="light"] .mobile-menu-link-arrow {
    color: rgba(30, 58, 95, 0.3);
  }
  
  /* Divider */
  .mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 24px 16px;
  }
  
  [data-theme="light"] .mobile-menu-divider {
    background: rgba(0, 0, 0, 0.06);
  }
  
  /* Settings Section */
  .mobile-menu-section {
    padding: 0 16px 16px;
  }
  
  .mobile-menu-section-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 16px 12px;
  }
  
  [data-theme="light"] .mobile-menu-section-title {
    color: rgba(30, 58, 95, 0.4);
  }
  
  .mobile-menu-setting {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  [data-theme="light"] .mobile-menu-setting {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
  }
  
  .mobile-menu-setting:active {
    transform: scale(0.98);
  }
  
  /* Theme Toggle in Menu */
  .theme-icon .dark-icon {
    display: block;
  }
  
  .theme-icon .light-icon {
    display: none;
  }
  
  [data-theme="light"] .theme-icon .dark-icon {
    display: none;
  }
  
  [data-theme="light"] .theme-icon .light-icon {
    display: block;
  }
  
  .theme-desc-dark {
    display: block;
  }
  
  .theme-desc-light {
    display: none;
  }
  
  [data-theme="light"] .theme-desc-dark {
    display: none;
  }
  
  [data-theme="light"] .theme-desc-light {
    display: block;
  }
  
  .mobile-theme-toggle {
    margin-left: auto;
  }
  
  .mobile-theme-toggle-track {
    width: 52px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  [data-theme="light"] .mobile-theme-toggle-track {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  }
  
  .mobile-theme-toggle-thumb {
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  [data-theme="light"] .mobile-theme-toggle-thumb {
    left: 23px;
  }
  
  /* CTA Buttons */
  .mobile-menu-cta {
    padding: 0 16px 16px;
    display: flex;
    gap: 10px;
  }
  
  .mobile-menu-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  
  .mobile-menu-cta-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
  }
  
  .mobile-menu-cta-btn.phone {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  [data-theme="light"] .mobile-menu-cta-btn.phone {
    background: rgba(30, 58, 95, 0.05);
    border-color: rgba(30, 58, 95, 0.15);
    color: #1e3a5f;
  }
  
  .mobile-menu-cta-btn:active {
    transform: scale(0.97);
  }
  
  .mobile-menu-cta-btn i {
    font-size: 14px;
  }
  
  /* Footer */
  .mobile-menu-footer {
    padding: 16px 24px calc(var(--safe-area-bottom) + 24px);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  [data-theme="light"] .mobile-menu-footer {
    border-top-color: rgba(0, 0, 0, 0.04);
  }
  
  .mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
  }
  
  .mobile-menu-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  [data-theme="light"] .mobile-menu-socials a {
    background: rgba(30, 58, 95, 0.05);
    color: rgba(30, 58, 95, 0.6);
  }
  
  .mobile-menu-socials a:active {
    transform: scale(0.95);
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
  }
  
  .mobile-menu-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
  }
  
  [data-theme="light"] .mobile-menu-copyright {
    color: rgba(30, 58, 95, 0.3);
  }
  
  /* Animation for menu items */
  .mobile-menu-link,
  .mobile-menu-setting,
  .mobile-menu-cta-btn {
    opacity: 0;
    transform: translateX(20px);
  }
  
  .mobile-menu.active .mobile-menu-link,
  .mobile-menu.active .mobile-menu-setting,
  .mobile-menu.active .mobile-menu-cta-btn {
    animation: menuItemSlideIn 0.4s ease forwards;
  }
  
  .mobile-menu.active .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
  .mobile-menu.active .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
  .mobile-menu.active .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }
  .mobile-menu.active .mobile-menu-link:nth-child(4) { animation-delay: 0.2s; }
  .mobile-menu.active .mobile-menu-link:nth-child(5) { animation-delay: 0.25s; }
  .mobile-menu.active .mobile-menu-setting { animation-delay: 0.3s; }
  .mobile-menu.active .mobile-menu-cta-btn:nth-child(1) { animation-delay: 0.35s; }
  .mobile-menu.active .mobile-menu-cta-btn:nth-child(2) { animation-delay: 0.4s; }
  
  @keyframes menuItemSlideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* ============================================
     FLOATING ACTION BUTTON (FAB)
     ============================================ */
  
  .mobile-fab {
    display: none;
  }
  
  /* ============================================
     FORM INPUTS - APP STYLE
     ============================================ */
  
  input, textarea, select {
    font-size: 16px !important; /* Prevents iOS zoom */
    border-radius: 14px !important;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  
  [data-theme="light"] input,
  [data-theme="light"] textarea,
  [data-theme="light"] select {
    border-color: rgba(0, 0, 0, 0.1) !important;
    background: rgba(0, 0, 0, 0.02) !important;
  }
  
  input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: #4ade80 !important;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2) !important;
  }
  
  /* ============================================
     LOADING STATES
     ============================================ */
  
  .skeleton {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
  }
  
  @keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  
  /* ============================================
     TOAST NOTIFICATIONS
     ============================================ */
  
  .toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  
  .toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  
  /* ============================================
     GLOBE SECTION - MOBILE
     ============================================ */
  
  .globe-section {
    padding: 40px 0 !important;
  }
  
  .globe-content {
    gap: 24px !important;
  }
  
  .globe-visual {
    height: 475px !important;
    min-height: 475px !important;
  }
  
  #globe-container {
    max-width: 475px !important;
    max-height: 475px !important;
  }
  
  .globe-stats {
    justify-content: center !important;
    gap: 16px !important;
  }
  
  .globe-stat-value {
    font-size: 28px !important;
  }
  
  .globe-locations {
    justify-content: center !important;
  }
  
  /* ============================================
     CODE EDITOR - MOBILE APP STYLE
     ============================================ */
  
  .code-editor {
    border-radius: 16px !important;
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  }
  
  /* ============================================
     FOOTER - MOBILE OPTIMIZED
     ============================================ */
  
  footer {
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 40px) !important;
  }
  
  /* ============================================
     ANIMATIONS - REDUCED FOR PERFORMANCE
     ============================================ */
  
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* ============================================
     HAPTIC-LIKE FEEDBACK ANIMATION
     ============================================ */
  
  @keyframes haptic-tap {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.97); }
  }
  
  .haptic-tap {
    animation: haptic-tap 0.15s ease;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
  
  .pull-indicator {
    display: none !important;
  }
}

