/* ==========================================================================
   TomerTech - Core Design System & Global Styles
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --line-hover: #cbd5e1;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --brand-blue: #2563eb;
  --brand-gradient: linear-gradient(135deg, #0d9488 0%, #2563eb 100%);
  --brand-gradient-soft: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08) 0%,
    rgba(37, 99, 235, 0.08) 100%
  );

  --max: 1120px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md:
    0 10px 25px -5px rgba(15, 23, 42, 0.05),
    0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-hover:
    0 20px 30px -10px rgba(13, 148, 136, 0.12),
    0 10px 15px -5px rgba(37, 99, 235, 0.07);
}

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

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

body {
  margin: 0;
  font-family:
    "IBM Plex Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Glow Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(13, 148, 136, 0.05) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 45%
    );
  pointer-events: none;
  z-index: -1;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.06) translateY(-15px);
  }
}

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

/* ==========================================================================
   Mobile Navigation Breakpoint (< 960px)
   ========================================================================== */
@media (max-width: 960px) {
  /* Show hamburger button */
  .nav-toggle {
    display: flex;
  }

  /* Hide default horizontal nav bar */
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    z-index: 99;
  }

  /* Visible state triggered by js/main.js */
  .site-nav.open,
  .site-nav.is-open {
    display: block;
    animation: fadeInUp 0.25s ease both;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-cta-item {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }

  .site-nav a.nav-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand-blue);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
p {
  margin: 0 0 16px;
}
.highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-view {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  background-color: #0284c7;
  color: #ffffff !important;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.btn-view:hover,
.btn-view:focus,
.btn-view:active {
  background-color: #0369a1;
  color: #ffffff !important;
  text-decoration: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.brand:hover {
  color: var(--accent);
}
.brand img {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand:hover img {
  transform: rotate(6deg) scale(1.05);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-nav a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
}
.site-nav a[aria-current="page"] {
  color: var(--accent);
  /* background: rgba(13, 148, 136, 0.08); */
  font-weight: 600;
}
.nav-cta-item {
  margin-left: 6px;
}
.site-nav a.nav-btn {
  background: var(--brand-gradient);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
}
.site-nav a.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  cursor: pointer;
  z-index: 110;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Ensure the hamburger lines are visibly rendered */
.nav-toggle-bar {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background-color: #0f172a !important;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

@media screen and (max-width: 1024px) {
  .site-header .wrap.header-inner {
    position: relative;
  }

  /* Force display of the hamburger button */
  .nav-toggle {
    display: inline-flex !important;
  }

  /* Dropdown container */
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem 1.75rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    z-index: 105;
  }

  /* When open class is added via JavaScript */
  .site-nav.open {
    display: block !important;
    animation: fadeInUp 0.2s ease both;
  }

  .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
  }

  .site-nav a:hover {
    background-color: #f1f5f9 !important;
    color: #0284c7 !important;
  }

  .nav-cta-item {
    margin-left: 0 !important;
    margin-top: 10px !important;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
  }

  .site-nav a.nav-btn {
    text-align: center !important;
    background: #0284c7 !important;
    color: #ffffff !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--brand-gradient);
  color: #fff;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Shared Badges, Eyebrows & Page Heads
   ========================================================================== */
.page-head {
  padding: 80px 0 56px;
  text-align: center;
  /* margin-top: 44px; */
  margin-bottom: 84px;
}
.page-head-inner {
  max-width: 760px;
  margin: 0 auto;
  animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.page-head h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-head .lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 auto;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.row-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   Shared Floating CTA Box
   ========================================================================== */
/* .cta {
  background: transparent;
  padding: 40px 0 88px;
}
.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.3) 0%,
    rgba(37, 99, 235, 0.15) 50%,
    transparent 80%
  );
  filter: blur(40px);
  pointer-events: none;
}
.cta-box h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  color: #94a3b8;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.cta-box .btn-row {
  justify-content: center;
  position: relative;
  z-index: 1;
}
.cta-box .btn {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  font-weight: 600;
}
.cta-box .btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
} */

.cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.3) 0%,
    rgba(37, 99, 235, 0.15) 50%,
    transparent 80%
  );
  filter: blur(40px);
  pointer-events: none;
}
.cta h2 {
  color: #fff;
  max-width: 20em;
}
.cta p {
  color: #94a3b8;
  max-width: 34em;
  font-size: 1.08rem;
}
.cta .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.cta .btn:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
/* .site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-grid h2 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li {
  margin-bottom: 10px;
}
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-grid a:hover {
  color: var(--brand-blue);
  transform: translateX(4px);
}
.footer-about {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.copyright {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
} */
/* Sleek Light Theme Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #eef2f6;
  color: #64748b;
  padding: 5rem 0 2.5rem;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

/* Primary Layout: Split between Brand block and Link Directory */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 4rem;
}

/* Brand Identity Column */
.footer-brand-pane {
  max-width: 380px;
  flex-shrink: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.brand-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.footer-brand:hover .brand-avatar {
  transform: scale(1.05);
  border-color: #cbd5e1;
}

.brand-avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.brand-title {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 1.25rem 0;
}

/* Live Availability Tag */
.company-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 1.75rem;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Micro Action Chips (LinkedIn, GitHub, Email) */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.social-chip svg {
  stroke: #64748b;
  transition: stroke 0.2s ease;
}

.social-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0284c7;
  transform: translateY(-1px);
}

.social-chip:hover svg {
  stroke: #0284c7;
}

/* Directory Nav Columns */
.footer-nav-groups {
  display: flex;
  gap: 4.5rem;
}

.nav-header {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nav-list a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 450;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
  display: inline-block;
}

.nav-list a:hover {
  color: #0284c7;
  transform: translateX(2px);
}

/* Sub-Footer / Bottom Strip */
.footer-sub {
  padding-top: 1.75rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.copyright-text {
  margin: 0;
}

.sub-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.location-badge {
  font-weight: 500;
  color: #64748b;
  display: inline-flex;
  align-items: center;
}

.location-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  margin-right: 0.5rem;
}

.scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.scroll-top-btn:hover {
  color: #0284c7;
  border-color: #cbd5e1;
  background: #ffffff;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 960px) {
  .footer-main {
    flex-direction: column;
    gap: 3rem;
  }
  .footer-brand-pane {
    max-width: 100%;
  }
  .footer-nav-groups {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 3.5rem 0 2rem;
  }
  .footer-nav-groups {
    flex-direction: column;
    gap: 2.25rem;
  }
  .footer-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .sub-actions {
    width: 100%;
    justify-content: space-between;
  }
}
