@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Deployr.ai Inspired Corporate Palette */
  --color-primary: #004DDA;
  /* Corporate strong blue */
  --color-primary-dark: #003699;
  --color-primary-light: #4D8BFF;
  --color-accent: #00A3E0;
  /* Light blue accent */

  --bg-dark-deep: #0A0F1D;
  /* Very dark blue for footer/contrast */
  --bg-dark: #0F172A;
  /* Slate 900 for main sections */
  --bg-card: rgba(15, 23, 42, 0.4);
  /* Elegant subtle glassmorphism */

  --text-main: #94A3B8;
  /* Slate 400 */
  --text-heading: #F8FAFC;
  /* Slate 50 */
  --text-white: #FFFFFF;
  --text-muted: #64748B;

  --border-light: rgba(255, 255, 255, 0.08);
  /* Very subtle borders */
  --border-active: rgba(77, 139, 255, 0.3);
  /* Soft blue border on hover */

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  /* Apple-like deep shadow */
  --shadow-glow: 0 0 30px rgba(0, 77, 218, 0.15);
  /* Soft structural glow, not neon */
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Removed extreme gradients/grids from body, moving logic to specific sections */
}

/* --- Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.bg-dark {
  background-color: var(--bg-dark);
}

.bg-dark-deep {
  background-color: var(--bg-dark-deep);
}

.bg-light {
  background-color: var(--bg-light);
}

.text-white {
  color: var(--text-white);
}

.text-white h1,
.text-white h2,
.text-white h3 {
  color: var(--text-white);
}

h1,
h2,
h3,
h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* --- Top Bar --- */
.top-bar {
  background-color: var(--bg-dark-deep);
  color: var(--text-white);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-text {
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.contact-info {
  display: flex;
  align-items: center;
  flex-direction: row;
  white-space: nowrap;
}

.contact-info span {
  opacity: 0.8;
}

.social-links-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 1rem;
  padding-left: 1rem;
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
}

.social-icon:hover {
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* --- Navigation --- */
nav {
  background-color: rgba(15, 23, 42, 0.75);
  /* Dark slate semi-transparent */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: padding 0.3s ease, background-color 0.3s ease;
  padding: 1.25rem 0;
}

nav.scrolled {
  padding: 0.8rem 0;
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-heading);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
  /* Removed glow for cleaner corporate look */
}

.nav-links a:not(.btn):hover {
  color: var(--color-primary);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid transparent;
  letter-spacing: 0.5px;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.btn-rounded {
  border-radius: 50px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff !important;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
  /* Tighten shadow on press/hover */
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white) !important;
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
}

/* --- Hero Section & Custom Animations --- */
.hero {
  padding: 10rem 0 12rem;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

/* Background Animated Orbs (Deployr Style) */
.hero-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: var(--bg-dark);
  /* Fallback */
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  /* Massive blur for soft gradient look */
  opacity: 0.6;
  animation: float 20s infinite ease-in-out alternate;
  mix-blend-mode: screen;
}

.orb-1 {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  width: 500px;
  height: 500px;
  top: 30%;
  right: -150px;
  animation-duration: 25s;
  animation-delay: -5s;
}

.orb-3 {
  background: radial-gradient(circle, rgba(11, 19, 43, 0.8) 0%, transparent 70%);
  width: 800px;
  height: 800px;
  bottom: -300px;
  left: 20%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-30px, -50px) scale(0.95);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  /* Keep content above orbs */
}

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

.badge {
  display: inline-block;
  background-color: rgba(0, 163, 224, 0.2);
  color: var(--color-accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 163, 224, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero .buttons {
  display: flex;
  gap: 1rem;
}

/* --- Stats Section --- */
.stats-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-dark-deep);
  /* Darker contrast base */
  position: relative;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
  /* Inner depth */
}

/* Faint top border glow for stats (Corporate blue) */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Services --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.solid-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  /* Softer radius for modern corporate feel */
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient sweep inside card (Stripe style) */
.solid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.solid-card>* {
  z-index: 1;
  position: relative;
}

.solid-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-active);
  background: rgba(15, 23, 42, 0.7);
}

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

.vector-icon {
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(77, 139, 255, 0.08);
  /* Corporate soft tint */
  display: inline-flex;
  border-radius: 10px;
  /* Removed jarring neon borders */
}

.solid-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.solid-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.link-arrow {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

.link-arrow:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* --- Industry Sector --- */
.industry {
  background-color: transparent;
  border-top: 1px solid var(--border-light);
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.split-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.check-list {
  list-style-type: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
  text-shadow: 0 0 5px var(--color-primary);
}

.placeholder-img {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Contact Section --- */
.contact {
  background-color: var(--bg-dark);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-white);
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(77, 139, 255, 0.1);
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  min-height: 20px;
}

.form-status.success {
  color: #10b981;
  /* Emerald green */
}

.form-status.error {
  color: #ef4444;
  /* Red */
}

/* --- Footer --- */
.solid-footer {
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background-color: var(--bg-dark-deep);
  border-top: 1px solid var(--border-light);
}

.top-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.footer-col ul a:hover {
  color: var(--text-white);
}

.brand-col p {
  margin-top: 1rem;
  max-width: 300px;
}

.bottom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.bottom-footer p {
  margin: 0;
}

.social-links-footer {
  display: flex;
  gap: 1.25rem;
}

/* --- JS Classes --- */
/* Simplified animations for corporate feel */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .split-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .top-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .buttons {
    flex-direction: column;
  }

  .top-bar {
    display: none;
  }
}