/* Homepage specific styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #111827;
  line-height: 1.6;
  background-color: #f8fafc;
}

/* Remove container padding for full-width sections */
.container-fluid {
  padding: 0;
}

/* Container adjustments for responsive design */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navbar */
.logo-navbar {
  padding: 1rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  color: #7c3aed;
  text-decoration: none;
}

.logo-navbar .navbar-brand:hover {
  color: #7c3aed;
}

.logo-navbar .navbar-brand svg {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  text-align: center;
  background-color: #f8fafc;
}

@media (min-width: 576px) {
  .hero {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 992px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

.tagline {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

@media (min-width: 576px) {
  .tagline {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .tagline {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: 1.5rem;
  }
}

.tagline::before {
  content: "✨";
  margin-right: 0.5rem;
}

.hero-title {
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #111827;
  padding: 0 0.5rem;
}

@media (min-width: 576px) {
  .hero-title {
    font-size: 2rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title .highlight {
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Logo Description Card */
.logo-card {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
}

@media (min-width: 576px) {
  .logo-card {
    padding: 1.75rem;
  }
}

@media (min-width: 768px) {
  .logo-card {
    padding: 2rem;
  }
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 576px) {
  .card-title {
    font-size: 1.375rem;
  }
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.5rem;
  }
}

.card-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
  .card-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.375rem;
  }
}

@media (min-width: 768px) {
  .card-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.textarea-container {
  position: relative;
  margin-bottom: 1rem;
}

#description {
  width: 100%;
  height: 100px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  resize: vertical;
  font-size: 0.8rem;
  font-family: inherit;
  line-height: 1.5;
  background-color: #ffffff;
  min-height: 100px;
}

@media (min-width: 576px) {
  #description {
    height: 110px;
    padding: 0.875rem;
    font-size: 0.85rem;
    min-height: 110px;
  }
}

@media (min-width: 768px) {
  #description {
    height: 120px;
    padding: 1rem;
    font-size: 0.875rem;
    min-height: 120px;
  }
}

/* Improve touch target for mobile */
@media (pointer: coarse) {
  #description {
    min-height: 120px;
    padding: 1rem;
  }
}

#description:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.char-count {
  font-size: 0.7rem;
  color: #9ca3af;
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  background-color: #ffffff;
  padding: 0 0.25rem;
}

@media (min-width: 576px) {
  .char-count {
    font-size: 0.725rem;
    bottom: 0.625rem;
    right: 0.875rem;
  }
}

@media (min-width: 768px) {
  .char-count {
    font-size: 0.75rem;
    bottom: 0.75rem;
    right: 1rem;
  }
}

.bulb-note {
  font-size: 0.8rem;
  color: #7c3aed;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border-left: 4px solid #7c3aed;
  font-weight: 500;
  position: relative;
  text-align: left;
}

@media (min-width: 576px) {
  .bulb-note {
    font-size: 0.85rem;
    padding: 0.875rem;
    margin-bottom: 1.375rem;
  }
}

@media (min-width: 768px) {
  .bulb-note {
    font-size: 0.875rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
}

.bulb-note::before {
  content: "💡";
  margin-right: 0.5rem;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .bulb-note::before {
    margin-right: 0.625rem;
    font-size: 1.075rem;
  }
}

@media (min-width: 768px) {
  .bulb-note::before {
    margin-right: 0.75rem;
    font-size: 1.125rem;
  }
}

.bulb-note svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  color: #fbbf24;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.generate-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* Minimum touch target size */
}

@media (min-width: 576px) {
  .generate-btn {
    padding: 0.8rem 1.375rem;
    font-size: 0.85rem;
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .generate-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    min-height: 52px;
  }
}

/* Better touch targets for mobile */
@media (pointer: coarse) {
  .generate-btn {
    min-height: 48px;
    padding: 0.875rem 1.25rem;
  }
}

.generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .generate-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

.generate-btn svg {
  margin-right: 0.5rem;
}

/* Disabled button state */
.generate-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.generate-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Progress bar styles */
.progress-container {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 0;
  opacity: 1;
}

