/* Landing Page Styles */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #10b981;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Reset & Base Styles */
.landing-page {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.landing-page p {
  margin: 0 0 1rem 0;
}

.landing-page a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

.landing-page a:hover {
  color: var(--primary-dark);
}

/* Container */
.landing-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.landing-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.landing-nav .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-nav .logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.landing-nav .nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.landing-page .btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.landing-page .btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.landing-page .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.landing-page .btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.landing-page .btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.landing-page .btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.landing-page .btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.landing-page .btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.landing-page .btn-block {
  display: block;
  width: 100%;
}

/* Hero Section */
.landing-page .hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.landing-page .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.landing-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.landing-page .hero-badge i {
  color: #fbbf24;
}

.landing-page .hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.landing-page .hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0.95;
}

.landing-page .hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
}

.landing-page .hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Highlight Features Section */
.landing-page .highlight-features {
  padding: 4rem 0;
  background: var(--bg-white);
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.landing-page .highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.landing-page .highlight-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-page .highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.landing-page .highlight-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.landing-page .highlight-icon i {
  font-size: 2rem;
  color: white;
}

.landing-page .highlight-icon.ai {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.landing-page .highlight-icon.scheduling {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.landing-page .highlight-icon.mobile {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.landing-page .highlight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.landing-page .highlight-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Spotlight Sections */
.landing-page .ai-spotlight,
.landing-page .scheduling-spotlight {
  padding: 5rem 0;
}

.landing-page .ai-spotlight {
  background: var(--bg-light);
}

.landing-page .scheduling-spotlight {
  background: var(--bg-white);
}

.landing-page .spotlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.landing-page .spotlight-content.reverse {
  direction: rtl;
}

.landing-page .spotlight-content.reverse > * {
  direction: ltr;
}

.landing-page .spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.landing-page .spotlight-badge.scheduling-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.landing-page .spotlight-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing-page .spotlight-text .lead {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.landing-page .spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-page .spotlight-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.landing-page .spotlight-features li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.landing-page .spotlight-features li strong {
  color: var(--text-dark);
}

/* AI Demo Card */
.landing-page .ai-demo-card {
  background: var(--bg-white);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.landing-page .demo-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-page .demo-content {
  padding: 1.5rem;
}

.landing-page .demo-context {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.landing-page .demo-suggestion {
  background: #f0fdf4;
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 0;
  line-height: 1.6;
  color: var(--text-dark);
}

.landing-page .demo-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
}

.landing-page .demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: default;
}

.landing-page .demo-btn.accept {
  background: var(--accent-color);
  color: white;
}

.landing-page .demo-btn.edit {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Calendar Preview */
.landing-page .calendar-preview {
  background: var(--bg-white);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.landing-page .calendar-header {
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.landing-page .calendar-title {
  font-weight: 600;
  color: var(--text-dark);
}

.landing-page .calendar-views {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-white);
  padding: 0.25rem;
  border-radius: 0.5rem;
}

.landing-page .view-btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

.landing-page .view-btn.active {
  background: var(--primary-color);
  color: white;
}

.landing-page .calendar-grid {
  display: flex;
  padding: 1rem;
  gap: 0.75rem;
}

.landing-page .calendar-day {
  flex: 1;
  min-width: 0;
}

.landing-page .day-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-align: center;
}

.landing-page .appointment-block {
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .appointment-block.wellness {
  background: #d1fae5;
  color: #065f46;
  border-left: 3px solid #10b981;
}

.landing-page .appointment-block.surgery {
  background: #ede9fe;
  color: #5b21b6;
  border-left: 3px solid #8b5cf6;
}

.landing-page .appointment-block.lameness {
  background: #fce7f3;
  color: #9d174d;
  border-left: 3px solid #ec4899;
}

.landing-page .appointment-block.vaccination {
  background: #cffafe;
  color: #155e75;
  border-left: 3px solid #06b6d4;
}

.landing-page .appointment-block.followup {
  background: #dbeafe;
  color: #1e40af;
  border-left: 3px solid #3b82f6;
}

.landing-page .appointment-block.dental {
  background: #fef3c7;
  color: #92400e;
  border-left: 3px solid #f59e0b;
}

/* Features Section */
.landing-page .features {
  padding: 5rem 0;
  background: var(--bg-light);
}

.landing-page .section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.landing-page .section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.landing-page .feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-page .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.landing-page .feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.landing-page .feature-icon i {
  font-size: 1.75rem;
  color: white;
}

.landing-page .feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* Why Choose Section */
.landing-page .why-choose {
  padding: 5rem 0;
  background: var(--bg-white);
}

.landing-page .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.landing-page .why-item {
  text-align: center;
}

.landing-page .why-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.landing-page .why-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.landing-page .why-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Section */
.landing-page .contact-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.landing-page .contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.landing-page .contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing-page .contact-info .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.landing-page .contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-page .benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.landing-page .benefit-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.landing-page .contact-form-wrapper {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.landing-page .contact-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Honeypot field - hidden from humans, visible to bots */
.landing-page .honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-page .contact-form .form-group {
  margin-bottom: 1.5rem;
}

.landing-page .contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.landing-page .contact-form .form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.landing-page .contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.landing-page .contact-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.landing-page .contact-form .form-actions {
  margin-top: 2rem;
}

.landing-page .contact-form .form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.landing-page .alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.landing-page .alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.landing-page .alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
.landing-footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.landing-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer .footer-brand h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.landing-footer .footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.landing-footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.landing-footer .footer-links a:hover {
  color: white;
}

.landing-footer .footer-bottom {
  text-align: center;
}

.landing-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .landing-page .highlight-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .landing-page .spotlight-content,
  .landing-page .spotlight-content.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .landing-page .spotlight-text h2 {
    font-size: 2rem;
  }

  .landing-page .calendar-preview {
    max-width: 400px;
    margin: 0 auto;
  }

  .landing-page .ai-demo-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .landing-page .hero {
    padding: 3rem 0;
  }

  .landing-page .hero-title {
    font-size: 2rem;
  }

  .landing-page .hero-subtitle {
    font-size: 1.25rem;
  }

  .landing-page .hero-description {
    font-size: 1rem;
  }

  .landing-page .hero-cta {
    flex-direction: column;
  }

  .landing-page .hero-cta .btn {
    width: 100%;
  }

  .landing-page .highlight-features {
    padding: 3rem 0;
    margin-top: 0;
  }

  .landing-page .ai-spotlight,
  .landing-page .scheduling-spotlight {
    padding: 3rem 0;
  }

  .landing-page .section-title {
    font-size: 2rem;
  }

  .landing-page .features-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-page .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-page .contact-info h2 {
    font-size: 2rem;
  }

  .landing-footer .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .landing-page .calendar-grid {
    flex-direction: column;
  }

  .landing-page .calendar-day {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
  }

  .landing-page .day-label {
    margin-bottom: 0;
    margin-right: 0.5rem;
    min-width: 50px;
  }

  .landing-page .appointment-block {
    margin-bottom: 0;
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .landing-page .container {
    padding: 0 1rem;
  }

  .landing-page .hero-title {
    font-size: 1.75rem;
  }

  .landing-page .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .landing-page .contact-form-wrapper {
    padding: 1.5rem;
  }

  .landing-page .spotlight-text h2 {
    font-size: 1.75rem;
  }

  .landing-page .demo-content {
    padding: 1rem;
  }

  .landing-page .demo-actions {
    padding: 0.75rem 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-page .hero-content,
.landing-page .feature-card,
.landing-page .why-item {
  animation: fadeInUp 0.6s ease-out;
}
