:root {
  --primary-color: #0165f6;
  --secondary-color: #182844;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --background-light: #ffffff;
  --background-dark: #0a0f1e;
  --grey-bg: #f8fafc;
  --accent-gradient: linear-gradient(135deg, var(--primary-color), #0052cc);

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  background-color: var(--background-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 100;
}



.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-weight: 400;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(1, 101, 246, 0.1);
  color: var(--primary-color);
}

/* CTA BUTTON */
.cta-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #0052cc;
  transform: translateY(-1px);
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hide mobile CTA on desktop */
.mobile-cta {
  display: none;
}

/* MOBILE STYLES */
@media (max-width: 992px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }

  .logo-img {
    height: 28px;
  }

  /* Show hamburger */
  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  /* Mobile menu container */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu > li > a {
    display: block;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 1rem;
  }

  /* MOBILE DROPDOWN */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(1, 101, 246, 0.03);
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .dropdown-menu li {
    padding-left: 1rem;
    border-bottom: none;
  }

  .dropdown-menu a {
    padding: 0.7rem 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-gray);
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--primary-color);
  }



  /* Mobile CTA */
  .mobile-cta {
    display: block;
    margin-top: 1rem;
    border-bottom: none;
  }

  .mobile-cta .cta-btn {
    color:#fff;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    display: block;
  }
}

/* DESKTOP DROPDOWN (hover only on desktop) */
@media (min-width: 993px) {
  .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .nav-container {
    padding: 0.875rem 1rem;
  }

  .logo-img {
    height: 26px;
  }

  .nav-menu {
    top: 55px;
    max-height: calc(100vh - 55px);
  }
}


    .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-modal {
  background: #fff;
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
}

.popup-title {
  margin-bottom: 20px;
  text-align: center;
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2;
}

input, select, textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
}

.blog-hero {
  padding: 4rem;
  background: linear-gradient(135deg, #0a0f1e 0%, #182844 100%);
  color: var(--text-light);
  margin-top: 4rem;
}

.blog-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-category {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.blog-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.blog-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.author-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
}

.author-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
}

.reading-time {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-content {
  padding: 5rem 0;
  background: white;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.intro-section {
  margin-bottom: 3rem;
}

.lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.content-section {
  margin-bottom: .5rem;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(1, 101, 246, 0.05), rgba(24, 40, 68, 0.05));
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.highlight-content p {
  font-size: 1rem;
  color: var(--text-gray);
  margin: 0;
}

.benefits-list {
  background: var(--grey-bg);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border: 2px solid var(--grey-bg);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(1, 101, 246, 0.1);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-gray);
  margin: 0;
}

.capabilities-box {
  background: var(--secondary-color);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.capabilities-box h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.capabilities-box ul {
  list-style: none;
  padding: 0;
}

.capabilities-box li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.6;
}

.capabilities-box li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.25rem;
}

.detection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.detection-item {
  background: var(--grey-bg);
  padding: 1.5rem;
  border-radius: 10px;
  border-top: 3px solid var(--primary-color);
}

.detection-item h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.detection-item p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin: 0;
}

.automation-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.automation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--grey-bg);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.automation-label {
  background: var(--primary-color);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.automation-item p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
}

.conclusion-section {

  border-top: 2px solid var(--grey-bg);
}

.conclusion-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.conclusion-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(1, 101, 246, 0.05);
  border-radius: 8px;
}

.cta-box {
  background: linear-gradient(135deg, var(--secondary-color), #0a0f1e);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  margin: 4rem 0;
}

.cta-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-box p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(1, 101, 246, 0.3);
}

.share-section {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--grey-bg);
  margin-top: 3rem;
}

.share-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--grey-bg);
  background: white;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

.share-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(1, 101, 246, 0.15);
}

.footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}
.footer-description {
  max-width: 360px;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--accent-primary);
  font-weight: 500;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

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

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    gap: 1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 1rem 0 0 1rem;
  }

  .blog-hero {
    padding: 6rem 0 3rem;
  }

  .blog-title {
    font-size: 2rem;
  }

  .blog-subtitle {
    font-size: 1.25rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .detection-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .cta-box {
    padding: 2rem;
  }

  .cta-box h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .blog-hero {
    padding: 5rem 0 2.5rem;
  }

  .blog-title {
    font-size: 1.75rem;
  }

  .blog-subtitle {
    font-size: 1.125rem;
  }

  .blog-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .lead-paragraph {
    font-size: 1.125rem;
  }

  .content-section p {
    font-size: 1rem;
  }

  .highlight-box {
    flex-direction: column;
    padding: 1.5rem;
  }

  .highlight-content h3 {
    font-size: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

.footer-newsletter {
  margin-top: 20px;
}

.newsletter-title {
  color: #fff !important;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  max-width: 320px;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  color: #333;
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #777;
}

.newsletter-btn {
  background: #0165f6 !important;
  border: none;
  width: 20% !important;
  border-radius: 6px;
  color: #111;
  font-size: 14px;
  height: 38px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 0px !important;
}

.newsletter-btn:hover {
  background: #bbcbe2;
}

.success-state {
  display: none;
  color: #0165f6;
  margin-top: 15px;
  font-size: 14px;
}