/* Phone Station – فون ستيشن
   Global Styles – RTL, Luxury Black & Silver Theme with Blue Accents */

/* CSS Variables for Brand Colors */
:root {
  --brand-blue: #00A8E8;
  --brand-blue-light: #33C3FF;
  --brand-blue-dark: #0077AA;
  --brand-blue-glow: rgba(0, 168, 232, 0.5);
  --brand-blue-subtle: rgba(0, 168, 232, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] body {
  /* Direction handled per element using .en-text / .ar-text helpers */
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #050505;
  color: #f5f5f5;
}

.en-text {
  direction: ltr;
  text-align: left;
}

.ar-text {
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

button {
  font-family: inherit;
}

.page {
  background: radial-gradient(circle at top, #111 0, #000 55%, #030303 100%);
  color: #f5f5f5;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 192, 192, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-text-main {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fdfdfd;
}

.logo-text-sub {
  font-size: 0.9rem;
  color: #d0d0d0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b3b3b3, #f5f5f5);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 260ms ease-out;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link--active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--brand-blue);
  background: radial-gradient(circle at top left, var(--brand-blue-dark) 0, #111 52%, #000 100%);
  color: #fdfdfd;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 18px var(--brand-blue-glow);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out,
    background 220ms ease-out;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 40px var(--brand-blue-glow);
  background: radial-gradient(circle at top, var(--brand-blue) 0, var(--brand-blue-dark) 50%, #000 100%);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(192, 192, 192, 0.7);
  border-radius: 999px;
  background: transparent;
  color: #f5f5f5;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f5f5f5;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: inherit;
  background: inherit;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding-block: 3.5rem 4rem;
  overflow: hidden;
}

.hero-video-wrapper {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 65px rgba(211, 211, 211, 0.5),
    0 0 145px rgba(240, 240, 240, 0.22);
  isolation: isolate;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.32), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.28), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: auto 0 6%;
  padding-inline: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e0e0e0;
}

.hero-title {
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 32rem;
  color: #f0f0f0;
}

.hero-cta-group {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--brand-blue);
  cursor: pointer;
  font-size: 0.95rem;
  background: radial-gradient(circle at top left, var(--brand-blue-light) 0, var(--brand-blue) 40%, var(--brand-blue-dark) 100%);
  color: #050505;
  box-shadow: 0 0 26px var(--brand-blue-glow);
  transition: transform 200ms ease-out, box-shadow 220ms ease-out,
    background 220ms ease-out, color 220ms ease-out;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 40px var(--brand-blue-glow);
  background: radial-gradient(circle at top, var(--brand-blue-light) 0, var(--brand-blue) 45%, var(--brand-blue-dark) 100%);
}

.btn-secondary {
  background: transparent;
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.7);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: radial-gradient(circle at top, #303030 0, #000 55%);
  box-shadow: 0 0 28px rgba(192, 192, 192, 0.45);
}

.hero-meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #d8d8d8;
  opacity: 0.95;
}

.hero-floating-phone {
  position: relative;
  width: min(220px, 38vw);
  aspect-ratio: 9 / 18;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  padding: 4px;
  background: radial-gradient(circle at 20% 0, #ffffff, #9f9f9f 45%, #1a1a1a 100%);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: radial-gradient(circle at top, #111 0, #000 55%, #050505 100%);
  position: relative;
  overflow: hidden;
}

.hero-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 55%);
}

.hero-phone-notch {
  position: absolute;
  top: 10px;
  inset-inline: 25%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
}

.hero-phone-glow {
  position: absolute;
  inset: auto -30% -32%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-floating-phone,
.hero-phone-glow {
  animation: phoneFloat 5200ms ease-in-out infinite alternate;
}

@keyframes phoneFloat {
  from {
    transform: translateY(0) translateX(0) rotate(-4deg);
  }
  to {
    transform: translateY(-10px) translateX(-4px) rotate(3deg);
  }
}

/* Sections */

section {
  padding-block: 4rem;
}

.section-dark {
  background: radial-gradient(circle at top, #111 0, #020202 55%, #000 100%);
}

/* Premium Services Section */
.services-section.premium-services {
  padding: 4rem 2rem;
  background: #0b0b0b;
}

/* Two-column layout on large screens */
@media (min-width: 1024px) {
  .services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: auto;
  }

  /* Keep text alignment consistent */
  .section-label,
  .services-title,
  .services-subtitle,
  .services-tagline {
    grid-column: 1;
  }

  .services-desc-ar {
    grid-column: 2;
  }
}

.services-container {
  max-width: 1100px;
  margin-inline: auto;
}

/* Micro label */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 1rem;
  text-transform: uppercase;
  direction: ltr;
  text-align: left;
}

/* Hero style headline */
.services-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  direction: ltr;
  text-align: left;
}

/* Arabic paragraph */
.services-desc-ar {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #e0e0e0;
  direction: rtl;
  text-align: right;
  opacity: 0.9;
}

