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

:root {
  /* ThinkPoint Variables (Light Mode Adaptation) */
  --bg-color: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  /* Slate 200 - Visible border for 2D look */

  --text-primary: #0f172a;
  /* Slate 900 */
  --text-secondary: #64748b;
  /* Slate 500 */

  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-green: #25D366;
  /* WhatsApp Support */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #075E54;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  /* 2D Flat Gradients */
  --gradient-main: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

  /* Layout */
  --container-width: 1280px;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Web Style Card */
.qr-card-style {
  background: white;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography - EXACT ThinkPoint Match */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  /* The signature look */
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

h5 {
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 24px;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons - 2D Flat Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
  /* No box-shadow transition needed */
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  /* No Shadow */
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Navbar Button Logic */
.navbar .btn-primary {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.navbar.scrolled .btn-primary {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-whatsapp {
  background: #25D366;
  /* Flat WhatsApp Green */
  color: white;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #22c35e;
}

.btn-outlined {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
}

.btn-outlined:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-subtle);
}

/* Navbar - High Z-Index to stay above Overlay */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  /* Align to left edge */
  width: 100%;
  z-index: 3000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 24px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 16px 0;
}

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

/* Logo */
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.03em;
  text-decoration: none;
}



/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 3001;
  /* Above navbar and overlay */
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}

/* Hamburger Animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hide Header CTA on Mobile to prevent layout shift */
@media (max-width: 900px) {
  .navbar .btn {
    display: none !important;
  }
}

/* ... existing styles ... */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  /* Slightly more opaque */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Changed from center to reduce top gap */
  padding-top: 140px;
  /* Space for navbar */
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  /* Reduced gap */
}

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delay for Links */
.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) {
  transition-delay: 0.35s;
}

/* Responsive rule moved to unified 900px block at bottom */

/* Standard background-clip */
.verified-badge {
  font-size: 34px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Visual correction for vertical alignment */
  transform: translateY(1px);
  cursor: help;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  /* Fix Vertical Alignment */
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  /* Normalize A/Button */
  align-items: center;
  gap: 4px;
  /* For potential icons */
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Dropdown Menu */
/* Dropdown Menu - Robust Hover */
.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Invisible Bridge */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  z-index: 1001;
  padding: 8px 0;
  /* margin-top: 12px; REMOVED */
}

.dropdown-content a {
  color: var(--text-secondary);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--bg-subtle);
  color: var(--accent-blue);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  /* Push to right for dynamic feel */
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  /* Big & Bold */
}

/* Steps Section */
.steps-section {
  background: var(--bg-subtle);
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

/* Clean Steps Grid (No Lines) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  /* Switch to left align for better reading */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--bg-subtle);
  /* Very subtle background number */
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
  z-index: 0;
}

.step-icon {
  background: var(--bg-subtle);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  position: relative;
  z-index: 1;
  border: none;
  box-shadow: none;
}

.step-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .steps-grid::before {
    display: none;
  }
}

/* Cards (Features) - 2D Flat */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  border: 1px solid var(--card-border);
  padding: 40px;
  border-radius: 24px;
  transition: 0.2s;
}

.card:hover {
  border-color: var(--accent-blue);
  background: var(--bg-subtle);
  /* No Lift or Shadow, just color change for 2D feel */
}

.card-icon span {
  font-size: 32px;
  color: var(--accent-blue);
  margin-bottom: 20px;
  display: block;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* How It Works (Steps) - Reverted to Circular Badge (Flat) */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step-item {
  position: relative;
  padding-top: 32px;
  border-top: 2px solid var(--card-border);
}

.step-number {
  width: 56px;
  height: 56px;
  background-color: white;
  /* 2D Flat Circle */
  border: 1px solid var(--card-border);
  color: var(--accent-blue);
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: 0;
  /* No Shadow */
}

/* Theme Colors for Workflows */
.steps-container.theme-rose .step-number {
  color: #e11d48;
}

.steps-container.theme-cyan .step-number {
  color: #06b6d4;
}

.steps-container.theme-red .step-number {
  color: #ef4444;
}

.step-content {
  padding-left: 8px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

/* Partners Section - Premium Dark/Tech Design */
.partners-section {
  padding: 60px 0;
  background: #0f172a;
  /* Dark Slate */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Background Pattern (Subtle Grid) */
.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-green);
  /* Tech Green for label */
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 4px;
}

/* Center the label wrapper */
.partners-section .container {
  text-align: center;
}

.partners-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}

.partner-logo {
  font-size: 24px;
  color: white;
  /* White text on dark bg */
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Individual Styles */
.partner-logo:nth-child(1) {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
  font-weight: 700;
}

/* LOGISTICS */

.partner-logo:nth-child(2) {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  background: -webkit-linear-gradient(45deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* COURIER+ */

.partner-logo:nth-child(3) {
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
  text-transform: lowercase;
  font-size: 28px;
  font-weight: 700;
}

/* fasttrack */

.partner-logo:nth-child(4) {
  font-family: monospace;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

/* DELIVR */

@media (max-width: 768px) {
  .partners-grid {
    gap: 40px;
    flex-direction: column;
  }
}

/* PRE-FOOTER (CTA) */
.stat-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 16px;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  margin-top: 8px;
}

.stat-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
}

/* PRE-FOOTER (CTA) */
.cta-box {
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  color: var(--text-primary);
}

.cta-box h2 {
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}



/* FOOTER - WhatsApp Style Redesign */
footer {
  background: #111b21;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 32px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 280px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* Footer Button */
.btn-footer {
  background: #25D366;
  color: #111b21;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-footer:hover {
  transform: translateY(-2px);
  background: #22c35e;
}



.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  cursor: default;
}

/* Visibility Utilities (Base) */
.mobile-only-block {
  display: none;
}

.desktop-only-block {
  display: block;
}

/* Unified Mobile Breakpoint (900px) */
@media (max-width: 900px) {

  /* 1. Navigation Toggles */
  .nav-links {
    display: none !important;
  }

  .hamburger-btn {
    display: block !important;
  }

  .navbar .btn {
    display: none !important;
  }

  /* 2. Hero Adjustments */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  h1 {
    font-size: 3rem !important;
    line-height: 1.2 !important;
  }

  /* 3. Grid Stacking (All Grids) */
  .footer-grid,
  .pricing-grid,
  .features-grid,
  .steps-container,
  .partners-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .stat-grid {
    flex-direction: column;
    gap: 40px;
  }

  /* 4. Footer Adjustments */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  /* 5. Visibility Utilities */
  .mobile-only-block {
    display: block !important;
  }

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

  /* Pricing Grid Base fix */
  .pricing-grid {
    display: grid;
    gap: 30px;
  }
}