/* ============================================
   PHP Security LP – style.css
   UC America
   ============================================ */

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

:root {
  --blue-900: #1e3a5f;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --red-600:  #dc2626;
  --red-100:  #fee2e2;
  --red-50:   #fef2f2;
  --orange-500:#f97316;
  --orange-100:#ffedd5;
  --yellow-500:#eab308;
  --yellow-100:#fef9c3;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --purple-600:#9333ea;
  --purple-100:#f3e8ff;
  --gray-900:  #111827;
  --gray-700:  #374151;
  --gray-500:  #6b7280;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --gray-50:   #f9fafb;
  --white:     #ffffff;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }
.btn--cta {
  background: linear-gradient(135deg, #dc2626, #9333ea);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(220,38,38,.35);
}
.btn--cta:hover { opacity: .9; transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}
.btn--outline:hover { background: var(--blue-50); }
.btn--submit {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #dc2626, #9333ea);
  color: var(--white);
  padding: 16px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(220,38,38,.3);
  margin-top: 8px;
}
.btn--submit:hover { opacity: .9; transform: translateY(-1px); }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.01em; }
.logo__sub  { font-size: 0.68rem; color: rgba(0,0,0,.4); font-weight: 400; }
/* footer logo (dark bg) */
.footer .logo__name { color: #fff; }
.footer .logo__sub  { color: rgba(255,255,255,.45); }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a { font-size: .9rem; font-weight: 500; color: var(--gray-700); transition: color .2s; }
.header__nav a:hover { color: var(--blue-600); }
.lang-link { font-size: .85rem; color: var(--gray-500); border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 10px; }
.lang-link:hover { color: var(--blue-600); border-color: var(--blue-500); }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.eyebrow--white {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
}

/* ---- Section ---- */
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--gray  { background: var(--gray-50); }
.section--dark  { background: var(--blue-900); color: var(--white); }
.section--cta   { background: linear-gradient(135deg, #1e1b4b 0%, #1e3a5f 100%); color: var(--white); }

.section__head { text-align: center; margin-bottom: 56px; }
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__desc { color: var(--gray-500); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

.gradient-text {
  background: linear-gradient(135deg, #dc2626, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Hero ---- */
.hero {
  padding: 140px 0 96px;
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #1e3a5f 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__badge {
  display: inline-block;
  background: rgba(220,38,38,.2);
  border: 1px solid rgba(220,38,38,.4);
  color: #fca5a5;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.3); }
  50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); }
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__desc strong { color: #fca5a5; }
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.stat-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  min-width: 180px;
}
.stat-pill__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f87171, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-pill__label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }
.hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- Risk Grid ---- */
.risk__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.risk-card {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid transparent;
}
.risk-card__icon { font-size: 2rem; margin-bottom: 12px; }
.risk-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.risk-card p  { font-size: .9rem; line-height: 1.6; }
.risk-card--red    { background: var(--red-50);    border-color: var(--red-100);    }
.risk-card--orange { background: var(--orange-100);border-color: #fed7aa; }
.risk-card--yellow { background: var(--yellow-100);border-color: #fde68a; }
.risk-card--purple { background: var(--purple-100);border-color: #e9d5ff; }
.risk-card--blue   { background: var(--blue-50);   border-color: var(--blue-100);   }
.risk-card--gray   { background: var(--gray-100);  border-color: var(--gray-200);   }

/* ---- EOL Table ---- */
.eol__table {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}
.eol__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: rgba(255,255,255,.9);
}
.eol__grid { display: flex; flex-direction: column; gap: 8px; }
.eol-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 8px;
}
.eol-ver   { font-weight: 700; font-size: .95rem; }
.eol-risk  { font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.eol-row--dead { background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.25); }
.eol-row--warn { background: rgba(234,179,8,.1);  border: 1px solid rgba(234,179,8,.25); }
.eol-row--safe { background: rgba(22,163,74,.1);  border: 1px solid rgba(22,163,74,.25); }
.eol-status--dead { color: #fca5a5; font-size: .9rem; }
.eol-status--warn { color: #fde68a; font-size: .9rem; }
.eol-status--safe { color: #86efac; font-size: .9rem; }
.eol-row--dead .eol-risk { color: #fca5a5; }
.eol-row--warn .eol-risk { color: #fde68a; }
.eol-row--safe .eol-risk { color: #86efac; }

/* ---- Service Grid ---- */
.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card--featured {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px var(--blue-500);
}
.service-card__badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--blue-600);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 99px;
}
.service-card__icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p  { color: var(--gray-500); font-size: .9rem; margin-bottom: 16px; line-height: 1.6; }
.service-card__list { margin-bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.service-card__list li { font-size: .875rem; color: var(--gray-700); }

/* ---- Process Steps ---- */
.process__steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  width: 56px;
  height: 56px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.process-step__body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.process-step__body p  { color: var(--gray-500); line-height: 1.7; margin-bottom: 8px; }
.process-step__time { font-size: .8rem; color: var(--blue-600); font-weight: 600; }

/* ---- Trust ---- */
.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.trust__text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.trust__text p  { color: rgba(255,255,255,.7); line-height: 1.7; }
.trust__points  { display: flex; flex-direction: column; gap: 24px; }
.trust-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-point__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.trust-point strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.trust-point p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.6; }

/* ---- FAQ ---- */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__q:hover { color: var(--blue-600); }
.faq-arrow { transition: transform .25s; font-size: .8rem; color: var(--gray-500); flex-shrink: 0; }
.faq-item__q.open .faq-arrow { transform: rotate(180deg); }
.faq-item__a { display: none; padding-bottom: 20px; }
.faq-item__a p { color: var(--gray-500); line-height: 1.7; }
.faq-item__a.open { display: block; }

/* ---- Contact Form ---- */
.form__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form__left h2 { font-size: 1.8rem; font-weight: 800; margin: 12px 0 16px; line-height: 1.2; }
.form__left p  { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 24px; }
.form__left-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.form__left-point { color: rgba(255,255,255,.85); font-size: .9rem; }
.form__contact-info p { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 6px; }
.form__contact-info a { color: rgba(255,255,255,.8); }

.audit-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid { border-color: var(--red-600); }
.form-group--check { display: flex; align-items: flex-start; gap: 10px; }
.form-group--check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-group--check label { font-size: .85rem; color: var(--gray-700); font-weight: 400; }
.req { color: var(--red-600); }
.form-error { display: block; font-size: .78rem; color: var(--red-600); margin-top: 4px; min-height: 18px; }
.form-success {
  background: var(--green-100);
  border: 1px solid #86efac;
  color: var(--green-600);
  border-radius: 8px;
  padding: 16px;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}
.form-error-global {
  background: var(--red-50);
  border: 1px solid #fca5a5;
  color: var(--red-600);
  border-radius: 8px;
  padding: 16px;
  font-size: .9rem;
  margin-top: 12px;
  text-align: center;
}
.form-error-global a { color: var(--red-600); text-decoration: underline; }

/* ---- Footer ---- */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 40px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.footer__tagline { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 6px; line-height: 1.5; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; font-size: .8rem; color: rgba(255,255,255,.35); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .risk__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__inner { grid-template-columns: 1fr; gap: 40px; }
  .form__wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  .hero { padding: 120px 0 72px; }
  .section { padding: 72px 0; }
  .risk__grid { grid-template-columns: 1fr; }
  .service__grid { grid-template-columns: 1fr; }
  .eol-row { grid-template-columns: 1fr; gap: 6px; }
  .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .hero__stats { flex-direction: column; align-items: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .stat-pill { width: 100%; max-width: 280px; }
}
