/* PROTECTDATA SHIELD LLC — Digital Fortress Theme */

:root {
  --navy-deep: #0A1128;
  --slate: #1E2A3E;
  --cyan: #00E5FF;
  --blue: #4D8AF0;
  --white: #FFFFFF;
  --amber: #FFB74D;
  --text-muted: #94A3B8;
  --border: rgba(0, 229, 255, 0.15);
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Roboto', 'Open Sans', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Brand lockup: logo never cropped ── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover { color: inherit; }

.brand__logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand__tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(0, 229, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(77, 138, 240, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
  animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 48px 48px, 48px 48px; }
}

@keyframes heroGlow {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero__badge {
  animation: fadeSlideUp 0.8s ease both;
}

.hero__title {
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero__subtitle {
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero__actions {
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.trust-badges {
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-badge {
  transition: border-color 0.3s, box-shadow 0.3s;
}

.trust-badge:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.stat {
  animation: fadeSlideUp 0.7s ease both;
}

.stat:nth-child(1) { animation-delay: 0.05s; }
.stat:nth-child(2) { animation-delay: 0.15s; }
.stat:nth-child(3) { animation-delay: 0.25s; }
.stat:nth-child(4) { animation-delay: 0.35s; }

.card {
  animation: fadeSlideUp 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .hero__grid,
  .hero::before,
  .hero__badge,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .trust-badges,
  .stat,
  .card {
    animation: none;
  }
}

.hero .container { position: relative; z-index: 3; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(0, 229, 255, 0.05);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 20px;
}

.hero__title span { color: var(--cyan); }

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--navy-deep);
}

.btn-primary:hover {
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
}

/* ── Trust badges ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--slate);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.trust-badge__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.75rem;
}

/* ── Stats ── */
.stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(30, 42, 62, 0.4);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Sections ── */
.section {
  padding: 80px 0;
}

.section--alt { background: rgba(30, 42, 62, 0.35); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--cyan);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Page header (inner pages) ── */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(30, 42, 62, 0.3);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero__desc {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

/* ── Content (legal / about) ── */
.content-block {
  padding: 64px 0;
}

.content-block .container {
  max-width: 820px;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--white);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--cyan);
}

.prose p, .prose li {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose li { margin-bottom: 8px; }

.prose strong { color: var(--white); font-weight: 600; }

.prose a { color: var(--cyan); }

.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  margin-bottom: 28px;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--white);
}

.contact-info__value.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}

.form-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.toast {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.toast--success {
  display: none;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan);
}

.toast--success.visible { display: flex; }

.toast__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ── About team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(77, 138, 240, 0.2));
  border: 2px solid var(--border);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.95rem;
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  padding: 24px;
  border-left: 3px solid var(--cyan);
  background: rgba(30, 42, 62, 0.5);
  border-radius: 0 8px 8px 0;
}

.value-item__title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 8px;
}

.value-item__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  background: rgba(10, 17, 40, 0.98);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand__logo {
  height: 44px;
  width: auto;
}

.footer-brand__desc {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-col a:hover { color: var(--white); }

.footer-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-legal a:hover { color: var(--cyan); }

main { flex: 1; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .product-block__inner { grid-template-columns: 1fr; }
  .product-block__inner--reverse .product-block__media { order: 0; }
}

/* ── Products page ── */
.products-intro {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(30, 42, 62, 0.3);
}

.products-intro__text {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
  line-height: 1.75;
}

.product-catalog {
  padding: 64px 0;
}

.product-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.product-block:last-child { border-bottom: none; }

.product-block--alt {
  background: rgba(30, 42, 62, 0.35);
}

.product-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-block__inner--reverse .product-block__media {
  order: 2;
}

.product-block__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.product-block__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.product-block__lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-block__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-block__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.product-detail-item {
  background: rgba(10, 17, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.product-detail-item__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.product-detail-item__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.products-cta {
  padding: 80px 0;
  text-align: center;
  background: rgba(30, 42, 62, 0.35);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .site-nav.open { display: flex; }

  .site-nav a { width: 100%; text-align: left; }

  .site-header .container { position: relative; }

  .brand__name { font-size: 0.8rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .footer-top { grid-template-columns: 1fr; }

  .hero { padding: 72px 0 56px; }
}
