@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-lake-blue: #6EC1E4;
  --color-lake-blue-light: #A8D8EA;
  --color-lake-blue-dark: #4A9BC9;
  --color-cream-white: #FAFBF8;
  --color-cream-white-dark: #F0F1ED;
  --color-soft-green: #95D5B2;
  --color-soft-green-light: #C7E5D3;
  --color-soft-green-dark: #6AB896;
  --color-light-orange: #FFB4A2;
  --color-light-orange-light: #FFD4C9;
  --color-light-orange-dark: #FF8F73;
  --color-charcoal-gray: #4A4A4A;
  --color-charcoal-gray-light: #6B6B6B;
  --color-charcoal-gray-dark: #2D2D2D;
  --color-glass-bg: rgba(255, 255, 255, 0.7);
  --color-glass-border: rgba(255, 255, 255, 0.3);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --shadow-soft: 0 4px 20px rgba(110, 193, 228, 0.1);
  --shadow-medium: 0 8px 32px rgba(110, 193, 228, 0.15);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-fluid: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-cream-white);
  color: var(--color-charcoal-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--color-lake-blue-light);
  color: var(--color-charcoal-gray-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-lake-blue) 0%, var(--color-lake-blue-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(110, 193, 228, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(110, 193, 228, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-lake-blue);
  border: 1px solid var(--color-lake-blue);
}

.btn-secondary:hover {
  background: var(--color-lake-blue);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-charcoal-gray);
  border: 1px solid rgba(74, 74, 74, 0.1);
}

.btn-outline:hover {
  border-color: var(--color-lake-blue);
  color: var(--color-lake-blue);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card-glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
}

.card-soft {
  background: linear-gradient(180deg, white 0%, var(--color-cream-white) 100%);
  border: none;
}

.img-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-truncate-single {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-charcoal-gray-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-charcoal-gray-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-header.center {
  justify-content: center;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-lake-blue) 0%, var(--color-soft-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes float-up {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slide-in {
  0% { transform: translateX(-30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes wave-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-flow {
  background-size: 200% 200%;
  animation: flow 4s ease infinite;
}

.animate-float-up {
  animation: float-up 0.6s ease forwards;
}

.animate-fade-in {
  animation: fade-in 0.8s ease forwards;
}

.animate-slide-in {
  animation: slide-in 0.5s ease forwards;
}

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

@keyframes money-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.animate-money-float {
  animation: money-float 1.5s ease-in-out infinite;
}

.fluid-divider {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.fluid-divider svg {
  width: 200%;
  height: 100%;
  animation: wave-flow 20s linear infinite;
}

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 251, 248, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(110, 193, 228, 0.1);
  transition: all var(--transition-normal);
}

.nav-header.scrolled {
  background: rgba(250, 251, 248, 0.95);
  box-shadow: var(--shadow-soft);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-charcoal-gray-dark);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-lake-blue) 0%, var(--color-soft-green) 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-charcoal-gray);
  font-weight: 400;
  font-size: 14px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-lake-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-lake-blue) 0%, var(--color-soft-green) 100%);
  transition: width var(--transition-normal);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer {
  background: linear-gradient(180deg, var(--color-cream-white) 0%, white 100%);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(110, 193, 228, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-lake-blue) 0%, var(--color-soft-green) 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-charcoal-gray-dark);
}

.footer-slogan {
  font-size: 12px;
  color: var(--color-charcoal-gray-light);
  margin-bottom: 20px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal-gray-dark);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-charcoal-gray-light);
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-lake-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 74, 74, 0.05);
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-charcoal-gray-light);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  background: rgba(110, 193, 228, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-lake-blue);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-lake-blue);
  color: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.badge-green {
  background: rgba(149, 213, 178, 0.15);
  color: var(--color-soft-green-dark);
}

.badge-orange {
  background: rgba(255, 180, 162, 0.15);
  color: var(--color-light-orange-dark);
}

.badge-blue {
  background: rgba(110, 193, 228, 0.15);
  color: var(--color-lake-blue-dark);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  animation: float-up 0.3s ease forwards;
  border-left: 4px solid var(--color-soft-green);
}

.toast.error {
  border-left-color: var(--color-light-orange);
}

.toast.warning {
  border-left-color: var(--color-light-orange);
}

.toast-icon {
  font-size: 20px;
}

.toast-message {
  font-size: 14px;
  color: var(--color-charcoal-gray);
}

.loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(110, 193, 228, 0.1);
  border-top-color: var(--color-lake-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .nav-content {
    padding: 12px 16px;
  }
}