/* ChefTalk Marketing Website - Main Styles */
/* Apple Design Language Inspired */

/* CSS Custom Properties for consistent theming */
:root {
  /* Colors */
  --primary-orange: #FF6B35;
  --primary-dark: #1A1A1A;
  --primary-light: #FFFFFF;
  --text-gray: #6B7280;
  --text-light-gray: #9CA3AF;
  --background-warm: #FFF8F3;
  --background-cream: #FEF3E2;
  --background-peach: #FFEDD5;
  --background-light-orange: #FFF7ED;
  --background-glass: rgba(255, 255, 255, 0.8);
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-padding: 24px;
  
  /* Border radius */
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;
  
  /* Shadows */
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Container utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Button styles */
.btn-primary {
  background: var(--primary-orange);
  color: var(--primary-light);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
  background: #E55A2B;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 247, 237, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  box-sizing: border-box;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mobile nav adjustments */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
  }
  
  .nav-cta {
    gap: 6px;
  }
  
  .btn-secondary {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .phone-carousel {
    width: 280px;
    height: 560px;
  }
  
  .hero-visual {
    width: 100%;
    overflow: hidden;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-orange);
}

/* Sections */
section {
  padding: var(--section-padding) 0;
}

/* Section containers */
.hero-container,
.features-container,
.recipe-sites-container,
.cta-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

/* Hero section */
.hero {
  width: 100%;
  padding-top: calc(var(--section-padding) + 70px);
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FEF3E2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

.features {
  width: 100%;
  background: linear-gradient(135deg, #FFF8F3 0%, #FEF3E2 100%);
  overflow-x: hidden;
}

.recipe-sites {
  width: 100%;
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  overflow-x: hidden;
}

.cta {
  width: 100%;
  background: var(--primary-dark);
  color: var(--primary-light);
  overflow-x: hidden;
}

/* CTA section */
.cta {
  background: var(--primary-dark);
  color: var(--primary-light);
}

/* Hero Section Detailed Styles */
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.hero-highlight {
  color: var(--primary-orange);
  position: relative;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Early Access Form */
.early-access-form {
  width: 100%;
  max-width: 400px;
}

.email-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-medium);
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--primary-light);
  transition: all 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-button {
  padding: 16px 24px;
  background: var(--primary-orange);
  color: var(--primary-light);
  border: none;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.submit-button:hover {
  background: #E55A2B;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.submit-button.loading {
  background: #9CA3AF;
  cursor: not-allowed;
}

.error-message {
  display: none;
  color: #EF4444;
  font-size: 14px;
  margin-top: 8px;
  text-align: left;
}

.success-message {
  display: none;
  text-align: center;
  padding: 24px;
  background: #F0FDF4;
  border-radius: var(--radius-medium);
  border: 1px solid #BBF7D0;
}

.success-message h3 {
  color: #166534;
  margin-bottom: 8px;
}

.success-message p {
  color: #15803D;
  font-size: 14px;
}

.hero-subtext {
  font-size: 14px;
  color: var(--text-light-gray);
  text-align: center;
}

/* Hero Visual */
/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-carousel {
  width: 440px;
  height: 880px;
  position: relative;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  border: 8px solid #1d1d1f;
  background: #1d1d1f;
}

.carousel-container::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #1d1d1f;
  border-radius: 20px;
  z-index: 20;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: #000;
}

.carousel-indicators {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-orange);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 107, 53, 0.8);
}

/* Desktop Layout */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero-title {
    font-size: 64px;
  }
  
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-cta {
    align-items: flex-start;
  }
  
  .hero-subtext {
    text-align: left;
  }
}

/* Features Section */
.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.section-description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  background: var(--primary-light);
  padding: 40px 32px;
  border-radius: var(--radius-large);
  text-align: center;
  border: 1px solid #F3F4F6;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
  border-color: var(--primary-orange);
  box-shadow: var(--shadow-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.feature-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* Feature Icon Specific Styles */
.skill-indicator {
  display: flex;
  gap: 8px;
  align-items: center;
}

.skill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5E7EB;
  transition: all 0.3s ease;
}

