/* © 2025 DiverseTek™ LLC. All Rights Reserved.
   Global base styles for www.diversetek.com */

/* ------------------------------
   ROOT + GLOBAL TOKENS
---------------------------------*/
:root {
  /* Brand colors */
  --dt-bg: #05070d;
  --dt-surface: rgba(10, 12, 26, 0.9);
  --dt-surface-soft: rgba(12, 16, 32, 0.85);
  --dt-border-soft: rgba(255, 255, 255, 0.08);
  --dt-border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --dt-text: #e6ebff;
  --dt-text-soft: #c2c7e4;
  --dt-text-muted: #a3aac7;

  /* Brand gradients */
  --grad-diverse: linear-gradient(
    90deg,
    #1fb6ff,
    #4f46e5,
    #7c3aed,
    #ec4899
  );
  --grad-tek: linear-gradient(90deg, #f97316, #fb923c, #facc15);

  --brand-amber: #f97316;
  --brand-amber-soft: rgba(249, 115, 22, 0.85);

  /* Accent */
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;

  /* Radius, shadows */
  --radius-lg: 22px;
  --radius-xl: 26px;
  --shadow-elevated: 0 18px 50px rgba(0, 0, 0, 0.9);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.6);

  /* Layout */
  --max-width: 1080px;

  /* Typography */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Inter", "Roboto", sans-serif;
  --font-size-base: 17px;
}

/* ------------------------------
   RESET / BASE
---------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dt-text);
  background-color: var(--dt-bg);
  -webkit-font-smoothing: antialiased;
}

/* Background container with animated gradient in iframe behind */
#dt-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

#dt-bg iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Optional fallback background if iframe doesn't load */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(248, 113, 113, 0.32), transparent 60%),
    radial-gradient(circle at 50% 10%, rgba(129, 140, 248, 0.26), transparent 60%),
    linear-gradient(135deg, #020617, #020617);
  z-index: -2;
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body::before {
    background:
      radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
      radial-gradient(circle at 80% 80%, rgba(248, 113, 113, 0.18), transparent 60%),
      linear-gradient(135deg, #020617, #020617);
  }
}

/* Utility wrappers */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.section {
  padding: 3.2rem 1.3rem;
}

.max-width {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ------------------------------
   TYPOGRAPHY
---------------------------------*/
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* Slightly brighter h1 with soft glow */
h1 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: #f9fafb;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.24);
}

.hero-title {
  color: var(--brand-amber);
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
}

/* Brand-colored h2 / h3 */
h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--accent-blue);
}

h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  color: var(--brand-amber);
}

p {
  margin: 0 0 0.75rem;
  color: var(--dt-text-soft);
}

/* Make eyebrow “OUR SERVICES” behave like a colorful header */
.eyebrow {
  display: inline-block;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.26), transparent 60%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e0f2fe;
}

/* Lists */
ul {
  padding-left: 1.2rem;
}

/* Links */
a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------
   HEADER / NAV
---------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  /* Match logo background navy so it all blends together */
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Logo image aligned to wordmark height */
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Gradient wordmark */
.brand-wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Keep circular chip style available if needed elsewhere */
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fef3c7, #f59e0b, #ea580c);
  box-shadow: 0 0 0 2px rgba(248, 250, 252, 0.08),
    0 0 18px rgba(248, 181, 76, 0.7);
}

/* DiverseTek gradient text */
.brand-diverse {
  /* Horizontal gradient to match logo text "Diverse" */
  background: linear-gradient(
    90deg,
    #24B1FF 0%,   /* bright cyan at the D */
    #1E8EFF 30%,  /* stronger blue through "Div" */
    #1D63DD 55%,  /* rich blue around the "er" */
    #5145C4 78%,  /* indigo transition at the "s"  */
    #8B5CF6 100%  /* purple at the final "e"       */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tek {
  /* Vertical gradient: yellow top fading into rich orange, like logo "Tek" */
  background: linear-gradient(
    180deg,
    #FFC52A 0%,   /* yellow highlight at top of letters */
    #FF8A1C 40%,  /* mid orange */
    #E15806 100%  /* deep orange at bottom */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-diverse,
.brand-tek {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--dt-text-soft);
  text-decoration: none;
  transition: background 0.18s ease-out, color 0.18s ease-out,
    transform 0.18s ease-out;
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.18);
  color: #e5edff;
  transform: translateY(-1px);
}

.nav-link--active {
  background: rgba(15, 23, 42, 0.95);
  color: #e5edff;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

/* Language toggle */
.lang-toggle {
  margin-left: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.26), #020617);
  color: #e5edff;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease-out, box-shadow 0.2s ease-out,
    transform 0.2s ease-out, border-color 0.2s ease-out;
}

.lang-toggle:hover {
  background: radial-gradient(circle at 80% 0, rgba(251, 146, 60, 0.44), #020617);
  border-color: rgba(248, 250, 252, 0.7);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.9);
  padding: 0 6px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: #e5edff;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-toggle--open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle--open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------
   BUTTONS
---------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    background 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}

.btn-primary {
  background-image: linear-gradient(
    120deg,
    #22d3ee,
    #4f46e5,
    #a855f7,
    #fb923c
  );
  color: #020617;
  box-shadow: var(--shadow-elevated);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--dt-border-strong);
  color: var(--dt-text-soft);
}

.btn-ghost:hover {
  background: rgba(30, 64, 175, 0.6);
  border-color: rgba(191, 219, 254, 0.9);
  color: #e5edff;
}