/* Sales section divider */
.services-subtitle {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.6;
  direction: ltr;
  text-align: left;
}

/* Secondary tagline */
.services-tagline {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  color: #ffffff;
  direction: ltr;
  text-align: left;
}

/* Scroll-in motion */
.premium-services .services-title,
.premium-services .services-desc-ar,
.premium-services .services-tagline {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.48s ease-out;
}

.premium-services.in-view .services-title,
.premium-services.in-view .services-desc-ar,
.premium-services.in-view .services-tagline {
  opacity: 1;
  transform: translateY(0);
}

.trusted-section {
  border-bottom: 1px solid rgba(160, 160, 160, 0.35);
}

.trusted-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.trusted-logo {
  width: min(220px, 40vw);
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.35));
}

.trusted-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.brand-badge {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(210, 210, 210, 0.75);
  background: radial-gradient(circle at top, #ffffff 0, #bfbfbf 40%, #252525 100%);
  color: #050505;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(240, 240, 240, 0.45);
}

.section-light {
  background: linear-gradient(135deg, #101010, #1b1b1b);
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bdbdbd;
}

.section-title {
  font-size: 1.4rem;
  color: #ffffff;
}

.section-description {
  max-width: 32rem;
  color: #d8d8d8;
  font-size: 0.95rem;
}

/* About & Highlights */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-paragraph {
  color: #dedede;
  font-size: 0.98rem;
  line-height: 1.9;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 184, 184, 0.55);
  font-size: 0.78rem;
  color: #f0f0f0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(160, 160, 160, 0.4);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), #050505);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.8);
}

.metric-value {
  font-size: 1.4rem;
  color: #ffffff;
}

.metric-label {
  font-size: 0.8rem;
  color: #c8c8c8;
}

/* Services Grid (Home + Services page shared) */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: radial-gradient(circle at top, #262626 0, #050505 55%, #000 100%);
  border: 1px solid rgba(190, 190, 190, 0.4);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out,
    border-color 220ms ease-out;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease-out;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(240, 240, 240, 0.8);
  box-shadow: 0 0 50px rgba(230, 230, 230, 0.16);
}

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

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, var(--brand-blue-light) 0, var(--brand-blue) 40%, var(--brand-blue-dark) 100%);
  box-shadow: 0 0 18px var(--brand-blue-glow);
  margin-bottom: 1rem;
}

.service-icon svg {
  stroke: #ffffff;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #050505;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.service-description {
  font-size: 0.9rem;
  color: #dcdcdc;
  line-height: 1.8;
}

/* Hero banner small (inner pages) */

