/*===========================
  MODERN NAVBAR CSS 
===========================*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --font: "Inter", sans-serif;
  --font-heading: "Poppins", sans-serif;
  --body-color: #637381;
  --heading-color: #212b36;
  --primary-color: #0CC0DF;
  --primary-dark: #0aa8c4;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  font-weight: normal;
  font-style: normal;
  color: var(--body-color);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== MODERN HEADER ===== */
.ud-header-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: transparent;
}

.ud-header-modern.scrolled {
  padding: 8px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
}

/* ===== MODERN NAVBAR ===== */
.navbar-modern {
  background: var(--white);
  border-radius: 50px;
  padding: 8px 24px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.navbar-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 192, 223, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.ud-header-modern.scrolled .navbar-modern {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== LOGO ===== */
.navbar-brand-modern {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
  position: relative;
}

.logo-img {
  height: 35px;
  width: auto;
  transition: var(--transition);
}

.navbar-brand-modern:hover .logo-img {
  transform: scale(1.00);
}

/* ===== NAVIGATION MENU ===== */
.navbar-nav-modern {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-item-modern {
  position: relative;
}

.nav-link-modern {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  font-size: 14px;
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font);
  white-space: nowrap;
}

.nav-text {
  position: relative;
  z-index: 2;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link-modern:hover,
.nav-link-modern.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 192, 223, 0.3);
}

.nav-link-modern:hover .nav-indicator,
.nav-link-modern.active .nav-indicator {
  width: 20px;
}

.nav-link-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: var(--transition);
  border-radius: 30px;
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
  opacity: 1;
}

/* ===== CTA BUTTON ===== */
.navbar-cta {
  margin-left: 20px;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(12, 192, 223, 0.3);
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(12, 192, 223, 0.4);
  color: var(--white);
  text-decoration: none;
}

.cta-text {
  position: relative;
  z-index: 2;
}

.cta-icon {
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.cta-button:hover .cta-icon {
  transform: translateX(4px);
}

/* ===== MOBILE TOGGLE ===== */
.navbar-toggler-modern {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.toggler-line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-toggler-modern.active .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler-modern.active .toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler-modern.active .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-modern {
    padding: 6px 20px;
  }
  
  .navbar-nav-modern {
    gap: 2px;
  }
  
  .nav-link-modern {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .navbar-cta {
    margin-left: 8px;
  }
  
  .cta-button {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .logo-img {
    height:40px;
  }
}

@media (max-width: 767px) {
  .navbar-toggler-modern {
    display: flex;
  }
  
  .navbar-modern {
    padding: 6px 16px;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px;
    margin-top: 8px;
    padding: 16px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
  }
  
  .navbar-nav-modern {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .nav-link-modern {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  
  .navbar-cta {
    margin-left: 0;
    text-align: center;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .logo-img {
    height: 26px;
  }
  
  .ud-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

/* ===== HERO SECTION (mantendo compatibilidade) ===== */
.ud-hero {
  background: var(--primary-color);
  padding-top: 140px;
  padding-bottom: 120px;
}

@media (max-width: 767px) {
  .ud-hero {
    padding-top: 160px;
    padding-bottom: 80px;
  }
}

.ud-hero-content {
  max-width: 780px;
  margin: auto;
  margin-bottom: 30px;
}

.ud-hero-content .ud-hero-title {
  color: var(--white);
  font-weight: 700;
  font-size: 45px;
  line-height: 60px;
  text-align: center;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}

@media (max-width: 767px) {
  .ud-hero-content .ud-hero-title {
    font-size: 32px;
    line-height: 42px;
  }
}

.ud-hero-content .ud-hero-desc {
  font-weight: normal;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  opacity: 0.9;
  max-width: 800px;
  margin: auto;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .ud-hero-content .ud-hero-desc {
    font-size: 16px;
    line-height: 28px;
  }
}

.ud-hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ud-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
}

.ud-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
  color: var(--primary-color);
  text-decoration: none;
}

.ud-hero-image {
  max-width: 845px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.ud-hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.ud-hero-image .shape {
  position: absolute;
  z-index: -1;
  opacity: 0.6;
}

.ud-hero-image .shape.shape-1 {
  bottom: 0;
  left: -30px;
}

.ud-hero-image .shape.shape-2 {
  top: -20px;
  right: -20px;
}

/* ===== FEATURES SECTION ===== */
.ud-features {
  padding-top: 120px;
  padding-bottom: 90px;
  background: #f8fafc;
}

@media (max-width: 767px) {
  .ud-features {
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

.ud-section-title {
  max-width: 620px;
  margin-bottom: 70px;
}

.ud-section-title span {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ud-section-title h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 55px;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

@media (max-width: 767px) {
  .ud-section-title h2 {
    font-size: 32px;
    line-height: 42px;
  }
}

.ud-section-title p {
  font-size: 18px;
  line-height: 30px;
  color: var(--body-color);
}

@media (max-width: 767px) {
  .ud-section-title p {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ===== ABOUT SECTION ===== */
.ud-about {
  background: var(--white);
  padding: 120px 0;
}

@media (max-width: 767px) {
  .ud-about {
    padding: 80px 0;
  }
}

.ud-about-wrapper {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 991px) {
  .ud-about-wrapper {
    flex-direction: column;
  }
}

.ud-about-content-wrapper {
  padding: 60px;
  flex: 1;
}

@media (max-width: 767px) {
  .ud-about-content-wrapper {
    padding: 40px 30px;
  }
}

.ud-about-content {
  max-width: 500px;
}

.ud-about-content .tag {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  background: var(--primary-color);
  padding: 8px 20px;
  display: inline-block;
  margin-bottom: 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ud-about-content h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
  margin-bottom: 30px;
  color: var(--heading-color);
  font-family: var(--font-heading);
}

@media (max-width: 767px) {
  .ud-about-content h2 {
    font-size: 28px;
    line-height: 38px;
  }
}

.ud-about-content p {
  font-size: 16px;
  line-height: 28px;
  color: var(--body-color);
  margin-bottom: 0;
}

.ud-about-image {
  flex: 1;
  text-align: center;
  padding: 40px;
}

.ud-about-image img {
  max-width: 100%;
  height: auto;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

@media (max-width: 991px) {
  .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.wow {
  visibility: hidden;
}

.fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

/* ===== SMOOTH ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .nav-link-modern,
  .cta-button,
  .navbar-modern {
    transition: var(--transition);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

