/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
  /* Colors */
  --bg-primary: #0a0c10;
  --bg-secondary: #11141c;
  --bg-tertiary: #161a24;

  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.45);

  --accent-blue: #4967ff;
  --accent-light: #6c84ff;
  --accent-glow: rgba(73, 103, 255, 0.4);

  --border-light: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(73, 103, 255, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Add a subtle background glow */
body::before {
  content: '';
  position: absolute;
  top: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vw;
  background: radial-gradient(ellipse at top, rgba(73, 103, 255, 0.15), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--trans-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6%;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

.section-padding {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 90px 0;
  }
}

.max-w-3xl {
  max-width: 768px;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.text-blue {
  color: var(--accent-blue);
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 28px;
  width: auto;
}

@media (min-width: 640px) {
  .header-logo {
    height: 36px;
  }
}

.main-nav {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav .nav-link {
  color: var(--text-main);
  position: relative;
}

.main-nav .nav-link:hover {
  color: var(--accent-light);
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-blue);
  transition: width var(--trans-fast);
}

.main-nav .nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: all var(--trans-smooth);
}

.btn-primary {
  background-color: var(--accent-blue);
  color: var(--text-main);
  box-shadow: 0 0 0 rgba(73, 103, 255, 0);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  color: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Glass Panels */
.glass-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.interactive-card {
  transition: all var(--trans-smooth);
}

.interactive-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(73, 103, 255, 0.1);
  background-color: rgba(25, 29, 38, 0.8);
}

/* =========================================
   SECTIONS
   ========================================= */

/* Hero Section */
.grid-layout-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-layout-hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(74, 99, 255, 0.4);
  background-color: #0c1229;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #90a3ff;
  margin-bottom: 1.25rem;
}

.glow-effect {
  position: relative;
}

.glow-effect::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(73, 103, 255, 0.5), transparent);
  z-index: -1;
  filter: blur(4px);
  opacity: 0.5;
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 0.3;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-text {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.button-group {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Card */
.hero-card {
  padding: 1.5rem;
}

.card-pretitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #8da1ff;
}

.card-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-item {
  display: flex;
  gap: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem;
  transition: background-color var(--trans-fast);
}

.list-item:hover {
  background: var(--glass-bg-hover);
}

.bullet {
  margin-top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-glow);
}

.list-item p {
  color: rgba(255, 255, 255, 0.82);
}

.ideal-for-box {
  margin-top: 2rem;
  background-color: #0c1229;
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 1.25rem;
}

.box-pretitle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8da1ff;
}

.ideal-for-box p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Banner */
.banner-section {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(0, 0, 0, 0.3);
}

.banner-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-align: center;
}

@media (min-width: 640px) {
  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .banner-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Capabilities */
.capabilities-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cap-card {
  padding: 1.5rem;
  border-radius: 24px;
  background-color: var(--bg-tertiary);
}

.cap-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.cap-desc {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* Industries */
.grid-layout-industries {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .grid-layout-industries {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.industries-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ind-badge {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
}

/* Contact */
.contact-container {
  background-color: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 32px;
}

@media (min-width: 640px) {
  .contact-container {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-container {
    padding: 3.5rem;
  }
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lg-col-2 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .lg-col-2 {
    grid-column: span 2 / span 2;
  }
}

.glass-card {
  background-color: #151820;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sm-col-2 {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .sm-col-2 {
    grid-column: span 2 / span 2;
  }
}

.form-input {
  width: 100%;
  background-color: #11141b;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-input:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(73, 103, 255, 0.2);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.textarea {
  min-height: 160px;
  resize: vertical;
}

.w-auto {
  width: 100%;
}

@media (min-width: 640px) {
  .w-auto {
    width: auto;
  }
}

.info-area {
  background-color: #0d1120;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.info-link {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
}

@media (min-width: 640px) {
  .info-link {
    font-size: 1.875rem;
  }
}

.info-text {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background-color: #101318;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: var(--accent-light);
}

/* =========================================
   ANIMATIONS (Triggered via JS)
   ========================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}