/* === GUARD.AZ — PREMIUM DARK UI === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #030712;
  --bg-1: #0a0f1e;
  --bg-2: #0f172a;
  --bg-3: #1e293b;
  --bg-card: rgba(15,23,42,0.8);
  --blue-main: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(59,130,246,0.15);
  --text-1: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #475569;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(59,130,246,0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg-0); color: var(--text-1); line-height: 1.6; overflow-x: hidden; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--blue-dark); border-radius: 3px; }

/* ====== NAV ====== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3,7,18,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
#navbar.scrolled { background: rgba(3,7,18,0.97); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { display: flex; align-items: center; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-1); letter-spacing: -0.01em; }
.logo-dot { color: var(--blue-main); }

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--text-1); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text-2);
  padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); letter-spacing: 0.05em;
}
.lang-btn:hover, .lang-btn.active { background: var(--blue-main); border-color: var(--blue-main); color: #fff; }
.admin-link { color: var(--text-2); text-decoration: none; font-size: 0.85rem; padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--transition); }
.admin-link:hover { border-color: var(--blue-main); color: var(--blue-bright); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 1px; transition: all var(--transition); }

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px; overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(60px); } }
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; text-align: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px; font-size: 0.85rem; color: var(--blue-bright);
  margin-bottom: 28px; font-weight: 500;
}
.hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title span { display: inline-block; margin: 0 6px; }
.gradient-text { background: linear-gradient(135deg, var(--blue-main), #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.1rem; color: var(--text-2); max-width: 540px; margin: 0 auto 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-main); color: #fff;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(59,130,246,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-1);
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  border: 1px solid var(--border-hover);
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(59,130,246,0.08); border-color: var(--blue-main); }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--blue-bright); }
.stat-label { font-size: 0.8rem; color: var(--text-3); margin-top: 2px; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.12);
  animation: spin 20s linear infinite;
}
.ring-1 { width: 160px; height: 160px; animation-duration: 12s; border-color: rgba(59,130,246,0.2); }
.ring-2 { width: 220px; height: 220px; animation-duration: 18s; animation-direction: reverse; }
.ring-3 { width: 280px; height: 280px; animation-duration: 25s; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.orbit-center {
  position: relative; z-index: 2;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: center;
}
.orbit-dot {
  position: absolute; width: 10px; height: 10px;
  background: var(--blue-main); border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-main);
}
.d1 { top: 10px; left: 50%; transform: translateX(-50%); animation: orbit1 12s linear infinite; }
.d2 { right: 10px; top: 50%; transform: translateY(-50%); animation: orbit2 18s linear infinite; }
.d3 { bottom: 10px; left: 35%; animation: orbit3 25s linear infinite; background: #818cf8; }
.d4 { left: 15px; top: 40%; animation: orbit4 15s linear infinite; background: #34d399; }
@keyframes orbit1 { 0%,100%{top:10px;left:50%;} 25%{left:90%;top:50%;} 50%{top:90%;left:50%;} 75%{left:10%;top:50%;} }
@keyframes orbit2 { 0%,100%{right:10px;top:50%;} 25%{top:10%;right:50%;} 50%{right:90%;top:50%;} 75%{top:90%;right:50%;} }
@keyframes orbit3 { 0%{transform:rotate(0) translateX(110px) rotate(0);} 100%{transform:rotate(360deg) translateX(110px) rotate(-360deg);} }
@keyframes orbit4 { 0%{transform:rotate(120deg) translateX(90px) rotate(-120deg);} 100%{transform:rotate(480deg) translateX(90px) rotate(-480deg);} }

/* ====== SECTIONS ====== */
.section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-main);
  margin-bottom: 14px;
}
.section-header h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-header p { color: var(--text-2); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ====== SERVICES ====== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.service-card:hover .card-glow { opacity: 1; }
.card-glow {
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  opacity: 0; transition: opacity var(--transition);
  pointer-events: none;
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright); margin-bottom: 20px;
}
.service-card h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.service-card > p { color: var(--text-2); font-size: 0.88rem; margin-bottom: 18px; }
.service-list { list-style: none; }
.service-list li { font-size: 0.85rem; color: var(--text-2); padding: 5px 0; padding-left: 16px; position: relative; }
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--blue-main); font-size: 0.75rem; }

/* ====== SYSTEMS ====== */
.dark-section { background: var(--bg-1); }
.systems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.system-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.system-card:hover { border-color: rgba(59,130,246,0.2); }
.system-card.featured { border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.05); }
.system-num { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(59,130,246,0.12); line-height: 1; margin-bottom: 8px; }
.system-icon { font-size: 2rem; margin-bottom: 14px; }
.system-card h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.system-card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.system-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); border-radius: 100px; color: var(--blue-bright); }

/* ====== WHY US ====== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text .section-label { display: block; margin-bottom: 12px; }
.why-text h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.why-text > p { color: var(--text-2); font-size: 0.97rem; line-height: 1.75; margin-bottom: 32px; }
.why-items { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 16px; }
.why-check { width: 24px; height: 24px; background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: #34d399; flex-shrink: 0; margin-top: 2px; }
.why-item strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 0.85rem; color: var(--text-2); margin: 0; }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color var(--transition);
}
.metric-card:hover { border-color: var(--border-hover); }
.metric-card.accent { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.2); }
.metric-big { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--blue-bright); }
.metric-card span:last-child { font-size: 0.82rem; color: var(--text-2); }

/* ====== CONTACT ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.contact-form { background: var(--bg-1); border: 1px solid var(--border); 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: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-1); font-family: inherit; font-size: 0.9rem; padding: 10px 14px;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-main); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group option { background: var(--bg-2); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 4px; justify-content: center; font-size: 1rem; padding: 13px; }
.form-msg { margin-top: 12px; font-size: 0.87rem; text-align: center; min-height: 20px; }
.form-msg.success { color: #34d399; }
.form-msg.error { color: #f87171; }

.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-2); margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-1); text-decoration: none; }
.contact-item a:hover { color: var(--blue-bright); }

/* ====== FOOTER ====== */
.footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 0.87rem; color: var(--text-3); }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.87rem; color: var(--text-3); text-decoration: none; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-3); }

/* ====== WHATSAPP ====== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ====== ANIMATIONS ====== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(3,7,18,0.98); padding: 20px 24px; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-visual { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 18px; }
  .stat-div { display: none; }
}
