:root {
  --primary-color: #005f73;
  --primary-dark: #003d4d;
  --secondary-color: #0a9396;
  --secondary-dark: #08787a;
  --accent-color: #ee9b00;
  --accent-dark: #d88a00;
  --light-color: #e9d8a6;
  --dark-color: #001219;
  --text-color: #333;
  --text-light: #fff;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --danger: #dc3545;
  --success: #28a745;
  --warning: #ffc107;
  --info: #17a2b8;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromTop {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-slide-top {
  animation: slideInFromTop 0.8s ease-out forwards;
}

.animate-slide-bottom {
  animation: slideInFromBottom 0.8s ease-out forwards;
}


.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

.animate-float {
  animation: float 3s infinite ease-in-out;
}


.hero-section {
  background: linear-gradient(-45deg, var(--primary-dark), var(--primary-color), var(--secondary-dark), var(--secondary-color));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--text-light);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}


.btn-animated {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-in-out;
}

.btn-animated:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.card-animated {
  position: relative;
}

.card-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease-in-out;
}

.card-animated:hover::before {
  transform: translateX(100%);
}


.comparison-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
  border-width: 2px;
  position: relative;
}

.comparison-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
  z-index: 10;
}

.comparison-card .card-header {
  transition: all 0.3s ease;
  padding: 1.25rem;
}

.comparison-card:hover .card-header {
  transform: translateY(-5px);
}

.comparison-card .card-body {
  transition: all 0.3s ease;
}

.comparison-card:hover .card-body {
  transform: translateY(5px);
}

.comparison-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comparison-card:hover::after {
  opacity: 1;
}


.traditional-card {
  border-color: var(--danger) !important;
}

.traditional-card .card-header {
  background-color: var(--danger) !important;
}


.smartflow-card {
  border-color: var(--success) !important;
}

.smartflow-card .card-header {
  background-color: var(--success) !important;
}


.feature-icon {
  transition: all 0.4s ease;
}

.feature-icon:hover {
  transform: rotate(15deg) scale(1.1);
}


.navbar {
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background-color: var(--primary-dark) !important;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.img-zoom {
  transition: transform 0.5s ease;
}

.img-zoom:hover {
  transform: scale(1.03);
}


.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--accent-color);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-color); }
}


.list-item-animated {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.list-item-animated.show {
  opacity: 1;
  transform: translateY(0);
}


footer a {
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}


.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }


body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.3;
}

.display-4 {
  font-weight: 800;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
}


.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 700;
}

.nav-link {
  color: var(--text-light) !important;
  transition: var(--transition);
  padding: 0.5rem 1rem !important;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}


.card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: var(--transition);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  background: white;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
}

.card-header {
  font-weight: 700;
  border-bottom: none;
}


.btn {
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 147, 150, 0.3);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(238, 155, 0, 0.3);
}

.btn-outline-light:hover {
  color: var(--dark-color) !important;
  background-color: var(--light-color);
}


.features-list .d-flex {
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.features-list .d-flex:hover {
  background-color: rgba(10, 147, 150, 0.05);
}


footer {
  background-color: var(--dark-color);
}

footer h3 {
  color: var(--light-color);
  margin-bottom: 1.25rem;
}

footer a {
  color: #bbbbbb;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--accent-color) !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  margin-right: 0.5rem;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--dark-color) !important;
}


.icon-danger {
  color: var(--danger);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.icon-success {
  color: var(--success);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.icon-primary {
  color: var(--primary-color);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.icon-warning {
  color: var(--warning);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.icon-secondary {
  color: var(--gray-medium);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.feature-icon-small {
  font-size: 1.25rem;
  color: var(--success);
}


@media (max-width: 1199.98px) {
  .hero-section {
    padding: 6rem 0 4rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 5rem 0 3rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
    padding: 4rem 0 2rem;
  }
  
  .hero-section img {
    margin-top: 2rem;
    max-width: 80%;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .comparison-card {
    margin-bottom: 1.5rem;
  }
  
  footer .col-lg-4 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 3.5rem 0 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem !important;
  }
}