@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

:root {
  --primary-color: #00A8CC;
  --primary-dark: #007A91;
  --primary-light: #33BFDB;
  --secondary-color: #00D9FF;
  --accent-color: #FF6B35;
  --accent-light: #FF8C61;
  --text-dark: #1A2332;
  --text-medium: #4A5568;
  --text-light: #718096;
  --background-light: #F8FBFF;
  --background-white: #FFFFFF;
  --background-gradient: linear-gradient(135deg, #00A8CC 0%, #00D9FF 100%);
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0, 168, 204, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 168, 204, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 168, 204, 0.16);
  --shadow-xl: 0 12px 40px rgba(0, 168, 204, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--background-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo i {
  font-size: 1.8rem;
  background: var(--background-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--background-gradient);
  transition: width var(--transition-normal);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--background-light);
  transform: scale(1.1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--background-white);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 2000;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--background-light);
  transform: rotate(90deg);
}

.mobile-menu-items {
  list-style: none;
  margin-top: 3rem;
}

.mobile-menu-items li {
  margin-bottom: 1.5rem;
}

.mobile-menu-items a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.mobile-menu-items a:hover {
  background: var(--background-light);
  color: var(--primary-color);
  transform: translateX(8px);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--background-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 400px;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform var(--transition-slow);
  border: 2px solid var(--primary-light);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  margin-bottom: 1rem;
}

.cookie-banner-content h3 {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner-content p {
  color: var(--text-medium);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  background: white;
  transition: all var(--transition-normal);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 168, 204, 0.1);
  transform: translateY(-2px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  cursor: pointer;
  margin-top: 0.125rem;
}

.form-checkbox label {
  color: var(--text-medium);
  font-size: 0.9rem;
  cursor: pointer;
}

.accordion {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.accordion-header:hover {
  background: var(--background-light);
}

.accordion-header.active {
  background: var(--background-light);
  border-bottom-color: var(--primary-color);
}

.accordion-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content.active {
  max-height: 1000px;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--primary-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--background-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
  transition: transform var(--transition-normal);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-description {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--background-light);
}

.section-gradient {
  background: var(--background-gradient);
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-gradient .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-gradient .section-title {
  color: white;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-gradient .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

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

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

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

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--background-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 3px solid var(--background-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.hero {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(0, 168, 204, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--background-gradient);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(0, 168, 204, 0.1);
  color: var(--primary-color);
}

.badge-accent {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-color);
}

.badge-success {
  background: rgba(72, 187, 120, 0.1);
  color: #48BB78;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
}

.testimonial-text {
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--background-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--background-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-medium);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: var(--text-medium);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '\eb7a';
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--background-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 2rem 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--primary-light);
}

.cta-box {
  background: var(--background-gradient);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-box-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }
  
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  
  .stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .mobile-menu {
    width: 100%;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}