@import url(/assets/theme/theme.css);

/* Video Streaming GPU Dedicated Servers Page Styles */

/* Container */
.gpu-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.spec-item svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  color: #3b82f6;
  flex-shrink: 0;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 600;
}

.price-period {
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Pre-footer CTA Section */
.pre-footer-cta {
  background-color: rgba(59, 130, 246, 0.05);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.pre-footer-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pre-footer-cta__content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 2rem;
}

.pre-footer-cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 1rem;
}

.pre-footer-cta__description {
  font-size: 1.125rem;
  color: rgba(245, 245, 245, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pre-footer-cta__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.pre-footer-cta__shape {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background-color: rgba(59, 130, 246, 0.2);
  opacity: 0.1;
  border-radius: 50%;
}

.shape-2 {
  bottom: -30px;
  left: -30px;
  width: 250px;
  height: 250px;
  background-color: #3b82f6;
  opacity: 0.1;
  border-radius: 50%;
}

/* Hero Section */
.hero {
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 30px auto 30px;
  text-align: center;
  position: relative;
  z-index: 4;
}

.hero-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero h2 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  color: #f5f5f5;
}

.hero h2 span {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.cta-primary {
  background-color: #3b82f6;
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  position: relative;
  z-index: 10;
  text-decoration: none;
  display: inline-block;
}

.cta-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  position: relative;
  z-index: 10;
}

.cta-secondary {
  background-color: rgba(59, 130, 246, 0.1);
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
  z-index: 10;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.cta-secondary:hover {
  background-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  z-index: 10;
  position: relative;
}

.trusted-by {
  margin-top: auto;
}

.trusted-by-text {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 1rem;
  color: rgba(245, 245, 245, 0.6);
}

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trusted-logo {
  height: 40px;
  opacity: 0.9;
  filter: grayscale(1) brightness(1.5);
  transition: all 0.3s ease;
}

.trusted-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

.blob {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
  filter: blur(120px);
  z-index: 1;
}

.blob-1 {
  top: -300px;
  right: -300px;
}

.blob-2 {
  bottom: -400px;
  left: -200px;
}

.blob-3 {
  top: 20%;
  right: -300px;
}

.blob-4 {
  bottom: 10%;
  left: -300px;
}

.blob-5 {
  top: 30%;
  right: -300px;
}

/* Features section */ 
.features-section {
  padding: 30px 5%;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0px auto 30px;
}

.section-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #f5f5f5;
}

.section-description {
  font-size: 1.125rem;
  opacity: 0.8;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
}

.feature-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: 2rem;
}

.feature-image {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 400px;
  position: relative;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  color: #f5f5f5;
}

.feature-description {
  font-size: 1.125rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(245, 245, 245, 0.8);
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: rgba(245, 245, 245, 0.9);
}

.feature-list-item svg {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-cta {
  background-color: rgba(59, 130, 246, 0.1);
  color: #f5f5f5;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.feature-cta:hover {
  background-color: #3b82f6;
}

.feature-image-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.3) 0%, rgba(18, 18, 18, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-image-content .image-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.feature-image-content .image-description {
  font-size: 0.875rem;
  opacity: 0.8;
  color: rgba(245, 245, 245, 0.8);
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-content {
  max-width: 500px;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2.5rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f5f5f5;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #f5f5f5;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
  color: rgba(245, 245, 245, 0.4);
}

.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  background-color: #3b82f6;
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.form-submit:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Overview Section */
.overview-content {
  display: flex;
  justify-content: center;
}

.overview-text {
  max-width: 1000px;
}

.overview-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #f5f5f5;
  text-align: center;
}

.overview-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(245, 245, 245, 0.8);
}

/* Product Features Grid */
.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-evenly;
  align-items: start;
  gap: 16px;
}

.fea-product {
  display: flex;
  background-color: rgb(19,18,19);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  gap: 15px;
  height: max-content;
}

.fea-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.fea-product div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fea-product img {
  width: 100px;
  height: 100px;
  margin-right: 20px;
  flex-shrink: 0;
}

.fea-product h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

.fea-product p {
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.6;
}