.btn-small {
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* ------------------------------
   GLASS CARDS / LAYOUT COMPONENTS
---------------------------------*/
.glass-card {
  border-radius: var(--radius-xl);
  background: var(--dt-surface-soft);
  border: 1px solid var(--dt-border-soft);
  box-shadow: var(--shadow-elevated);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.32),
    transparent 60%
  );
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glass-card--accent::before,
.hero-panel--accent::before {
  background: radial-gradient(
    circle at top right,
    rgba(251, 146, 60, 0.42),
    transparent 60%
  );
}

/* Hero layout */
.hero-section {
  padding-top: 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.hero-lead {
  max-width: 36rem;
}

/* More colorful hero list */
.hero-list {
  margin-top: 0.5rem;
  color: #d4e4ff;
  font-size: 0.96rem;
}

.hero-list li::marker {
  color: var(--accent-blue);
}

/* CTA row polished pill */
.hero-cta-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* center the two buttons */
  gap: 0.75rem;
  padding: 0;
  max-width: none;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-panel {
  font-size: 0.92rem;
}

.hero-panel h2 {
  margin-bottom: 0.4rem;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-cyan); /* same family as your other cyan accents */
}

/* Slightly smaller / taller on phones for readability */
@media (max-width: 640px) {
  .hero-kicker {
    font-size: 0.82rem;
    line-height: 1.6;
  }
}

/* Extra breathing room inside the main hero card on the home page */
.hero.section .hero-panel {
  padding-bottom: 3.2rem; /* adds space between button and bottom border */
}

/* Nudge the main CTA away from the paragraph a bit */
.btn-hero {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Hero badges with individual color accents */
.hero-badges {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-badges li {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--dt-border-strong);
  background: rgba(15, 23, 42, 0.9);
}

/* Color-tinted badges */
.hero-badges li:nth-child(1) {
  border-color: rgba(56, 189, 248, 0.9);
  color: #e0f2fe;
}

.hero-badges li:nth-child(2) {
  border-color: rgba(168, 85, 247, 0.9);
  color: #f5e9ff;
}

.hero-badges li:nth-child(3) {
  border-color: rgba(249, 115, 22, 0.9);
  color: #ffedd5;
}

/* Split section (Resident vs Business) */
.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header p {
  max-width: 36rem;
  margin: 0.25rem auto 0;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.split-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.split-card:hover {
  transform: translateY(-6px) rotate3d(1, 0, 0, 4deg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95);
}

.split-title {
  margin-bottom: 0.4rem;
}

.split-lead {
  margin-bottom: 0.6rem;
}

.split-list {
  margin-bottom: 0.9rem;
  color: var(--dt-text-soft);
}

.split-card--business::before {
  background: radial-gradient(
    circle at bottom right,
    rgba(251, 146, 60, 0.36),
    transparent 60%
  );
}

.split-cta {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  /* This creates the left/right gap you asked for */
  padding-inline: 0.9rem;
}

/* Pricing strip */
.pricing-strip-section {
  padding-top: 1.5rem;
}

.pricing-strip {
  text-align: left;
}

.pricing-strip-header h2 {
  margin-bottom: 0.25rem;
}

.pricing-strip-header p {
  margin-bottom: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 0.8rem;
}

.pricing-item h3 {
  margin-bottom: 0.25rem;
}

.pricing-main {
  font-size: 1.1rem;
  font-weight: 650;
  color: #e5edff;
}

.pricing-sub {
  font-size: 0.88rem;
  color: var(--dt-text-soft);
  margin-bottom: 0.75rem;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--dt-text-soft);
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.trust-list {
  color: var(--dt-text-soft);
}

.trust-card--highlight::before {
  background: radial-gradient(
    circle at top right,
    rgba(251, 146, 60, 0.42),
    transparent 60%
  );
}

/* ------------------------------
   SCROLL REVEAL ANIMATION
---------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   FOOTER
---------------------------------*/
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  padding: 1rem 1.3rem 1.4rem;
  font-size: 0.86rem;
  color: var(--dt-text-muted);
  background: rgba(2, 6, 23, 0.96);
}

.site-footer > div {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--dt-text-muted);
  margin-left: 0.75rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5edff;
  text-decoration: underline;
}

/* ------------------------------
   RESPONSIVE
---------------------------------*/
@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 2.6rem 1rem;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .site-nav {
    position: fixed;
    inset: 56px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 1rem;
    background: rgba(3, 7, 18, 0.97);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease-out, opacity 0.22s ease-out;
  }

  .site-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .lang-toggle {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    margin-top: 0.3rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px; /* Slightly smaller base, but still readable */
  }

  h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .glass-card {
    padding: 1.2rem 1.1rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .split-cta {
    padding-inline: 0.6rem;
  }
}

/* --- DiverseTek welcome splash overlay --- */
/* --- DiverseTek welcome splash overlay (polished) --- */
.dt-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* deep navy backdrop + gentle vignette */
  background: radial-gradient(circle at center, #020617 0%, #020617 55%, #00010a 100%);
  backdrop-filter: blur(4px);

  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

/* big soft golden glow behind the logo */
.dt-splash::before {
  content: "";
  position: absolute;
  width: 120vmin;
  height: 120vmin;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 197, 42, 0.32) 0%,
    rgba(255, 197, 42, 0.12) 35%,
    transparent 70%
  );
  filter: blur(12px);
  opacity: 0.9;
  z-index: 0;
}

.dt-splash__logo {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 820px);
  height: auto;
  image-rendering: auto;
  filter:
    drop-shadow(0 0 40px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 55px rgba(250, 204, 21, 0.5));

  /* gentle zoom-in so it feels alive */
  animation: dt-splash-zoom 2.4s ease-out;
}

.dt-splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* keyframes for the logo zoom */
@keyframes dt-splash-zoom {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.03);
    opacity: 1;
  }
}


