:root {
  --black: #0f172a;
  --charcoal: #1e293b;
  --panel: rgba(255, 255, 255, 0.7);
  --paper: #f8fafc;
  --white: #ffffff;
  --muted: #64748b;
  --soft: rgba(255, 255, 255, 0.4);
  --line: rgba(15, 23, 42, 0.06);
  
  /* Original Logo Colors - Modernized */
  --gold: #e1a529;
  --gold-light: #f3c766;
  --red: #d71920;
  --red-dark: #b3141a;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-glass: 0 8px 32px rgba(215, 25, 32, 0.05);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', "Segoe UI", Arial, sans-serif;
  
  --glass-border: 1px solid rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Beautiful Abstract Glowing Orbs for Glassmorphism Background */
body::before, body::after {
  content: "";
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

body::before {
  top: -10vw;
  left: -10vw;
  background: var(--red);
}

body::after {
  bottom: -20vw;
  right: -10vw;
  background: var(--gold);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
}

/* Typography */
h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--black);
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 7.5vw, 84px);
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Header & Nav (Glassmorphism) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(140px, 15vw, 190px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  color: var(--charcoal);
  font-size: clamp(15px, 1.4vw, 16px);
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 22px 0 18px;
  line-height: 1;
}

.main-nav a:hover {
  color: var(--red);
}

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

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
}

.main-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.25);
  font-weight: 600;
}

.main-nav a.nav-cta:hover,
.main-nav a.nav-cta.active {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.35);
}

.main-nav a.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--charcoal);
}

/* Common Layout Sections */
.section, .about-section, .capability-section, .industry-section, .contact-section {
  padding: 100px 6vw;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 50px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.3);
}

.button.primary:hover {
  box-shadow: 0 16px 36px rgba(215, 25, 32, 0.4);
}

.button.secondary {
  color: var(--charcoal);
  background: var(--white);
  border: var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  border-color: rgba(225, 165, 41, 0.4);
  box-shadow: 0 12px 28px rgba(225, 165, 41, 0.15);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1fr);
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 60px 6vw;
  position: relative;
  z-index: 1;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.trust-row span {
  padding: 8px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: var(--glass-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Tech Console (Hero Showcase) */
.hero-showcase {
  perspective: 1200px;
  position: relative;
}

.tech-console {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(32px);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotateX(2deg) rotateY(-4deg);
  transition: transform 0.5s ease;
}

.tech-console:hover {
  transform: rotateX(0deg) rotateY(0deg);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: var(--glass-border);
}

.console-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
}
.console-bar span:nth-child(1) { background: #ff5f56; }
.console-bar span:nth-child(2) { background: #ffbd2e; }
.console-bar span:nth-child(3) { background: #27c93f; }

.console-bar strong {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  padding: 32px;
}

.network-map {
  position: relative;
  min-height: 340px;
  background: rgba(255, 255, 255, 0.4);
  border: var(--glass-border);
  border-radius: 16px;
}

.terminal-panel {
  align-self: center;
  padding: 24px;
  background: var(--black);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.terminal-panel p {
  margin: 0 0 12px;
  font-family: Consolas, monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.terminal-panel span {
  color: var(--gold);
  font-weight: bold;
}

.console-logo {
  position: absolute;
  right: 30px;
  bottom: 24px;
  width: min(200px, 40%);
  opacity: 0.8;
}

.dashboard-card,
.security-card {
  position: absolute;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.dashboard-card {
  right: -20px;
  bottom: 40px;
  width: 240px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.dashboard-top strong {
  color: var(--red);
  font-size: 26px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 80px;
  margin-top: 16px;
}

.signal-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-light), var(--red));
  border-radius: 4px 4px 2px 2px;
}

.security-card {
  left: -20px;
  top: 60px;
  width: 220px;
}

.security-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* Page Hero */
.page-hero {
  padding: 100px 6vw;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-bottom: var(--glass-border);
}

.page-hero h1 {
  margin: 0 auto;
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  margin: 20px auto 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
}

/* Intro Strip */
.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-strip div {
  padding: 40px 6vw;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.intro-strip strong {
  display: block;
  color: var(--red);
  font-size: 20px;
}

.intro-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

/* Grids */
.preview-grid, .service-grid, .process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.preview-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Cards */
.preview-grid article, .service-card, .process-list div, .industry-grid article {
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.preview-grid article:hover, .service-card:hover, .process-list div:hover, .industry-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(215, 25, 32, 0.15);
}

.service-card.featured {
  grid-column: span 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 226, 0.8));
  border-color: rgba(225, 165, 41, 0.3);
}

.service-card p, .preview-grid p, .process-list p, .industry-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-card a, .preview-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
}

.service-card a:hover, .preview-grid a:hover {
  color: var(--red-dark);
}

/* Icons */
.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--red);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.6));
  border: var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
  font-size: 26px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.preview-grid article:hover .tech-icon,
