/*
Theme Name: Mehta Global Technologies
Theme URI: https://mehtaglobaltech.com
Author: Mehta Global Tech Team
Author URI: https://mehtaglobaltech.com
Description: Premium dark theme with glassmorphism for digital services
Version: 1.0.0
License: GPL v2 or later
Text Domain: mehta-global-tech
Tags: dark, glassmorphism, corporate, modern
*/

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

/* === ROOT VARIABLES === */
:root {
  --bg-primary: #1a1f2e;
  --bg-secondary: #242b3d;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  --gradient-cyan: #38bdf8;
  --gradient-indigo: #818cf8;
  --gradient-purple: #c084fc;
  
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-success: #10b981;
  
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1a1f2e 0%, #242b3d 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === BACKGROUND EFFECTS === */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.glow-orb-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: var(--gradient-cyan);
}

.glow-orb-2 {
  top: 40%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--gradient-indigo);
}

.glow-orb-3 {
  bottom: -5%;
  left: 50%;
  width: 450px;
  height: 450px;
  background: var(--gradient-purple);
}

/* === GLASS MORPHISM === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(56, 189, 248, 0.15);
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(90deg, var(--gradient-cyan), var(--gradient-indigo), var(--gradient-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
}

nav.glass {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-indigo), var(--gradient-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-btn {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  background: linear-gradient(90deg, var(--gradient-cyan), var(--gradient-indigo));
  color: white;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

/* === MAIN CONTENT === */
main {
  position: relative;
  z-index: 10;
}

.section {
  display: none;
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

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

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

/* === HERO SECTION === */
.hero {
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--gradient-cyan), var(--gradient-indigo), var(--gradient-purple));
  color: white;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding: 2.5rem 3rem;
  margin-top: 4rem;
  max-width: 56rem;
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* === SERVICES === */
.services {
  padding: 5rem 2rem;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 40rem;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.quick-wins {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.1);
}

.quick-wins-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gradient-cyan);
  margin-bottom: 0.75rem;
}

.wins-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.win-tag {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(56, 189, 248, 0.1);
  color: var(--gradient-cyan);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* === ANALYTICS === */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kpi-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.kpi-change {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-success);
}

.kpi-value {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* === CHARTS === */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.chart-container {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.chart-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

canvas {
  max-height: 300px !important;
}

/* === FOOTER === */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

footer blockquote {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.social-link {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gradient-cyan);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  nav.glass {
    padding: 0.875rem 1rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  
  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .section {
    padding: 6rem 1rem 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .service-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }
  
  .chart-grid {
    gap: 1.5rem;
  }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }
.p-8 { padding: 4rem; }

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gradient-cyan), var(--gradient-indigo));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gradient-indigo), var(--gradient-purple));
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: var(--text-primary);
}
