/* ========================================
   77 Security — Netlify-inspired Dark Theme
   ======================================== */

:root {
  --bg:        #0d1b1b;
  --bg-card:   #0f2424;
  --bg-raised: #132e2e;
  --teal:      #00c7b7;
  --teal-dim:  #00a99a;
  --teal-glow: rgba(0, 199, 183, 0.15);
  --teal-faint:rgba(0, 199, 183, 0.07);
  --border:    rgba(255, 255, 255, 0.08);
  --border-teal: rgba(0, 199, 183, 0.25);
  --white:     #ffffff;
  --text:      rgba(255, 255, 255, 0.9);
  --text-dim:  rgba(255, 255, 255, 0.55);
  --text-faint:rgba(255, 255, 255, 0.35);
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--teal {
  background: var(--teal);
  color: #0a1a1a;
  border-color: var(--teal);
}
.btn--teal:hover {
  background: #00ddd0;
  border-color: #00ddd0;
  box-shadow: 0 0 24px rgba(0, 199, 183, 0.35);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

.btn--small  { padding: 8px 16px; font-size: 14px; }
.btn--large  { padding: 14px 32px; font-size: 16px; }

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__logo span { color: var(--teal); }
.nav__logo--num {
  background: linear-gradient(135deg, var(--teal) 0%, #5ee7e0 50%, #a8f0eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a:not(.btn) {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:not(.btn):hover { color: var(--white); }

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__canvas ~ * { position: relative; z-index: 1; }

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--left {
  top: -100px; left: -200px;
  background: radial-gradient(circle, rgba(0, 199, 183, 0.12) 0%, transparent 70%);
}
.hero__glow--right {
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(0, 120, 180, 0.1) 0%, transparent 70%);
}

.hero__inner { position: relative; max-width: 820px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-faint);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.badge__dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title--gradient {
  display: block;
  background: linear-gradient(135deg, var(--teal) 0%, #5ee7e0 50%, #a8f0eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.cert-pill svg { color: var(--teal); flex-shrink: 0; }

/* ========================================
   TRUST BAR
   ======================================== */

.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}

.trust__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust__label {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust__ticker {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
}

.trust__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust__track span {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}
.trust__dot { color: var(--teal) !important; }

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.section-eyebrow--teal { color: var(--teal); }

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   PROBLEM
   ======================================== */

.problem {
  padding: 72px 0;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.problem__card {
  background: var(--bg-card);
  padding: 40px 36px;
  transition: background 0.2s;
}
.problem__card:hover { background: var(--bg-raised); }

.problem__card + .problem__card {
  border-left: 1px solid var(--border);
}

.problem__card-icon {
  width: 44px; height: 44px;
  background: var(--teal-faint);
  border: 1px solid var(--border-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.problem__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.problem__card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ========================================
   SERVICES
   ======================================== */

.services {
  padding: 72px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,199,183,0.02) 50%, transparent 100%);
}

/* Featured service */
.service-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.service-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.service-featured__tag {
  display: inline-block;
  background: var(--teal);
  color: #0a1a1a;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-featured__content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-featured__content p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Code block */
.code-block {
  background: #071212;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
}

.code-block__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.code-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.code-dot--red    { background: #ff5f57; }
.code-dot--yellow { background: #febc2e; }
.code-dot--green  { background: #28c840; }

.code-block__title {
  margin-left: 8px;
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-faint);
}

.code-block__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.code-line { color: rgba(255,255,255,0.6); line-height: 1.6; }
.code-comment { color: rgba(255,255,255,0.25); }
.code-key { color: #7dd3fc; }
.code-colon { color: rgba(255,255,255,0.4); }
.code-val--red    { color: #f87171; }
.code-val--orange { color: #fb923c; }
.code-val--yellow { color: #fbbf24; }
.code-val--green  { color: #4ade80; }

/* Check list */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.check-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.check-list--small li { font-size: 13px; }

/* Service grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-teal);
  background: var(--bg-raised);
  transform: translateY(-2px);
}

.service-card--highlight {
  border-color: var(--border-teal);
}

.service-card__tag {
  display: inline-block;
  background: var(--teal-faint);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: fit-content;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.service-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.15s;
  margin-top: auto;
}
.service-card__link:hover { color: #00ddd0; }

/* ========================================
   ABOUT
   ======================================== */

.about {
  padding: 72px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__text .section-eyebrow { display: block; text-align: left; }

.about__text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.about__text p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__text strong { color: var(--white); font-weight: 600; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about__stat {
  background: var(--bg-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}
.about__stat:hover { background: var(--bg-raised); }

.about__stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1px;
  line-height: 1;
}

.about__stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  line-height: 1.5;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  padding: 72px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,199,183,0.03) 100%);
  border-top: 1px solid var(--border);
}

.contact__inner { max-width: 680px; margin: 0 auto; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.15s, background 0.15s;
  outline: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-faint);
}

.form__group select option {
  background: #0f2424;
  color: var(--white);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--teal);
  background: rgba(0, 199, 183, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 199, 183, 0.08);
}

.form__group textarea { resize: vertical; }

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__logo { font-size: 20px; display: block; margin-bottom: 12px; }

.footer__brand p {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
}

.footer__location {
  margin-top: 8px;
  font-size: 12px !important;
  color: var(--text-faint) !important;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */

#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #5ee7e0);
  z-index: 200;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ========================================
   FORM SUCCESS / ERROR
   ======================================== */

.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
  min-height: 260px;
}

.form__success svg {
  color: var(--teal);
  stroke: var(--teal);
}

.form__success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.form__success p {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 340px;
  line-height: 1.7;
}

.form__error {
  font-size: 13px;
  color: #f87171;
  text-align: center;
  padding: 4px 0;
}

/* ========================================
   FADE-IN ANIMATIONS
   ======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards within grids */
.problem__grid .fade-up:nth-child(2),
.services__grid .fade-up:nth-child(2),
.services__grid .fade-up:nth-child(5) { transition-delay: 0.1s; }

.problem__grid .fade-up:nth-child(3),
.services__grid .fade-up:nth-child(3),
.services__grid .fade-up:nth-child(6) { transition-delay: 0.2s; }

.services__grid .fade-up:nth-child(4) { transition-delay: 0.1s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ========================================
   ACTIVE NAV LINK
   ======================================== */

.nav__links a.active {
  color: var(--teal) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  /* Mobile nav menu */
  .nav__links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 27, 27, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .nav--open .nav__links {
    display: flex;
  }
  .nav__links a:not(.btn) {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links .btn {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
  }
  .nav__mobile-toggle { display: block; }

  .hero { padding: 90px 0 56px; }
  .problem, .services, .about, .contact { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  .trust__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust__ticker { width: 100%; }

  .problem__grid { grid-template-columns: 1fr; }
  .problem__card + .problem__card { border-left: none; border-top: 1px solid var(--border); }

  .service-featured {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

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

  .about__inner { grid-template-columns: 1fr; gap: 48px; }

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

  .contact__form { padding: 28px 20px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
/* cache-bust 1773283418 */
