/* ==========================================================================
   Travel Lab - Landing Page Styles
   Pixel-perfect implementation from Figma
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Figma Exact Values
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-dark: #0f1729;
  --color-bg-black: #000000;
  --color-bg-light: #edf0f5;
  --color-bg-card: #1c2b4f;

  --color-white: #ffffff;
  --color-text-gray: #9ca3af;
  --color-text-muted: #c2d5ff;
  --color-text-footer: #6b7280;

  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-accent: #60a5fa;
  --color-accent-light: #93c5fd;
  --color-cyan: #2cdbff;
  --color-cta-text: #06173d;

  /* Gradients */
  --gradient-bg: linear-gradient(180deg, #0f1729 0%, #000000 100%);
  --gradient-cta: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-text: linear-gradient(90deg, #60a5fa 0%, #67e8f9 100%);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-secondary: 'Inter', sans-serif;

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* --------------------------------------------------------------------------
   Gradient Text
   -------------------------------------------------------------------------- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-blue {
  color: var(--color-accent-light);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn--primary {
  padding: 18px 36px;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 18px;
  border-radius: 9999px;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
}

@media (min-width: 768px) {
  .btn--primary {
    padding: 20px 40px;
    font-size: 20px;
  }
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -10px rgba(37, 99, 235, 0.5);
}

.btn--primary.btn--sm {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--outline {
  padding: 12px 24px;
  background: transparent;
  color: var(--color-accent);
  font-size: 14px;
  border: 1px solid var(--color-accent);
  border-radius: 9999px;
}

.btn--outline:hover {
  background: rgba(96, 165, 250, 0.1);
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
}

@media (min-width: 768px) {
  .header {
    padding: 20px 24px;
  }
}

.navbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .navbar {
    max-width: var(--container-width);
    height: 61px;
    margin: 0 auto;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
  }
}

.navbar__logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .navbar__logo-text {
    font-size: 22.7px;
  }
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-white);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: var(--color-accent-light);
}

.navbar__cta {
  padding: 10px 14px;
  background: var(--color-cyan);
  color: var(--color-cta-text);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 13px;
  border-radius: 34px;
  transition: all 0.2s;
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(44, 219, 255, 0.4);
}

/* Mobile Toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}

.navbar__toggle span {
  width: 24px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 41, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-menu__overlay.active {
  display: block;
}

.mobile-menu__link {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
}

.mobile-menu__cta {
  padding: 14px 28px;
  background: var(--gradient-cta);
  color: var(--color-white);
  border-radius: 9999px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 150px;
  overflow: hidden;
  background: var(--gradient-bg);
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 180px;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg-new.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 41, 0.3) 0%,
      rgba(15, 23, 41, 0.5) 50%,
      rgba(0, 0, 0, 0.9) 100%);
}

/* Hero Wrapper - Grid Layout */
.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__wrapper {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
  }
}

.hero__content {
  max-width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__content {
    text-align: left;
    max-width: 100%;
  }
}

.hero__globe {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .hero__globe {
    margin-top: 0;
    justify-content: flex-end;
    transform: translateX(30px);
    /* Slightly pull to right edge */
  }
}

.hero__globe img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@media (min-width: 1200px) {
  .hero__globe img {
    max-height: 600px;
  }
}

/* Hero Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent-light);
}

@media (min-width: 768px) {
  .hero__badge {
    padding: 14px 28px;
    font-size: 22px;
  }
}

.hero__badge i {
  font-size: 20px;
  color: var(--color-accent-light);
}

@media (min-width: 768px) {
  .hero__badge i {
    font-size: 22px;
  }
}

/* Hero Title */
.hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 28px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 72px;
  }
}

/* Hero Subtitle */
.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 24px;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .hero__subtitle {
    font-size: 28px;
  }
}


/* --------------------------------------------------------------------------
   Expertise Section
   -------------------------------------------------------------------------- */
.expertise {
  position: relative;
  background: var(--color-bg-light);
  padding: 80px 0 60px;
  overflow: visible;
}

@media (min-width: 768px) {
  .expertise {
    padding: 100px 0 80px;
  }
}

/* Tab that overlaps hero section */
/* Tab that overlaps hero section */
.expertise__tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 500px;
  height: 90px;
  background: var(--color-bg-light);
  border-radius: 45px 45px 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

/* Concave curves on the sides - Using radial gradient for smoother curve */
.expertise__tab::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -45px;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle at 0 0, transparent 45px, var(--color-bg-light) 46px);
}

