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

:root {
  --bg-body: #050710;
  --bg-elevated: #0b0f1c;
  --bg-elevated-alt: #0f1322;
  --accent-green: #3ddc97;
  --accent-orange: #ffb347;
  --accent-orange-soft: rgba(255, 179, 71, 0.15);
  --text-main: #f7f7ff;
  --text-muted: #a6accd;
  --border-subtle: #1d2236;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition-fast: 0.18s ease-out;
  --container-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #101932 0, #050710 55%) fixed;
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,7,16,0.92), rgba(5,7,16,0.7));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo img {
  width: 30px;
  height: 30px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
  transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--text-main);
}

/* Burger for mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-orange));
  color: #050710;
  box-shadow: 0 10px 30px rgba(61, 220, 151, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(61, 220, 151, 0.45);
}

.btn.ghost {
  background: rgba(12, 17, 32, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(19, 26, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.14);
}

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

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text .highlight {
  background: linear-gradient(120deg, var(--accent-green), var(--accent-orange));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.7rem;
  background: rgba(7, 11, 26, 0.9);
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top left, rgba(61, 220, 151, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.14), transparent 55%),
              var(--bg-elevated-alt);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 1.3rem 1.1rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.07;
  background: conic-gradient(from 180deg, rgba(61,220,151,0.5), rgba(255,179,71,0.5), rgba(61,220,151,0.5));
  filter: blur(18px);
}

.hero-card-header {
  position: relative;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-metrics .metric {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(6, 10, 24, 0.9);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.metric-value.green {
  color: var(--accent-green);
}

.metric-value.orange {
  color: var(--accent-orange);
}

.hero-status {
  position: relative;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(8, 15, 34, 0.95);
  border: 1px solid rgba(61, 220, 151, 0.5);
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 2.8rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, rgba(16, 24, 52, 0.9), rgba(5, 7, 16, 0.98));
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 1.8rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  border-color: rgba(61, 220, 151, 0.45);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card ul li::before {
  content: "•";
  color: var(--accent-green);
  margin-right: 0.35rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.highlight-box {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(61, 220, 151, 0.17), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.2), transparent 55%),
              #070b18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 1.4rem 1.1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.highlight-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Lists */
.list-check {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.85rem;
  color: var(--accent-green);
}

/* Security grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.security-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 11, 26, 0.95);
  font-size: 0.9rem;
}

.security-item h3 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.security-item p {
  color: var(--text-muted);
}

/* Page hero */
.page-hero {
  padding: 2.7rem 0 2rem;
}

.page-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 650px;
}

/* Contact */
.contact-form {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.8rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #252a3c;
  background: #050814;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px rgba(61,220,151,0.35);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* Legal */
.legal h2 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
}

.legal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to top, rgba(5, 7, 16, 0.98), rgba(5, 7, 16, 0.92));
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  width: 22px;
  height: 22px;
}

.footer-brand span {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-meta {
  text-align: right;
}

/* Utils */
.small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .cards-grid,
  .security-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }
  .main-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    padding: 0.8rem 1.5rem 1rem;
    flex-direction: column;
    background: rgba(5, 7, 16, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .burger {
    display: inline-flex;
  }
  .hero {
    padding-top: 2.6rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    text-align: left;
  }
}
