/* ============================================================
   6F RONIN — Clean, High-End Cyber Operations Design
   Palette: Deep Slate (#06090e), Cyber Cyan (#00d2ff), Clean Silver/White
   ============================================================ */

:root {
  --bg: #06090e;
  --bg-elevated: #0a0f17;
  --bg-card: rgba(13, 19, 28, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 255, 0.35);

  --text-main: #f0f4f8;
  --text-muted: #8c9ba8;
  --text-dim: #5a6875;

  --accent-cyan: #00d2ff;
  --accent-blue: #0070f3;
  --accent-red: #ff3366;
  --accent-purple: #9d4edd;
  --accent-green: #10b981;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Ambient Radial Glow (Clean, minimal, high-end) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.07) 0%, rgba(6, 9, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text-main);
}

.nav-contact-btn {
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  transition: all 0.2s ease !important;
}

.nav-contact-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 8.5rem 1.5rem 4.5rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-container {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
}

.hero-logo-img {
  max-width: min(75vw, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ================= TRUST STRIP ================= */
.trust-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2rem 1.5rem;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.trust-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  opacity: 0.85;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= SECTIONS ================= */
.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 1.5rem;
}

.section.bg-elevated {
  background-color: var(--bg-elevated);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= SERVICES CARDS ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  background: rgba(18, 25, 36, 0.8);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-box.cyan {
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
}

.service-icon-box.red {
  background: rgba(255, 51, 102, 0.1);
  color: var(--accent-red);
}

.service-icon-box.purple {
  background: rgba(157, 78, 221, 0.1);
  color: var(--accent-purple);
}

.service-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  margin-top: auto;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: '•';
  color: var(--accent-cyan);
  font-weight: bold;
}

/* ================= CAPABILITIES ================= */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cap-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  gap: 1.2rem;
  transition: all 0.2s ease;
}

.cap-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.cap-idx {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.cap-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cap-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-card {
  background: #090e15;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.2rem;
  background: #0d141e;
  border-bottom: 1px solid var(--border);
}

.dot-group {
  display: flex;
  gap: 6px;
}

.dot-group span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.term-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.card-terminal-body {
  padding: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
}

.c-key { color: var(--accent-cyan); }
.c-val { color: var(--text-main); margin-bottom: 0.8rem; }
.c-dim { color: var(--text-dim); }

/* ================= CONTACT ================= */
.contact-box {
  text-align: center;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.08);
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-info {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.c-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.c-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border);
  background: #04070a;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
}

.footer-emblem {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 840px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav-menu {
    display: none;
  }
}
