/* Swiftora LLC - Design Tokens CSS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;500;600&display=swap');

:root {
  --sw-deep-navy: #050B1A;
  --sw-royal-blue: #0D2055;
  --sw-electric-blue: #1B3FA0;
  --sw-sky-blue: #4A7FD4;
  --sw-violet: #7B4FD8;
  --sw-ice-blue: #A8C8FF;
  --sw-white: #FFFFFF;
  --sw-font-display: 'Orbitron', monospace;
  --sw-font-body: 'Exo 2', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--sw-deep-navy);
  color: var(--sw-ice-blue);
  font-family: var(--sw-font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Circuit board background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,127,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,127,212,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 4%;
  background: rgba(5,11,26,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74,127,212,0.2);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 4%;
  box-shadow: 0 4px 30px rgba(27,63,160,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--sw-font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--sw-white);
  letter-spacing: 3px;
  line-height: 1.1;
}

.nav-logo-sub {
  font-family: var(--sw-font-display);
  font-size: 0.45rem;
  letter-spacing: 5px;
  color: var(--sw-ice-blue);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sw-font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--sw-ice-blue);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--sw-sky-blue), var(--sw-violet));
  transition: all 0.3s ease;
}

.nav-links a:hover { color: var(--sw-white); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 0.9rem; right: 0.9rem; }
.nav-links a.active { color: var(--sw-white); }

.nav-cta {
  background: var(--sw-electric-blue);
  color: var(--sw-ice-blue) !important;
  font-family: var(--sw-font-display) !important;
  font-size: 0.7rem !important;
  letter-spacing: 1.5px !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 4px !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--sw-sky-blue) !important;
  box-shadow: 0 0 20px rgba(74,127,212,0.5) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.3rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sw-ice-blue);
  transition: all 0.3s ease;
}

/* ========== PAGE WRAPPER ========== */
.page-wrapper {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 4% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(27,63,160,0.25) 0%, rgba(123,79,216,0.1) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-eyebrow {
  font-family: var(--sw-font-display);
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--sw-sky-blue);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: var(--sw-font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--sw-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--sw-sky-blue), var(--sw-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--sw-ice-blue);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-tagline {
  font-family: var(--sw-font-display);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--sw-violet);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.25s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sw-electric-blue);
  color: var(--sw-ice-blue);
  font-family: var(--sw-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--sw-sky-blue);
  box-shadow: 0 0 30px rgba(74,127,212,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--sw-ice-blue);
  font-family: var(--sw-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(168,200,255,0.3);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--sw-sky-blue);
  color: var(--sw-white);
  box-shadow: 0 0 20px rgba(74,127,212,0.2);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
section { padding: 6rem 4%; }

.section-label {
  font-family: var(--sw-font-display);
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--sw-sky-blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--sw-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sw-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--sw-sky-blue), var(--sw-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--sw-ice-blue);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.section-header { margin-bottom: 3.5rem; }
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ========== DIVIDER ========== */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,127,212,0.4), transparent);
  margin: 0;
}

/* ========== CARDS ========== */
.card {
  background: rgba(13,32,85,0.35);
  border: 1px solid rgba(74,127,212,0.18);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sw-electric-blue), var(--sw-violet));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(74,127,212,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5,11,26,0.5);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sw-electric-blue), var(--sw-royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.card h3 {
  font-family: var(--sw-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--sw-white);
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--sw-ice-blue);
  line-height: 1.7;
}

/* ========== GRIDS ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ========== STATS BAR ========== */
.stats-bar {
  background: rgba(13,32,85,0.5);
  border-top: 1px solid rgba(74,127,212,0.2);
  border-bottom: 1px solid rgba(74,127,212,0.2);
  padding: 3rem 4%;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--sw-font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sw-sky-blue), var(--sw-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--sw-ice-blue);
  font-weight: 300;
  text-transform: uppercase;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  padding: 8rem 4% 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(27,63,160,0.2) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  font-size: 0.8rem;
  color: rgba(168,200,255,0.5);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: var(--sw-sky-blue);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ========== FOOTER ========== */
