:root{
  --bg: linear-gradient(135deg, #0a0e27 0%, #1e3a5f 50%, #0f172a 100%);
  --surface: rgba(15, 23, 42, 0.5);
  --surface-alt: rgba(6, 182, 212, 0.08);
  --muted: #cbd5e1;
  --brand: #0ea5e9;
  --brand-2: #06b6d4;
  --brand-3: #3b82f6;
  --text: #f1f5f9;
  --radius: 20px;
  --glass: rgba(15, 23, 42, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

*{
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

img {
  max-width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

/* === HEADER & NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(199, 210, 254, 0.3);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

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

.logo {
  width: 56px;
  height: 56px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.brand h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
  position: relative;
}

.site-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.site-nav a:hover::before {
  opacity: 1;
}

.site-nav a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  animation: fadeInUp 0.6s ease;
}

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

.hero-copy {
  align-self: center;
}

.eyebrow {
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin: 0 0 1rem;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
  line-height: 1.1;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.05rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

/* === BUTTONS === */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  border: 0;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

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

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.4);
}

.button:active {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand);
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

/* === HERO PANEL === */
.hero-panel {
  display: grid;
  gap: 1.5rem;
}

.panel-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(199, 210, 254, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

.panel-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.panel-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === SECTIONS === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  scroll-margin-top: 80px;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.about p, .services p, .contact p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.services-grid article {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 210, 254, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.services-grid article:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.8);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(15px);
}

.services-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.services-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CONTACT === */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--surface), var(--surface-alt));
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 210, 254, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.contact:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.5);
}

.contact a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact a:hover {
  color: var(--brand-2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.service-request-form {
  flex: 1 1 360px;
  min-width: 280px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.service-request-form h3 {
  margin: 0 0 0.4rem;
}

.service-request-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.service-request-form input,
.service-request-form select,
.service-request-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: rgba(15, 23, 42, 0.6);
}

.service-request-form input:focus,
.service-request-form select:focus,
.service-request-form textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.4);
  border-color: var(--brand);
}

.request-status {
  min-height: 1.2em;
  margin: 0;
  color: #bfdbfe;
  font-size: 0.9rem;
}

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid rgba(199, 210, 254, 0.2);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
}

/* === RESPONSIVE === */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 500px;
    align-items: center;
    padding: 4rem 3rem;
    gap: 3rem;
  }
  .hero-panel {
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }
  .hero {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  .section {
    padding: 2rem 1.25rem;
  }
  .button {
    width: 100%;
    justify-content: center;
  }
}

/* === HELPERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