.service-card:hover .tech-icon,
.capability-grid div:hover .tech-icon,
.industry-grid article:hover .tech-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.15);
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.service-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  opacity: 0.5;
}

.preview-grid span, .process-list span, .industry-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  color: var(--charcoal);
  background: var(--soft);
  border: var(--glass-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

/* Capability Section */
.capability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.capability-copy {
  position: sticky;
  top: 100px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.capability-grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.capability-grid div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.capability-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 12px;
  color: var(--red);
  background: rgba(215, 25, 32, 0.08);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.capability-grid strong {
  display: block;
  font-size: 20px;
  color: var(--black);
}

.capability-grid p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about-visual {
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
  border: var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: min(100%, 380px);
  filter: drop-shadow(0 20px 40px rgba(215, 25, 32, 0.15));
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stats div {
  padding: 24px;
  background: var(--panel);
  border: var(--glass-border);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stats strong {
  display: block;
  color: var(--red);
  font-size: 36px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
}

/* Contact & Forms */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.8fr);
  gap: 60px;
  align-items: start;
}

.career-apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1fr);
  gap: 60px;
  align-items: start;
  padding: 100px 6vw;
}

.contact-detail {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 4px solid var(--red);
}

.contact-detail strong {
  display: block;
  color: var(--black);
  font-size: 18px;
}

.contact-detail a {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 40px;
  background: var(--panel);
  backdrop-filter: blur(24px);
  border: var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

label {
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  font: inherit;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: rgba(215, 25, 32, 0.4);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.08);
}

input[type="file"] {
  cursor: pointer;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  min-height: 20px;
}

/* CTA Band */
.cta-band {
  padding: 100px 6vw;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}

.cta-band h2 {
  max-width: 860px;
  margin: 0 auto 32px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 6vw;
  color: var(--muted);
  background: var(--white);
}

.site-footer img {
  width: min(180px, 50vw);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero, .about-section, .capability-section, .contact-section, .career-apply-section {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
    padding-top: 80px;
  }
  
  .hero-showcase {
    min-height: 500px;
  }
  
  .service-grid, .preview-grid, .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .capability-copy {
    position: static;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 64px;
    padding: 0 24px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }
  
  .main-nav.is-open {
    display: flex;
  }
  
  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }
  
  .main-nav a.active::after {
    display: none;
  }
  
  .main-nav a.nav-cta {
    margin-top: 16px;
    border: none;
  }
  
  .hero, .page-hero, .section, .about-section, .capability-section, .industry-section, .career-apply-section, .cta-band, .contact-section {
    padding-right: 24px;
    padding-left: 24px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .button {
    width: 100%;
  }
  
  .tech-console {
    transform: none;
  }
  
  .console-body {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card, .security-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  
  .intro-strip, .service-grid, .preview-grid, .capability-grid, .industry-grid, .process-list, .stats {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
}
