/* ==========================================================================
   1. Design System & Variables
   ========================================================================== */
:root {
  --primary: #6366f1;         /* Sleek Indigo/Violet */
  --primary-hover: #4f46e5;
  --dark: #0f172a;            /* Deep Slate for dark sections */
  --light: #ffffff;
  --gray-bg: #f8fafc;         /* Soft light background */
  --text-main: #334155;       /* Charcoal for readable text */
  --text-muted: #64748b;      /* Muted gray for subtitles */
  --border: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 32px;
  --radius-sm: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Page wrapper no longer needs a left margin offset since the header is back on top */
.page-wrapper {
  width: 100%;
  padding-top: 80px; /* Pushes content down so it doesn't hide behind fixed top nav */
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.text-blue {
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

.text-green {
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

.text-mint {
  color: #06b6d4;
  background-color: rgba(6, 182, 212, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

/* Specific background tone for driver management section container */
.bg-light-green {
  background-color: #f0fdf4;
}

/* ==========================================================================
   3. Typography & Buttons
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--light);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-light {
  background-color: #3b82f6 !important;
  color: #ffffff !important;
}

.btn-light:hover {
  background-color: #2563eb !important;
}

/* ==========================================================================
   4. Header & Navigation (Desktop Top Layout - Hugging Left)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns all children items directly to the left */
  gap: 48px;                   /* Gap spacing between the Logo and the Nav Menu wrapper */
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  white-space: nowrap;         /* Keeps company title from wrapping into 2 rows */
}

.logo-dot {
  color: var(--primary);
}

.logo-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.nav-menu {
  display: flex;
  flex-direction: row;        /* Displays horizontal links for desktop layout */
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1.05rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--dark);
}

.nav-link.active {
  font-weight: 700;
}

/* Hamburger toggle hidden on desktop views */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

.brand-logo-img {
  height: 32px;          /* Sets a perfect uniform height constraint */
  width: auto;           /* Automatically calculates width to prevent stretching distortion */
  object-fit: contain;   /* Keeps rendering crisp and properly contained */
  display: block;
}

/* Header link container alignment */
.navbar-logo-brand {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

/* Footer link container alignment */
.footer-logo-brand {
  display: inline-block;
  margin-bottom: 16px;   /* Preserves the spacing above your brand description text */
}

/* ==========================================================================
   5. Navigation Menu Dropdown Configurations
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid var(--text-muted);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  border-top-color: var(--dark);
}

/* Hidden Desktop Menu Dropdown Backdrop Box */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--light);
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown-item {
  padding: 10px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--dark);
}

/* Hover Behavior logic for Desktop Displays */
@media (min-width: 993px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mobile Responsive Formatting for Navigation Items Under 992px */
@media (max-width: 992px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    padding-top: 8px;
    display: none; /* Controlled via JS interaction toggle hooks */
    background-color: transparent;
    transform: none;
  }
  
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    padding: 8px 12px;
  }

  .cta, 
  .cta-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
    text-align: center; /* Ensures the headline text centers cleanly if it wraps into multiple lines */
  }

  .cta h2 {
    font-size: 2rem; /* Softens the big headline size so it fits neatly on small phone widths */
    line-height: 1.3;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   6. Content Sections (Hero, Features, Footers, etc.)
   ========================================================================== */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.06) 0%, transparent 40%);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img, .detail-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.mockup-ui {
  width: 100%;
  max-width: 500px;
  height: 360px;
  background-color: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.mockup-header {
  height: 16px;
  width: 35%;
  background-color: var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.quick-features {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.04);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border-radius: 24px;
  margin-bottom: 20px;
}

.f-icon {
  width: 24px;
  height: 24px;
}

.trusted-by {
  padding: 40px 0 80px 0;
  text-align: center;
}

.section-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 32px;
}

.logo-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: -0.5px;
}