.progress-bar.complete {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.progress-indicator {
  font-size: 0.7rem;
  color: #6b7280;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.progress-indicator .status {
  font-weight: 500;
}

.progress-indicator .status.complete {
  color: #10b981;
}

.progress-indicator .status.incomplete {
  color: #ef4444;
}

@media (min-width: 576px) {
  .progress-indicator {
    font-size: 0.725rem;
  }
}

@media (min-width: 768px) {
  .progress-indicator {
    font-size: 0.75rem;
  }
}

/* Features Section */
.feature-section {
  padding: 2.5rem 0;
  text-align: center;
  background-color: #ffffff;
  width: 100%;
  margin: 0;
}

@media (min-width: 576px) {
  .feature-section {
    padding: 3rem 0;
  }
}

@media (min-width: 768px) {
  .feature-section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 992px) {
  .feature-section {
    padding: 4rem 0;
  }
}

.feature-section .container {
  max-width: none;
  padding: 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 576px) {
  .section-title {
    font-size: 2rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    padding: 0;
  }
}

@media (min-width: 992px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .section-desc {
    font-size: 1rem;
    margin: 0 auto 2.5rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-desc {
    font-size: 1.125rem;
    margin: 0 auto 3rem;
    padding: 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }
}

.feature-card {
  background-color: #ffffff;
  padding: 1.5rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s ease;
}

@media (min-width: 576px) {
  .feature-card {
    padding: 1.75rem 1.375rem;
  }
}

@media (min-width: 768px) {
  .feature-card {
    padding: 2rem 1.5rem;
  }
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .feature-card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
}

.feature-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .feature-card svg {
    width: 44px;
    height: 44px;
    margin-bottom: 0.875rem;
  }
}

@media (min-width: 768px) {
  .feature-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111827;
}

@media (min-width: 576px) {
  .feature-title {
    font-size: 1.1875rem;
  }
}

@media (min-width: 768px) {
  .feature-title {
    font-size: 1.25rem;
  }
}

.feature-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
}

@media (min-width: 576px) {
  .feature-desc {
    font-size: 0.825rem;
  }
}

@media (min-width: 768px) {
  .feature-desc {
    font-size: 0.875rem;
  }
}

/* Sample Logos Section */
.sample-logos-section {
  padding: 2.5rem 0;
  text-align: center;
  background-color: #ffffff;
  width: 100%;
  margin: 0;
}

@media (min-width: 576px) {
  .sample-logos-section {
    padding: 3rem 0;
  }
}

@media (min-width: 768px) {
  .sample-logos-section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 992px) {
  .sample-logos-section {
    padding: 4rem 0;
  }
}

.sample-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .sample-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .sample-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }
}

@media (min-width: 992px) {
  .sample-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 0 2rem;
  }
}

.sample-logo-item {
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

@media (min-width: 576px) {
  .sample-logo-item {
    padding: 1.25rem;
    min-height: 140px;
  }
}

@media (min-width: 768px) {
  .sample-logo-item {
    padding: 1.5rem;
    min-height: 160px;
  }
}

.sample-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #7c3aed;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .sample-logo-item:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #e5e7eb;
  }
}

.sample-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.375rem;
}

/* Footer */
.main-footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Additional responsive fine-tuning for very small screens */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    padding: 0 0.75rem;
  }
  
  .tagline {
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
  }
  
  .logo-card {
    margin: 0 0.5rem;
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.125rem;
  }
  
  .card-subtitle {
    font-size: 0.75rem;
  }
  
  #description {
    height: 90px;
    min-height: 90px;
    padding: 0.625rem;
    font-size: 0.75rem;
  }
  
  .bulb-note {
    font-size: 0.75rem;
    padding: 0.625rem;
  }
  
  .generate-btn {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    min-height: 42px;
  }
  
  .section-title {
    font-size: 1.5rem;
    padding: 0 0.75rem;
  }
  
  .section-desc {
    font-size: 0.875rem;
    padding: 0 0.75rem;
  }
  
  .features-grid {
    padding: 0 0.75rem;
    gap: 1.25rem;
  }
  
  .feature-card {
    padding: 1.25rem 1rem;
  }
  
  .feature-card svg {
    width: 36px;
    height: 36px;
  }
  
  /* Sample logos section responsive adjustments */
  .sample-logos-section {
    padding: 2rem 0;
  }
  
  .sample-logos-grid {
    padding: 0 0.75rem;
    gap: 1.25rem;
  }
  
  .sample-logo-item {
    padding: 0.75rem;
    min-height: 100px;
  }
  
  /* Footer responsive adjustments */
  .main-footer {
    padding: 1rem 0;
  }
  
  .footer-copyright {
    font-size: 0.7rem;
  }
} 