/* Landing Page Specific Styles */

/* Navbar */
.landing-navbar {
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-content {
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.navbar-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  padding-top: calc(var(--space-lg) + 60px); /* Account for fixed navbar */
  background: white;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero {
  max-width: 540px;
  width: 100%;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.url-form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.url-input-wrapper {
  position: relative;
  margin-bottom: var(--space-lg);
}

.url-input-wrapper input {
  font-size: 1.0625rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e0e0e0;
  text-align: left;
  background: white;
}

.url-input-wrapper input:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.submit-button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  background: #000;
  color: white;
  box-shadow: none;
  border-radius: var(--radius-md);
}

.submit-button:hover:not(:disabled) {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.button-text,
.button-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.button-loading {
  display: none;
}

.loading .button-text {
  display: none;
}

.loading .button-loading {
  display: flex;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-content {
    padding: var(--space-sm) var(--space-md);
  }

  .navbar-logo {
    height: 28px;
    max-width: 120px;
  }

  .landing {
    padding: var(--space-md);
    padding-top: calc(var(--space-md) + 56px); /* Account for smaller fixed navbar on mobile */
  }

  .url-form {
    padding: var(--space-lg);
  }

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