.expertise__tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -45px;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle at 100% 0, transparent 45px, var(--color-bg-light) 46px);
}

@media (min-width: 768px) {
  .expertise__tab {
    width: 640px;
    height: 110px;
    border-radius: 55px 55px 0 0;
  }

  .expertise__tab::before,
  .expertise__tab::after {
    width: 55px;
    height: 55px;
  }

  .expertise__tab::before {
    left: -55px;
    background: radial-gradient(circle at 0 0, transparent 55px, var(--color-bg-light) 56px);
  }

  .expertise__tab::after {
    right: -55px;
    background: radial-gradient(circle at 100% 0, transparent 55px, var(--color-bg-light) 56px);
  }
}

/* Badge inside the tab */
.expertise__tab-badge {
  padding: 12px 28px;
  background: linear-gradient(180deg, #1e40af 0%, #172554 100%);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .expertise__tab-badge {
    padding: 14px 32px;
    font-size: 13px;
  }
}

.expertise__bg {
  position: absolute;
  top: 120px;
  /* Start texture below the tab area to ensure seamless blend */
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/expertise-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
}

.expertise__content {
  position: relative;
  z-index: 20;
  text-align: center;
}

/* Expertise Badge - Hidden (replaced by tab badge) */
.expertise__badge {
  display: none;
}

.expertise__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .expertise__title {
    margin-top: 30px;
  }
}

@media (min-width: 768px) {
  .expertise__title {
    font-size: 40px;
  }
}

.expertise__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .expertise__subtitle {
    font-size: 16px;
    margin-bottom: 48px;
  }
}

/* Expertise Grid */
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .expertise__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
  }
}

/* Expertise Card */
.expertise-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: left;
}

@media (min-width: 768px) {
  .expertise-card {
    padding: 28px;
  }
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.expertise-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

.expertise-card__icon i {
  font-size: 22px;
  color: var(--color-primary);
}

.expertise-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .expertise-card__title {
    font-size: 17px;
  }
}

.expertise-card__desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

.expertise__cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Solucao Section
   -------------------------------------------------------------------------- */
.solucao {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(180deg, #0f1729 0%, #0a0f1a 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .solucao {
    padding: 80px 0;
  }
}

.solucao__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .solucao__wrapper {
    grid-template-columns: 385px 1fr;
    gap: 60px;
  }
}

.solucao__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .solucao__content {
    text-align: left;
  }
}

.solucao__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .solucao__title {
    font-size: 36px;
    line-height: 40px;
  }
}

.solucao__desc {
  font-size: 16px;
  color: var(--color-text-gray);
  margin-bottom: 24px;
  line-height: 1.5;
}

.solucao__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.solucao__link:hover {
  gap: 12px;
}

.solucao__link i {
  font-size: 14px;
}

/* Solucao Cards */
.solucao__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .solucao__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solucao__row {
  display: contents;
}

.solucao-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 150px;
}

.solucao-card:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.solucao-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.solucao-card__icon i {
  font-size: 24px;
  color: var(--color-accent);
}

.solucao-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-white);
}

.solucao-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Cloud Element */
.solucao__cloud {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

@media (max-width: 767px) {
  .solucao__cloud {
    width: 250px;
    bottom: -30px;
    right: -30px;
    opacity: 0.5;
  }
}

/* --------------------------------------------------------------------------
   Por Que Section
   -------------------------------------------------------------------------- */
.porque {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(180deg, #0f1729 0%, #000000 100%);
}

@media (min-width: 768px) {
  .porque {
    padding: 80px 0;
  }
}

.porque__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .porque__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.porque__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .porque__content {
    text-align: left;
  }
}

/* Por Que Badge */
.porque__badge {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: rgba(30, 58, 138, 0.3);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.porque__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .porque__title {
    font-size: 40px;
    margin-bottom: 24px;
  }
}

.porque__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .porque__desc {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

/* Benefit Cards */
.porque__benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(30, 58, 138, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(30, 58, 138, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(8px);
}

.benefit-card__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 9999px;
}

.benefit-card__icon i {
  font-size: 14px;
  color: var(--color-white);
}

.benefit-card span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .benefit-card span {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: rgba(0, 0, 0, 0.9);
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
  font-size: 13px;
  color: var(--color-text-footer);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hero__badge,
.hero__title,
.hero__subtitle,
.hero .btn {
  animation: fadeIn 0.8s ease forwards;
}

.hero__title {
  animation-delay: 0.1s;
}

.hero__subtitle {
  animation-delay: 0.2s;
}

.hero .btn {
  animation-delay: 0.3s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}