/* Base Styles & Reset */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e1117;
  color: #c9d1d9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
.header {
  background-color: #161b22;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #30363d;
}
.container.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}
.logo-icon {
  height: 28px;
  width: 28px;
  margin-right: 0.5rem;
}
.nav-links a {
  color: #c9d1d9;
  margin-left: 2rem;
  font-size: 1rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #58a6ff;
}
.cta-btn {
  background-color: #58a6ff;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-left: 2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.cta-btn:hover {
  background-color: #3a76d2;
}

/* Hero Section */
.hero {
  background-color: #0d1117;
  padding: 4rem 2rem;
  color: #c9d1d9;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;

  /* 👇 Move the text slightly higher */
  position: relative;
  top: -28px;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #f0f6fc;
  margin-bottom: 0.25rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #8b949e;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-bottom: 3rem
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.btn-primary {
  background-color: #58a6ff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a76d2;
}

.btn-secondary {
  background-color: transparent;
  color: #58a6ff;
  border: 1px solid #58a6ff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #161b22;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(90, 149, 255, 0.1);
}

/* Features Section */
.features {
  background-color: #0e1117;
  padding: 4rem 2rem;
  color: #c9d1d9;
  border-top: 1px solid #21262d;
  border-bottom: 1px solid #21262d;
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  color: #58a6ff;
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(90, 149, 255, 0.2);
}
.feature-card h3 {
  color: #58a6ff;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}
.feature-card p {
  font-size: 1rem;
  color: #8b949e;
  line-height: 1.5;
}

.feature-summary {
  text-align: center;
  max-width: 800px;
  margin: 8rem auto 3.25rem;
  font-size: 1.5rem;
  color: #c9d1d9;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  background-color: #0d1117;
  color: #c9d1d9;
  padding: 4rem 2rem 6rem;
  border-top: 1px solid #21262d;
  border-bottom: 1px solid #21262d;
}
.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  color: #58a6ff;
  margin-bottom: 3rem;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.5rem;
  transition: background-color 0.3s;
}
.step:hover {
  background-color: #1c2128;
}
.step-number {
  background-color: #58a6ff;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.4);
}
.step-content h3 {
  margin: 0 0 0.5rem;
  color: #f0f6fc;
}
.step-content p {
  margin: 0;
  color: #8b949e;
}

/* Call to Action Section */
.cta-section {
  background-color: #0e1117;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #21262d;
}

.cta-section h2 {
  color: #f0f6fc;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #8b949e;
  font-size: 1.1rem;
  margin-bottom: 0; /* remove existing margin-bottom to avoid collapsing */
}

.cta-section .btn-primary {
  font-size: 1rem;
  margin-top: 5rem;
  margin-bottom: 2.5rem;
  display: inline-block;
}

/* Footer */
.footer {
  background-color: #0d1117;
  border-top: 1px solid #21262d;
  padding: 2rem 2rem;
  color: #8b949e;
  font-size: 0.9rem;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  row-gap: 1rem;
}
.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a,
.footer-social a {
  color: #8b949e;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-links a:hover,
.footer-social a:hover {
  color: #58a6ff;
}
.footer-social a {
  font-weight: normal;
}
.footer p {
  flex-basis: 100%;
  text-align: center;
  margin-top: 1rem;
  color: #6e7681;
}

/* Responsive footer fix for smaller screens */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links,
  .footer-social {
    justify-content: center;
  }
}

#cta-typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: #white;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.typing-header {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5em;
  white-space: pre-wrap;
  overflow: visible;
  margin: 0;
  position: relative;
}

#typing-text {
  display: inline;
  white-space: pre-wrap;
margin-left: -0.58em;
}

.typing-cursor {
  display: inline-block;
  animation: blink 1s steps(2, start) infinite;
  font-weight: bold;
  color: white;
  user-select: none;
  margin-left: 2px; /* optional space between last letter and cursor */
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.trusted-tools {
  text-align: center;
  margin-top: 0rem;
}

.trusted-tools h3 {
  font-size: 1.4rem;
  color: #c9d1d9;
  margin-bottom: 4rem;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
margin-bottom: 4rem;
}

.logo-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
  transition: transform 0.1s linear;
}

.tool-logo {
  height: 60px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tool-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

/* Feature Section - Workflow Rows */
.workflow-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 8rem; /* Adds space below the "reimagined" text */
  flex-wrap: wrap;
}

/* This class reverses the order for the second item */
.workflow-row.reverse {
  flex-direction: row-reverse;
}

.workflow-media,
.workflow-description {
  flex: 1; /* Each takes up half the space */
  min-width: 300px;
}

.workflow-media video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(90, 149, 255, 0.1);
}

.workflow-description h3 {
  font-size: 1.75rem;
  color: #58a6ff;
  margin-top: 0;
  margin-bottom: 1rem;
}

.workflow-description p {
  font-size: 1.1rem;
  color: #8b949e;
  line-height: 1.7;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .workflow-row,
  .workflow-row.reverse {
    flex-direction: column; /* Stack vertically on small screens */
    text-align: center;
    gap: 2rem;
  }
  .workflow-description {
    max-width: 600px;
  }
}