:root {
  --color-primary: #1e40af;
  --color-secondary: #f0fdf4;
  --color-accent: #10b981;
  --color-text: #1a1a1a;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --font-family: 'Outfit', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  min-height: 44px;
  min-width: 44px;
}

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

.btn-primary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-accent:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  height: 80px;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: none;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;
  padding: var(--space-lg);
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-base);
}

.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.hero-btns {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 64, 175, 0.1);
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card p {
  color: var(--color-text-light);
  flex-grow: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-size: 1.5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: white;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-secondary);
}

.faq-question i {
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height var(--transition-base) ease-out;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.testimonials {
  background-color: var(--color-bg-alt);
}

.testimonial-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

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

footer {
  background-color: #111827;
  color: #f3f4f6;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-links h3 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--space-xl);
  text-align: center;
  font-size: 0.875rem;
}

.footer-legal-links {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: var(--space-md) 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 2000;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.cookie-btns {
  display: flex;
  gap: var(--space-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .nav-links {
    display: flex;
    gap: var(--space-lg);
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

.contact-form {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-notice {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: var(--space-md);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  border: 5px solid var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px var(--space-md);
}

.legal-content h1 {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.legal-content h2 {
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style-type: disc;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.risk-disclaimer {
  background-color: #fee2e2;
  border-left: 4px solid #ef4444;
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  font-size: 0.875rem;
  color: #991b1b;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-image {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto var(--space-md);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  z-index: 3000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

[data-theme="dark"] {
  --color-bg: #111827;
  --color-text: #f3f4f6;
  --color-bg-alt: #1f2937;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
