/* SINKHRON - Written Translation Service Page Styles */
/* ================================================ */

/* Page Container - Additional top padding for header */
.container.py-5 {
  padding-top: calc(var(--space-3xl) + 60px) !important;
  padding-bottom: var(--space-3xl);
}

.text-primary {
    color: var(--color-primary) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(47deg, rgba(255, 255, 255, 1) 0%, rgb(244 58 9 / 15%) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  color: var(--text-inverse);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.hero-section * {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  font-weight: var(--font-weight-bold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-lg);
}

.hero-section .lead {
  color: var(--text-primary);
  font-size: 1.25rem;
  text-align: justify;
  line-height: 1.7;
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-medium);
  max-width: 90%;
  text-shadow: 0 0.2px 0.5px #3d3d3d;
}

/* Illustration Placeholder */
.illustration-placeholder {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  backdrop-filter: var(--backdrop-blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--duration-normal) var(--ease-out);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-placeholder:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.placeholder-content {
  color: var(--text-primary);
  text-shadow: 0 0.2px 0.5px #3d3d3d;
}

.placeholder-content i {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.placeholder-content p {
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-medium);
  margin: 0;
  font-size: 1rem;
}

/* Hero Features */
.hero-features {
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
  /* padding: var(--space-md); */
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--backdrop-blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(10px);
}

.feature-item i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-right: var(--space-md);
}

.feature-item span {
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  text-shadow: 0 0.2px .5px #3d3d3d;
}

/* Document Types Section */
.document-types {
  margin-bottom: var(--space-3xl);
}

.document-types h2 {
  text-align: center;
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.document-types h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-button-shape);
  border-radius: 2px;
}

.document-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--border-light);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.document-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(244, 58, 9, 0.02) 0%, rgba(194, 237, 218, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.document-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.document-card:hover::before {
  opacity: 1;
}

.document-card .card-body {
  position: relative;
  z-index: 2;
  padding: 0;
}

.doc-icon {
  transition: transform var(--duration-normal) var(--ease-out);
}

.document-card:hover .doc-icon {
  transform: scale(1.1);
}

.document-card h5 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.document-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-card li {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding: var(--space-xs);
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out);
  font-family: var(--font-primary-GMB);
  font-size: 0.95rem;
}

.document-card li:hover {
  background: rgba(194, 237, 218, 0.3);
}

.document-card li::before {
  content: '"';
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  margin-right: var(--space-md);
  font-size: 1.2rem;
}

/* Process Section */
.process {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(194, 237, 218, 0.1) 100%);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-3xl);
}

.process h2 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.process h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--gradient-button-shape);
  border-radius: 2px;
}

.process-step {
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
  border-radius: var(--radius-lg);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-button-shape);
  color: var(--text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-primary-GEB);
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.process-step h5 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-primary-GMB);
  font-size: 0.95rem;
  text-align: center;
}

/* Pricing Section */
.pricing-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 58, 9, 0.1);
  overflow: visible;
}

.pricing-section h2 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.pricing-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--gradient-button-shape);
  border-radius: 2px;
}

.pricing-info .alert-info {
  background: linear-gradient(47deg, rgba(255, 255, 255, 1) 0%, rgb(244 58 9 / 15%) 100%);
  border: 1px solid var(--color-primary);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-medium);
}

.pricing-info .alert-info i {
  color: var(--color-primary);
}

/* Pricing Category Container */
.pricing-category {
  overflow: visible;
}

.pricing-category .row {
  overflow: visible;
}

/* Price Cards - Compact and Minimalistic */
.price-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(244, 58, 9, 0.1);
  height: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  position: relative;
}

.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(244, 58, 9, 0.15);
  transform: scale(1.02);
  top: 10px;
}

.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(244, 58, 9, 0.05) 0%, rgba(255, 183, 102, 0.05) 100%);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(244, 58, 9, 0.15);
  border-color: rgba(244, 58, 9, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.price-card.featured:hover {
  transform: translateY(-5px) scale(1.02);
}

.price-header {
  background: transparent;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(244, 58, 9, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.price-header h5 {
  color: var(--text-primary);
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  line-height: 1.3;
}

.price-header small {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: var(--font-primary-GMB);
}

.price-header .badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gradient-button-shape);
  color: var(--text-inverse);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-semibold);
}

.price-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.price {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  font-family: var(--font-primary-GEB);
  margin-bottom: var(--space-sm);
}

.price-features {
  margin: var(--space-md) 0;
  color: var(--text-secondary);
  font-family: var(--font-primary-GMB);
  line-height: 1.5;
}

/* Button Styles - Using brand colors */
.btn {
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-top: var(--space-md);
}

.btn-outline-primary {
  background: transparent;
  color: var(--color-brightly-orange);
  border: 2px solid var(--color-brightly-orange);
}

.btn-outline-primary:hover {
  background: var(--gradient-button-shape);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-button-shape);
  color: var(--text-inverse);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-grandpa-orange) 0%, var(--color-brightly-orange) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  color: var(--text-inverse);
  border: 2px solid transparent;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* FAQ Section - Simplified */
.faq__block {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-3xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 58, 9, 0.1);
  box-shadow: 0 4px 20px rgba(244, 58, 9, 0.08);
}

.faq__block h2 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  text-align: center;
  /* margin-bottom: var(--space-xl); */
  position: relative;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.faq__block h2::after {
  /* content: ''; */
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-grandpa-orange) 100%);
  border-radius: 2px;
}

