/**
 * Timoji Web 3.0 Style
 * Modern, clean design with custom color palette
 */

:root {
  /* Custom color palette */
  --pink: #ef476f;
  --yellow: #ffd166;
  --green: #06d6a0;
  --blue: #118ab2;
  --dark-blue: #073b4c;
  
  /* Functional colors */
  --primary: var(--blue);
  --secondary: var(--dark-blue);
  --success: var(--green);
  --warning: var(--yellow);
  --danger: var(--pink);
  --light: #f8f9fa;
  --dark: var(--dark-blue);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
}

/* Base styles */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fcfcfc;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

/* Button styles */
.btn {
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 138, 178, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}


.btn-success {
  background-color: var(--success);
  border-color: var(--success);
}

.btn-warning {
  background-color: var(--warning);
  border-color: var(--warning);
  color: var(--dark-blue);
}

.btn-danger {
  background-color: var(--danger);
  border-color: var(--danger);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-gradient {
  background-image: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-gradient:hover, .btn-gradient:focus {
  background-image: var(--gradient-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 138, 178, 0.3);
}

/* Navbar styles */
.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-blue);
}

.navbar-brand img {
  height: 40px;
  margin-right: 0.5rem;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark-blue);
  padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Hero section */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(239, 71, 111, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--dark-blue), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.hero-image:hover img {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

/* Features section */
.features-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  text-align: center;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--gradient-secondary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* How it works section */
.how-it-works-section {
  padding: 80px 0;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  color: white;
}

/* Testimonials section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-weight: bold;
  background: var(--gradient-primary);
  color: white;
}

/* CTA section */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: white;
}

/* Footer */
.footer {
  padding: 80px 0 20px;
  background-color: #f8f9fa;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.footer h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-blue);
}

.footer-link {
  color: #666;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: var(--dark-blue);
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-5px);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .features-section, 
  .how-it-works-section, 
  .testimonials-section,
  .cta-section {
    padding: 60px 0;
  }
}

/* Utility classes */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-success {
  background-color: var(--success) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
}

.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-blue);
}
