.heroBanner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0ea5e9 100%);
  color: white;
  padding: 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.heroBanner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.heroContent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.heroText {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.heroTitle {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}

.heroSubtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.quickStart {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.installCommand {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: var(--ifm-font-family-monospace);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.commandPrefix {
  color: #22d3ee;
  margin-right: 0.5rem;
  font-weight: bold;
}

.installCommand code {
  color: white;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

/* Copy Button Style */
.copyButton {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  margin-left: auto;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyButton:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Style for successful copying */
.copyButton.copied {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  transform: scale(1.1);
}

/* Copy Success Messages */
.copyButton.copied::after {
  content: "Copied!";
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 1;
  animation: fadeInOut 2s ease-in-out;
  pointer-events: none;
  z-index: 10;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }
}

.quickStartText {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.heroButtons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ctaButton {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  border: none;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
}

.ctaButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
}

.secondaryButton {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}

.secondaryButton:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

.heroImage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockupContainer {
  perspective: 1000px;
}

.browserMockup {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.3s ease;
  width: 600px;
  height: 400px;
}

.browserMockup:hover {
  transform: rotateY(-5deg) rotateX(2deg);
}

.browserHeader {
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  height: 40px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.dot:nth-child(2) {
  background: #f59e0b;
}

.dot:nth-child(3) {
  background: #10b981;
}

.browserContent {
  padding: 0;
  margin: 0;
  height: calc(100% - 40px);
  display: block;
  overflow: hidden;
  background: transparent;
}

.screenshot {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: left top;
  display: block;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.quickStartSection {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.sectionTitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.sectionSubtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 3rem;
}

.stepsContainer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step:hover {
  transform: translateY(-4px);
}

.stepNumber {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step h4 {
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step code {
  background: #f1f5f9;
  color: #0ea5e9;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: block;
  word-break: break-word;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.step span {
  color: #64748b;
  font-size: 0.95rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
  font-size: 1.8rem;
  color: #0ea5e9;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.useCasesSection {
  padding: 6rem 0;
  background: white;
}

.useCase {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.useCaseIcon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.useCase h3 {
  color: #0f172a;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.useCase p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .stepsContainer {
    max-width: 800px;
    gap: 1rem;
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }

  .step {
    padding: 1.5rem 1rem;
    min-height: 180px;
  }

  .step code {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }
}

@media screen and (max-width: 996px) {
  .heroBanner {
    padding: 3rem 0;
    min-height: 70vh;
  }

  .heroContent {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .heroText {
    gap: 1.5rem;
  }

  .heroTitle {
    font-size: clamp(2.2rem, 7vw, 3rem);
    line-height: 1.2;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .heroSubtitle {
    font-size: 1.1rem;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word;
  }

  .quickStart {
    margin: 1rem 0;
    padding: 1rem;
  }

  .installCommand {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    white-space: normal;
    word-break: break-all;
  }

  .heroButtons {
    justify-content: center;
    gap: 0.75rem;
    flex-direction: column;
    align-items: center;
  }

  .heroButtons .button {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }

  .stepsContainer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 350px;
    margin: 2rem auto 0;
  }

  .arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .step {
    width: 100%;
    padding: 1.5rem;
    min-height: 160px;
  }

  .stepNumber {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .step h4 {
    font-size: 1rem;
    height: auto;
  }

  .step code {
    font-size: 0.8rem;
    padding: 0.5rem;
    min-height: auto;
  }

  .step span {
    font-size: 0.9rem;
    min-height: auto;
  }

  .quickStartSection,
  .useCasesSection {
    padding: 2.5rem 0;
  }
}

@media screen and (max-width: 768px) {
  .heroBanner {
    padding: 2.5rem 0;
    min-height: 65vh;
  }

  .heroContent {
    gap: 1.5rem;
    padding: 0 0.75rem;
  }

  .heroText {
    gap: 1.25rem;
  }

  .heroTitle {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.2;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .heroSubtitle {
    font-size: 1rem;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word;
  }

  .heroImage {
    display: none;
  }

  .quickStart {
    padding: 0.8rem;
    margin: 0.8rem 0;
  }

  .installCommand {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
    white-space: normal;
    word-break: break-all;
  }

  .copyButton.copied::after {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    top: -32px;
  }

  .heroButtons {
    gap: 0.6rem;
  }

  .heroButtons .button {
    max-width: 260px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }

  .stepsContainer {
    max-width: 300px;
    gap: 1rem;
  }

  .step {
    padding: 1.25rem;
    min-height: 140px;
  }

  .stepNumber {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .step code {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  .step span {
    font-size: 0.85rem;
  }

  .arrow {
    font-size: 1.2rem;
    margin: 0.25rem 0;
  }

  .sectionTitle {
    font-size: 1.6rem;
  }

  .sectionSubtitle {
    font-size: 0.95rem;
  }

  .quickStartSection,
  .useCasesSection {
    padding: 2rem 0;
  }
}

@media screen and (max-width: 480px) {
  .heroBanner {
    padding: 2rem 0;
    min-height: 60vh;
  }

  .heroContent {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .heroText {
    gap: 1rem;
  }

  .heroTitle {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    line-height: 1.1;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .heroSubtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word;
  }

  .quickStart {
    padding: 0.6rem;
    margin: 0.6rem 0;
  }

  .installCommand {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    white-space: normal;
    word-break: break-all;
  }

  .copyButton.copied::after {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    top: -30px;
  }

  .heroButtons .button {
    max-width: 240px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .stepsContainer {
    max-width: 280px;
    gap: 0.75rem;
    margin: 1.5rem auto 0;
  }

  .step {
    padding: 1rem;
    min-height: 120px;
  }

  .stepNumber {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .step h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .step code {
    font-size: 0.7rem;
    padding: 0.35rem;
  }

  .step span {
    font-size: 0.8rem;
  }

  .sectionTitle {
    font-size: 1.4rem;
  }

  .sectionSubtitle {
    font-size: 0.9rem;
  }

  .quickStartSection,
  .useCasesSection {
    padding: 1.5rem 0;
  }
}