.inner-hero {
  padding-block: 3.5rem 2.5rem;
  background: radial-gradient(circle at top, #1b1b1b 0, #050505 55%, #000 100%);
  border-bottom: 1px solid rgba(180, 180, 180, 0.3);
}

.inner-hero-heading {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.inner-hero-subtitle {
  color: #d6d6d6;
  max-width: 32rem;
  font-size: 0.95rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: #e2e2e2;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.85rem;
  color: #bababa;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 194, 194, 0.7);
  background: radial-gradient(circle at top, #ffffff 0, #bbbbbb 42%, #2c2c2c 100%);
  color: #050505;
  font-size: 0.88rem;
  box-shadow: 0 0 24px rgba(230, 230, 230, 0.42);
  transition: transform 200ms ease-out, box-shadow 220ms ease-out;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(245, 245, 245, 0.5);
}

.location-text {
  color: #cfcfcf;
  font-size: 0.95rem;
}

/* Form */

.contact-form {
  padding: 1.8rem 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(180, 180, 180, 0.4);
  background: radial-gradient(circle at top, #191919 0, #050505 55%, #000 100%);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.9rem;
  color: #f1f1f1;
}

.form-input,
.form-textarea {
  border-radius: 14px;
  border: 1px solid rgba(160, 160, 160, 0.6);
  background: rgba(8, 8, 8, 0.9);
  color: #f5f5f5;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888;
}

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

.form-error {
  min-height: 1rem;
  font-size: 0.78rem;
  color: #ffb3b3;
}

.form-note {
  font-size: 0.8rem;
  color: #b9b9b9;
}

.btn-full {
  width: 100%;
}

.form-success {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #bdfcc3;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-success.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success[style*="color: #dc3545"],
.form-success[style*="color: rgb(220, 53, 69)"] {
  color: #ffb3b3 !important;
}

/* Form button loading state */
.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */

.site-footer {
  padding-block: 1.8rem 1.6rem;
  border-top: 1px solid rgba(160, 160, 160, 0.35);
  background: #000;
  color: #bfbfbf;
  font-size: 0.8rem;
}

/* Location */

.location-section {
  padding: 3rem 2rem;
  text-align: center;
  background: #0b0b0b;
  color: #ffffff;
}

.location-section .location-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.location-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  direction: ltr;
  text-align: left;
}

.location-address-en {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  color: #cfcfcf;
  direction: ltr;
  text-align: left;
}

.location-desc-ar {
  font-size: 1.1rem;
  margin-top: 1rem;
  direction: rtl;
  text-align: right;
  color: #e0e0e0;
}

.btn-map {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: #ffffff;
  color: #0b0b0b;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-map:hover {
  background: #e0e0e0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.footer-meta span {
  opacity: 0.9;
}

/* Scroll reveal */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */

.text-silver {
  color: #d9d9d9;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 56px;
    background: rgba(0, 0, 0, 0.96);
    padding: 1.25rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease-out, opacity 220ms ease-out;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-block: 2.5rem 3.25rem;
  }

  .hero-content {
    inset: auto 0 6%;
    padding-inline: 1.4rem;
  }

  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-floating-phone {
    align-self: center;
    order: -1;
    width: min(200px, 55vw);
  }

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

  .site-footer {
    padding-block: 1.5rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 480px);
  }

  .hero-content {
    inset: auto 0 8%;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}

/* Enhanced Partners Section with Brand Logos */
.partners-section {
  padding-block: 4rem;
  background: radial-gradient(circle at top, #111 0, #020202 55%, #000 100%);
  border-bottom: 1px solid rgba(160, 160, 160, 0.35);
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-subtitle {
  font-size: 1rem;
  color: #c0c0c0;
  max-width: 500px;
  margin: 0.5rem auto 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06) 0, transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: all 300ms ease-out;
  width: 100%;
  height: 90px;
  cursor: pointer;
}

.partner-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 32px rgba(0, 168, 232, 0.15);
  transform: translateY(-4px);
  background: radial-gradient(circle at top, rgba(0, 168, 232, 0.08) 0, transparent 60%);
}

.partner-logo {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.85;
  transition: all 300ms ease-out;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%) brightness(1.1);
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .partner-card {
    height: 80px;
    padding: 1rem;
  }
  .partner-logo {
    max-height: 45px;
  }
}

@media (max-width: 520px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .partner-card {
    height: 70px;
    padding: 0.75rem;
    border-radius: 12px;
  }
  .partner-logo {
    max-height: 40px;
  }
}

/* Services Page Hero */
.services-hero {
  position: relative;
  padding-block: 5rem 4rem;
  background: linear-gradient(135deg, #050505 0%, #0a1628 50%, #050505 100%);
  border-bottom: 1px solid rgba(0, 168, 232, 0.3);
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, var(--brand-blue-subtle) 0%, transparent 60%);
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  margin-bottom: 1rem;
}

.services-hero-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-blue);
}

.services-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.services-hero-title .highlight {
  color: var(--brand-blue);
  text-shadow: 0 0 40px var(--brand-blue-glow);
}

.services-hero-description {
  font-size: 1.1rem;
  color: #d0d0d0;
  line-height: 1.8;
  max-width: 480px;
}

.services-hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.services-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-showcase {
  position: relative;
  width: 280px;
  height: 320px;
}

.device-stack {
  position: absolute;
  width: 180px;
  height: 280px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 24px;
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 50px var(--brand-blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: deviceFloat 4s ease-in-out infinite;
}

.device-stack:nth-child(1) {
  left: 0;
  transform: rotate(-15deg) translateY(20px);
  z-index: 1;
}

.device-stack:nth-child(2) {
  left: 50px;
  z-index: 2;
  background: linear-gradient(145deg, #222, #111);
}

.device-stack:nth-child(3) {
  left: 100px;
  transform: rotate(15deg) translateY(20px);
  z-index: 1;
}

.device-stack svg {
  width: 60px;
  height: 60px;
  stroke: var(--brand-blue);
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rotation, 0deg)); }
}

@media (max-width: 960px) {
  .services-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .services-hero-description {
    margin: 0 auto;
  }
  .services-hero-stats {
    justify-content: center;
  }
  .services-hero-visual {
    order: -1;
  }
  .hero-device-showcase {
    width: 240px;
    height: 200px;
  }
  .device-stack {
    width: 120px;
    height: 180px;
  }
  .device-stack:nth-child(1) { left: 0; }
  .device-stack:nth-child(2) { left: 60px; }
  .device-stack:nth-child(3) { left: 120px; }
}

/* Contact links with blue accent */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--brand-blue);
  background: radial-gradient(circle at top, var(--brand-blue-dark) 0, #111 42%, #000 100%);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: 0 0 24px var(--brand-blue-subtle);
  transition: transform 200ms ease-out, box-shadow 220ms ease-out;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 36px var(--brand-blue-glow);
  background: radial-gradient(circle at top, var(--brand-blue) 0, var(--brand-blue-dark) 42%, #000 100%);
}

/* Metric values with blue accent */
.metric-value {
  font-size: 1.4rem;
  color: var(--brand-blue);
  font-weight: 700;
}


