:root {
  /* Dark Mode (Default) */
  --primary: #00B3FF;
  --secondary: #7000FF;
  --bg: #050506;
  --card-bg: linear-gradient(145deg, #1a1d24, #050506);
  --text: #ffffff;
  --text-muted: #a0b0c0;
  --glass: rgba(18, 20, 26, 0.7);
  --border: rgba(0, 179, 255, 0.3);
  --hero-shadow: rgba(0, 179, 255, 0.8);
  --hero-shadow-secondary: rgba(0, 179, 255, 0.4);
  --transition: 0.3s;
}

[data-theme="light"] {
  --primary: #0077CC;
  --secondary: #5500CC;
  --bg: #f8f9fa;
  --card-bg: linear-gradient(145deg, #ffffff, #e9ecef);
  --text: #1a1a1a;
  --text-muted: #4a5568;
  --glass: rgba(255, 255, 255, 0.8);
  --border: rgba(0, 119, 204, 0.4);
  --hero-shadow: rgba(0, 119, 204, 0.3);
  --hero-shadow-secondary: rgba(0, 119, 204, 0.1);
}

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

body {
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

/* MINIMAL FLOATING HEADER */
header {
  padding: 1.5rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: all var(--transition);
}

header.scrolled {
  background: rgba(10, 11, 14, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 3rem;
}

[data-theme="light"] header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 32px;
  filter: drop-shadow(0 0 12px var(--primary));
  transition: filter var(--transition);
}

[data-theme="light"] .logo img {
  filter: none;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  transition: var(--transition);
  opacity: 0.8;
}

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

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

main {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 100px 20px;
  text-align: center;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 1.5rem;
}

/* HIGH-CONTRAST HERO */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 7rem;
  color: var(--text);
  text-shadow:
    0 0 30px var(--hero-shadow),
    0 0 60px var(--hero-shadow-secondary),
    0 5px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 10;
  transition: text-shadow var(--transition), color var(--transition);
}

[data-theme="light"] .hero h1 {
  color: #1a1a1a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

/* SKEUOMORPHIC FEATURE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
  gap: 3rem;
  padding: 60px 0;
  perspective: 1000px;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 360px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 3.5rem 2rem;
  position: relative;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: left;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, 0.05) 0px,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px,
      transparent 2px);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-20px) scale(1.05);
  border-color: var(--primary);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 179, 255, 0.2);
}

.card .icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  display: block;
  filter: drop-shadow(0 0 15px var(--primary));
}

.card .icon svg {
  width: 32px;
  height: 32px;
}

.card .icon svg * {
  stroke: var(--primary) !important;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0, 179, 255, 0.2);
}

.card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.2rem;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card-link:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: translateX(4px);
}

.service-detail {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: var(--text);
}

.service-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 780px;
}

.service-detail h1 {
  color: var(--primary);
}

.service-detail h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-top: 1px dotted var(--primary);
  padding-top: 24px;
}

.service-detail p {
  color: var(--text-muted);
  line-height: 1.75;
}

.service-detail ul {
  margin: 0.9rem 0 1.5rem 1.2rem;
  color: var(--text-muted);
}

.service-detail li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

/* SKEUOMORPHIC BUTTON (SHINY) */
.button {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: linear-gradient(180deg, #1a1d24 0%, #0d0f13 100%);
  border: 1px solid var(--primary);
  border-radius: 100px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.4rem;
  text-decoration: none;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    0 15px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

[data-theme="light"] .button {
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 100%);
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 50px var(--primary);
  transform: scale(1.05);
}

/* FOOTER STATUS INDICATOR */
footer {
  text-align: center;
  padding: 60px 0;
  font-size: 0.8rem;
  opacity: 0.7;
  color: var(--primary);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 0.1rem;
  color: var(--text);
}

.dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* CONTACT SECTION ANCHOR */
#contact {
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(circle at center, rgba(0, 179, 255, 0.1) 0%, transparent 70%);
  border-radius: 100px;
  padding: 60px 20px;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

[data-theme="light"] #contact {
    background: radial-gradient(circle at center, rgba(0, 119, 204, 0.05) 0%, transparent 70%);
}

#contact p,
.pre-button {
  margin-bottom: 3.5rem;
}

.lucide-chevron-left-icon {
  margin-bottom: -5px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  header {
    padding: 1.25rem;
  }

  nav ul {
    gap: 1.25rem;
  }

  main {
    padding-top: 84px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
    letter-spacing: 0.5rem;
  }

  nav ul {
    display: none;
  }

  .service-detail {
    margin: 0 16px;
    padding: 16px 24px;
  }

  .button {
    padding: 1.2rem 2rem !important;
  }
}
