/* 
  =========================================
  TRACKLY PREMIUM DESIGN SYSTEM
  Vanilla CSS for SaaS Landing Page
  =========================================
*/

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

/* 2. Custom Properties (Design Tokens) */
:root {
  /* HSL Tailored Color Palette */
  --primary: hsl(26, 100%, 50%);         /* #FF6F00 Trackly Orange */
  --primary-hover: hsl(26, 100%, 42%);   /* Darker Orange */
  --primary-light: hsl(26, 100%, 96%);   /* Extremely soft orange */
  --primary-glow: rgba(255, 111, 0, 0.15);

  --secondary: hsl(222, 47%, 11%);       /* #0B132B Trackly Dark Navy */
  --secondary-light: hsl(220, 20%, 97%);  /* Soft body background */
  
  --accent-purple: hsl(26, 100%, 50%);   /* AI Theme Orange (Mapped from Purple) */
  --accent-purple-light: hsl(26, 100%, 96%);
  --accent-purple-glow: rgba(255, 111, 0, 0.15);

  --success: hsl(142, 76%, 36%);        /* Clean Green */
  --success-light: hsl(142, 76%, 95%);
  --info: hsl(217, 91%, 60%);           /* Professional Blue */
  --info-light: hsl(217, 91%, 95%);
  --warning: hsl(38, 92%, 50%);         /* Rich Yellow/Orange */
  --warning-light: hsl(38, 92%, 95%);

  --white: #ffffff;
  --black: #050508;
  
  /* Neutral Grays */
  --gray-50: hsl(210, 20%, 98%);
  --gray-100: hsl(220, 14%, 96%);
  --gray-200: hsl(220, 13%, 91%);
  --gray-300: hsl(220, 13%, 86%);
  --gray-400: hsl(218, 11%, 65%);
  --gray-500: hsl(220, 9%, 46%);
  --gray-600: hsl(218, 11%, 35%);
  --gray-700: hsl(220, 12%, 20%);
  --gray-800: hsl(224, 15%, 12%);
  --gray-900: hsl(224, 15%, 8%);

  /* Font Tokens */
  --font-family-title: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Shadow Tokens */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-glow-orange: 0 12px 30px -8px rgba(255, 111, 0, 0.35);
  --shadow-glow-purple: 0 12px 30px -8px rgba(255, 111, 0, 0.35);
  
  /* Transition Tokens */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  /* Container Sizes */
  --max-width: 1200px;
}

/* 3. Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-family-title);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-orange { color: var(--primary); }
.text-purple { color: var(--accent-purple); }
.bg-orange { background-color: var(--primary); }
.bg-purple { background-color: var(--accent-purple); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-orange {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-purple {
  background-color: var(--accent-purple-light);
  color: var(--accent-purple);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-orange);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--gray-200);
  color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

.btn-purple {
  background-color: var(--accent-purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-purple:hover {
  background-color: hsl(255, 70%, 52%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* 5. Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 224, 230, 0.5);
  transition: background-color var(--transition-normal), border-bottom var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 224, 230, 0.9);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-family-title);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.logo-text .dark-part { color: var(--secondary); }
.logo-text .orange-part { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-icon {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px;
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
}

.dropdown-item a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  margin-bottom: 6px;
  transition: all var(--transition-normal);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

/* Header Spacer */
.header-spacer {
  height: 80px;
}

/* 6. Hero Section */
.hero-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, var(--white) 50%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: flex-start;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.hero-title span.text-orange {
  display: inline-block;
  position: relative;
}

.hero-title span.text-orange::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 111, 0, 0.1);
  z-index: -1;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 540px;
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}

.checklist-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-ctas-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-subtext {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
}

.hero-subtext svg {
  width: 14px;
  height: 14px;
}

/* 7. Live Dashboard CSS Mockup */
.hero-visual {
  position: relative;
  width: 100%;
}

.dashboard-mockup {
  background-color: var(--gray-900);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-800);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  aspect-ratio: 1.45 / 1;
  color: var(--white);
  font-size: 11px;
}

/* Dashboard Sidebar */
.dash-sidebar {
  background-color: hsl(224, 15%, 6%);
  border-right: 1px solid var(--gray-800);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  padding-left: 6px;
}

.dash-logo-icon {
  width: 18px;
  height: 18px;
}

.dash-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dash-menu-item.active {
  background-color: var(--primary);
  color: var(--white);
}

.dash-menu-item:not(.active):hover {
  background-color: var(--gray-800);
  color: var(--white);
}

.dash-menu-item svg {
  width: 14px;
  height: 14px;
}

/* Dashboard Main Panel */
.dash-main {
  background-color: var(--gray-900);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.metric-card {
  background-color: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  color: var(--gray-400);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.metric-val {
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
}

.metric-card.m-total .metric-val { color: var(--white); }
.metric-card.m-transit .metric-val { color: var(--info); }
.metric-card.m-delivered .metric-val { color: var(--success); }
.metric-card.m-pending .metric-val { color: var(--warning); }

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 12px;
  flex-grow: 1;
}

/* Charts Panel */
.chart-panel, .recent-panel {
  background-color: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-100);
}

.chart-svg-container {
  width: 100%;
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 90px;
}

/* Recent Shipments */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 9px;
  transition: background-color var(--transition-fast);
}

.recent-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.recent-id {
  font-family: monospace;
  font-weight: 500;
  color: var(--gray-100);
}

.status-pill {
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  font-size: 7.5px;
  font-weight: 600;
}

.status-pill.delivered {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.status-pill.transit {
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.status-pill.pending {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.status-pill.failed {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.recent-more {
  text-align: center;
  font-size: 9px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.recent-more:hover {
  text-decoration: underline;
}

/* 8. Features Section */
.features-section {
  padding: 100px 0;
  background-color: var(--white);
  border-top: 1px solid var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.feature-card-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* 9. AI Personalization Section (Interactive Demo!) */
.ai-section {
  padding: 100px 0;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

.ai-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.ai-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-desc {
  font-size: 16px;
  color: var(--gray-500);
}

.ai-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}

.ai-checklist-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.ai-cta-sub {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: -6px;
}

/* Interactive Demo Container */
.ai-demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}

/* Demo Control Panel */
.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--gray-100);
  padding-right: 20px;
}

.demo-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 8px;
}

.demo-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
}

.progress-bar-bg {
  height: 6px;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 50%; /* Step 2 of 4 */
  background: linear-gradient(to right, var(--accent-purple), #FF9E00);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

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

.form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background-color: var(--gray-50);
  outline: none;
  transition: all var(--transition-fast);
  resize: none;
}

.form-input:focus {
  border-color: var(--accent-purple);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.logo-uploader {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  background-color: var(--gray-50);
  transition: all var(--transition-fast);
}

.logo-uploader:hover {
  border-color: var(--accent-purple);
  background-color: var(--accent-purple-light);
}

.uploader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.uploader-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

.logo-uploader:hover .uploader-icon {
  color: var(--accent-purple);
}

.logo-uploaded-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 10px;
  font-weight: 700;
}

.logo-uploaded-preview span {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  font-size: 11px;
}

.logo-check {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* Demo Preview Screen */
.demo-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-portal {
  background-color: hsl(224, 15%, 6%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}

.portal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-brand {
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.portal-brand-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-purple);
}

.portal-lang {
  font-size: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  color: var(--gray-400);
}

.portal-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0;
}

.portal-title {
  font-size: 12px;
  font-weight: 700;
}

.portal-subtitle {
  font-size: 8px;
  color: var(--gray-400);
}

.portal-search {
  display: flex;
  gap: 4px;
}

.portal-input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 9px;
  color: var(--white);
  outline: none;
  font-family: monospace;
}

.portal-btn {
  background-color: var(--accent-purple);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 111, 0, 0.3);
}

.portal-timeline-header {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--gray-400);
  margin-top: 6px;
}

.portal-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 6px;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5px;
  width: 1px;
  height: calc(100% + 2px);
  background-color: rgba(255, 255, 255, 0.1);
}

.timeline-step.completed:not(:last-child)::after {
  background-color: var(--accent-purple);
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--gray-800);
  border: 2px solid var(--gray-700);
  z-index: 1;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.timeline-step.completed .timeline-dot {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 0 6px var(--accent-purple);
}

.timeline-step.active .timeline-dot {
  background-color: hsl(224, 15%, 6%);
  border-color: var(--accent-purple);
  animation: pulse-purple 2s infinite;
}

.timeline-text {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--gray-400);
}

.timeline-step.completed .timeline-text,
.timeline-step.active .timeline-text {
  color: var(--white);
  font-weight: 600;
}

@keyframes pulse-purple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(255, 111, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0);
  }
}

/* 10. Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: var(--white);
}

.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -20px;
  margin-bottom: 50px;
}

.switch-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.switch-label.active {
  color: var(--secondary);
}

.switch-control {
  position: relative;
  width: 52px;
  height: 28px;
  background-color: var(--gray-200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.switch-control:hover {
  background-color: var(--gray-300);
}

.switch-control.yearly {
  background-color: var(--primary);
}

.switch-handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background-color: var(--white);
  border-radius: 50%;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.switch-control.yearly .switch-handle {
  transform: translateX(24px);
}

.switch-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

/* Featured / Professional Card */
.pricing-card.featured {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
}

.pricing-card.featured:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 45px -10px rgba(255, 111, 0, 0.45);
}

.pricing-card.featured h2,
.pricing-card.featured .plan-price,
.pricing-card.featured .pricing-features-list,
.pricing-card.featured .pricing-feature-item {
  color: var(--white);
}

.pricing-card.featured .pricing-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-card-header {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
}

.plan-desc {
  font-size: 13px;
  color: var(--gray-400);
}

.pricing-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.8);
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  margin: 12px 0 0 0;
}

.plan-currency {
  font-size: 14px;
  font-weight: 600;
  margin-right: 2px;
  color: var(--gray-600);
}

.pricing-card.featured .plan-currency {
  color: rgba(255, 255, 255, 0.8);
}

