/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--black);
  padding-top: var(--header-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 7.5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.hero-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray);
  max-width: 520px;
  margin: 2rem 0;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  opacity: 0.15;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero-visual {
    width: 100%;
    right: -20%;
    opacity: 0.1;
  }
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-grid-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.hero-grid-line:nth-child(1) { left: 20%; }
.hero-grid-line:nth-child(2) { left: 40%; }
.hero-grid-line:nth-child(3) { left: 60%; }
.hero-grid-line:nth-child(4) { left: 80%; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.trust {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--black);
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 767px) {
  .trust-grid {
    flex-wrap: wrap;
  }
  .trust-item {
    flex: 1 1 40%;
    margin-bottom: 1rem;
  }
}

.trust-item {
  text-align: center;
  flex: 1;
}

.trust-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.trust-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-list {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .feature-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.feature-section.reverse {
  direction: rtl;
}

.feature-section.reverse > * {
  direction: ltr;
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.feature-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.section-light .feature-stat-number,
.section-white .feature-stat-number {
  color: var(--black);
}

.feature-stat-label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Why Topee Section
   ========================================================================== */

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

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

@media (max-width: 767px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.4s var(--ease-out);
  background-color: var(--dark-2);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.why-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.why-card-text {
  font-size: 16px;
  color: #DDDDDD;
  margin-top: 0.75rem;
  line-height: 1.7;
}

/* Light section contrast overrides for why-card */
.section-white .why-card,
.section-light .why-card,
.why-card.card-light {
  background-color: var(--white);
  border: 1px solid #E0E0E0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-white .why-card:hover,
.section-light .why-card:hover,
.why-card.card-light:hover {
  border-color: var(--black);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.section-white .why-number,
.section-light .why-number,
.why-card.card-light .why-number {
  color: rgba(0, 0, 0, 0.2);
}

.section-white .why-card-title,
.section-light .why-card-title,
.why-card.card-light .why-card-title {
  color: var(--black);
}

.section-white .why-card-text,
.section-light .why-card-text,
.why-card.card-light .why-card-text {
  color: #222222;
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

@media (max-width: 1023px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

@media (max-width: 1023px) {
  .process-step {
    text-align: left;
    padding: 0 0 0 3rem;
  }
}

.process-step::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 50%;
  right: -50%;
  height: 1px;
  background-color: var(--border-light);
}

@media (max-width: 1023px) {
  .process-step::before {
    top: 0;
    left: 0;
    right: auto;
    bottom: -2rem;
    height: auto;
    width: 1px;
  }
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 1rem;
  display: block;
}

@media (max-width: 1023px) {
  .process-number {
    position: absolute;
    left: -1rem;
    top: 0;
    background-color: var(--black);
    padding: 0.25rem;
  }
}

.process-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.process-desc {
  font-size: 14px;
  color: var(--gray);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

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

@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  background-color: var(--dark-2);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-category {
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
  margin: 0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

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

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-category {
  margin-bottom: 4rem;
}

.pricing-category-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--white);
}

.section-light .pricing-category-title,
.section-white .pricing-category-title {
  color: var(--black);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.pricing-card {
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: 0;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  background-color: var(--dark-2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Light section pricing card overrides */
.section-light .pricing-card,
.section-white .pricing-card,
.pricing-card.card-light {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.section-light .pricing-card:hover,
.section-white .pricing-card:hover,
.pricing-card.card-light:hover {
  border-color: var(--black);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-light .pricing-name,
.section-white .pricing-name,
.pricing-card.card-light .pricing-name {
  color: var(--black);
}

.pricing-desc {
  font-size: 15px;
  color: var(--gray-light);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.6;
}

.section-light .pricing-desc,
.section-white .pricing-desc,
.pricing-card.card-light .pricing-desc {
  color: #444444;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  flex: 1;
  padding: 0;
}

.pricing-features li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 15px;
  color: #DDDDDD;
  line-height: 1.5;
}

.section-light .pricing-features li,
.section-white .pricing-features li,
.pricing-card.card-light .pricing-features li {
  color: #222222;
  font-weight: 500;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.section-light .pricing-features li::before,
.section-white .pricing-features li::before,
.pricing-card.card-light .pricing-features li::before {
  color: var(--black);
  font-weight: 900;
}

/* Pricing Card Buttons */
.pricing-card .btn-outline {
  border: 2px solid var(--black);
  color: var(--black);
  background-color: transparent;
  font-weight: 600;
  width: 100%;
}

.pricing-card .btn-outline:hover {
  background-color: var(--black);
  color: var(--white);
}

.pricing-card .btn-dark {
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-weight: 600;
  width: 100%;
}

.pricing-card .btn-dark:hover {
  background-color: #222222;
  border-color: #222222;
}



/* ==========================================================================
   FAQ Section
   ========================================================================== */

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

/* ==========================================================================
   Hero Additions
   ========================================================================== */

.hero-label {
  display: block;
  margin-bottom: 1.5rem;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-dot--1 { top: 20%; left: 15%; }
.hero-dot--2 { top: 60%; left: 70%; }
.hero-dot--3 { top: 40%; left: 85%; }

.hero-title-line {
  display: block;
}

/* ==========================================================================
   Service Description (in service panels)
   ========================================================================== */

.service-desc {
  display: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .service-desc {
    display: block;
    flex: 2;
    padding: 0 2rem;
  }
}

/* ==========================================================================
   Creative Section
   ========================================================================== */

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

.creative-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.creative-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.creative-card h3 {
  font-size: 22px;
  color: var(--black);
  margin-bottom: 1rem;
}

.creative-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-dark);
}

.creative-card--large {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}

.creative-card--large:hover {
  transform: none;
}

.creative-card--large .img-reveal {
  width: 100%;
  aspect-ratio: 2.2 / 1;
}

.creative-card--large .img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .creative-grid {
    grid-template-columns: 1fr;
  }

  .creative-card--large .img-reveal {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   Feature List (SEO section)
   ========================================================================== */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-list li {
  font-size: 15px;
  color: var(--gray);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--white);
  font-size: 14px;
}

@media (max-width: 767px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Feature Stat Description
   ========================================================================== */

.feature-stat-desc {
  font-size: 13px;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Portfolio Additions
   ========================================================================== */

.portfolio-card--featured {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

@media (max-width: 767px) {
  .portfolio-card--featured {
    aspect-ratio: 16 / 10;
  }
}

.portfolio-desc {
  font-size: 14px;
  color: var(--gray-light);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Categories Wrapper
   ========================================================================== */

.pricing-categories {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* ==========================================================================
   CTA Content Wrapper
   ========================================================================== */

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

