/* ==========================================
   PIXEL-PERFECT REACT CLONE - TECHNOLOGY DETAILS
   Exact Tailwind CSS equivalents
   ========================================== */

/* CSS Variables for React colors */
:root {
  --sv-blue: #1E88E5;
  --sv-purple: #9C27B0;
  --sv-cyan: #00e6fb;
}

/* Base wrapper - pt-20 min-h-screen bg-gradient-to-b */
.tech-details-wrapper {
  padding-top: 5rem; /* pt-20 */
  min-height: 100vh;
  background: linear-gradient(to bottom, #050509, #050815, #030712);
  position: relative;
}

/* Container widths - w-[98%] md:w-[96%] lg:w-[94%] */
.tech-container {
  margin-left: auto;
  margin-right: auto;
  width: 98%;
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .tech-container {
    width: 96%;
  }
}

@media (min-width: 1024px) {
  .tech-container {
    width: 94%;
    padding-left: 2rem; /* lg:px-8 */
    padding-right: 2rem;
  }
}

/* Back Button Section - pt-8 */
.back-button-section {
  padding-top: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1; /* text-slate-300 */
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--sv-cyan);
}

/* Hero Section - py-16 lg:py-24 border-b */
.hero-section {
  width: max-content;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .hero-section {
    padding-bottom: 6rem;
  }
}

.hero-content {
  max-width: 70rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--sv-blue);
  color: #ffffff;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.hero-cta:hover {
  background-color: var(--sv-purple);
}

/* Key Metrics Section - py-8 bg-gradient-to-r */
.metrics-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: linear-gradient(to right, rgba(30, 136, 229, 0.1), rgba(156, 39, 176, 0.1), rgba(0, 230, 251, 0.1));
  border-bottom: 1px solid rgba(30, 136, 229, 0.2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Why Choose Section - py-16 lg:py-20 */
.why-choose-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .why-choose-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-choose-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.why-choose-description {
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.625;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-choose-section .benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.why-choose-section .benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 1;
  transform: none;
}

.why-choose-section .benefits-list li svg {
  color: var(--sv-cyan);
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon {
  color: var(--sv-cyan);
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.benefit-text {
  color: #ffffff;
  font-size: 1.125rem;
}

/* Advantages Section - py-16 lg:py-20 border-t */
.advantages-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .advantages-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.advantages-header {
  margin-bottom: 3rem;
}

.advantages-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .advantages-title {
    font-size: 3rem;
  }
}

.advantages-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 80rem;
}

.advantage-block {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 16rem;
}

@media (min-width: 768px) {
  .advantage-block {
    height: 18rem;
  }
}

.advantage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.advantage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.8), transparent);
}

.advantage-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .advantage-content {
    padding: 2.5rem;
  }
}

.advantage-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .advantage-title {
    font-size: 1.875rem;
  }
}

.advantage-description {
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.625;
  opacity: 0.9;
}

/* How We Choose Section - py-16 lg:py-20 border-t */
.how-we-choose-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .how-we-choose-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.how-we-choose-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.how-we-choose-card {
  background: linear-gradient(to bottom right, #050509, #050815, #030712);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(30, 136, 229, 0.2);
  height: 100%;
}

@media (min-width: 768px) {
  .how-we-choose-card {
    padding: 2.5rem;
  }
}

.how-we-choose-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-we-choose-number {
  font-size: 3.75rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1;
}

@media (min-width: 768px) {
  .how-we-choose-number {
    font-size: 4.5rem;
  }
}

.how-we-choose-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 768px) {
  .how-we-choose-title {
    font-size: 1.875rem;
  }
}

.how-we-choose-description {
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.625;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: #0b0f1a;
}

.services-section .section-header {
  margin-bottom: 60px;
}

.services-section .section-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.services-section .section-subtitle {
  font-size: 18px;
  color: #7d8590;
  font-weight: 400;
  line-height: 1.5;
  max-width: 48rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.service-card {
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), #050815, rgba(156, 39, 176, 0.2));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(30, 136, 229, 0.4);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 251, 0.6);
}

.service-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: rgba(30, 136, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(30, 136, 229, 0.4);
}

.service-icon-wrapper svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--sv-cyan);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-description {
  color: #cbd5e1;
  line-height: 1.625;
}

/* Process Section */
.process-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .process-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.process-item {
  position: relative;
}

.process-step-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--sv-cyan);
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.process-description {
  color: #cbd5e1;
  line-height: 1.625;
}

.process-connector {
  display: none;
}

@media (min-width: 1024px) {
  .process-connector {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 0.125rem;
    background-color: rgba(0, 230, 251, 0.3);
    transform: translateX(100%) translateY(1.5rem);
  }
}

/* Portfolio Section */
.portfolio-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.1), #050815, rgba(156, 39, 176, 0.1));
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .portfolio-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.portfolio-card {
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.portfolio-card-inner {
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), #050815, rgba(156, 39, 176, 0.2));
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 229, 0.4);
  transition: border-color 0.3s;
}

.portfolio-card:hover .portfolio-card-inner {
  border-color: rgba(0, 230, 251, 0.6);
}

.portfolio-image-wrapper {
  aspect-ratio: 16 / 9;
  background-color: #1e293b;
  overflow: hidden;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.portfolio-category {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: #cbd5e1;
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Testimonials Section - Exact pixel-perfect match */
.testimonials-section {
  padding: 80px 0;
  background: #0b0f1a;
}

.testimonials-section .section-header {
  margin-bottom: 60px;
}

.testimonials-section .section-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.testimonials-section .section-subtitle {
  font-size: 18px;
  color: #7d8590;
  font-weight: 400;
  line-height: 1.5;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: linear-gradient(135deg, rgba(15, 30, 55, 0.4) 0%, rgba(10, 18, 35, 0.6) 100%);
  border: 1px solid rgba(45, 100, 180, 0.5);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(80, 120, 200, 0.3), rgba(120, 80, 180, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.65;
  color: #e6edf3;
  margin-bottom: 28px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b6ef5 0%, #9b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.testimonial-role {
  font-size: 13px;
  color: #7d8590;
  font-weight: 400;
  line-height: 1.3;
}

/* FAQ Section */
.faq-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.1), #050815, rgba(156, 39, 176, 0.1));
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .faq-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.faq-container {
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), #050815, rgba(156, 39, 176, 0.2));
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 136, 229, 0.4);
  overflow: hidden;
}

.faq-question-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

.faq-question-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
}

.faq-icon {
  color: var(--sv-cyan);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: #cbd5e1;
  line-height: 1.625;
}

/* CTA Section */
.cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

@media (min-width: 1024px) {
  .cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.cta-card {
  background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), #050815, rgba(156, 39, 176, 0.2));
  border-radius: 1rem;
  padding: 3rem;
  border: 1px solid rgba(30, 136, 229, 0.4);
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  color: #cbd5e1;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--sv-blue);
  color: #ffffff;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.125rem;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--sv-purple);
}

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

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.5s ease-out forwards;
  opacity: 0;
}

.animate-fade-left {
  animation: fadeLeft 0.5s ease-out forwards;
  opacity: 0;
}

.animate-fade-right {
  animation: fadeRight 0.5s ease-out forwards;
  opacity: 0;
}

/* Stagger delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }
