/*
 * Hotelmania.ro Premium CSS Stylesheet
 * Aligned with the real 6D Nexus UI architecture.
 * Uses Plus Jakarta Sans & Inter typography, Aura Blue color presets, 
 * signature top-border gradients, and Tailwind/PrimeVue component styling.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300..900&family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* Colors - Aura Blue semantic presets (Light Theme) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  
  /* App Mockup Panel (Light theme with Poseidon dark menu hybrid) */
  --mockup-bg: #f1f5f9;
  --mockup-card-bg: #ffffff;
  --mockup-border: #e2e8f0;
  --mockup-text-main: #0f172a;
  --mockup-text-muted: #64748b;
  --mockup-text-light: #94a3b8;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --color-primary: #0057e7;       /* Zenasig Primary Blue */
  --color-primary-hover: #0046bd;  /* Zenasig Primary Hover */
  --color-primary-light: #e6eefe;  /* Zenasig Primary Light */
  
  --color-success: #10b981;       /* Emerald */
  --color-success-hover: #059669;
  --color-success-light: #ecfdf5;
  
  --color-accent: #8b5cf6;        /* Violet */
  --color-sky: #38bdf8;           /* Sky */
  --color-danger: #ef4444;
  --color-warning: #f59e0b;

  --border-color: #e2e8f0;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgba(18, 18, 23, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -1px rgba(0,0,0,0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.04), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.08);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.12s ease;
}

/* System Dark Mode preference */
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg-primary: #070d19;
    --bg-secondary: #0c1527;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #1e293b;
    
    --color-primary: #3884ff;
    --color-primary-hover: #5d9dff;
    --color-primary-light: rgba(0, 87, 231, 0.15);

    --mockup-bg: #090e1a;
    --mockup-card-bg: #0f172a;
    --mockup-border: #1e293b;
    --mockup-text-main: #f8fafc;
    --mockup-text-muted: #94a3b8;
    --mockup-text-light: #475569;
  }
}

/* Forced Dark Mode via JS */
html.dark {
  --bg-primary: #070d19;
  --bg-secondary: #0c1527;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-color: #1e293b;
  
  --color-primary: #3884ff;
  --color-primary-hover: #5d9dff;
  --color-primary-light: rgba(0, 87, 231, 0.15);

  --mockup-bg: #090e1a;
  --mockup-card-bg: #0f172a;
  --mockup-border: #1e293b;
  --mockup-text-main: #f8fafc;
  --mockup-text-muted: #94a3b8;
  --mockup-text-light: #475569;
}

/* Selection Color customization */
::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Global resets & base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Standard custom scrollbar styling */
  scrollbar-color: var(--color-primary) var(--bg-primary);
  scrollbar-width: thin;
}

/* Webkit scrollbar fallback */
@supports not (scrollbar-color: auto) {
  html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  html::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
  }
  html::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

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

/* Accent Color binding */
input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: var(--color-primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 27, 102, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}


header.scrolled {
  background-color: rgba(0, 22, 82, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Light Header variant for subpages */
header.header-light {
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-color);
}

header.header-light.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* Dark mode overrides for subpage header */
@media (prefers-color-scheme: dark) {
  html:not(.light) header.header-light {
    background-color: rgba(12, 21, 39, 0.85);
  }
  html:not(.light) header.header-light.scrolled {
    background-color: rgba(12, 21, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }
}

html.dark header.header-light {
  background-color: rgba(12, 21, 39, 0.85);
}
html.dark header.header-light.scrolled {
  background-color: rgba(12, 21, 39, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

header.header-light .logo {
  color: var(--text-primary);
}

header.header-light nav ul a {
  color: var(--text-secondary);
}

header.header-light nav ul a:hover {
  color: var(--color-primary);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo span {
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-sky);
  display: inline-block;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 950;
  font-size: 18px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul a {
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding: 6px 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-accent) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav ul a:hover {
  color: #ffffff;
}

nav ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

header.header-light .theme-toggle {
  color: var(--text-secondary);
}

header.header-light .theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

/* Toggle Sun/Moon Icon Transitions */
.theme-toggle .sun-icon {
  display: block;
}
.theme-toggle .moon-icon {
  display: none;
}

/* System prefers dark and user didn't override to light */
@media (prefers-color-scheme: dark) {
  html:not(.light) .theme-toggle .sun-icon {
    display: none;
  }
  html:not(.light) .theme-toggle .moon-icon {
    display: block;
  }
}

/* When html has dark class, show/hide icons */
html.dark .theme-toggle .sun-icon {
  display: none;
}
html.dark .theme-toggle .moon-icon {
  display: block;
}

/* Smooth Rotation effect on click */
.theme-toggle svg {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle:active svg {
  transform: rotate(30deg) scale(0.85);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background-color: white;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.25px;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  background: linear-gradient(135deg, #001B66 0%, #00164c 50%, #000c30 100%);
  color: #ffffff;
  overflow: hidden;
}

/* Background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero h1 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

#hero-cta-alfa {
  background: linear-gradient(rgb(255, 214, 107) 0%, rgb(245, 185, 71) 100%);
  color: rgb(10, 27, 51);
  box-shadow: rgba(245, 185, 71, 0.45) 0px 18px 44px, rgba(0, 0, 0, 0.25) 0px 4px 14px, rgba(255, 255, 255, 0.55) 0px 1px 0px inset;
  border: none;
}

#hero-cta-alfa:hover {
  background: linear-gradient(rgb(255, 222, 128) 0%, rgb(250, 198, 90) 100%);
  box-shadow: rgba(245, 185, 71, 0.6) 0px 20px 48px, rgba(0, 0, 0, 0.3) 0px 6px 18px, rgba(255, 255, 255, 0.65) 0px 1px 0px inset;
  transform: translateY(-2px);
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-left {
  z-index: 2;
}

.hero-right {
  position: relative;
  height: 400px;
  z-index: 2;
}

/* Travel Animation Graphic Scene */
.hero-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

.travel-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Airplane Animation */
.flight-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.airplane {
  position: absolute;
  width: 24px;
  height: 24px;
  offset-path: path("M20,250 C100,50 300,50 380,180");
  offset-rotate: auto;
  animation: flyAlong 9s linear infinite;
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
  z-index: 5;
}

@keyframes flyAlong {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Destination Tags */
.destination {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  animation: floatDestination 4s ease-in-out infinite;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  z-index: 4;
}

.destination:hover {
  transform: scale(1.06) translateY(-3px);
  background: rgba(0, 87, 231, 0.35);
  border-color: rgba(96, 165, 250, 0.6);
  cursor: default;
}

.dest-marker {
  font-size: 13px;
}

.dest-name {
  color: #ffffff;
}

.dest-price {
  color: #34d399; /* Emerald 400 */
  background: rgba(52, 211, 153, 0.15);
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 11px;
}

.dest-antalya { top: 8%; left: 42%; animation-delay: 0s; }
.dest-roma { top: 48%; right: 4%; animation-delay: 1.5s; }
.dest-dubai { top: 72%; left: 35%; animation-delay: 3s; }
.dest-paris { top: 22%; left: 6%; animation-delay: 0.7s; }

@keyframes floatDestination {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Glassmorphic Modern Booking Card */
.booking-card {
  position: absolute;
  top: 38%;
  left: 20%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  min-width: 170px;
  z-index: 3;
  animation: floatCard 6s ease-in-out infinite;
  color: #0f172a;
}

.booking-card .card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  color: #0f172a;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-card .card-icon {
  font-size: 13px;
}

.booking-card .booking-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.booking-card .detail-line {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  width: 100%;
}

.booking-card .detail-line.short {
  width: 60%;
}

.booking-card .card-status-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.booking-card .status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse-blue 1.5s infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

/* Floating Travel Elements */
.floating-element {
  position: absolute;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: floatElement 5s ease-in-out infinite;
  z-index: 2;
}

.passport-element { top: 12%; right: 18%; animation-delay: 0.5s; }
.suitcase-element { bottom: 12%; left: 8%; animation-delay: 2s; }
.ticket-element { bottom: 18%; right: 28%; animation-delay: 1.2s; }

@keyframes floatElement {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* Connection Nodes */
.connection-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 1;
}

.node-1 { top: 25%; left: 40%; }
.node-2 { bottom: 30%; right: 30%; }

/* Mockup Dashboard Container */
.dashboard-mockup {
  background-color: var(--mockup-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 660px;
  text-align: left;
  position: relative;
}

/* Window Chrome (top bar) */
.mockup-chrome {
  background-color: var(--mockup-card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}



.chrome-dots {
  display: flex;
  gap: 8px;
}

.chrome-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.chrome-title {
  color: var(--mockup-text-muted);
  font-size: 13px;
  font-weight: 600;
  background-color: #f8fafc;
  padding: 4px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.chrome-badge {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse-blue 1.8s infinite;
}

@keyframes pulse-blue {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Dashboard Layout */
.mockup-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Poseidon template dark sidebar styling */
.mockup-sidebar {
  width: 220px;
  background-color: #0f172a; /* Slate 900 */
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid #1e293b;
}

.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #94a3b8; /* Slate 400 */
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
  font-size: 14px;
}

.sidebar-tab:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-tab.active {
  color: #ffffff;
  background-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.sidebar-tab-icon {
  font-size: 16px;
}

.mockup-content {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
  background-color: var(--mockup-bg);
  color: var(--mockup-text-main);
}

/* Dashboard Views general styles */
.view-panel {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.view-title-bar h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* View 1: Live Search */
.search-mock-form {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.search-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-input-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--mockup-text-muted);
}

.search-input-group input, 
.search-input-group select {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--mockup-text-main);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.search-input-group input:focus, 
.search-input-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-search-simulate {
  background-color: var(--color-primary);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  height: 38px;
  transition: var(--transition-fast);
}

.btn-search-simulate:hover {
  background-color: var(--color-primary-hover);
}

/* Results Skeleton & State */
.search-results-container {
  position: relative;
  min-height: 250px;
}

.skeleton-loader {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.skeleton-card {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  height: 120px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skeleton-line {
  background-color: #f1f5f9;
  height: 14px;
  border-radius: 4px;
}

.skeleton-title { width: 35%; height: 18px; }
.skeleton-subtitle { width: 20%; }
.skeleton-footer { width: 100%; display: flex; justify-content: space-between; }
.skeleton-footer-left { width: 40%; }
.skeleton-footer-right { width: 15%; height: 28px; border-radius: 8px; }

.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* Search results lists */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-intro-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 240px;
  text-align: center;
  background-color: var(--mockup-card-bg);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  color: var(--mockup-text-muted);
  gap: 12px;
  padding: 24px;
}

.search-intro-placeholder i {
  font-size: 32px;
  color: var(--color-primary);
}

/* Hotel Card aligned with 6d-nexus UI (white cards, clean design) */
.hotel-card {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.hotel-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
}

.hotel-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hotel-location {
  font-size: 12px;
  color: var(--mockup-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotel-stars {
  color: var(--color-warning);
  font-size: 12px;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th {
  background-color: var(--mockup-bg);
  color: var(--mockup-text-muted);
  font-weight: 600;
  text-align: left;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Styled Tag badges to match 6d-nexus UI */
.supplier-badge {
  background-color: #64748b;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.price-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--mockup-text-main);
}

.price-details {
  font-size: 11px;
  color: var(--mockup-text-muted);
}

.cancellation-free {
  color: var(--color-success);
  font-weight: 600;
}

.cancellation-nonref {
  color: var(--color-danger);
  font-weight: 500;
}

.best-badge {
  background-color: var(--color-success-light);
  color: var(--color-success-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  text-transform: uppercase;
}

.btn-add-trip {
  background-color: var(--color-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-add-trip:hover {
  background-color: var(--color-primary-hover);
}

/* Markup Control Float */
.markup-control-box {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.markup-label-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.markup-label-side i {
  color: var(--color-success);
  font-size: 20px;
}

.markup-label-side span {
  font-weight: 700;
  font-size: 14px;
}

.markup-slider-side {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.markup-slider-side input[type="range"] {
  flex: 1;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.markup-val-display {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  min-width: 55px;
  text-align: center;
}

/* ==========================================
 * VIEW 2: Trips & Bookings (Aligned with TripDetail.vue)
 * ==========================================
 */
.trip-detail-header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.trip-title-info h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.trip-salesforce-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.trip-salesforce-link:hover {
  text-decoration: underline;
}

.trip-financial-right {
  text-align: right;
}

.trip-financial-right .label {
  font-size: 11px;
  color: var(--mockup-text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.trip-financial-right .value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.trip-financial-right .profit {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-success-hover);
  margin-top: 2px;
}

/* Booking cards in trip detail */
.bookings-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-item-card {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.booking-item-card:hover {
  border-color: var(--color-primary);
}

.booking-main-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.booking-thumb {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  object-cover: true;
  background-color: #f1f5f9;
  flex-shrink: 0;
}

.booking-info-col {
  flex: 1;
  min-width: 0;
}

.booking-hotel-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-meta-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.booking-date-range {
  font-size: 11px;
  color: var(--mockup-text-muted);
}

.booking-price-col {
  text-align: right;
  flex-shrink: 0;
}

.booking-price-col .client-price {
  font-size: 16px;
  font-weight: 800;
}

.booking-price-col .provider-price {
  font-size: 10px;
  color: var(--mockup-text-muted);
  margin-top: 2px;
}

/* Room details section */
.booking-rooms-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-room-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.booking-room-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.booking-room-price {
  font-weight: 600;
}

/* Voucher row */
.booking-voucher-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  font-size: 11px;
}

.btn-voucher-download {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-voucher-download:hover {
  text-decoration: underline;
}

/* ==========================================
 * VIEW 3: Invoicing B2B (Aligned with InvoicePreview.vue)
 * ==========================================
 */
.invoice-workspace {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 20px;
}

.invoice-preview-sheet {
  background-color: var(--mockup-card-bg);
  color: var(--mockup-text-main);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border-color);
}

.invoice-header-block {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.invoice-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
}

.invoice-logo span {
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-sky);
  display: inline-block;
}

.invoice-meta-info {
  text-align: right;
}

.invoice-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.invoice-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.invoice-address-col h4 {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--mockup-text-muted);
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2px;
}

.invoice-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.invoice-sheet-table th {
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  padding: 6px 0;
  color: var(--mockup-text-muted);
  font-weight: 600;
}

.invoice-sheet-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.invoice-sheet-totals {
  align-self: flex-end;
  width: 220px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  font-size: 11px;
}

.totals-row.grand-total {
  border-top: 1px solid var(--border-color);
  background-color: var(--color-primary-light);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  margin-top: 4px;
}

.totals-row.grand-total span:first-child {
  color: var(--color-primary);
}

.invoice-bank-details {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  font-size: 10px;
  color: var(--mockup-text-muted);
}

.invoice-bank-details h4 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.invoice-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.invoice-control-card {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.invoice-control-card h4 {
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-row label {
  font-size: 11px;
  font-weight: 700;
  color: var(--mockup-text-muted);
}

.input-row input, 
.input-row select {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--mockup-text-main);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
}

.btn-export-mock {
  background-color: var(--color-success);
  color: white;
  width: 100%;
}

.btn-export-mock:hover {
  background-color: var(--color-success-hover);
}

/* ==========================================
 * VIEW 4: Settings (Aligned with SettingsView.vue)
 * ==========================================
 */
.settings-tab-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.settings-sub-tab {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mockup-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.settings-sub-tab:hover {
  color: var(--text-primary);
}

.settings-sub-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.settings-panel {
  display: none;
}

.settings-panel.active {
  display: block;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.settings-card {
  background-color: var(--mockup-card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.settings-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.supplier-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supplier-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.supplier-config-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.supplier-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supplier-ping-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mockup-text-muted);
  background-color: var(--mockup-bg);
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.supplier-ping-indicator .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.supplier-ping-indicator.online .status-dot {
  background-color: var(--color-success);
}

.supplier-name-text {
  font-weight: 700;
  font-size: 13px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 22px;
}

.slider-toggle:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

input:checked + .slider-toggle {
  background-color: var(--color-primary);
}

input:checked + .slider-toggle:before {
  transform: translateX(18px);
}

.rates-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.rate-config-card {
  border: 1px solid var(--border-color);
  background-color: var(--mockup-bg);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rate-config-card .head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 12px;
}

.rate-config-card .input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.rate-config-card input {
  width: 100%;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--mockup-card-bg);
  color: var(--mockup-text-main);
  font-weight: 600;
}

.flex-inputs {
  display: flex;
  gap: 12px;
}

.flex-inputs .input-row {
  flex: 1;
}

/* Problem Section */
.section-problem {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.section-title {
  font-size: 40px;
  margin-bottom: 24px;
  letter-spacing: -1.2px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.problem-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--color-danger);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.problem-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Solution Section */
.solution-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-item {
  display: flex;
  gap: 16px;
}

.solution-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-success-light);
  color: var(--color-success-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.solution-item p {
  color: var(--text-secondary);
  font-size: 15px;
}

.solution-graphic {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

.graphic-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.graphic-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-label {
  font-size: 12px;
  width: 120px;
  text-align: right;
  color: var(--text-secondary);
}

.bar-outer {
  flex: 1;
  background-color: #f1f5f9;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.bar-inner {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.bar-inner.manual {
  background-color: var(--color-danger);
  width: 90%;
}

.bar-inner.hotelmania {
  background-color: var(--color-success);
  width: 15%;
}

/* Layout wrapper pentru coloana stângă din Solution */
.solution-graphic-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stiluri pentru cardul de flux API */
.connection-flow-card {
  transition: var(--transition);
}

.connection-flow-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.connection-flow-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 120px;
  position: relative;
  padding: 10px 0;
  margin-top: 15px;
}

.flow-sources {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.flow-source-item {
  font-size: 11px;
  font-weight: 700;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  white-space: nowrap;
}

.flow-connector {
  flex: 1;
  height: 100%;
  position: relative;
  z-index: 1;
}

.flow-hub {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  position: relative;
  z-index: 2;
  animation: hub-glow 2s infinite ease-in-out;
}

.flow-target {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  z-index: 2;
}

/* Animații */
@keyframes hub-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 0 25px rgba(37, 99, 235, 0.7); }
}

.pulse-line {
  animation: stroke-pulse 1.5s linear infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 0.3s; }
.pulse-3 { animation-delay: 0.6s; }
.pulse-out { animation-duration: 1s; }

@keyframes stroke-pulse {
  to {
    stroke-dashoffset: -20;
  }
}

/* Open Alfa Section */
.section-alfa {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.alfa-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.alfa-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.alfa-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.alfa-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.alfa-form-wrapper {
  background: linear-gradient(135deg, #0b1528 0%, #112240 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(10, 27, 51, 0.5), 0 0 40px rgba(0, 87, 231, 0.15);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  color: #ffffff;
}

.alfa-form-wrapper h3 {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: #ffffff;
}

.alfa-form-wrapper p {
  font-family: var(--font-sans);
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

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

.alfa-form-wrapper .form-group label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.alfa-form-wrapper .form-group input,
.alfa-form-wrapper .form-group select,
.alfa-form-wrapper .form-group textarea {
  font-family: var(--font-sans);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: var(--transition-fast);
  line-height: 1.5;
}

.alfa-form-wrapper .form-group select option {
  background-color: #0b1528;
  color: #ffffff;
}

.alfa-form-wrapper .form-group input::placeholder,
.alfa-form-wrapper .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
}

.alfa-form-wrapper .form-group input:focus,
.alfa-form-wrapper .form-group select:focus,
.alfa-form-wrapper .form-group textarea:focus {
  border-color: rgb(245, 185, 71);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(245, 185, 71, 0.25);
  color: #ffffff;
}

/* Native User-Interaction Validation Visuals */
.alfa-form-wrapper .form-group input:user-invalid,
.alfa-form-wrapper .form-group select:user-invalid,
.alfa-form-wrapper .form-group textarea:user-invalid {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.alfa-form-wrapper .form-group input:user-valid,
.alfa-form-wrapper .form-group select:user-valid,
.alfa-form-wrapper .form-group textarea:user-valid {
  border-color: var(--color-success);
}

.form-feedback-alert {
  padding: 16px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.form-feedback-alert.success {
  background-color: var(--color-success-light);
  color: var(--color-success-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-feedback-alert.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

#submit-form-btn {
  width: 100%;
  background: linear-gradient(rgb(255, 214, 107) 0%, rgb(245, 185, 71) 100%);
  color: rgb(10, 27, 51);
  box-shadow: rgba(245, 185, 71, 0.4) 0px 8px 24px, rgba(0, 0, 0, 0.25) 0px 4px 10px;
  border: none;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

#submit-form-btn:hover {
  background: linear-gradient(rgb(255, 222, 128) 0%, rgb(250, 198, 90) 100%);
  box-shadow: rgba(245, 185, 71, 0.6) 0px 12px 28px, rgba(0, 0, 0, 0.3) 0px 6px 14px;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question h4 {
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-icon::before {
  content: "+";
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

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

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

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-primary-light);
}

.faq-item.active .faq-icon::before {
  color: var(--color-primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px;
  border-top: 1px solid #1e293b;
}

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

.footer-about h4 {
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-about h4 span {
  color: var(--color-primary);
}

.footer-about p {
  font-size: 14px;
  max-width: 360px;
  margin-bottom: 24px;
}

.footer-col h5 {
  color: white;
  font-size: 13px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-grid, .problem-grid, .solution-grid, .alfa-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-grid {
    text-align: center;
    margin-bottom: 60px;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-right {
    height: 350px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .solution-grid {
    display: flex;
    flex-direction: column;
  }
  .solution-graphic-col {
    width: 100%;
    order: 2;
  }
  .invoice-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header nav { display: none; }
  .nav-wrapper { height: 70px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-right { height: 280px; }
  .booking-card { min-width: 140px; padding: 12px; }
  .destination { padding: 4px 10px; font-size: 11px; }
  .dest-antalya { top: 6%; left: 35%; }
  .dest-roma { top: 44%; right: 2%; }
  .dest-dubai { top: 68%; left: 28%; }
  .dest-paris { top: 20%; left: 2%; }
  .section-title { font-size: 30px; }
  .section-padding { padding: 60px 0; }
  
  .dashboard-mockup {
    height: auto;
    max-height: none;
  }
  .mockup-body {
    flex-direction: column;
  }
  .mockup-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .sidebar-tab {
    white-space: nowrap;
    padding: 8px 12px;
  }
  .search-mock-form {
    grid-template-columns: 1fr;
  }
  .markup-control-box {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Visual Fallback support for accent-color (custom implementation based on guide) */
@supports not (accent-color: var(--color-primary)) {
  .visually-hidden {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  .toggle-switch input {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
  }
  
  input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
  }

  input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--color-success) var(--progress, 0%), var(--border-color) var(--progress, 0%));
    border-radius: 3px;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--color-success);
    cursor: pointer;
    margin-top: -4px;
  }
}

/* Legal Pages Styles */
.legal-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(37, 99, 235, 0.03) 0%, rgba(248, 250, 252, 0) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.legal-hero .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-content-section {
  padding: 60px 0 100px 0;
  background-color: var(--bg-secondary);
}

.legal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 22px;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 17px;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card ul, .legal-card ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-card strong {
  color: var(--text-primary);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

