/* =============================================
   100% Uptime LLC — Marketing Site
   Colors: charcoal #2C2C2A | green #3B6D11 | amber #FAC775
   ============================================= */

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

:root {
  --charcoal: #2C2C2A;
  --charcoal-light: #3E3E3C;
  --charcoal-dark: #1A1A18;
  --green: #3B6D11;
  --green-light: #4E8E17;
  --green-muted: #C0DD97;
  --amber: #FAC775;
  --amber-dark: #BA7517;
  --white: #FFFFFF;
  --off-white: #F5F4F0;
  --text-muted: #9B9B95;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--charcoal-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 26, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 90px; width: auto; }

nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-light) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--charcoal-dark);
}
.mobile-nav a {
  padding: 16px 24px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--amber); background: rgba(255,255,255,0.03); }
.mobile-nav.open { display: flex; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(59,109,17,0.4);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,109,17,0.5);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; padding: 16px; font-size: 1.05rem; }

/* ===== SECTION COMMON ===== */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.65); }

.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.shield-badge-icon {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}
.shield-badge span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-muted);
}
.shield-badge--amber span { color: var(--amber); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,24,0.95) 0%,
    rgba(26,26,24,0.8) 50%,
    rgba(44,44,42,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge { display: none; }

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.accent { color: var(--amber); }

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* ===== VIDEO ===== */
#video {
  padding: 80px 0;
  background: var(--charcoal);
}

.video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-frame {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  position: relative;
  aspect-ratio: 9 / 16;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FEATURES ===== */
#features { background: var(--charcoal-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.feature-card:hover {
  border-color: rgba(250,199,117,0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(250,199,117,0.1);
}
.feature-link-hint {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}
.feature-card:hover .feature-link-hint {
  opacity: 1;
  transform: translateX(0);
}

.feature-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.feature-card--wide .feature-card-img { overflow: hidden; }
.feature-card--wide .feature-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.feature-card--wide:hover .feature-card-img img { transform: scale(1.04); }
.feature-card--wide .feature-card-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }

.feature-card--accent {
  background: linear-gradient(135deg, var(--green) 0%, #2A4F0C 100%);
  border-color: rgba(59,109,17,0.5);
}

.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.feature-card p { font-size: 0.92rem; color: rgba(255,255,255,0.6); line-height: 1.65; }
.feature-card--accent p { color: rgba(255,255,255,0.8); }

/* ===== SECURITY ===== */
#security {
  position: relative;
  overflow: hidden;
}
.security-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.security-img { width: 100%; height: 100%; object-fit: cover; }
.security-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,0.97) 0%, rgba(26,26,24,0.88) 100%);
}
.security-content { position: relative; z-index: 1; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.security-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.security-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(250,199,117,0.3);
  transform: translateY(-3px);
}
.security-card--featured {
  grid-column: span 2;
  background: rgba(250,199,117,0.06);
  border-color: rgba(250,199,117,0.2);
}
.security-card--featured:hover { background: rgba(250,199,117,0.1); }

.security-icon { font-size: 1.8rem; margin-bottom: 14px; }
.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.security-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

.security-tag {
  display: inline-block;
  margin-top: 16px;
  background: rgba(250,199,117,0.15);
  color: var(--amber);
  border: 1px solid rgba(250,199,117,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== SECURITY EVAL ===== */
#security-eval {
  position: relative;
  background: #1E2018;
  overflow: hidden;
}

.sec-eval-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sec-eval-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,109,17,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,109,17,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.sec-eval-content { position: relative; z-index: 1; }

.sec-eval-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.sec-eval-left .shield-badge { margin-bottom: 14px; }

.sec-eval-left h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.sec-eval-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.sec-eval-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.sec-eval-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-left-color 0.2s;
}
.sec-eval-points li:hover {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--amber);
}

.sep-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.sec-eval-points strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.sec-eval-points span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.sec-eval-closing {
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.sec-eval-cta { display: inline-block; }

.sec-eval-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sec-eval-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sec-eval-card:hover {
  background: rgba(250,199,117,0.06);
  border-color: rgba(250,199,117,0.25);
  transform: translateY(-3px);
}
.sec-eval-card--wide { grid-column: span 2; }

.sec-eval-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.sec-eval-card-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.sec-eval-card-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .sec-eval-inner { grid-template-columns: 1fr; gap: 48px; }
  .sec-eval-right { grid-template-columns: repeat(4, 1fr); }
  .sec-eval-card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .sec-eval-right { grid-template-columns: 1fr 1fr; }
  .sec-eval-card--wide { grid-column: span 2; }
}

/* ===== INDUSTRIES ===== */
#industries { background: var(--charcoal); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.industry-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.industry-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.6) saturate(0.7);
}
.industry-card:hover .industry-img-wrap img {
  transform: scale(1.07);
  filter: brightness(0.5) saturate(0.5);
}
.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.95) 0%, rgba(26,26,24,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.industry-card:hover .industry-overlay { opacity: 1; }
.industry-overlay h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.industry-overlay p { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

.industry-label {
  background: var(--charcoal-light);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-top: 2px solid var(--green);
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.industry-card:hover .industry-label { background: var(--green); color: var(--white); }

/* ===== CONTACT ===== */
#contact { background: var(--charcoal-dark); }

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

.contact-left .shield-badge { margin-bottom: 12px; }
.contact-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.contact-left p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-benefits { list-style: none; margin-bottom: 36px; }
.contact-benefits li {
  padding: 8px 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-benefits li:last-child { border-bottom: none; }

.contact-info { display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); font-size: 0.9rem; }

/* ===== FORM ===== */
.lead-form {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 40px;
}

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

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  background: rgba(59,109,17,0.08);
}
select { cursor: pointer; }
select option { background: var(--charcoal); color: var(--white); }
textarea { resize: vertical; min-height: 110px; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(59,109,17,0.15);
  border: 1px solid rgba(59,109,17,0.35);
  border-radius: var(--radius-sm);
  color: var(--green-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(200,50,50,0.12);
  border: 1px solid rgba(200,50,50,0.3);
  border-radius: var(--radius-sm);
  color: #f4a4a4;
  font-size: 0.92rem;
  text-align: center;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--charcoal-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  padding: 60px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand { max-width: 280px; }
.footer-logo { height: 70px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom span { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .security-card--featured { grid-column: span 2; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: block; }
  section { padding: 72px 0; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .feature-card--wide .feature-card-img { height: 200px; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card--featured { grid-column: span 1; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .lead-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
