:root {
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --slate: #0f172a;
  --slate-light: #1e293b;
  --slate-lighter: #334155;
  --white: #f0fdfa;
  --white-dim: #ccfbf1;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
  --gradient: linear-gradient(135deg, #0d9488, #0f766e);
  --gradient-reverse: linear-gradient(135deg, #0f766e, #0d9488);
  --shadow: 0 4px 24px rgba(13, 148, 136, 0.15);
  --shadow-lg: 0 8px 48px rgba(13, 148, 136, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

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

.section {
  padding: 90px 0;
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--teal-light);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--slate);
}

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

.section-title em {
  font-style: normal;
  color: var(--teal);
}

.section-dark .section-title em {
  color: var(--teal-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--slate-lighter);
  max-width: 640px;
  line-height: 1.8;
}

.section-dark .section-desc {
  color: var(--gray-light);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

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

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

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

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

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

.btn-dark:hover {
  background: var(--slate-light);
  color: var(--white);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 253, 250, 0.08);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--white);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--slate);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 0;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(240, 253, 250, 0.06);
  border-bottom: 1px solid rgba(240, 253, 250, 0.06);
  flex-wrap: wrap;
}

.hero-strip-item {
  text-align: center;
  color: var(--gray);
}

.hero-strip-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 2px;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate);
}

.card p {
  font-size: 0.95rem;
  color: var(--slate-lighter);
  line-height: 1.7;
}

/* Process */
.process {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(240, 253, 250, 0.08);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal-light);
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

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

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.section-dark .stat-number {
  color: var(--teal-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-lighter);
  font-weight: 500;
}

.section-dark .stat-label {
  color: var(--gray);
}

/* Pricing */
.pricing-tier {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-tier.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-tier.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--slate-lighter);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-tier .btn {
  width: 100%;
}

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

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section-dark .faq-item {
  border-color: rgba(240, 253, 250, 0.08);
}

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

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

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

.faq-question-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--teal);
}

.faq-item.open .faq-question-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--slate-lighter);
  line-height: 1.8;
}

.section-dark .faq-answer p {
  color: var(--gray);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(240, 253, 250, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--slate);
  color: var(--gray);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(240, 253, 250, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--gray);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(240, 253, 250, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gray);
}

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

/* About page */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: var(--slate);
  color: var(--white);
}

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

.page-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

/* Contact page */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--slate);
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--slate-lighter);
}

.contact-form {
  max-width: 680px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-item {
  text-align: center;
  padding: 32px 24px;
}

.value-item-icon {
  width: 64px;
  height: 64px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate);
}

.value-item p {
  font-size: 0.9rem;
  color: var(--slate-lighter);
  line-height: 1.7;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.team-card-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--slate);
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--slate-lighter);
  line-height: 1.6;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background: var(--teal);
}

.toast-error {
  background: #dc2626;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3, .values-grid, .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(240, 253, 250, 0.08);
  }

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

  .nav-toggle {
    display: block;
  }

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

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

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-tier.featured {
    transform: none;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .hero-strip {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .grid-6 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .pricing-tier {
    padding: 28px 20px;
  }
}