.plan-price {
  font-family: var(--font-family-title);
  font-size: 40px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.plan-period {
  font-size: 13px;
  color: var(--gray-400);
  margin-left: 4px;
}

.pricing-card.featured .plan-period {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.pricing-card.featured .pricing-feature-item {
  color: var(--white);
}

.feature-check-icon {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card.featured .feature-check-icon {
  color: var(--white);
}

.feature-cross-icon {
  width: 16px;
  height: 16px;
  color: var(--gray-300);
  flex-shrink: 0;
}

.pricing-card.featured .feature-cross-icon {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-btn {
  width: 100%;
}

.pricing-card.featured .btn {
  background-color: var(--white);
  color: var(--primary);
}

.pricing-card.featured .btn:hover {
  background-color: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 11. Social Proof Section */
.social-proof-section {
  padding: 60px 0;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.marquee-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 60px;
  min-width: 100%;
  animation: marquee 25s linear infinite;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 16px;
  color: var(--gray-400);
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.logo-item:hover {
  opacity: 1;
  color: var(--secondary);
}

.logo-item svg {
  height: 24px;
  width: auto;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* 12. FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform var(--transition-normal), color var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-normal);
}

.faq-content {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 13. Final CTA Section */
.cta-section {
  padding: 60px 0 100px 0;
  background-color: var(--white);
}

.cta-card {
  background-color: var(--secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-800);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Radial Glow Behind */
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.2) 0%, rgba(255, 111, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 16px;
  color: var(--gray-300);
  max-width: 500px;
}

.cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.cta-img {
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* 14. Footer */
.footer {
  background-color: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  color: var(--gray-400);
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 14px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-desc {
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-column-title {
  font-family: var(--font-family-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--gray-400);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 2px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background-color: var(--gray-700);
  color: var(--white);
}

.lang-flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
}

.lang-chevron {
  width: 10px;
  height: 10px;
}

.lang-dropdown {
  position: absolute;
  bottom: 120%;
  right: 0;
  background-color: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-sm);
  padding: 6px;
  width: 120px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.lang-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--gray-300);
  font-size: 12px;
}

.lang-item a:hover {
  background-color: var(--gray-700);
  color: var(--white);
}

/* 15. Responsive Styling Media Queries (Mobile-First approach overrides) */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 4;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  
  .header-spacer {
    height: 70px;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 20px;
    z-index: 1000;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .nav-buttons {
    display: none; /* In mobile we could embed inside menu or hide for simplicty */
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
    width: 100%;
  }
  
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .ai-demo-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .demo-controls {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    padding-right: 0;
    padding-bottom: 20px;
  }
  
  .cta-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
    text-align: center;
  }
  
  .cta-img {
    max-width: 200px;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 580px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ================= 16. Secure Checkout Modal & Footer Payments ================= */

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.payment-icon {
  width: 32px;
  height: 20px;
  border-radius: 3px;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.payment-icon:hover {
  opacity: 1;
}

/* Modal Checkout Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 60px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

/* Checkout Modal Card */
.checkout-modal-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  
  /* Make the card self-scrollable if it becomes very tall (e.g. during credit card form render) */
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.checkout-modal-card::-webkit-scrollbar {
  width: 6px;
}

.checkout-modal-card::-webkit-scrollbar-track {
  background: transparent;
}

.checkout-modal-card::-webkit-scrollbar-thumb {
  background-color: var(--gray-300);
  border-radius: var(--radius-pill);
}

.modal-overlay.active .checkout-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--gray-100);
  color: var(--secondary);
  transform: rotate(90deg);
}

.checkout-modal-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.checkout-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
}

.checkout-modal-desc {
  font-size: 13px;
  color: var(--gray-400);
}

/* Checkout Details Box */
.checkout-details-box {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.detail-label {
  color: var(--gray-500);
  font-weight: 500;
}

.detail-value {
  color: var(--secondary);
  font-weight: 700;
}

.checkout-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 4px 0;
}

.total-line {
  font-size: 16px;
}

.total-line .detail-label {
  color: var(--secondary);
  font-weight: 700;
}

.total-line .detail-value {
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
}

/* PayPal Button Container */
.paypal-container {
  width: 100%;
  margin-top: 4px;
  min-height: 85px; /* Prevent layout shift during PayPal render */
}

.checkout-footer-notice {
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Mobile responsive fixes */
@media (max-width: 580px) {
  .footer-bottom-left {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .checkout-modal-card {
    padding: 24px 20px;
    gap: 16px;
    max-height: calc(100vh - 40px);
  }
  .checkout-details-box {
    padding: 16px;
    gap: 10px;
  }
}

/* ================= Auth Pages Styles ================= */
.auth-body {
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.84) 0%, rgba(5, 5, 8, 0.95) 100%), url('images/auth_bg.png') no-repeat center center / cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  text-decoration: none;
}

.auth-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.auth-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.auth-logo-text .dark-part {
  color: var(--white);
}

.auth-logo-text .orange-part {
  color: var(--primary);
}

.auth-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--gray-400);
}

.auth-subtitle a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.auth-subtitle a:hover {
  color: var(--primary-light);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-input-group label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: var(--gray-500);
  transition: color var(--transition-fast);
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--white);
  outline: none;
  transition: all var(--transition-fast);
}

.auth-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.auth-input:focus ~ svg {
  color: var(--primary);
}

.auth-input-wrapper .toggle-password {
  position: absolute;
  right: 14px;
  left: auto;
  cursor: pointer;
  pointer-events: auto;
}

.auth-input-wrapper .toggle-password:hover {
  color: var(--white);
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  cursor: pointer;
  user-select: none;
}

.remember-me input {
  cursor: pointer;
  accent-color: var(--primary);
}

.forgot-password {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.forgot-password:hover {
  color: var(--white);
}

.auth-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
}

.auth-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
  margin-top: 10px;
  transition: color var(--transition-fast);
}

.auth-back:hover {
  color: var(--white);
}

.auth-back svg {
  transition: transform var(--transition-fast);
}

.auth-back:hover svg {
  transform: translateX(-4px);
}

.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.auth-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  background: rgba(13, 13, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--white);
  outline: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.auth-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.auth-select option {
  background: #0d0d14;
  color: var(--white);
}

/* ================= Google Auth Button ================= */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-500);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #3c4043;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.google-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.google-btn svg {
  flex-shrink: 0;
}

/* ================= Logistics Carousel Section ================= */
.logistics-carousel-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(10, 10, 18, 1) 100%);
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  margin-bottom: 48px;
}

.carousel-header .section-badge {
  margin-bottom: 12px;
}

.carousel-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.carousel-subtitle {
  font-size: 15px;
  color: var(--gray-400);
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-outer {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 8, 0.85) 0%,
    rgba(5, 5, 8, 0.2) 55%,
    transparent 100%
  );
}

.carousel-caption {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
}

.carousel-caption-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 6px;
}

.carousel-caption-title {
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.carousel-caption-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.carousel-arrow:hover {
  background: rgba(255, 107, 43, 0.7);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-left {
  left: 16px;
}

.carousel-arrow-right {
  right: 16px;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

@media (max-width: 640px) {
  .carousel-caption {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .auth-body {
    padding: 20px 15px;
  }
  .auth-card {
    padding: 30px 20px;
    gap: 20px;
  }
}
