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

:root {
  --primary: #2c5282;
  --primary-dark: #1a365d;
  --primary-light: #4a7ab8;
  --accent: #e8b923;
  --accent-dark: #c99a1d;
  --text: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #edf2f7;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

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

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav {
  display: none;
}

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

.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
}

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

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

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

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

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

@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 32px;
    position: static;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }

  .menu-toggle {
    display: none;
  }
}

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

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

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

@media (min-width: 768px) {
  .hero {
    padding: 100px 20px;
  }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background: var(--bg-alt);
}

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

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

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

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

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

.section-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
}

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

@media (min-width: 768px) {
  .section {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

/* Feature Blocks */
.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (min-width: 768px) {
  .feature-block {
    flex-direction: row;
  }

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

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.stat {
  text-align: center;
  flex: 1 1 140px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  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-inner {
  padding: 0 0 20px;
  color: var(--text-light);
}

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

/* Process */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

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

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

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

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

/* Values */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.value-item {
  flex: 1 1 250px;
  text-align: center;
  padding: 24px;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.value-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.industry-tag {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow);
}

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

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

.quote-author {
  font-weight: 600;
  color: var(--accent);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

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

.cta p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 200px;
}

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

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

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

.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

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

/* Contact Page */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1 1 350px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin: 24px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

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

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.thank-you h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.thank-you p {
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 28px;
}

/* Comparison Table */
.comparison {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-alt);
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.highlight-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* List Styles */
.check-list {
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  padding-left: 36px;
  position: relative;
  color: var(--text);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

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

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

.cookie-reject {
  background: var(--bg-alt);
  color: var(--text);
}

.cookie-reject:hover {
  background: var(--border);
}

.cookie-settings {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
  }
}

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

.cookie-modal-overlay.show {
  display: flex;
}

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

.cookie-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}

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

.cookie-modal-body {
  padding: 24px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.cookie-option-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  margin-left: 16px;
}

.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(--border);
  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(--primary);
}

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

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

.cookie-modal-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.team-member {
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
}

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

.team-avatar svg {
  width: 60px;
  height: 60px;
  color: var(--primary);
}

.team-member h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.team-member p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Milestones */
.milestones {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.milestone {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.milestone::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.milestone:last-child::before {
  display: none;
}

.milestone-year {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.milestone-content h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

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

/* Page Header */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

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

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

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

*:focus-visible {
  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.2s;
}

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