/* whatwedo.css - What We Do page styles */

/* ============================================
   HERO SECTION
   ============================================ */
.whatwedo-hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  background: #000;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content-wrapper {
  max-width: 800px;
  z-index: 1;
}

.hero-logo-img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(180, 22, 22, 0.3));
  opacity: 0;
  will-change: opacity;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  opacity: 0;
  will-change: opacity;
}

.hero-main-subtitle {
  font-size: 1.5rem;
  color: #aaa;
  line-height: 1.6;
  opacity: 0;
  will-change: opacity;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeInScroll 0.8s ease 1.8s forwards;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  will-change: opacity;
  z-index: 100;
  pointer-events: auto;
}

@keyframes fadeInScroll {
  to {
    opacity: 1;
  }
}

.scroll-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: bounce 2s ease-in-out infinite, pulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(180, 22, 22, 0.05);
  will-change: transform;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #b41616;
  border-radius: 50%;
  opacity: 0;
  animation: ripple 2s ease-out infinite;
}

.scroll-indicator:hover .scroll-arrow {
  border-color: #b41616;
  background: rgba(180, 22, 22, 0.15);
  transform: scale(1.1);
  color: #b41616;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(180, 22, 22, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(180, 22, 22, 0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.scroll-text {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  animation: fadeText 2s ease-in-out infinite;
}

@keyframes fadeText {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================
   NUMBERED SECTIONS
   ============================================ */
.numbered-section {
  padding: 6rem 2rem;
  position: relative;
}

.numbered-section.alt-bg {
  background: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4rem;
}

.section-number {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(180, 22, 22, 0.6);
  line-height: 1;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.section-content {
  padding-top: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.section-text {
  margin-bottom: 3rem;
}

.section-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #bbb;
  margin-bottom: 1.5rem;
}

/* ============================================
   FEATURES LIST
   ============================================ */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  flex-shrink: 0;
}

.feature-content {
  padding-top: 0.25rem;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #aaa;
}

/* ============================================
   STEPS LIST
   ============================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  background: rgba(180, 22, 22, 0.1);
  border: 2px solid rgba(180, 22, 22, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #b41616;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-item:hover .step-number {
  transform: scale(1.1);
  border-color: #b41616;
  box-shadow: 0 0 30px rgba(180, 22, 22, 0.3);
}

.step-content {
  padding-top: 0.5rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.step-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #aaa;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 3rem;
}

.comparison-column {
  display: flex;
  flex-direction: column;
}

.comparison-column.before {
  padding-right: 2rem;
  border-right: 2px solid rgba(255, 100, 100, 0.2);
}

.comparison-column.after {
  padding-left: 2rem;
  border-left: 2px solid rgba(180, 22, 22, 0.3);
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.comparison-column.before .comparison-title {
  color: #ff6464;
}

.comparison-column.after .comparison-title {
  color: #b41616;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-list li {
  font-size: 1rem;
  line-height: 1.7;
  color: #bbb;
  padding-left: 2rem;
  position: relative;
}

.comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.comparison-column.before .comparison-list li::before {
  background: #ff6464;
}

.comparison-column.after .comparison-list li::before {
  background: #b41616;
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.story-content {
  max-width: 900px;
}

.story-text-block {
  margin-bottom: 3rem;
}

.story-text-block p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #bbb;
  margin-bottom: 1.75rem;
}

.story-highlight {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #fff;
  font-style: italic;
  padding-left: 2rem;
  border-left: 4px solid #b41616;
  margin: 2.5rem 0;
}

.founder-signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signature-line {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, #b41616 0%, transparent 100%);
  margin-bottom: 1rem;
}

.founder-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: 1rem;
  color: #888;
  font-style: italic;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section-whatwedo {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 3rem;
}

.cta-main-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-main-desc {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons-main {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
.feature-item,
.step-item,
.comparison-column,
.cta-container {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .section-container {
    grid-template-columns: 80px 1fr;
    gap: 2rem;
  }

  .section-number {
    font-size: 5rem;
  }

  .comparison-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .comparison-column.before {
    padding-right: 0;
    padding-bottom: 2rem;
    border-right: none;
    border-bottom: 2px solid rgba(255, 100, 100, 0.2);
  }

  .comparison-column.after {
    padding-left: 0;
    padding-top: 2rem;
    border-left: none;
    border-top: 2px solid rgba(180, 22, 22, 0.3);
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  .whatwedo-hero {
    min-height: 80vh;
  }

  .hero-logo-img {
    width: 60px;
    height: 60px;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-main-subtitle {
    font-size: 1.1rem;
  }

  .scroll-indicator {
    bottom: 2rem;
  }

  .scroll-arrow {
    width: 40px;
    height: 40px;
  }

  .scroll-text {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .numbered-section {
    padding: 4rem 1.5rem;
  }

  .section-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-number {
    font-size: 4rem;
    position: static;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-text p {
    font-size: 1rem;
  }

  .features-grid {
    gap: 2rem;
  }

  .feature-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-desc {
    font-size: 0.95rem;
  }

  .step-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
    margin: 0 auto;
  }

  .step-content {
    text-align: center;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-desc {
    font-size: 0.95rem;
  }

  .comparison-column {
    padding: 0;
  }

  .comparison-column.before {
    padding-bottom: 2rem;
  }

  .comparison-column.after {
    padding-top: 2rem;
  }

  .comparison-title {
    font-size: 1.25rem;
  }

  .comparison-list li {
    font-size: 0.9rem;
  }

  .story-highlight {
    font-size: 1.1rem;
    padding-left: 1.5rem;
  }

  .story-text-block p {
    font-size: 1rem;
  }

  .cta-container {
    padding: 3rem 2rem;
  }

  .cta-main-title {
    font-size: 2rem;
  }

  .cta-main-desc {
    font-size: 1rem;
  }

  .cta-buttons-main {
    flex-direction: column;
  }

  .btn.large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2rem;
  }

  .section-number {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-main-title {
    font-size: 1.75rem;
  }
}