.accordion-item {
  border: none;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(244, 58, 9, 0.08);
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(244, 58, 9, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(244, 58, 9, 0.1);
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  width: 100%;
  text-align: left;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.5;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(244, 58, 9, 0.05) 0%, rgba(255, 183, 102, 0.05) 100%);
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-button:hover {
  color: var(--color-primary);
}

.accordion-button {
  background-image: none !important;
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  transition: all var(--duration-normal) var(--ease-out);
  background-image: none !important;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 58, 9, 0.1);
}

.accordion-button:not(.collapsed) {
  background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: '';
  color: var(--text-inverse);
  background: var(--color-primary);
  background-image: none !important;
}

.accordion-button:hover::after {
  background: rgba(244, 58, 9, 0.2);
}

.accordion-button:not(.collapsed):hover::after {
  background: var(--color-grandpa-orange);
}

.accordion-body {
  background: rgba(255, 255, 255, 0.3);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  border-top: 1px solid rgba(244, 58, 9, 0.1);
  margin: 0;
}

.accordion-body p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-primary-GMB);
  font-weight: var(--font-weight-medium);
  text-align: justify;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(47deg, rgba(255, 255, 255, 1) 0%, rgb(244 58 9 / 15%) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  color: var(--text-inverse);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.cta-section * {
  position: relative;
  z-index: 2;
}

.cta-section h3 {
  color: var(--text-primary);
  font-family: var(--font-primary-GEB);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0.2px 0.5px #3d3d3d;
}

.cta-section p {
  color: var(--text-primary);
  font-size: 1.125rem;
  line-height: 1.5;
  font-family: var(--font-primary-GMB);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
  text-shadow: 0 0.2px 0.5px #3d3d3d;
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .container.py-5 {
    padding-top: calc(var(--space-2xl) + 50px) !important;
  }
  
  .hero-section {
    padding: var(--space-2xl);
  }
  
  .document-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 991.98px) {
  .hero-section .row {
    flex-direction: column;
  }
  
  .hero-section .col-lg-6:first-child {
    margin-bottom: var(--space-xl);
    text-align: center;
  }
  
  .hero-features {
    max-width: 600px;
    margin: var(--space-xl) auto 0;
  }
  
  .document-types .row {
    gap: 2rem;
  }
  
  .process {
    padding: var(--space-xl);
  }
  
  .pricing-section {
    padding: var(--space-xl);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 767.98px) {
  .container.py-5 {
    padding-top: calc(var(--space-xl) + 40px) !important;
  }
  
  .hero-section {
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.125rem;
  }
  
  .illustration-placeholder {
    padding: var(--space-2xl);
    min-height: 250px;
  }
  
  .document-card {
    padding: var(--space-lg);
  }
  
  .process {
    padding: var(--space-lg);
  }
  
  .process-step {
    margin-bottom: var(--space-xl);
  }
  
  .pricing-section {
    padding: var(--space-lg);
  }
  
  .faq__block {
    padding: var(--space-lg) var(--space-xl);
  }
  
  .cta-section {
    padding: var(--space-2xl);
  }
}

@media (max-width: 575.98px) {
  .container.py-5 {
    padding-top: calc(var(--space-lg) + 30px) !important;
  }
  
  .hero-section {
    padding: var(--space-lg);
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
  }
  
  .illustration-placeholder {
    padding: var(--space-lg);
    min-height: 200px;
  }
  
  .feature-item {
    padding: var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .document-card {
    padding: var(--space-md);
  }
  
  .document-card h5 {
    font-size: 1.1rem;
  }
  
  .doc-icon i {
    font-size: 2.5rem !important;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .process-step h5 {
    font-size: 1rem;
  }
  
  .process-step p {
    font-size: 0.9rem;
  }
  
  .price-header {
    padding: var(--space-md);
  }

  .price-header h5 {
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .price-body {
    padding: var(--space-md);
  }
  
  .accordion-button {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.95rem;
  }
  
  .accordion-button::after {
    width: 18px;
    height: 18px;
    font-size: 1rem;
    right: var(--space-md);
  }
  
  .accordion-body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  
  .cta-section p {
    font-size: 1rem;
    text-align: center;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section,
.document-card,
.process-step,
.price-card,
.faq__block,
.cta-section {
  animation: fadeInUp var(--duration-elegant) var(--ease-out);
}

/* Stagger animation delays */
.document-card:nth-child(1) { animation-delay: 0.1s; }
.document-card:nth-child(2) { animation-delay: 0.15s; }
.document-card:nth-child(3) { animation-delay: 0.2s; }
.document-card:nth-child(4) { animation-delay: 0.25s; }
.document-card:nth-child(5) { animation-delay: 0.3s; }
.document-card:nth-child(6) { animation-delay: 0.35s; }

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.price-card:nth-child(odd) { animation-delay: 0.15s; }
.price-card:nth-child(even) { animation-delay: 0.25s; }

/* Focus and accessibility improvements */
.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.accordion-button:focus {
  outline: none;
  box-shadow: none;
}

/* Print styles */
@media print {
  .hero-section,
  .document-card,
  .process-step,
  .price-card,
  .faq__block,
  .cta-section {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .btn {
    display: none;
  }
  
  .container.py-5 {
    padding-top: 0 !important;
  }
}