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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --accent: #10b981;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--secondary);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 20px;
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.3s;
}

.nav-links a:last-child {
  border-bottom: none;
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

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

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

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Sections */
section {
  padding: 60px 20px;
}

section:nth-child(even) {
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
}

/* Stats Section */
.stats {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 20px;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  background: var(--light);
}

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.author-info h4 {
  font-size: 1rem;
  color: var(--secondary);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 25px 20px;
  color: var(--gray);
  line-height: 1.7;
}

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

/* Benefits */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.benefit-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Values */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.value-card {
  padding: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  opacity: 0.9;
  line-height: 1.7;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.industry-tag {
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 30px;
  font-weight: 500;
  color: var(--secondary);
  transition: all 0.3s;
}

.industry-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Quote Section */
.quote-section {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.quote-author {
  font-size: 1rem;
  opacity: 0.8;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-block {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-block h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-block p {
  color: var(--gray);
  margin-bottom: 10px;
}

.contact-block a {
  color: var(--primary);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.milestone {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.milestone-year {
  min-width: 80px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.milestone-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.milestone-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Comparison */
.comparison-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-light);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 20px;
}

.comparison-cell.header {
  background: var(--light);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-section .btn:hover {
  background: var(--light);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
  padding-top: 100px;
  padding-bottom: 60px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--secondary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 25px 0 12px;
  color: var(--secondary);
}

.legal-content p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 15px 0 15px 30px;
  color: var(--gray);
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Thank You Page */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.thank-you-content p {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-content a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-size: 0.95rem;
}

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

.cookie-btn-accept:hover {
  background: #059669;
}

.cookie-btn-reject {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.cookie-btn-settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.cookie-btn-settings:hover {
  color: var(--white);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.cookie-modal-header h3 {
  font-size: 1.3rem;
  color: var(--secondary);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  padding: 5px;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--secondary);
}

.cookie-option {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-option-header h4 {
  font-size: 1rem;
  color: var(--secondary);
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-light);
  border-radius: 26px;
  transition: 0.3s;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-option p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.cookie-modal-footer {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Highlight Panel */
.highlight-panel {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 30px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 30px 0;
}

.highlight-panel h3 {
  color: #92400e;
  margin-bottom: 12px;
}

.highlight-panel p {
  color: #78350f;
}

/* Alternating Blocks */
.alt-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.alt-block-content {
  flex: 1;
}

.alt-block-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.alt-block-content p {
  color: var(--gray);
  line-height: 1.8;
}

.alt-block-image {
  flex: 1;
  min-height: 200px;
  background: var(--light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Header */
.page-header {
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.page-header p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards Extended */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 25px;
  color: var(--white);
}

.service-card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.service-card-body {
  padding: 25px;
}

.service-card-body p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

/* Team Section */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.team-member {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.team-member .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-member p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    padding: 0;
    gap: 30px;
  }

  .nav-links a {
    padding: 0;
    border-bottom: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 160px 20px 120px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  section {
    padding: 100px 20px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1;
    min-width: 280px;
  }

  .stats-grid {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .benefits-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .benefit-item {
    flex: 1;
    min-width: 300px;
  }

  .values-grid {
    flex-direction: row;
  }

  .value-card {
    flex: 1;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1;
  }

  .cookie-content {
    flex-direction: row;
    text-align: left;
  }

  .cookie-content p {
    flex: 1;
  }

  .alt-block {
    flex-direction: row;
    align-items: center;
  }

  .alt-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .team-grid {
    flex-direction: row;
  }

  .team-member {
    flex: 1;
  }

  .contact-info {
    flex-direction: row;
  }

  .contact-block {
    flex: 1;
  }

  .comparison-row {
    flex-direction: row;
  }

  .comparison-cell {
    flex: 1;
  }

  .quote-text {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }
}

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

  .cards {
    flex-wrap: nowrap;
  }

  .card {
    min-width: auto;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles */
a:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.faq-question:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.3s;
}

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