:root {
  --bg-color: #050505;
  --surface-color: rgba(255, 255, 255, 0.03);
  --primary-color: #00f3ff;
  --primary-glow: rgba(0, 243, 255, 0.5);
  --secondary-color: #bd00ff;
  --secondary-glow: rgba(189, 0, 255, 0.5);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(10, 10, 10, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--primary-glow);
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--primary-color);
  background: rgba(0, 243, 255, 0.05);
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 40px var(--primary-glow);
  transform: translateY(-3px) scale(1.05);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(15px);
  border-bottom: var(--glass-border);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo .highlight {
  color: var(--secondary-color);
  text-shadow: 0 0 15px var(--secondary-glow);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.8;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 0 10px var(--primary-color);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.4rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Sections General */
section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 80px;
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title span {
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  box-shadow: 0 0 20px var(--secondary-glow);
  border-radius: 2px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--surface-color);
  padding: 50px 40px;
  border-radius: 24px;
  border: var(--glass-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.05), rgba(189, 0, 255, 0.05));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  text-align: center;
}

.team-member {
  position: relative;
  padding: 30px;
  background: var(--surface-color);
  border-radius: 24px;
  border: var(--glass-border);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-color);
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 3px solid transparent;
  background: linear-gradient(#121212, #121212) padding-box,
    linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
  box-shadow: 0 0 30px rgba(189, 0, 255, 0.2);
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.4);
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.team-member p {
  color: var(--primary-color);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: var(--glass-border);
  background: linear-gradient(0deg, #020202 0%, rgba(5, 5, 5, 0) 100%);
  text-align: center;
  color: var(--text-muted);
}

.phone-contact a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.phone-contact a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 30px var(--primary-glow);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }
}

/* Animations */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}