.footer {
  background: rgba(5,11,26,0.98);
  border-top: 1px solid rgba(74,127,212,0.2);
  padding: 4rem 4% 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 50px; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(168,200,255,0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-family: var(--sw-font-display);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--sw-violet);
}

.footer-col h4 {
  font-family: var(--sw-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--sw-white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  color: rgba(168,200,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--sw-sky-blue); }

.footer-bottom {
  border-top: 1px solid rgba(74,127,212,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(168,200,255,0.35);
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(168,200,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--sw-sky-blue); }

/* ========== CONTACT FORM ========== */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--sw-ice-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(13,32,85,0.4);
  border: 1px solid rgba(74,127,212,0.25);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--sw-white);
  font-family: var(--sw-font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sw-sky-blue);
  box-shadow: 0 0 0 3px rgba(74,127,212,0.15);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select option { background: var(--sw-royal-blue); }

/* ========== PROSE (legal pages) ========== */
.prose-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 4%;
}

.prose-section h2 {
  font-family: var(--sw-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sw-white);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sw-electric-blue);
}

.prose-section h3 {
  font-family: var(--sw-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--sw-sky-blue);
  margin: 1.8rem 0 0.8rem;
}

.prose-section p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(168,200,255,0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose-section ul {
  list-style: none;
  margin-bottom: 1rem;
}

.prose-section ul li {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(168,200,255,0.8);
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  line-height: 1.8;
}

.prose-section ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--sw-sky-blue);
  font-size: 1.1rem;
  line-height: 1.6;
}

.prose-section a {
  color: var(--sw-sky-blue);
  text-decoration: underline;
}

.info-box {
  background: rgba(27,63,160,0.15);
  border: 1px solid rgba(27,63,160,0.35);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box p { margin-bottom: 0; }

/* ========== BLOG CARDS ========== */
.blog-card {
  background: rgba(13,32,85,0.35);
  border: 1px solid rgba(74,127,212,0.18);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(74,127,212,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5,11,26,0.5);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--sw-royal-blue), var(--sw-electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,79,216,0.3), rgba(27,63,160,0.3));
}

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  font-family: var(--sw-font-display);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--sw-violet);
  background: rgba(123,79,216,0.12);
  border: 1px solid rgba(123,79,216,0.3);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.blog-card h3 {
  font-family: var(--sw-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sw-white);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(168,200,255,0.7);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
}

.blog-meta {
  font-size: 0.75rem;
  color: rgba(168,200,255,0.4);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== SERVICE DETAIL ========== */
.service-block {
  background: rgba(13,32,85,0.25);
  border: 1px solid rgba(74,127,212,0.15);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.service-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--sw-electric-blue), var(--sw-violet));
  border-radius: 2px 0 0 2px;
}

.service-block-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27,63,160,0.5), rgba(123,79,216,0.3));
  border: 1px solid rgba(74,127,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-block-header h3 {
  font-family: var(--sw-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sw-white);
  margin-bottom: 0.4rem;
}

.service-block-header p {
  font-size: 0.9rem;
  color: rgba(168,200,255,0.7);
  font-weight: 300;
}

.service-items { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

.service-items li {
  font-size: 0.88rem;
  color: var(--sw-ice-blue);
  font-weight: 400;
  padding: 0.6rem 0.8rem 0.6rem 1.8rem;
  position: relative;
  background: rgba(74,127,212,0.06);
  border-radius: 4px;
  border: 1px solid rgba(74,127,212,0.1);
}

.service-items li::before {
  content: '✦';
  position: absolute;
  left: 0.6rem;
  color: var(--sw-sky-blue);
  font-size: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 1.5rem; }

  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,11,26,0.98); flex-direction: column; padding: 1rem; border-bottom: 1px solid rgba(74,127,212,0.2); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
