/* Hero Section - Dark Cognite Style */
.hero-section {
  background: linear-gradient(135deg, var(--color-surface-dark) 0%, var(--color-surface-darker) 100%);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="var(--color-white-alpha-3)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  /*background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-other-40) 100%);*/
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-black) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 25px 50px var(--color-other-35);
  border: 1px solid var(--color-white-alpha-10);
}

.metric-card {
  background: var(--color-other-36);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-white-alpha-10);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  background: var(--color-other-37);
  border-color: var(--color-other-5);
}

.metric-card-light {
  background: var(--color-surface-light);
  color: var(--color-primary);
  font-weight: bold;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-white-alpha-10);
  transition: all 0.3s ease;
}

.metric-card-light:hover {
  transform: translateY(-5px);
  background: var(--color-other-10);
  border-color: var(--color-other-5);
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.metric-value {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-other-40) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* Platform Section */
.platform-section {
  background: var(--color-white);
}

.platform-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.platform-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

.platform-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Formula Section */
.formula-section {
  background: linear-gradient(135deg, var(--color-primary-alpha-3) 0%, var(--color-primary-light-alpha-3) 100%);
}

.formula-step {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.formula-step:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--color-primary-alpha-10);
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-other-40) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.formula-step h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.formula-step p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Feature Cards */
.feature-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--color-primary-alpha-10);
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-other-40) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Use Cases Section */
.use-case-card {
  background: linear-gradient(135deg, var(--color-primary-alpha-5) 0%, var(--color-primary-light-alpha-5) 100%);
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--color-primary-alpha-10);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--color-other-38);
  border-color: var(--primary-color);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  background: var(--color-other-40);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.use-case-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.use-case-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.use-case-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.use-case-link:hover {
  gap: 1rem;
  color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-surface-dark) 0%, var(--color-surface-darker) 100%);
  padding: 100px 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="var(--color-white-alpha-3)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.cta-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-primary-OLD {
  background: var(--color-primary);
  border: 2px solid white;
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  vertical-align: bottom;
}

.btn-cta-primary {
  background: var(--color-warning);
  border: 2px solid white;
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  vertical-align: bottom;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--color-other-4);
  color: var(--color-white);
}

.btn-cta-secondary {
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  margin-left: 1rem;
}

.btn-cta-secondary:hover {
  background: var(--color-white);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px var(--color-other-13);
  border: 1px solid var(--border-color);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--color-primary-alpha-10);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .btn-cta-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
}

.social-link {
  background-color: var(--color-primary);
}

.slideshow {
  position: relative;
  width: 600px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}


