@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #021F49;
  --primary-light: #063C7D;
  --accent: #00A8E8;
  --white: #ffffff;
  --text-main: #f8f9fa;
  --text-muted: #ced4da;
  --glass: rgba(2, 31, 73, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-card: rgba(255, 255, 255, 0.05);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --header-height: 90px;

  /* Typography Scale (1.25 ratio) */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.563rem;
  --fs-xl: 1.953rem;
  --fs-2xl: 2.441rem;
  --fs-3xl: 3.052rem;
  --fs-display: clamp(2rem, 5vw, 3.2rem);

  /* Line Heights */
  --lh-tight: 1.1;
  --lh-heading: 1.25;
  --lh-body: 1.625;

  /* Letter Spacing */
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-display: -0.02em;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #0b1120;
  color: var(--text-main);
  overflow-x: hidden;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--white);
  letter-spacing: var(--ls-display);
}

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

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.7rem 0;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

header.scrolled {
  background: var(--glass);
  padding: 0.45rem 0;
}

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

.logo img {
  height: 38px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  background: var(--primary);
  border-radius: 4px;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1001;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: var(--glass);
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle i {
  width: 24px;
  height: 24px;
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slides-wrapper {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, transform 1.2s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  padding-bottom: 60px;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), var(--primary) 150%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
  transform: translateY(30px);
  transition: var(--transition);
  opacity: 0;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.hero-slider h1 {
  font-size: clamp(1.4rem, 3.8vw, 2.1rem);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  line-height: var(--lh-tight);
}

.hero-slider p.subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-md);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--accent);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.hero-slider p.description {
  font-size: var(--fs-md);
  max-width: 65ch;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: var(--lh-body);
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Tech Features Row Styling (from Slide 3 update) */
.tech-features-row {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.85); /* Deep dark background */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 2.5rem;
  margin-top: 3.5rem;
  border-radius: 4px;
  gap: 2.5rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  flex: 1;
}

.feature-icon {
  width: 36px;
  height: 36px;
  color: var(--white);
  flex-shrink: 0;
  opacity: 0.9;
}

.feature-info h5 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px 0;
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.feature-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.2;
  font-weight: 400;
}

.v-divider {
  width: 6px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .tech-features-row {
    gap: 1.5rem;
    padding: 1.25rem;
    max-width: 90%;
  }
  .feature-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .tech-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .v-divider {
    display: none;
  }
  .tech-feature {
    gap: 0.75rem;
  }
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-size: var(--fs-xs);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary-light);
  box-shadow: 0 4px 15px rgba(2, 31, 73, 0.4);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 31, 73, 0.6);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

/* Slider Arrows Style */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 4rem;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none; /* Let clicks pass through the container */
}

.nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  pointer-events: auto; /* Enable clicks for the buttons themselves */
  opacity: 0.6;
}

.nav-btn:hover {
  background: var(--primary);
  border-color: var(--accent);
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 168, 232, 0.4);
}

.nav-btn i {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .slider-nav {
    padding: 0 1rem;
  }
  .nav-btn {
    width: 45px;
    height: 45px;
  }
}

/* --- Credential Bar --- */
.credential-bar {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  position: relative;
  z-index: 20;
  margin-top: -85px; /* Pull it up onto the hero image slightly */
}

.credential-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 320px;
}

.cred-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.cred-info p {
  line-height: 1.3;
}

.cred-title {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.cred-sub {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

/* --- Service Cards Section --- */
.services-overview {
  padding: 8rem 0;
  background: radial-gradient(circle at top, #0c1e3d, #0b1120);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--glass-border);
  transition: var(--transition);
}

.card-icon img {
  width: 40px;
  filter: brightness(0) invert(1);
}

.service-card:hover .card-icon {
  transform: rotateY(180deg);
  background: var(--accent);
}

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 1rem;
  color: var(--white);
  line-height: var(--lh-tight);
}

.service-card p {
  color: var(--text-muted);
  font-size: var(--fs-base);
  margin-bottom: 2rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.btn-explore {
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

/* --- Partners Section --- */
.partners {
  padding: 3rem 0;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.partners .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  opacity: 0.8;
}

.partners img {
  max-height: 45px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partners img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.footer-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  color: var(--accent);
  transition: var(--transition);
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-col span {
  font-size: 0.95rem;
  font-weight: 500;
}

.socials-col {
  min-width: 250px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.social-icons i, .social-icons svg {
  width: 18px;
  height: 18px;
}

.social-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128c7e;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab i {
  width: 32px;
  height: 32px;
}

.whatsapp-fab .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: fab-pulse 2s infinite;
  opacity: 0.6;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .footer-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-slider p.description {
    display: none;
  }
  .credential-bar {
    margin-top: 0;
  }
  .cred-item {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-col {
    min-width: 100%;
  }
  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: var(--fs-md);
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--glass-card);
    border: 1px solid var(--accent);
    color: var(--accent);
  }
}

/* --- Workflow & Protection Section --- */
.workflow-protection {
  padding: 8rem 0;
  background-color: var(--white);
  color: var(--primary);
}

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

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-2xl);
  margin-bottom: 3.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-tight);
}

.section-title span {
  display: block;
  font-size: var(--fs-md);
  color: var(--accent);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: var(--ls-wider);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3.5rem;
  margin-top: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 10px;
  width: 2px;
  height: calc(100% - 20px);
  background: var(--primary-light);
  opacity: 0.15;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -3.5rem;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  z-index: 2;
  box-shadow: 0 0 0 6px var(--white), 0 10px 20px rgba(2, 31, 73, 0.15);
  font-family: 'Outfit', sans-serif;
  font-variant-numeric: tabular-nums;
}

.timeline-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

.timeline-content p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 500px;
}

/* Comparison Table */
.comparison-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(2, 31, 73, 0.08);
  border: 1px solid rgba(0,0,0,0.04);
  margin-top: 1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.75rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  border-bottom: 2px solid #f3f4f6;
  color: var(--primary);
}

.comparison-table td {
  padding: 1.4rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
  color: #374151;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight {
  background: rgba(0, 168, 232, 0.03);
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.comparison-table th.highlight {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.comparison-table td.highlight {
  border-left: 1px solid rgba(2, 31, 73, 0.05);
  border-right: 1px solid rgba(2, 31, 73, 0.05);
}

.comparison-table tr:last-child td.highlight {
  border-radius: 0 0 12px 12px;
  border-bottom: 1px solid rgba(2, 31, 73, 0.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .grid-split {
    gap: 2.5rem;
  }
  .comparison-card {
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  .grid-split {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  .workflow-protection {
    padding: 6rem 0;
  }
  .comparison-column {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.75rem;
  }
  .comparison-card {
    padding: 1.5rem 1rem;
    overflow-x: auto;
  }
  .comparison-table th, .comparison-table td {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
  }
  .timeline-content p {
    font-size: 0.9rem;
  }
}