.skill-dot.beginner { background: #10B981; }
.skill-dot.intermediate { background: var(--primary-orange); }
.skill-dot.expert { background: #EF4444; }
.skill-dot.active { transform: scale(1.2); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2); }

.import-icon,
.shopping-icon,
.timer-icon,
.conversation-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Grid */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .section-title {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  
  .feature-card {
    padding: 48px 40px;
  }
  
  .section-title {
    font-size: 64px;
  }
}

/* Recipe Sites Section */
.recipe-sites-header {
  text-align: center;
  margin-bottom: 60px;
}

.recipe-sites-demo {
  background: var(--primary-light);
  border-radius: var(--radius-large);
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid #F3F4F6;
}

.url-input-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.demo-input {
  display: flex;
  align-items: center;
  background: #F9FAFB;
  border-radius: var(--radius-medium);
  padding: 16px 20px;
  border: 2px solid #E5E7EB;
  min-width: 300px;
  gap: 12px;
}

.demo-url {
  font-family: monospace;
  font-size: 14px;
  color: var(--text-gray);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-import-btn {
  background: var(--primary-orange);
  color: var(--primary-light);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.import-arrow {
  font-size: 24px;
  color: var(--primary-orange);
  font-weight: bold;
}

.voice-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F0FDF4;
  padding: 16px 20px;
  border-radius: var(--radius-medium);
  border: 2px solid #BBF7D0;
}

.result-text {
  font-size: 16px;
  color: #166534;
  font-weight: 600;
}

/* Recipe Sites Logos */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.logo-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-circle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

/* Logo Colors (placeholder - replace with actual logos later) */
.logo-circle.allrecipes { background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%); }
.logo-circle.food-network { background: linear-gradient(135deg, #F56500 0%, #DD6B20 100%); }
.logo-circle.bbc { background: linear-gradient(135deg, #000000 0%, #2D3748 100%); }
.logo-circle.bon-appetit { background: linear-gradient(135deg, #FF0040 0%, #E53E3E 100%); }
.logo-circle.epicurious { background: linear-gradient(135deg, #38A169 0%, #2F855A 100%); }
.logo-circle.simply-recipes { background: linear-gradient(135deg, #3182CE 0%, #2C5282 100%); }
.logo-circle.taste-home { background: linear-gradient(135deg, #805AD5 0%, #6B46C1 100%); }
.logo-circle.pioneer-woman { background: linear-gradient(135deg, #ED8936 0%, #C05621 100%); }

.logo-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
}

/* Stats */
.sites-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 36px;
  color: var(--primary-orange);
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .url-input-demo {
    flex-direction: column;
    gap: 16px;
  }
  
  .import-arrow {
    transform: rotate(90deg);
  }
  
  .demo-input {
    min-width: auto;
    width: 100%;
  }
  
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .sites-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .sites-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Section */
.cta-content {
  text-align: center;
  padding-bottom: 80px;
}

.cta-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.cta-description {
  font-size: 20px;
  line-height: 1.6;
  color: #9CA3AF;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form-section {
  margin-bottom: 60px;
}

.cta-form {
  max-width: 400px;
  margin: 0 auto;
}

.cta-email-group {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-medium);
  padding: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-email-input {
  background: transparent;
  border: none;
  color: var(--primary-light);
  padding: 12px 16px;
}

.cta-email-input::placeholder {
  color: #9CA3AF;
}

.cta-email-input:focus {
  border: none;
  box-shadow: none;
}

.cta-submit-button {
  background: var(--primary-orange);
  border: none;
  margin: 0;
}

.cta-submit-button:hover {
  background: #E55A2B;
}

.cta-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cta-success h3 {
  color: #10B981;
}

.cta-success p {
  color: #6EE7B7;
}

.cta-subtext {
  font-size: 14px;
  color: #6B7280;
  margin-top: 16px;
}

/* Social Proof */
.social-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-large);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  color: var(--primary-light);
  font-size: 14px;
}

.author-title {
  font-size: 12px;
  color: #9CA3AF;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-light);
}

.footer-tagline {
  font-size: 14px;
  color: #6B7280;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-copyright {
  font-size: 12px;
  color: #6B7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-title {
    font-size: 36px;
  }
  
  .social-proof {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .social-proof {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 56px;
  }
}

/* Contact Modal Styles */
.btn-secondary {
  background: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
  padding: 10px 20px;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-right: 12px;
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-large);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-modal.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #E5E7EB;
}

.modal-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #F3F4F6;
  color: var(--primary-dark);
}

.modal-body {
  padding: 32px;
}

.contact-form {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-small);
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  color: #EF4444;
  font-size: 12px;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

.contact-error-message {
  display: none;
  color: #EF4444;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-small);
  padding: 12px;
  margin-top: 16px;
  font-size: 14px;
}

.contact-success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-success-message h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-success-message p {
  color: var(--text-gray);
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column-reverse;
  }
  
  .btn-secondary {
    margin-right: 0;
    margin-top: 12px;
  }
}

/* Shake animation for modal */
.contact-modal.shake .modal-content {
  animation: modalShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes modalShake {
  10%, 90% {
    transform: scale(1) translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: scale(1) translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: scale(1) translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: scale(1) translate3d(4px, 0, 0);
  }
}