/* Certifications Section */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.certification-item {
  background-color: rgb(19,18,19);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.certification-item:hover {
  transform: translateY(-5px);
}

.certification-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-logo img {
  max-width: 100%;
  height: auto;
}

.certification-item p {
  color: rgba(245, 245, 245, 0.8);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  background-color: #121212;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.25rem;
  font-weight: 500;
  font-size: 1.125rem;
  color: #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #3b82f6;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.faq-icon:before {
  width: 2px;
  height: 16px;
  top: 4px;
  left: 11px;
}

.faq-icon:after {
  width: 16px;
  height: 2px;
  top: 11px;
  left: 4px;
}

.faq-item.active .faq-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-question {
  color: #3b82f6;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .feature-row, 
  .feature-row:nth-child(even) {
    flex-direction: column;
  }
  
  .feature-content,
  .feature-image {
    width: 100%;
  }
  
  .feature-image {
    margin-bottom: 2rem;
    height: 300px;
  }
  
  .feature-row:nth-child(even) .feature-image {
    order: -1;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 3.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
}

@media (max-width: 992px) {
  .certifications-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .contact-form-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
  }
  
  .trusted-logos {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .pre-footer-cta__title {
    font-size: 2rem;
  }
  
  .pre-footer-cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .pre-footer-cta__buttons .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 2.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-features {
    grid-template-columns: repeat(1, 1fr);
  }

  .feature-image {
    display: none;
  }

  .faq-question {
    font-size: 1rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 2.25rem;
  }
  
  .section-badge {
    font-size: 0.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
  
  .feature-description {
    font-size: 1rem;
  }
  .pre-footer-cta__title {
    font-size: 1.75rem;
  }
  
  .pre-footer-cta__description {
    font-size: 1rem;
  }

  .product-features {
    grid-template-columns: repeat(1, 1fr);
  }

  .feature-image {
    display: none;
  }

  .faq-section {
    padding: 40px 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .features-section,
  .contact-form-section {
    padding: 40px 0;
  }

  .overview-text h2 {
    font-size: 1.75rem;
  }

  .overview-text p {
    font-size: 1rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }

  .certification-item {
    padding: 1.25rem;
  }

  .certification-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .fea-product {
    padding: 1.5rem;
  }

  .fea-product img {
    width: 60px;
    height: 60px;
  }

  .trusted-logo {
    height: 30px;
  }

  .hero-content {
    margin: 20px auto;
  }
}

/* Enhanced button hover states */
.cta-primary:hover,
.cta-secondary:hover,
.form-submit:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Focus States for Accessibility */
.form-control:focus,
.faq-question:focus,
.cta-primary:focus,
.cta-secondary:focus,
.form-submit:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading States */
.form-submit:disabled {
  background-color: #6b7280;
  cursor: not-allowed;
}

.form-submit:disabled:hover {
  transform: none;
  background-color: #6b7280;
}

/* Loading animation for form submission */
.form-submit.loading {
  position: relative;
  color: transparent;
}

.form-submit.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover Effects */
.trusted-logo svg:hover {
  transform: scale(1.05);
}

.fea-product:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.certification-item:hover .certification-logo img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Enhanced button styles */
.cta-primary:active,
.cta-secondary:active,
.form-submit:active {
  transform: scale(0.98);
}

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

/* Enhanced container max-widths for different screen sizes */
@media (min-width: 1400px) {
  .container,
  .gpu-container {
    max-width: 1320px;
  }
}

@media (min-width: 1600px) {
  .container,
  .gpu-container {
    max-width: 1480px;
  }
}

/* Animation Styles */
.feature-card, 
.certification-item, 
.fea-product {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Blob animations */
.blob {
  animation: blob-float 6s ease-in-out infinite;
}

.blob-1 {
  animation-delay: 0s;
}

.blob-2 {
  animation-delay: 2s;
}

.blob-3 {
  animation-delay: 4s;
}

.blob-4 {
  animation-delay: 1s;
}

.blob-5 {
  animation-delay: 3s;
}

@keyframes blob-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Disable blob animation on reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Enhanced text selection */
::selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

/* Improved accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Print Styles */
@media print {
  .blob,
  .pre-footer-cta__shape,
  .cta-buttons,
  .contact-form-section {
    display: none;
  }
  
  .hero h2,
  .section-title {
    color: #000 !important;
  }
  
  .hero-description,
  .section-description,
  .feature-description {
    color: #333 !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero-badge,
  .section-badge {
    background-color: #3b82f6;
    color: #fff;
  }
  
  .fea-product,
  .certification-item {
    border: 2px solid #3b82f6;
  }
  
  .form-control {
    border: 2px solid #3b82f6;
  }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
  .form-control {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .fea-product,
  .certification-item {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

/* Improved section spacing */
.features-section + .features-section {
  margin-top: -20px;
}

/* Additional responsive improvements */
@media (max-width: 640px) {
  .trusted-logos {
    gap: 1rem;
  }
  
  .trusted-logo svg {
    font-size: 12px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .section-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Enhanced form validation styles */
.form-control:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Improved button interactions */
.cta-primary,
.cta-secondary {
  position: relative;
  overflow: hidden;
}

.cta-primary::before,
.cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.cta-primary:hover::before,
.cta-secondary:hover::before {
  left: 100%;
}

/* Enhanced FAQ interactions */
.faq-question {
  position: relative;
}

.faq-question::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

.faq-question:hover::after {
  width: 100%;
}

/* Improved responsive typography */
@media (max-width: 360px) {
  .hero h2 {
    font-size: 1.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .pre-footer-cta__title {
    font-size: 1.5rem;
  }
}