/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #050d1a;
  --navy: #0a1628;
  --accent: #00c8e8;
  --accent2: #0077b6;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --surface: #0d1f35;
  --surface2: #112240;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --glow: rgba(0,200,232,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--primary); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; display: inline-flex; }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.preloader__logo { width: 200px; animation: pulse 1.4s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.6; transform: scale(0.97); } to { opacity: 1; transform: scale(1.03); } }
.preloader__bar { width: 180px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.preloader__fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 99px; transition: width 0.05s linear; }
.preloader__text { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all 0.25s ease; border: none; font-family: inherit;
}
.btn--glow {
  background: var(--accent); color: var(--primary);
  box-shadow: 0 0 24px rgba(0,200,232,0.35);
}
.btn--glow:hover { background: #00e5ff; box-shadow: 0 0 36px rgba(0,200,232,0.55); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary {
  background: var(--accent); color: var(--primary); font-weight: 700;
}
.btn--primary:hover { background: #00e5ff; transform: translateY(-1px); }
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION TAG ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-tag--light { color: rgba(255,255,255,0.6); }
.section-tag--light::before { background: rgba(255,255,255,0.4); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; color: var(--white); }
.section-header h2 span { color: var(--accent); }
.section-header p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.55); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5,13,26,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--accent) !important; color: var(--primary) !important;
  padding: 9px 20px; border-radius: 7px; font-weight: 700 !important;
  font-size: 14px !important; transition: all 0.2s !important;
}
.nav__cta:hover { background: #00e5ff !important; transform: translateY(-1px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav__mobile { display: none; flex-direction: column; padding: 16px 24px 24px; gap: 4px; border-top: 1px solid var(--border); }
.nav__mobile a { color: var(--text-muted); padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.nav__mobile a:hover { color: var(--accent); }
.nav__mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--primary); overflow: hidden; padding-top: 72px;
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero__glow--1 { width: 600px; height: 600px; background: rgba(0,119,182,0.18); top: -100px; right: -100px; }
.hero__glow--2 { width: 400px; height: 400px; background: rgba(0,200,232,0.1); bottom: 0; left: 10%; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 24px; width: 100%; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.hero__eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero__content h1 { font-size: clamp(36px, 4.5vw, 58px); font-weight: 900; line-height: 1.1; letter-spacing: -2px; color: var(--white); margin-bottom: 24px; }
.hero__content h1 em { font-style: normal; color: var(--accent); }
.hero__content p { font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.75; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__stats { display: flex; align-items: center; gap: 32px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat strong { font-size: 18px; font-weight: 800; color: var(--white); }
.hero__stat span { font-size: 12px; color: var(--text-muted); }
.hero__divider { width: 1px; height: 36px; background: var(--border); }

/* Shield animation */
.hero__visual { display: flex; align-items: center; justify-content: center; }
.shield { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; }
.shield__ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(0,200,232,0.15);
  animation: spin linear infinite;
}
.shield__ring--1 { width: 100%; height: 100%; animation-duration: 20s; }
.shield__ring--2 { width: 75%; height: 75%; animation-duration: 15s; animation-direction: reverse; border-color: rgba(0,119,182,0.2); }
.shield__ring--3 { width: 50%; height: 50%; animation-duration: 10s; border-color: rgba(0,200,232,0.25); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.shield__core { width: 120px; height: 120px; background: rgba(0,200,232,0.05); border: 1px solid rgba(0,200,232,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(0,200,232,0.1); }
.shield__core svg { width: 64px; height: 64px; }
.shield__node { position: absolute; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.shield__node--1 { top: 10%; left: 50%; }
.shield__node--2 { top: 50%; right: 5%; }
.shield__node--3 { bottom: 10%; left: 30%; }
.shield__node--4 { top: 30%; left: 8%; }

.hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 1.5s ease-in-out infinite; }
@keyframes scrollLine { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; } }

/* ===== PARTNERS ===== */
.partners { background: var(--navy); padding: 40px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners__label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
.partners__track-wrapper {
  overflow: hidden; width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners__track { display: flex; align-items: center; width: max-content; animation: marquee 24s linear infinite; }
.partners__track img { height: 88px; width: auto; object-fit: contain; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== PILLARS ===== */
.pillars { background: var(--surface); padding: 28px 0; }
.pillars__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.pillars__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.pillars__grid { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pillar { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); padding: 8px 18px; border-radius: 99px; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.pillar:hover { border-color: var(--accent); color: var(--accent); }
.pillar span { font-size: 15px; }

/* ===== ABOUT ===== */
.about { background: var(--primary); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__left h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--white); margin-bottom: 20px; }
.about__left h2 span { color: var(--accent); }
.about__left p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.about__right { display: flex; flex-direction: column; gap: 16px; }
.attr-card { display: flex; align-items: flex-start; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all 0.25s; }
.attr-card:hover { border-color: rgba(0,200,232,0.3); transform: translateX(6px); box-shadow: -4px 0 24px rgba(0,200,232,0.08); }
.attr-card__icon { font-size: 32px; flex-shrink: 0; }
.attr-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.attr-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== SERVICES ===== */
.services { background: var(--navy); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.svc-card { background: var(--surface); padding: 36px 32px; position: relative; transition: background 0.25s; }
.svc-card:hover { background: var(--surface2); }
.svc-card:hover .svc-card__line { width: 100%; }
.svc-card__num { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 20px; opacity: 0.7; }
.svc-card__icon { font-size: 32px; margin-bottom: 16px; }
.svc-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.svc-card__line { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.4s ease; }

/* ===== WHY US ===== */
.why { position: relative; background: var(--primary); }
.why__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(0,119,182,0.12) 0%, transparent 70%); pointer-events: none; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: all 0.25s; }
.why-card:hover { border-color: rgba(0,200,232,0.25); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.why-card__icon { font-size: 28px; margin-bottom: 16px; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== PROCESS ===== */
.process { background: var(--navy); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; }
.process-step:not(:last-child)::after { content: '→'; position: absolute; top: 20px; right: -16px; color: var(--accent); font-size: 18px; opacity: 0.4; }
.process-step__num { font-size: 48px; font-weight: 900; color: rgba(0,200,232,0.12); line-height: 1; margin-bottom: 16px; letter-spacing: -2px; }
.process-step__body { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: all 0.25s; }
.process-step:hover .process-step__body { border-color: rgba(0,200,232,0.25); }
.process-step__body h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step__body p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ===== CTA BANNER ===== */
.cta-banner { position: relative; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; overflow: hidden; }
.cta-banner__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,200,232,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-banner__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner__inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--white); letter-spacing: -0.5px; margin-bottom: 8px; }
.cta-banner__inner p { color: var(--text-muted); font-size: 16px; }

/* ===== CONTACT ===== */
.contact { background: var(--primary); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__info h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 16px; line-height: 1.15; }
.contact__info h2 span { color: var(--accent); }
.contact__info > p { color: var(--text-muted); font-size: 16px; margin-bottom: 40px; }
.contact__items { display: flex; flex-direction: column; gap: 28px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item-icon { width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact__item strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.contact__item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.contact__item a { color: var(--accent); font-size: 14px; display: block; }
.contact__item a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a { font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: 99px; transition: all 0.2s; }
.social-links a:hover { color: var(--accent); border-color: var(--accent); }

.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px; }
.contact__form h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  background: var(--primary); border: 1px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 14px;
  color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(148,163,184,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,232,0.08); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); border-top: 1px solid var(--border); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; line-height: 1.7; max-width: 240px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; margin-bottom: 20px; }
.footer__col a, .footer__col p { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { text-align: center; padding: 20px 24px; color: rgba(148,163,184,0.4); font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 20px; }
  .hero__divider { display: none; }
  .process__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
}
