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

:root {
  --bg: #030712;
  --card-bg: rgba(17, 24, 39, 0.45);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.5);
  --accent-light: #a78bfa;
  --section-pad: 80px 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.1), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.1), transparent 30%);
  background-attachment: fixed;
  overflow-x: hidden;
  animation: bg-shift 15s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ================== HEADER NAV ================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brandTitle .name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brandTitle .url {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}

.logo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* Language switch */
.langSwitch {
  display: flex;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.langBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 48px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.langBtn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.langBtn.isActive {
  background: var(--card-border);
  color: var(--text-main);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* ================== HERO SECTION ================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  text-align: center;
  flex-direction: column;
}

.hero-content {
  max-width: 800px;
  animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 30%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(145deg, #8b5cf6, #7c3aed);
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(139, 92, 246, 0.5);
}

.hero-image-wrapper {
  margin-top: 60px;
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================== SERVICES SECTION ================== */
.section {
  padding: var(--section-pad);
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--accent-light);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
}

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

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* ================== CONTACT SECTION ================== */
.contact-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
  border-top: 1px solid var(--card-border);
}

.contact-box {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 60px 24px;
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.contact-box h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-email {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.contact-email:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent-light);
  transform: scale(1.05);
}

/* ================== FOOTER ================== */
.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--card-border);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  .nav-links {
    display: none; /* Hide on mobile for simplicity, keep language toggle */
  }
  .hero h1 {
    font-size: 36px;
  }
  .service-card {
    padding: 32px 24px;
  }
}