/* Mobuly - Static CSS Conversion */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Brand Colors - Tech-focused palette */
  --background: 0 0% 100%;
  --foreground: 225 9% 15%;
  
  --card: 0 0% 100%;
  --card-foreground: 225 9% 15%;
  
  /* Primary - Deep Tech Blue */
  --primary: 225 84% 24%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 225 100% 65%;
  
  /* Secondary - Modern Purple */
  --secondary: 260 84% 32%;
  --secondary-foreground: 0 0% 100%;
  
  /* Accent - Vibrant Cyan */
  --accent: 185 84% 48%;
  --accent-foreground: 0 0% 100%;
  
  --muted: 225 13% 96%;
  --muted-foreground: 225 7% 55%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  --border: 225 13% 91%;
  --input: 225 13% 91%;
  --ring: 225 84% 24%;
  
  --radius: 0.75rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(225, 84%, 24%), hsl(260, 84%, 32%));
  --gradient-hero: linear-gradient(135deg, hsl(225, 84%, 24%) 0%, hsl(260, 84%, 32%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(185, 84%, 48%), hsl(225, 100%, 65%));
  --gradient-subtle: linear-gradient(135deg, hsl(225, 13%, 96%) 0%, hsl(0, 0%, 100%) 100%);
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsla(225, 84%, 24%, 0.2);
  --shadow-glow: 0 0 40px hsla(225, 100%, 65%, 0.15);
  --shadow-card: 0 4px 20px -4px hsla(225, 9%, 15%, 0.1);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-foreground { color: hsl(var(--foreground)); }

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

.gradient-primary { background: var(--gradient-primary); }
.gradient-hero { background: var(--gradient-hero); }
.gradient-accent { background: var(--gradient-accent); }
.gradient-subtle { background: var(--gradient-subtle); }

.shadow-card { box-shadow: var(--shadow-card); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }

.transition-smooth { transition: var(--transition-smooth); }

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-transparent {
  color: transparent;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: hsla(var(--background), 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(var(--border), 0.2);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.navigation.on-dark {
  background-color: hsla(0, 0%, 0%, 0.3);
  border-bottom: 1px solid hsla(255, 255%, 255%, 0.2);
}

.navigation.on-dark .nav-links a,
.navigation.on-dark .mobile-menu-button {
  color: hsl(var(--primary-foreground)) !important;
}

.navigation.on-dark .nav-mobile-menu a {
  color: hsl(var(--primary-foreground)) !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: hsl(var(--primary));
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid hsla(var(--border), 0.2);
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-mobile-dev.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero .hero-accent {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-decorative {
  position: absolute;
  border-radius: 50%;
  filter: blur(2rem);
}

.hero-decorative-1 {
  top: 5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  background: var(--gradient-accent);
  opacity: 0.2;
}

.hero-decorative-2 {
  bottom: 5rem;
  left: 5rem;
  width: 6rem;
  height: 6rem;
  background-color: hsl(var(--primary-glow));
  opacity: 0.3;
  filter: blur(1rem);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: hsl(var(--background));
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.services .services-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.service-card {
  padding: 2rem;
  background-color: hsla(var(--card), 0.5);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: none;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-accent);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--gradient-subtle);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.about h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.about .about-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item .check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--accent));
  flex-shrink: 0;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background-color: hsla(var(--card), 0.8);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--gradient-hero);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
}

.contact .contact-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  background-color: hsla(var(--primary-foreground), 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(var(--primary-foreground), 0.2);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h3 {
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  transition: var(--transition-smooth);
}

.contact-card a:hover h3 {
  color: hsl(var(--accent));
}

.contact-card p {
  color: hsl(var(--primary-foreground));
}

/* Form */
.form-card {
  padding: 2rem;
  background-color: hsla(var(--primary-foreground), 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(var(--primary-foreground), 0.2);
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: hsla(var(--primary-foreground), 0.2);
  border: 1px solid hsla(var(--primary-foreground), 0.3);
  border-radius: 0.5rem;
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsla(var(--primary-foreground), 0.6);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 2px hsla(var(--accent), 0.2);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.btn-hero {
  background: var(--gradient-accent);
  color: hsl(var(--accent-foreground));
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Icons (using Unicode symbols as fallbacks) */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  text-align: center;
  line-height: 1.5rem;
}

.icon-phone::before { content: "📞"; }
.icon-mail::before { content: "✉️"; }
.icon-smartphone::before { content: "📱"; }
.icon-tablet::before { content: "💻"; }
.icon-code::before { content: "💻"; }
.icon-zap::before { content: "⚡"; }
.icon-shield::before { content: "🛡️"; }
.icon-rocket::before { content: "🚀"; }
.icon-users::before { content: "👥"; }
.icon-award::before { content: "🏆"; }
.icon-clock::before { content: "⏰"; }
.icon-check::before { content: "✓"; }
.icon-send::before { content: "📤"; }
.icon-menu::before { content: "☰"; }
.icon-close::before { content: "✕"; }

/* Mobile Responsiveness */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
  
  .services h2,
  .about h2,
  .contact h2 {
    font-size: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  .nav-mobile-menu.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.nav-links a:focus {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}