/* Screen Solution Global Styles */
:root {
  --rs-serif: 'Source Serif 4', Georgia, serif;
  --rs-sans:  'IBM Plex Sans', system-ui, sans-serif;
  --rs-mono:  'IBM Plex Mono', ui-monospace, monospace;
  --font-poppins: var(--rs-sans);
  --font-playfair: var(--rs-serif);
  --background: #f8fafc;
  --foreground: #0f172a;
  --accent-blue: #2563eb;
  --accent-blue-light: #60a5fa;
  --glass-border: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --hero-mt: 64px;
}

/* Tailwind handles resets automatically */

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--rs-serif);
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rs-serif);
}

code, pre, kbd, samp {
  font-family: var(--rs-mono);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4d7cfe 0%, #6b93ff 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 12px rgba(77, 124, 254, 0.3);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(77, 124, 254, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.65);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 6px;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

@media (max-width: 1280px) {
  .nav-links a {
    padding: 8px 8px;
    font-size: 13px;
  }

  .nav-links {
    gap: 2px;
  }

  .navbar {
    padding: 14px 24px;
  }
}

.nav-links a:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}

.nav-links a.active {
  color: #0f172a;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
}

.nav-cta {
  background: linear-gradient(135deg, #4d7cfe 0%, #5a85ff 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(77, 124, 254, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(77, 124, 254, 0.5);
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.nav-mobile-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-btn.open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-btn.open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-btn.open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero CTA Button ===== */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to right, #2563eb, #4f46e5);
  color: #fff;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  font-size: 1rem;
  margin-bottom: 3.5rem;
}

.hero-cta-btn:hover {
  background: linear-gradient(to right, #3b82f6, #6366f1);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.hero-cta-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.hero-cta-btn:hover .hero-cta-icon {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Trust Badge ===== */
.hero-trust-badge {
  background: white;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.hero-trust-info {
  border-left: 1px solid #e2e8f0;
  padding-left: 1rem;
}

.hero-trust-score-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 2px;
}

.hero-trust-score-text {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.hero-trust-stars {
  display: flex;
  gap: 2px;
}

.hero-trust-label {
  font-size: 12px;
  color: #64748b;
}

.hero-trust-label strong {
  color: #334155;
  font-weight: 700;
}

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  :root {
    --hero-mt: 80px;
  }

  .navbar {
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    background: #ffffff;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #ffffff;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 16px 24px 32px 24px;
    gap: 4px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    z-index: 100;
  }

  .nav-links.mobile-active li {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Uniform professional styling for mobile links and buttons */
  .nav-links.mobile-active li>a,
  .nav-links.mobile-active li>.nav-link-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 0 !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    transition: color 0.2s ease;
  }

  /* Reset horizontal padding for all top-level mobile active link elements to ensure perfect alignment */
  .nav-links.mobile-active a,
  .nav-links.mobile-active button,
  .nav-links.mobile-active .nav-link-btn {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Style inner anchor tags inside mobile dropdown containers to match top-level items */
  .nav-links.mobile-active .nav-link-btn a {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
  }

  .nav-links.mobile-active li>a.active,
  .nav-links.mobile-active li>.nav-link-btn.active,
  .nav-links.mobile-active .nav-link-btn.active a {
    color: var(--accent-blue) !important;
  }

  .nav-links.mobile-active a.active::after {
    display: none !important;
  }

  /* Dropdown mega menu container on mobile */
  .nav-links.mobile-active .partners-mega-dropdown {
    display: none !important;
  }

  .nav-links.mobile-active .partners-mega-dropdown.open {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    background: #f8fafc !important;
    border: none !important;
    border-left: 3px solid var(--accent-blue) !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    margin: 8px 0 12px 0 !important;
    gap: 12px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent !important;
  }

  /* Nested dropdown items are cleanly indented */
  .nav-links.mobile-active .partners-mega-dropdown.open a {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    padding: 6px 16px !important;
    /* Indent by setting left padding back to 16px */
    border-bottom: none !important;
    display: block !important;
    text-align: left !important;
  }

  .nav-links.mobile-active .partners-mega-dropdown.open a:hover {
    color: var(--accent-blue) !important;
  }
}

/* Invisible bridge to prevent mouse leave on hover gap */
.partners-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  height: 24px;
  background: transparent;
  z-index: 10;
}

.partners-mega-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease 0.12s, visibility 0.2s ease 0.12s, transform 0.2s ease !important;
  transform: translate(-50%, 4px) !important;
}

/* Immediately show but slowly hide */
.partners-mega-dropdown:hover,
li:hover .partners-mega-dropdown {
  transition: opacity 0.15s ease 0s, visibility 0.15s ease 0s, transform 0.15s ease 0s !important;
}

/* Desktop hover triggers */
@media (min-width: 1101px) {
  li:hover .partners-mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

/* Mobile/Active state trigger */
.partners-mega-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

@media (max-width: 1100px) {
  .partners-mega-dropdown {
    display: none !important;
  }

  .partners-mega-dropdown.open {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    gap: 1.25rem !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 1rem 0 0 1rem !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .partners-dropdown-left {
    border-right: none !important;
    padding-right: 0 !important;
  }

  .partners-dropdown-right {
    padding-left: 0 !important;
    gap: 12px !important;
  }

  .nav-mobile-btn {
    display: flex;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .hero-cta-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-trust-badge {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .hero-trust-info {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem;
  }
}

/* ===== Platform Support Responsive ===== */
@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

@media (max-width: 768px) {
  .platform-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }

  .how-connecting-line {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .how-it-works-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Premium Card Tilt Styles ===== */
.premium-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03), 0 1px 1px rgba(0, 0, 0, 0.01);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
  border-color: rgba(99, 102, 241, 0.18);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08), 0 1px 2px rgba(0, 0, 0, 0.01);
}

.premium-card__content {
  transform: translateZ(25px);
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.premium-card__glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.premium-card__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* ===== Hero Left Side Dark Overlay & Content ===== */
.hero-left-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
  transition: all 0.5s ease;
}

.hero-content-container {
  position: absolute;
  top: 50%;
  left: 48px;
  /* Perfectly aligned with the navbar left padding edge! */
  transform: translateY(-40%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 650px;
  width: 84%;
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero-content-container.animate {
  transform: translateY(-50%);
  opacity: 1;
}

@media (max-width: 1024px) {
  .hero-left-overlay {
    width: 70%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 60%, rgba(0, 0, 0, 0) 100%);
  }

  .hero-content-container {
    left: 32px;
    max-width: 550px;
  }
}

@media (max-width: 768px) {
  .hero-left-overlay {
    display: none !important;
  }

  #hero-section {
    transition: background-color 0.9s ease !important;
  }

  #hero-section.hero-mode-image {
    background-color: #ffffff !important;
  }

  #hero-section.hero-mode-video {
    background-color: #050505 !important;
  }

  .hero-content-container {
    top: auto;
    bottom: 8%;
    left: 5%;
    transform: translateY(2.5rem);
    align-items: center;
    text-align: center;
    max-width: calc(100% - 10%);
    width: 90%;
  }

  .hero-content-container.animate {
    transform: translateY(0);
  }
}

/* ===== Blog Article Typography & Prose Styles (Tailwind 4 Compatible) ===== */
.prose,
.blog-article-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
}

.prose h1,
.blog-article-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.prose h2,
.blog-article-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.prose h3,
.blog-article-content h3 {
  font-size: 1.45rem;
  font-weight: 750;
  color: #1e293b;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.prose h4,
.blog-article-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #334155;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose p,
.blog-article-content p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.85;
  color: #334155;
  font-size: 1.075rem;
}

.prose ul,
.blog-article-content ul {
  list-style-type: disc !important;
  padding-left: 1.75rem !important;
  margin-top: 0.75rem !important;
  margin-bottom: 1.75rem !important;
}

.prose ol,
.blog-article-content ol {
  list-style-type: decimal !important;
  padding-left: 1.75rem !important;
  margin-top: 0.75rem !important;
  margin-bottom: 1.75rem !important;
}

.prose li,
.blog-article-content li {
  margin-bottom: 0.65rem;
  line-height: 1.75;
  color: #334155;
  font-size: 1.05rem;
  display: list-item !important;
}

.prose li p,
.blog-article-content li p {
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
  display: inline;
}

.prose li::marker,
.blog-article-content li::marker {
  color: #3b82f6;
  font-weight: bold;
}

.prose strong,
.prose b,
.blog-article-content strong,
.blog-article-content b {
  font-weight: 700;
  color: #0f172a;
}

.prose a,
.blog-article-content a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.prose a:hover,
.blog-article-content a:hover {
  color: #1d4ed8;
}

.prose blockquote,
.blog-article-content blockquote {
  border-left: 4px solid #3b82f6;
  background: #f0f7ff;
  padding: 1.25rem 1.75rem;
  border-radius: 0 0.85rem 0.85rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: #1e3a8a;
  font-size: 1.1rem;
  line-height: 1.75;
}

.prose img,
.blog-article-content img {
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  margin: 2.25rem 0;
  max-width: 100%;
  height: auto;
  border: 1px solid #f1f5f9;
}

.prose code,
.blog-article-content code {
  background: #f1f5f9;
  color: #2563eb;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  font-size: 0.9em;
  font-family: var(--rs-mono);
  font-weight: 600;
}

.prose pre,
.blog-article-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.5rem 1.75rem;
  border-radius: 0.85rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-family: var(--rs-mono);
  font-size: 0.95rem;
  line-height: 1.65;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.prose table,
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.prose th,
.blog-article-content th {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #1e293b;
}

.prose td,
.blog-article-content td {
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  color: #475569;
}

.prose hr,
.blog-article-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 3rem 0;
}

/* Force Tailwind Rebuild 2 */

/* Google Translate clean styling */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#google_translate_element {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}