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

:root {
  /* Dark Mode (Default) */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #ec4899;
  --secondary-dark: #db2777;
  --accent: #14b8a6;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --dark-lighter: #334155;
  --text: #f8fafc;
  --text-muted: #cbd5e1;

  /* RGBA Color Variables */
  --glass-rgba: rgba(30, 41, 59, 0.7);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-light-hover: rgba(255, 255, 255, 0.2);
  --bg-light-10: rgba(255, 255, 255, 0.1);
  --bg-light-06: rgba(15, 23, 42, 0.6);
  --bg-light-08: rgba(15, 23, 42, 0.8);
  --header-bg: rgba(15, 23, 42, 0.8);
  --header-bg-scroll: rgba(15, 23, 42, 0.95);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --shadow-card: rgba(0, 0, 0, 0.5);
  --primary-rgba-3: rgba(99, 102, 241, 0.3);
  --primary-rgba-1: rgba(99, 102, 241, 0.1);
  --primary-rgba-15: rgba(99, 102, 241, 0.15);
  --secondary-rgba-15: rgba(236, 72, 153, 0.15);
  --black-rgba-01: rgba(0, 0, 0, 0.1);
  --form-input-bg: rgba(15, 23, 42, 0.6);
  --form-input-bg-focus: rgba(15, 23, 42, 0.8);
}

body.light-mode {
  /* Light Mode */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #ec4899;
  --secondary-dark: #db2777;
  --accent: #14b8a6;
  --dark: #ffffff;
  --dark-light: #f8fafc;
  --dark-lighter: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;

  /* RGBA Light Mode */
  --glass-rgba: rgba(248, 250, 252, 0.7);
  --border-light: rgba(0, 0, 0, 0.1);
  --border-light-hover: rgba(0, 0, 0, 0.15);
  --bg-light-10: rgba(0, 0, 0, 0.1);
  --bg-light-06: rgba(248, 250, 252, 0.6);
  --bg-light-08: rgba(248, 250, 252, 0.8);
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-bg-scroll: rgba(255, 255, 255, 0.95);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  --shadow-card: rgba(0, 0, 0, 0.2);
  --primary-rgba-3: rgba(99, 102, 241, 0.3);
  --primary-rgba-1: rgba(99, 102, 241, 0.1);
  --primary-rgba-15: rgba(99, 102, 241, 0.15);
  --secondary-rgba-15: rgba(236, 72, 153, 0.15);
  --black-rgba-01: rgba(0, 0, 0, 0.1);
  --form-input-bg: rgba(248, 250, 252, 0.6);
  --form-input-bg-focus: rgba(248, 250, 252, 0.8);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--header-bg-scroll);
  box-shadow: 0 4px 30px var(--shadow-dark);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* Menu Button */
.menu-btn {
  background: var(--glass-rgba);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.menu-btn:hover {
  background: var(--bg-light-10);
  border-color: var(--border-light-hover);
}

.menu-btn i {
  transition: transform 0.3s ease;
}

.menu-btn.active i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--dark-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1rem;
  min-width: 280px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  padding: 0.8rem 0;
}

.dropdown-section:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.dropdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background: var(--glass-rgba);
  transform: translateX(5px);
}

.dropdown-item i {
  width: 20px;
  font-size: 1.1rem;
  color: var(--primary-light);
}

/* Toggle Switches */
.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text);
}

.toggle-label i {
  width: 20px;
  font-size: 1.1rem;
  color: var(--primary-light);
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--dark-lighter);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

.toggle-switch.active::after {
  left: calc(100% - 21px);
  background: white;
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.lang-option {
  padding: 0.5rem 1rem;
  background: var(--dark);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-option:hover {
  border-color: var(--primary);
  color: var(--text);
}

.lang-option.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: white;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--dark-light) 50%,
    var(--dark) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      var(--primary-rgba-15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      var(--secondary-rgba-15) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-content {
  max-width: 1400px;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--glass-rgba);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    var(--primary-light) 50%,
    var(--secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 10px 30px var(--primary-rgba-3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--glass-rgba);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-light-10);
  border-color: var(--border-light-hover);
  transform: translateY(-3px);
}

/* Stats Section */
.stats {
  padding: 6rem 2rem;
  background: var(--dark-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Services Section */
.services {
  padding: 8rem 2rem;
  background: var(--dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--glass-rgba);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text);
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--glass-rgba);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--border-light-hover);
  box-shadow: 0 20px 60px var(--primary-rgba-1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Process Section */
.process {
  padding: 8rem 2rem;
  background: var(--dark-light);
}

.process-grid {
  max-width: 1400px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
  color: white;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--border-light-hover);
}

.process-step h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--primary-light);
}

.process-step p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact Section */
.contact {
  padding: 8rem 2rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 80% 20%,
      var(--primary-rgba-15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      var(--secondary-rgba-15) 0%,
      transparent 50%
    );
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form {
  background: var(--glass-rgba);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem 1.5rem;
  background: var(--form-input-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--form-input-bg-focus);
  box-shadow: 0 0 0 3px var(--primary-rgba-1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.phone-wrapper {
  display: flex;
  gap: 0.5rem;
}

.phone-wrapper select {
  width: 100px;
}

.phone-wrapper input {
  flex: 1;
}

.form-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.form-disclaimer a {
  color: var(--primary-light);
  text-decoration: none;
}

.form-disclaimer a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--dark-light);
  border-top: 1px solid var(--border-light);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--text);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--glass-rgba);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .dropdown-menu {
    right: -1rem;
    left: -1rem;
    min-width: auto;
  }
}
