:root {
  /* Colors */
  --primary-blue: #33D0FD;
  --primary-blue-hover: #1cbbe8;
  --dark-blue: #0B1120;
  --dark-blue-card: rgba(15, 23, 42, 0.7);
  --white: #FFFFFF;
  --text-light: #94a3b8;
  --text-dark: #1e293b;
  --bg-gradient: linear-gradient(135deg, #0B1120 0%, #0f172a 100%);
  --whatsapp-green: #25D366;
  --whatsapp-hover: #128C7E;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  /* Layout */
  --max-width: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 8vw, 4rem); }
h2 { font-size: clamp(1.8rem, 6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 5vw, 2rem); }

p {
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.page-top-padding {
  padding-top: 150px;
}

/* Grid Layouts */
.hero-grid, .about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-grid {
  align-items: start;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.gradient-text {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Desktop Background Elements */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(51, 208, 253, 0.15) 0%, rgba(11, 17, 32, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Global Mobile Fixes */
@media (max-width: 768px) {
  .section {
    padding: var(--spacing-lg) 0;
  }
  .page-top-padding {
    padding-top: 110px !important;
  }
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .container {
    padding: 0 var(--spacing-md);
    overflow-wrap: break-word;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Global Mobile Tap & Text Selection Fixes */
*, html, body {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Ensure inputs and form elements remain selectable */
input, textarea, select, .search-input, .search-box, .form-field, .search-wrapper input, [contenteditable="true"] {
  user-select: auto;
  -webkit-user-select: auto;
  -webkit-touch-callout: default;
}