.partner-logo-img {
  max-height: 36px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.detail-section {
  padding: 100px 0;
}

.bg-alt {
  background-color: var(--gray-bg);
}

.detail-container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.detail-container.invert {
  flex-direction: row-reverse;
}

.detail-content {
  flex: 1;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border-radius: 24px;
}

.detail-content h2 {
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.detail-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.detail-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.panel-dark {
  background-color: var(--dark);
  border-color: #1e293b;
}

.panel-gradient {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(244, 63, 94, 0.05) 100%);
}

.cta-section {
  background-color: #0b0f19;  /* Jet black background connecting CTA directly down */
  padding: 100px 0 60px 0;
}

.cta-container {
  background-color: transparent; /* Stripped container backdrops */
  border-radius: 0;
  padding: 0;
  text-align: left; /* Shift text to match image placement */
  color: var(--light);
}

.cta-container h2 {
  color: var(--light);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.cta-container p {
  color: #94a3b8;
  max-width: 640px;
  margin: 0 0 36px 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: flex-start;
}

.btn-blue-action {
  background-color: #0052ff !important; /* Vivid Blue Button fill from sample */
  color: #ffffff !important;
  border-radius: 30px; /* Pillow oval formatting */
  padding: 14px 32px;
}

.btn-blue-action:hover {
  background-color: #0043d0 !important;
}

.footer {
  background-color: #0b0f19; /* Exactly matches CTA section tone */
  padding: 60px 0 40px 0;
  border-top: none; /* Clear separation separator lines */
}

.footer-container {
  display: flex;
  flex-direction: column; /* Organizes brand block vertically above link grids */
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
}

.text-white {
  color: #ffffff !important;
}

.footer-links-grid {
  display: flex;
  gap: 120px; /* Spacious horizontal column gap width */
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-column a {
  color: #64748b; /* Sleek slate gray text */
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: #ffffff;
}

/* Footer Bottom Strip Layout */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  color: #64748b;
  font-size: 1.2rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-socials a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: var(--transition);
  filter: invert(1) brightness(0.66);
}

.footer-socials a:hover .social-icon {
  filter: invert(1) brightness(1);
  transform: translateY(-3px);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-copy {
  margin-top: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.footer-legal a {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ==========================================================================
   7. Shared Styling Components for Inner Product Interfaces
   ========================================================================== */
.product-hero {
  background-color: #0b0f19; /* Matched rich dark theme canvas layout */
  padding: 100px 0;
}

.product-hero-container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.product-hero-content {
  flex: 1.1;
}

.product-hero-title {
  color: var(--light);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.product-hero-subtitle {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 36px;
}

.product-hero-image-wrapper {
  flex: 0.9;
  display: flex;
  justify-content: flex-end;
}

.product-hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Secondary Dark Button Layout Definition */
.btn-secondary-dark {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #64748b;
}

/* Product Feature Segment Configuration Styles */
.product-features {
  padding: 100px 0;
  background-color: #ffffff;
}

.product-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.blue-badge {
  color: #2563eb;
}

.product-features-title {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0f172a;
  margin-bottom: 48px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.p-card-icon {
  width: 44px;
  height: 44px;
  background-color: #eff6ff; /* Soft clear blue wrapper accents */
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 600;
}

.product-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive Overrides for Inner Sub-Content Interfaces */
@media (max-width: 992px) {
  .product-hero-container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .product-hero-subtitle {
    margin: 0 auto 32px auto;
  }
  .product-hero-image-wrapper {
    justify-content: center;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    gap: 16px;
  }
  .cta-actions .btn-blue-action {
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   8. Responsive Media Queries (Screen width under 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .page-wrapper {
    padding-top: 70px;
  }

  .navbar {
    height: 70px;
  }

  /* Shifts items to opposite ends to leave room for the hamburger clicker button */
  .navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Spreads logo and hamburger to opposite sides */
    width: 100%;
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Structural side drawer properties for mobile screens */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: auto;        /* Clear previous left absolute anchors */
    right: -100%;      /* Places the hidden drawer off-screen to the right side */
    width: 280px;
    height: calc(100vh - 70px);
    flex-direction: column;   
    background-color: var(--light);
    border-left: 1px solid var(--border);  /* Puts the dividing border edge on the left side */
    border-right: none;                    /* Strips out old right border */
    padding: 40px 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05); /* Casts shadow leftward onto main background */
    transition: var(--transition);
  }

  .nav-menu.active {
    left: auto;
    right: 0; /* Brings the menu drawer smoothly flush into view from the right */
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .detail-container, .detail-container.invert {
    flex-direction: column;
    gap: 40px;
  }
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-links-grid {
    gap: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   9. Integration, Pricing, and Contact Styles
   ========================================================================== */
.inner-hero {
  padding: 80px 0 40px 0;
  background-color: #ffffff;
}

.inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.inner-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.text-center .inner-subtitle {
  margin: 0 auto;
}

/* Integration Grid layout definitions */
.integration-showcase {
  padding: 40px 0 100px 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.integration-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: var(--transition);
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.int-icon-wrapper {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.int-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.status-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.tag-ready {
  background-color: #f0fdf4;
  color: #16a34a;
}

.tag-dev {
  background-color: #f8fafc;
  color: #475569;
  border: 1px solid var(--border);
}

/* Pricing Section Interface rulesets */
.currency-selector-wrapper {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.currency-selector-wrapper label {
  font-weight: 600;
  color: var(--text-main);
}

.currency-dropdown {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--light);
  color: var(--dark);
  cursor: pointer;
  outline: none;
}

.pricing-matrix {
  padding: 40px 0 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-featured {
  border: 2px solid #0052ff;
  box-shadow: 0 20px 40px rgba(0, 82, 255, 0.05);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0052ff;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tier {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.card-price {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
}

.price-symbol {
  font-size: 1.75rem;
  font-weight: 600;
  margin-right: 2px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.card-featured .price-amount {
  color: #0052ff;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding-left: 24px;
}

.plan-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.btn-tier-action {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-weight: 600;
  color: var(--dark);
  margin-top: auto;
  transition: var(--transition);
}

.btn-tier-action:hover {
  background-color: #f8fafc;
  border-color: var(--text-muted);
}

.card-featured .btn-tier-action {
  border: none;
}

/* Contact Sheet Canvas Grid layouts */
.contact-section {
  background-color: #0b0f19;
  padding: 100px 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-lead-text {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 48px;
}

.contact-meta-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
}

.meta-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-form-panel {
  background-color: #1e293b;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid #334155;
}

.custom-form-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-wrapper label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.custom-form-layout input,
.custom-form-layout textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.custom-form-layout input:focus,
.custom-form-layout textarea:focus {
  border-color: #0052ff;
  box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.15);
}

/* Page Level Form and Grid Breakpoints responsive sizing code blocks */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 450px;
    margin: 0 auto;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-form-panel {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .form-row-group {
    grid-template-columns: 1fr;
  }
  .w-100-mobile {
    width: 100%;
  }
}

/* ==========================================================================
   10. Specialized Dynamic Multi-Form Contact Interface
   ========================================================================== */
.bg-white-canvas {
  background-color: #ffffff !important;
}

.contact-hero-block {
  padding: 80px 0 120px 0;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width) !important; /* Dynamically inherits the 1200px constraint */
  margin: 0 auto;
  padding: 0 24px;
}

.main-contact-title {
  font-size: 3.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 12px 0;
  letter-spacing: -1.5px;
}

.main-contact-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 48px;
}

/* Tab Cards Matrix Component */
.contact-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.tab-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-color: #ffffff;
}

.tab-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.tab-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

.text-decoration-none {
  text-decoration: none;
}

/* Individual Tab Modifier Overrides */
.tab-blue.active {
  border: 2px solid #2563eb;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.04);
}

.tab-gray.active {
  border: 2px solid #0f172a;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.tab-green {
  border: 1px solid #e2e8f0;
  background-color: #f0fdf4; /* Pale green base highlight tint */
}

.tab-green:hover {
  border-color: #16a34a;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.06);
}

/* Form Shell Panel Container Card */
.contact-form-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
}

/* Toggling Logic Form Layer Controls */
.contact-toggle-form {
  display: none;
}

.contact-toggle-form.active {
  display: block;
}

/* Structured Form Field Elements formatting codes */
.form-dual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.form-single-row {
  width: 100%;
  margin-bottom: 20px;
}

.align-start {
  align-items: flex-start;
}

.form-input-field {
  display: flex;
  flex-direction: column;
}

.form-input-field input[type="text"],
.form-input-field input[type="tel"],
.form-input-field textarea,
.form-select-style {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input-field input::placeholder,
.form-input-field textarea::placeholder {
  color: #94a3b8;
}

.form-input-field input:focus,
.form-input-field textarea:focus,
.form-select-style:focus {
  border-color: #2563eb;
}

.form-select-style {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Styled HTML Native Checkbox Inputs */
.checkbox-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-inner input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
}

.checkbox-inner span {
  font-size: 0.92rem;
  color: #475569;
}

/* Interactive CV Media File Drag Uploading Block */
.file-upload-container {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  background-color: #ffffff;
}

.file-upload-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  display: block;
}

.file-upload-container input[type="file"] {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
  width: 100%;
}

.file-upload-hint {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Action Control Row Layout Footer */
.form-footer-action-row {
  margin-top: 32px;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}

.btn-blue-submit {
  background-color: #2563eb;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-blue-submit:hover {
  background-color: #1d4ed8;
}

.mt-3 { margin-top: 12px; }
.mb-4 { margin-bottom: 16px; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-tabs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-dual-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form-card-box {
    padding: 24px;
  }
}

/* ==========================================================================
   11. Interactive Drag & Drop File Upload Component
   ========================================================================== */
.file-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 196px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state changes border color to match primary action items */
.file-dropzone:hover {
  border-color: #2563eb;
  background-color: #f0f5ff;
}

/* Drag-over active class state appended via JavaScript handlers */
.file-dropzone.drag-over {
  border-color: #10b981;
  background-color: #ecfdf5;
  transform: scale(0.99);
}

.hidden-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* Prompt Elements Interface */
.dropzone-prompt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Allows text elements to be completely click-transparent */
  transition: opacity 0.15s ease;
}

.dropzone-icon-box {
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.file-dropzone:hover .dropzone-icon-box {
  color: #2563eb;
}

.dropzone-text-instruction {
  font-size: 0.95rem;
  color: #475569;
  margin: 4px 0 8px 0;
}

.highlight-browse {
  color: #2563eb;
  font-weight: 600;
}

/* Active file preview template layouts */
.dropzone-file-preview {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 20; /* Layer overlays above parent input box layer */
}

/* Class injected by validation script when target files pass inspection checks */
.file-dropzone.has-file .dropzone-file-preview {
  display: flex;
}

.file-meta-info {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.preview-file-icon {
  font-size: 1.75rem;
  color: #2563eb;
}

.file-details-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 280px;
}

.preview-filename {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-filesize {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

/* Close action element handles un-linking file streams safely */
.btn-clear-file {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-clear-file:hover {
  background-color: #f1f5f9;
  color: #ef4444;
}

/* ==========================================================================
   12. Deliverky Core Demo Page Layout Blueprint
   ========================================================================== */
.demo-section-block {
  padding: 80px 0 120px 0;
  background-color: #ffffff;
}

/* Fluid split layout structure expanding to match global site limits perfectly */
.demo-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.demo-main-title {
  font-size: 3.4rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 12px 0 20px 0;
}

.demo-main-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Green Highlight Feature Panel Styles */
.demo-features-card-box {
  background-color: #f0fdf4; /* Pale mint green layout base tone */
  border-radius: 16px;
  padding: 40px;
}

.mint-mini-tag {
  display: inline-block;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.card-features-inner-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.75px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.card-features-inner-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Checklist Element Treatments */
.demo-checklist-group {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-checklist-group li {
  font-size: 1rem;
  color: #334155;
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.demo-checklist-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: #10b981; /* Green accent color for check indicators */
  font-weight: 700;
  font-size: 1.1rem;
}

.card-cta-footer {
  border-top: 1px solid #dcfce7;
  padding-top: 24px;
}

.footer-cta-prompt {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 16px;
}

.btn-green-action-pill {
  display: inline-block;
  background-color: #009662; /* Primary vibrant green action pill accent */
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  transition: background-color 0.15s ease;
  text-align: center;
}

.btn-green-action-pill:hover {
  background-color: #007d51;
}

/* Form Panel Column Structure */
.demo-form-container-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.015);
}

.demo-form-container-box .form-input-field input,
.demo-form-container-box .form-input-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-panel-headline {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

/* Contextual footer adjustments without thick borders or padding gaps */
.inline-footer-layout {
  border-top: none !important;
  padding-top: 8px !important;
  margin-top: 24px !important;
}

/* Responsive breakdowns for medium displays and smaller mobile units */
@media (max-width: 992px) {
  .demo-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .demo-main-title {
    font-size: 2.6rem;
  }
  .card-features-inner-title {
    font-size: 1.8rem;
  }
  .demo-form-container-box {
    padding: 32px;
  }
  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown .dropdown-menu {
    display: none; 
    position: static;          /* Disables floating behaviors so it pushes links below it */
    width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 0 8px 16px;   /* Creates the slight 16px left indent formatting */
    margin: 0;
  }

  .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
  }

  dropdown-menu .dropdown-item:hover {
    color: var(--primary);
    padding-left: 16px; /* Subtle active nudging effect on hover */
  }
}

@media (max-width: 640px) {
  .demo-features-card-box {
    padding: 24px;
  }
}