/* ========================================================================== */
/*  Variables                                                                 */
/* ========================================================================== */

:root {
  /* Colors */
  --color-background: #050816; /* deep, techy background */
  --color-surface: #0b1020;
  --color-surface-alt: #111827;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;

  --color-primary: #3b82f6; /* blue accent for trust */
  --color-primary-soft: rgba(59, 130, 246, 0.12);
  --color-primary-strong: #2563eb;

  --color-success: #22c55e;
  --color-warning: #fbbf24;
  --color-danger: #ef4444;

  --color-border-subtle: #1f2933;
  --color-border-strong: #374151;

  /* Neutral grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Base sizing scale (desktop-first, responsive via media queries) */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */

  --line-tight: 1.2;
  --line-snug: 1.35;
  --line-normal: 1.5;
  --line-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows (subtle, modern) */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.35);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.55);
  --shadow-soft-border: 0 0 0 1px rgba(148, 163, 184, 0.12);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 180ms ease-out;
  --transition-slow: 250ms ease-out;

  /* Layout */
  --container-width: 1200px;
  --container-padding-x: 1.25rem;
}

@media (max-width: 768px) {
  :root {
    --text-3xl: 1.75rem;
    --text-4xl: 2rem;
    --container-padding-x: 1rem;
  }
}

/* ========================================================================== */
/*  Reset / Normalize                                                         */
/* ========================================================================== */

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
}

img,
video,
canvas,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

button {
  cursor: pointer;
}

button:disabled,
[disabled] {
  cursor: not-allowed;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

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

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

/* ========================================================================== */
/*  Base                                                                      */
/* ========================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%),
    var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: var(--line-tight);
  letter-spacing: 0.01em;
  color: #e5e7eb;
}

h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

code,
pre {
  font-family: var(--font-mono);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast),
    text-decoration-color var(--transition-fast),
    opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
}

a:active {
  opacity: 0.85;
}

hr {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin: var(--space-6) 0;
}

/* ========================================================================== */
/*  Accessibility                                                             */
/* ========================================================================== */

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== */
/*  Utilities                                                                 */
/* ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--dense {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

/* Flex helpers */

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Grid helpers */

.grid {
  display: grid;
}

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

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

.grid-gap-4 {
  gap: var(--space-4);
}

.grid-gap-6 {
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Utility spacing (small set for layout) */

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.15);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

/* ========================================================================== */
/*  Components                                                                */
/* ========================================================================== */

/* Buttons */

.btn {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-primary-strong);
  --btn-color: #0b1120;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--btn-border);
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.25) 0, transparent 40%),
    var(--btn-bg);
  color: var(--btn-color);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.45);
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast),
    border-color var(--transition-normal),
    opacity var(--transition-fast);
}

.btn:hover {
  background: var(--btn-bg-hover);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.7);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  box-shadow: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(15, 23, 42, 0.9);
  --btn-color: var(--color-text);
  --btn-border: rgba(148, 163, 184, 0.6);

  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(37, 99, 235, 0.1);
  --btn-color: var(--color-primary);
  --btn-border: rgba(59, 130, 246, 0.6);

  box-shadow: none;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: var(--text-base);
}

/* Form elements */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-4);
}

label {
  font-size: var(--text-sm);
  color: #e5e7eb;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.3) 0, transparent 40%),
    rgba(15, 23, 42, 0.96);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.4;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(148, 163, 184, 0.85);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 0 1px rgba(37, 99, 235, 0.7),
    0 18px 35px rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

/* Cards (service cards, testimonial boxes, etc.) */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 45%),
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.3) 0, transparent 55%),
    var(--color-surface);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft-border), var(--shadow-sm);
  backdrop-filter: blur(16px);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal),
    background-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: var(--shadow-md);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.card-body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.card-footer {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Status / helper text (for pricing, availability, etc.) */

.text-muted {
  color: var(--color-text-muted);
}

.text-success {
  color: var(--color-success);
}

.text-warning {
  color: var(--color-warning);
}

.text-danger {
  color: var(--color-danger);
}

.badge-success {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.7);
}

.badge-warning {
  background: rgba(234, 179, 8, 0.18);
  color: #fef9c3;
  border: 1px solid rgba(234, 179, 8, 0.7);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.7);
}

/* Simple testimonial text style */

.testimonial-quote {
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  position: relative;
}

.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: -0.6em;
  top: -0.2em;
  font-size: 3rem;
  line-height: 1;
  color: rgba(59, 130, 246, 0.4);
}

.testimonial-author {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Hero-esque heading styling for the main page */

.hero-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(129, 140, 248, 0.9);
  margin-bottom: var(--space-2);
}

.hero-title {
  font-size: clamp(2.3rem, 3vw + 1.3rem, 3.2rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 38rem;
}

/* Simple tag list (e.g., supported devices, OS, etc.) */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.8);
}

/* Simple table style for pricing / service times */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table thead {
  background: rgba(15, 23, 42, 0.85);
}

.table th,
.table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.table th {
  font-weight: 500;
  color: #e5e7eb;
}

.table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.5);
}

.table tbody tr:hover {
  background: rgba(30, 64, 175, 0.16);
}
