:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --background-color: #ffffff;
  --footer-bg-color: #1e293b;
  --button-color: #2563eb;
  --section-bg-primary: #ffffff;
  --section-bg-secondary: #f8fafc;
  --section-bg-tertiary: #f1f5f9;
  
  /* Soft & Organic Variables */
  --border-radius-lg: 20px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
  --shadow-soft: 0 10px 30px -10px rgba(37, 99, 235, 0.15);
  --shadow-subtle: 0 4px 20px -8px rgba(37, 99, 235, 0.1);
  --shadow-hover: 0 15px 40px -12px rgba(37, 99, 235, 0.25);
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Nunito', system-ui, -apple-system, sans-serif;
}

/* Base Styles - Clean Corporate with Organic Touches */
body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  line-height: 1.6;
  color: #334155;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--primary-color);
}

h3 {
  font-size: 1.875rem;
  line-height: 1.4;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Custom Button Components - Soft & Organic */
.btn-primary {
  background: linear-gradient(135deg, var(--button-color), #3b82f6);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius-lg);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.btn-primary::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: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #94a3b8);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px -10px rgba(100, 116, 139, 0.3);
}

/* Card Components - Organic Design */
.card {
  background: var(--background-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #3b82f6, #60a5fa);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin: -2rem -2rem 1.5rem -2rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

/* Section Backgrounds - As Specified */
.section-primary {
  background-color: var(--section-bg-primary);
  padding: 5rem 0;
}

.section-secondary {
  background-color: var(--section-bg-secondary);
  padding: 5rem 0;
  position: relative;
}

.section-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-tertiary {
  background-color: var(--section-bg-tertiary);
  padding: 5rem 0;
}

/* Form Elements - Organic & Clean */
.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--background-color);
  transition: all 0.3s ease;
  color: #374151;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: #94a3b8;
}

/* Navigation - Clean Corporate with Organic Touches */
.nav-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #3b82f6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

.nav-link:hover::after {
  width: 80%;
}

/* Footer - As Specified */
.footer {
  background: var(--footer-bg-color);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
}

.footer-links a:hover {
  color: white;
  background: rgba(37, 99, 235, 0.2);
}

.footer-copyright {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section - Corporate with Organic Elements */
.hero-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(59, 130, 246, 0.02));
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #64748b;
  margin-bottom: 3rem;
  line-height: 1.6;
  font-family: var(--font-secondary);
  font-weight: 400;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--background-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #3b82f6, #60a5fa);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-subtle);
}

.feature-title {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.feature-description {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .card,
  .feature-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .card,
  .feature-card {
    padding: 1.5rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .section-primary,
  .section-secondary,
  .section-tertiary {
    padding: 3rem 0;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Utility Classes for Tailwind Integration */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--primary-color), #3b82f6) 1;
  border-radius: var(--border-radius-md);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection Styling */
::selection {
  background: rgba(37, 99, 235, 0.2);
  color: #1e293b;
}

::-moz-selection {
  background: rgba(37, 99, 235, 0.2);
  color: #1e293b;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}