@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --medical-azure: #0077BE;
  --neural-violet: #7B2CBF;
  --bio-green: #06A77D;
  --soft-pearl: #F8F9FA;
  --dark-text: #1a1a2e;
  --light-text: #6c757d;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--medical-azure) 0%, var(--neural-violet) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--bio-green) 0%, var(--medical-azure) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--medical-azure);
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--medical-azure);
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,119,190,0.05) 0%, rgba(123,44,191,0.05) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(123,44,191,0.1) 0%, transparent 70%);
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, 50px) rotate(180deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 56px;
  margin-bottom: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 20px;
  color: var(--light-text);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--medical-azure);
  border: 2px solid var(--medical-azure);
}

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

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.section-header p {
  font-size: 18px;
  color: var(--light-text);
}

.problem-section {
  background: var(--soft-pearl);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.problem-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.problem-card .icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--light-text);
  line-height: 1.7;
}

.solution-section {
  background: linear-gradient(135deg, rgba(0,119,190,0.03) 0%, rgba(6,167,125,0.03) 100%);
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-image {
  position: relative;
}

.solution-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.solution-text h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.solution-text p {
  font-size: 17px;
  color: var(--light-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin-top: 30px;
}

.feature-list li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  font-size: 16px;
  color: var(--dark-text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 15px;
  width: 24px;
  height: 24px;
  background: var(--gradient-secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.benefits-section {
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-card {
  text-align: center;
  padding: 40px 25px;
  border-radius: 16px;
  background: var(--soft-pearl);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.benefit-card .icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
  margin: 0 auto 24px;
}

.benefit-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.benefit-card p {
  color: var(--light-text);
  line-height: 1.7;
}

.diagnostics-section {
  background: linear-gradient(135deg, rgba(123,44,191,0.05) 0%, rgba(0,119,190,0.05) 100%);
}

.diagnostics-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-card .number {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-section {
  background: var(--soft-pearl);
}

.data-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.data-feature {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 12px;
  border-left: 4px solid var(--bio-green);
  transition: all 0.3s ease;
}

.data-feature:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.data-feature h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.data-feature p {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.6;
}

.research-section {
  background: var(--white);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.research-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.research-points {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

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

.research-point .icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  flex-shrink: 0;
}

.research-point-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.research-point-content p {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.6;
}

.efficiency-section {
  background: linear-gradient(135deg, rgba(6,167,125,0.05) 0%, rgba(0,119,190,0.05) 100%);
}

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

.efficiency-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.efficiency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.efficiency-card:hover::before {
  transform: scaleX(1);
}

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

.efficiency-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0,119,190,0.1) 0%, rgba(123,44,191,0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.efficiency-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.efficiency-card p {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.6;
}

.examples-section {
  background: var(--soft-pearl);
}

.examples-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.example-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.example-image {
  height: 220px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--white);
}

.example-content {
  padding: 30px;
}

.example-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.example-content p {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.example-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,119,190,0.1);
  color: var(--medical-azure);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.tech-section {
  background: var(--white);
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.tech-item {
  background: var(--soft-pearl);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.tech-item .icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.tech-item h4 {
  font-size: 18px;
  color: var(--dark-text);
}

.security-section {
  background: linear-gradient(135deg, rgba(123,44,191,0.05) 0%, rgba(6,167,125,0.05) 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.security-feature {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.security-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.security-feature .icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  flex-shrink: 0;
}

.security-feature-content h4 {
  font-size: 19px;
  margin-bottom: 8px;
}

.security-feature-content p {
  color: var(--light-text);
  font-size: 14px;
  line-height: 1.6;
}

.integration-section {
  background: var(--soft-pearl);
}

.integration-diagram {
  max-width: 900px;
  margin: 40px auto;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.integration-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.integration-node {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 25px 20px;
  background: var(--soft-pearl);
  border-radius: 12px;
  position: relative;
}

.integration-node .icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin: 0 auto 15px;
}

.integration-node h4 {
  font-size: 16px;
  color: var(--dark-text);
}

.future-section {
  background: var(--white);
}

.future-timeline {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}

.future-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: var(--soft-pearl);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--medical-azure);
}

.timeline-content p {
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.6;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--neural-violet);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.form-section {
  background: linear-gradient(135deg, rgba(0,119,190,0.08) 0%, rgba(123,44,191,0.08) 100%);
  padding: 120px 0;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.form-header p {
  color: var(--light-text);
  font-size: 16px;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--soft-pearl);
  z-index: 0;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.progress-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.progress-step.active .progress-step-circle {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.progress-step.completed .progress-step-circle {
  background: var(--bio-green);
  color: var(--white);
}

.progress-step-label {
  font-size: 13px;
  color: var(--light-text);
  font-weight: 500;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-text);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--soft-pearl);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--medical-azure);
  box-shadow: 0 0 0 3px rgba(0,119,190,0.1);
}

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

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  gap: 15px;
}

.btn-prev,
.btn-next,
.btn-submit {
  flex: 1;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-prev {
  background: var(--soft-pearl);
  color: var(--dark-text);
}

.btn-prev:hover {
  background: #e0e0e0;
}

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

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-prev:disabled,
.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
  padding: 80px 0 30px;
}

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

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.contact-item .icon {
  font-size: 18px;
  color: var(--bio-green);
}

.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: 14px;
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content,
  .solution-content,
  .diagnostics-content,
  .research-grid,
  .security-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .form-container {
    padding: 35px 25px;
  }

  .progress-bar {
    flex-wrap: wrap;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .future-timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .integration-flow {
    flex-direction: column;
  }
}
