/*
Theme Name: Global Payment Indonesia
Theme URI: https://globalpayment.id
Author: Mahadata Group
Author URI: https://mahadata.io
Description: Corporate website theme for PT Global Payment Indonesia - CPaaS & Communication Platform. Anak perusahaan Mahadata Group, WhatsApp BSP resmi dari Meta.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpi-theme
Tags: corporate, business, one-page, custom-logo, custom-menu, featured-images, theme-options

PT Global Payment Indonesia - Mahadata Group
Platform CPaaS, OTP, dan Ads Manager untuk bisnis Indonesia.
*/

:root {
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 210 40% 96%;
  --accent-foreground: 222 47% 11%;
  --border: 214 32% 91%;
  --green-500: 142 71% 45%;
  --blue-500: 217 91% 60%;
  --purple-500: 262 83% 58%;
  --orange-500: 25 95% 53%;
}

.dark {
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --background: 222 47% 11%;
  --foreground: 210 40% 98%;
  --card: 222 47% 15%;
  --card-foreground: 210 40% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
  --accent: 217 33% 17%;
  --accent-foreground: 210 40% 98%;
  --border: 217 33% 25%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom Logo Styling */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-logo-wrap .custom-logo-link,
.custom-logo-wrap .custom-logo {
  border-radius: 0.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--muted));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 2rem;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.border-border {
  border-color: hsl(var(--border));
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.grid {
  display: grid;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:text-xl {
    font-size: 1.25rem;
  }
  .sm\:text-4xl {
    font-size: 2.25rem;
  }
  .sm\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
  .lg\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .lg\:pt-32 {
    padding-top: 8rem;
  }
  .lg\:pb-32 {
    padding-bottom: 8rem;
  }
  .lg\:gap-16 {
    gap: 4rem;
  }
}

.w-full {
  width: 100%;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.leading-tight {
  line-height: 1.25;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.transition-all {
  transition: all 0.3s ease;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.object-cover {
  object-fit: cover;
}

.hidden {
  display: none;
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:h-20 {
    height: 5rem;
  }
  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }
}

@media (min-width: 640px) {
  .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

.list-none {
  list-style: none;
}

.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}

.hover\:underline:hover {
  text-decoration: underline;
}

input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
}

.icon-box-xl {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
}

.icon-green {
  background-color: hsl(var(--green-500) / 0.1);
  color: hsl(var(--green-500));
}

.icon-primary {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.icon-blue {
  background-color: hsl(var(--blue-500) / 0.1);
  color: hsl(var(--blue-500));
}

.icon-purple {
  background-color: hsl(var(--purple-500) / 0.1);
  color: hsl(var(--purple-500));
}

.icon-orange {
  background-color: hsl(var(--orange-500) / 0.1);
  color: hsl(var(--orange-500));
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--green-500));
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--green-500));
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Animated Ocean Wave Background */
@keyframes wave-flow {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25px) translateY(10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes wave-flow-slow {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(20px) translateY(-15px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes wave-pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

.animated-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    hsl(210 40% 98%) 0%, 
    hsl(210 50% 96%) 30%,
    hsl(205 45% 95%) 60%,
    hsl(210 40% 97%) 100%
  );
}

.dark .animated-bg {
  background: linear-gradient(135deg, 
    hsl(215 30% 8%) 0%, 
    hsl(210 35% 10%) 30%,
    hsl(205 30% 12%) 60%,
    hsl(215 30% 9%) 100%
  );
}

.ocean-wave {
  position: absolute;
  width: 200%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.wave-1 {
  background: linear-gradient(120deg,
    transparent 0%,
    hsl(210 60% 85% / 0.15) 25%,
    hsl(205 55% 80% / 0.2) 50%,
    hsl(210 60% 85% / 0.15) 75%,
    transparent 100%
  );
  top: 0;
  left: -50%;
  animation: wave-flow 12s ease-in-out infinite;
}

.wave-2 {
  background: linear-gradient(100deg,
    transparent 0%,
    hsl(200 50% 88% / 0.12) 30%,
    hsl(215 55% 82% / 0.18) 50%,
    hsl(200 50% 88% / 0.12) 70%,
    transparent 100%
  );
  top: 30%;
  left: -30%;
  animation: wave-flow-slow 16s ease-in-out infinite;
  animation-delay: -3s;
}

.wave-3 {
  background: linear-gradient(140deg,
    transparent 0%,
    hsl(205 45% 90% / 0.1) 35%,
    hsl(210 50% 85% / 0.15) 50%,
    hsl(205 45% 90% / 0.1) 65%,
    transparent 100%
  );
  bottom: 0;
  left: -40%;
  animation: wave-flow 14s ease-in-out infinite;
  animation-delay: -6s;
}

.wave-glow {
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  background: radial-gradient(circle, hsl(210 50% 80% / 0.25) 0%, transparent 70%);
  top: -15%;
  right: -5%;
  animation: wave-pulse 8s ease-in-out infinite;
}

.glow-2 {
  background: radial-gradient(circle, hsl(205 45% 85% / 0.2) 0%, transparent 70%);
  bottom: -20%;
  left: -10%;
  animation: wave-pulse 10s ease-in-out infinite;
  animation-delay: -4s;
}

.dark .wave-1 {
  background: linear-gradient(120deg,
    transparent 0%,
    hsl(210 50% 25% / 0.2) 25%,
    hsl(205 45% 30% / 0.25) 50%,
    hsl(210 50% 25% / 0.2) 75%,
    transparent 100%
  );
}

.dark .wave-2 {
  background: linear-gradient(100deg,
    transparent 0%,
    hsl(200 40% 28% / 0.15) 30%,
    hsl(215 45% 32% / 0.22) 50%,
    hsl(200 40% 28% / 0.15) 70%,
    transparent 100%
  );
}

.dark .wave-3 {
  background: linear-gradient(140deg,
    transparent 0%,
    hsl(205 35% 22% / 0.12) 35%,
    hsl(210 40% 28% / 0.18) 50%,
    hsl(205 35% 22% / 0.12) 65%,
    transparent 100%
  );
}

.dark .glow-1 {
  background: radial-gradient(circle, hsl(210 45% 35% / 0.3) 0%, transparent 70%);
}

.dark .glow-2 {
  background: radial-gradient(circle, hsl(205 40% 30% / 0.25) 0%, transparent 70%);
}

.gradient-bg {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent, hsl(var(--accent) / 0.1));
}

.blur-circle {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}

.blur-circle-primary {
  background-color: hsl(var(--primary) / 0.1);
}

.blur-circle-accent {
  background-color: hsl(var(--accent) / 0.2);
}

.about-visual {
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-placeholder {
  text-align: center;
  padding: 2rem;
}

.about-visual-placeholder .custom-logo-link {
  display: inline-block;
}

.about-visual-placeholder .custom-logo {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dark .about-visual-placeholder .custom-logo {
  mix-blend-mode: screen;
  filter: invert(1);
}

.about-visual-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background-color: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.partner-item-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.2s ease;
}

.partner-item-toggle .partner-name {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.partner-item-toggle.selected {
  background-color: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.partner-item-toggle.selected .partner-name {
  color: hsl(var(--primary));
}

.cta-section {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(217 91% 50%));
  color: white;
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.cta-section .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header-scrolled {
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

/* Touch-friendly tap targets (min 44px) */
@media (max-width: 767px) {
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }
  
  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Improve readability on small screens */
  .hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  /* Stack buttons on mobile */
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Full width cards on mobile */
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Reduce padding on mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Smaller section titles */
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Stats grid 2 columns on mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Partner badges wrap nicely */
  .partners-container {
    gap: 0.5rem;
  }
  
  .partner-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  /* Footer stack on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Floating WhatsApp button bigger on mobile */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

/* Smooth scrolling for all devices */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

/* Better touch feedback */
.btn:active,
.card:active,
.nav-link:active {
  transform: scale(0.98);
}

/* Improve image rendering on mobile */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* ============================================
   ICON SIZING - CONSISTENT SIZES
   ============================================ */

/* Default icon size */
svg {
  flex-shrink: 0;
}

/* Icon boxes - consistent sizing */
.icon-box-lg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-xl {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-lg svg,
.icon-box-xl svg {
  width: 24px;
  height: 24px;
}

/* Icon color variants */
.icon-primary {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.icon-green {
  background-color: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

.icon-blue {
  background-color: hsl(200 98% 39% / 0.1);
  color: hsl(200 98% 39%);
}

.icon-orange {
  background-color: hsl(25 95% 53% / 0.1);
  color: hsl(25 95% 53%);
}

/* Small icons for inline text (check marks, footer links) */
.check-icon {
  width: 16px !important;
  height: 16px !important;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

/* Footer link icons */
footer .flex.items-center.gap-2 svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex-shrink: 0;
}

/* Small inline icons */
.w-4.h-4,
svg.w-4 {
  width: 16px !important;
  height: 16px !important;
}

/* WhatsApp floating button icon */
.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

/* Card header icon alignment */
.card .flex.items-start.gap-4 {
  align-items: flex-start;
}

.card .flex.items-start.gap-4 .icon-box-xl {
  margin-top: 2px;
}

/* ============================================
   FOOTER LAYOUT
   ============================================ */

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

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

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-company {
    grid-column: span 2;
  }
}

.footer-col {
  min-width: 0;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--primary));
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link-icon:hover {
  color: hsl(var(--foreground));
}

.footer-link-icon svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
}

/* Footer responsive - uses inline styles in footer.php */
@media (max-width: 1023px) {
  footer > .container > div:first-child {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 639px) {
  footer > .container > div:first-child {
    grid-template-columns: 1fr !important;
  }
}
