/* =============================================
   SPEECHDIGEST COURTESY PAGE STYLES
   ============================================= */

/* CSS Custom Properties - Matching application theme */
:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --primary-dark: #3730a3;
  --secondary-color: #10b981;
  --secondary-hover: #059669;
  --success-color: #10b981;
  --success-hover: #059669;
  --warning-color: #f59e0b;
  --warning-hover: #d97706;
  --background-color: #f9fafb;
  --card-background: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --error-color: #ef4444;
  --info-color: #3b82f6;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Main container */
.courtesy-container {
  max-width: 900px;
  width: 100%;
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

/* Header section */
.courtesy-header {
  background-color: var(--card-background);
  padding: 40px 40px 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.logo-container {
  margin-bottom: 20px;
  animation: fadeIn 1s ease-out 0.3s both;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2rem;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.logo-text-primary {
  color: var(--text-primary);
}

.tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 10px;
  animation: fadeIn 1s ease-out 0.6s both;
}

/* Content section */
.courtesy-content {
  padding: 50px 40px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 30px;
  border: 1px solid #bae6fd;
}

.status-badge .material-icons {
  font-size: 18px;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Features list */
.features-list {
  list-style: none;
  margin: 30px 0;
  display: grid;
  gap: 20px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  animation: slideInLeft 0.6s ease-out both;
}

.features-list li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: #eef2ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 20px;
  flex-shrink: 0;
}

.feature-icon .material-icons {
  font-size: 28px;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
  text-align: center;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.email-link:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.email-link .material-icons {
  font-size: 20px;
}

/* Footer */
.courtesy-footer {
  background-color: var(--background-color);
  padding: 30px 40px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

.courtesy-footer p {
  margin-bottom: 8px;
}

.courtesy-footer p:last-child {
  margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .courtesy-header {
    padding: 30px 30px 20px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .tagline {
    font-size: 1rem;
  }

  .courtesy-content {
    padding: 40px 30px;
  }

  h2 {
    font-size: 1.6rem;
  }

  .description {
    font-size: 1rem;
  }

  .features-list li {
    padding: 16px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }

  .feature-icon .material-icons {
    font-size: 24px;
  }

  .courtesy-footer {
    padding: 25px 30px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .courtesy-container {
    border-radius: 12px;
  }

  .courtesy-header {
    padding: 25px 20px 15px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .tagline {
    font-size: 0.95rem;
  }

  .courtesy-content {
    padding: 30px 20px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .features-list {
    gap: 15px;
  }

  .features-list li {
    padding: 14px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }

  .feature-icon .material-icons {
    font-size: 20px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .email-link {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .courtesy-footer {
    padding: 20px;
  }
}

/* Animation delays for staggered effects */
.features-list li:nth-child(1) { animation-delay: 0.1s; }
.features-list li:nth-child(2) { animation-delay: 0.2s; }
.features-list li:nth-child(3) { animation-delay: 0.3s; }
.features-list li:nth-child(4) { animation-delay: 0.4s; }
.features-list li:nth-child(5) { animation-delay: 0.5s; }
