/* ===========================
   PENTORA SECURITY — STYLES
   =========================== */

:root {
  --bg: #080b0f;
  --bg2: #0d1117;
  --bg3: #111720;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent: #f97316;
  --accent-dim: rgba(249,115,22,0.15);
  --accent-glow: rgba(249,115,22,0.3);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.15);
  --green: #22c55e;
  --yellow: #eab308;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; }

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(8,11,15,0.95);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.logo-bracket { color: var(--text-muted); }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
}

.nav-links a { color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-menu a { font-size: 1.5rem; font-weight: 600; color: var(--text-dim); }
.mobile-menu a:hover { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #ea6c0a; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-full { width: 100%; justify-content: center; }

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header p { color: var(--text-dim); margin-top: 16px; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(249,115,22,0.2);
}

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

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

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: #ef4444;
  bottom: -100px; left: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  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: 32px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 120px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg2);
  padding: 100px 0;
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.terminal-window {
  background: #0d1117;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #161b22;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 2;
}

.prompt { color: var(--green); margin-right: 8px; }
.output { color: #94a3b8; }
.output.warn { color: #eab308; }
.output.crit { color: #ef4444; }
.tag {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 6px;
}
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.problem-text h2 { margin-bottom: 20px; }
.problem-text p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.problem-question {
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 24px !important;
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

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

.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(249,115,22,0.1);
}

.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #0d1117, #130e07);
}

.service-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card > p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.65; }

.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===== PROCESS ===== */
.process {
  background: var(--bg2);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent), var(--border-strong));
  flex-shrink: 0;
  align-self: center;
  margin: 0 -1px;
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step-content h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step-content p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.65; }

/* ===== WHY ===== */
.why { background: var(--bg); }

.comparison-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.comp-header, .comp-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
}

.comp-header {
  background: #161b22;
  border-bottom: 1px solid var(--border);
}

.comp-col {
  padding: 14px 20px;
  font-size: 0.88rem;
}

.col-feature { color: var(--text-muted); font-size: 0.8rem; }
.col-others {
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.col-pentora {
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  background: var(--accent-dim);
  font-size: 0.95rem;
}

.comp-row { border-bottom: 1px solid var(--border); }
.comp-row:last-child { border-bottom: none; }
.comp-row:nth-child(even) { background: rgba(255,255,255,0.01); }

.comp-row .col-feature { font-weight: 500; color: var(--text); font-size: 0.88rem; }
.comp-row .col-others { color: var(--text-muted); font-size: 0.85rem; }
.comp-row .col-pentora { color: var(--text); font-size: 0.85rem; background: rgba(249,115,22,0.05); }

.comp-no { color: var(--red); margin-right: 6px; }
.comp-yes { color: var(--green); margin-right: 6px; }

/* ===== PRICING ===== */
.pricing { background: var(--bg2); }

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

.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #0d1117, #120d06);
  box-shadow: 0 0 40px rgba(249,115,22,0.15);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-tier {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.tier-blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.tier-orange { background: var(--accent-dim); color: var(--accent); }
.tier-red { background: var(--red-dim); color: var(--red); }
.tier-purple { background: rgba(139,92,246,0.15); color: var(--purple); }

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.plan-price span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }

.plan-best {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { margin-top: 8px; }

/* ===== COMPLIANCE ===== */
.compliance {
  background: var(--bg);
  text-align: center;
}

.compliance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.compliance-badge {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.compliance-badge:hover { border-color: var(--accent); color: var(--accent); }

.compliance-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== DELIVERABLES ===== */
.deliverables { background: var(--bg2); }

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

.deliverable {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.deliverable:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.deliverable-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.deliverable h3 { font-size: 1rem; margin-bottom: 10px; }
.deliverable p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.65; }

/* ===== CONTACT ===== */
.contact {
  background: var(--bg);
}

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

.contact-text h2 { margin-bottom: 20px; }
.contact-text > p { color: var(--text-dim); margin-bottom: 32px; line-height: 1.75; }

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.cs-num {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--accent-dim);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form h3 {
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
}

input, select, textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  width: 100%;
  outline: none;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

select {
  appearance: none;
  cursor: pointer;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  transition: color 0.3s;
  min-height: 1.2em;
}

.contact-form button[type=submit] {
  transition: all 0.3s ease;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-left .logo { display: block; margin-bottom: 10px; }
.footer-left > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 6px; }
.footer-small { color: var(--text-muted); font-size: 0.8rem; line-height: 1.7; margin-top: 16px !important; }

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; }
  .process-connector { width: 2px; height: 30px; margin: -1px auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  section { padding: 70px 0; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .terminal-window { font-size: 0.75rem; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { flex-direction: column; gap: 24px; }

  .comparison-table { overflow-x: auto; }
  .comp-header, .comp-row { grid-template-columns: 0.8fr 1fr 1.1fr; min-width: 500px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .deliverables-grid { grid-template-columns: 1fr; }
}
