/* ===== Home Page - Redesigned ===== */

.home-page {
  padding: 0 0 20px;
}

/* ===== Hero Section ===== */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
  padding: 140px 0 110px;
  text-align: center;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/banner.jpg') center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    rgba(255,255,255,0.95) 15%,
    rgba(255,255,255,0.6) 40%,
    rgba(255,255,255,0.2) 65%,
    transparent 100%
  );
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-hero h1 {
  font-size: 6.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.home-hero__highlight {
  background: linear-gradient(135deg, #f5a623, #E77800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__sub {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 640px;
}

.home-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.home-hero__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.home-hero__btn--primary {
  background: linear-gradient(135deg, #E77800, #f5a623);
  color: #fff;
  box-shadow: 0 4px 16px rgba(231,120,0,0.35);
}

.home-hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231,120,0,0.45);
  color: #fff;
}

.home-hero__btn--ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
}

.home-hero__btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-2px);
}

.home-hero__platforms {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
}

.home-hero__platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-hero__platform-icon {
  width: 20px;
  height: 20px;
  display: block;
  background-color: rgba(255,255,255,0.6);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  flex-shrink: 0;
}

.home-hero__platform-icon--windows {
  mask-image: url('/assets/images/icons/windows-logo.svg');
  -webkit-mask-image: url('/assets/images/icons/windows-logo.svg');
}

.home-hero__platform-icon--macos {
  mask-image: url('/assets/images/icons/apple-logo.svg');
  -webkit-mask-image: url('/assets/images/icons/apple-logo.svg');
}

.home-hero__platform-icon--android {
  mask-image: url('/assets/images/icons/android-logo.svg');
  -webkit-mask-image: url('/assets/images/icons/android-logo.svg');
}

.home-hero__platform-icon--linux {
  mask-image: url('/assets/images/icons/linux-logo.svg');
  -webkit-mask-image: url('/assets/images/icons/linux-logo.svg');
}

/* ===== About Section ===== */
.home-about {
  display: flex;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 44px 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.home-about__text {
  flex: 1;
  min-width: 0;
}

.home-about__label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #E77800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.home-about h2 {
  font-size: 2.0rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
}

.home-about p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 14px;
}

.home-about p:last-of-type {
  margin-bottom: 24px;
}

.home-about__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #E77800;
  color: #fff;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.home-about__btn:hover {
  background: #BF6200;
  color: #fff;
  transform: scale(1.03);
}

.home-about__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.home-about__image {
  flex-shrink: 0;
  width: 380px;
}

.home-about__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Features Header ===== */
.home-features-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-features-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.home-features-subtitle {
  font-size: 1.2rem;
  color: #999;
  margin: 0;
}

.home-features-divider {
  width: 56px;
  height: 3px;
  background: #E77800;
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== Features Grid ===== */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.home-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 6px;
  width: 100%;
}

.home-feature-card__icon img {
  display: block;
  width: 80px;
  height: 80px;
}

.home-feature-card__body {
  padding: 14px 16px 16px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-feature-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
  text-align: center;
}

.home-feature-card p {
  font-size: 1.3rem;
  line-height: 1.55;
  color: #666;
  margin: 0;
}

/* ===== Stats Bar ===== */
.home-stats {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.home-stat {
  text-align: center;
  padding: 0 8px;
}

.home-stat + .home-stat {
  border-left: 1px solid #f0f0f0;
}

.home-stat__number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #E77800;
  line-height: 1.2;
  margin: 0 0 4px;
}

.home-stat__label {
  font-size: 1.25rem;
  color: #999;
  margin: 0;
}

/* ===== Testimonials Header ===== */
.home-testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-testimonials-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.home-testimonials-subtitle {
  font-size: 1.2rem;
  color: #999;
  margin: 0;
}

.home-testimonials-divider {
  width: 56px;
  height: 3px;
  background: #E77800;
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== Testimonials Grid ===== */
.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-testimonial {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.home-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.home-testimonial__quote-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.home-testimonial__quote-icon svg {
  width: 36px;
  height: 36px;
  fill: #E77800;
  opacity: 0.5;
  display: block;
}

.home-testimonial__text {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 20px;
  flex: 1;
}

.home-testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.home-testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E77800, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.home-testimonial__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.home-testimonial__source {
  font-size: 1.1rem;
  color: #aaa;
  margin: 0;
}

/* ===== CTA Section ===== */
.home-cta {
  text-align: center;
  background: linear-gradient(135deg, #fff9f0, #fff);
  border: 1px solid #f0e6d8;
  border-radius: 16px;
  padding: 56px 44px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.home-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

.home-cta p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #777;
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}

.home-cta__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.home-cta__btn--primary {
  background: linear-gradient(135deg, #E77800, #f5a623);
  color: #fff;
  box-shadow: 0 4px 16px rgba(231,120,0,0.30);
}

.home-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231,120,0,0.40);
  color: #fff;
}

.home-cta__btn--outline {
  background: transparent;
  color: #E77800;
  border: 2px solid #E77800;
}

.home-cta__btn--outline:hover {
  background: rgba(231,120,0,0.06);
  color: #BF6200;
  border-color: #BF6200;
}

/* ===== Responsive Helpers ===== */
@media (min-width: 541px) {
  .lt540-inline {
    display: none;
  }
}

/* ===== Spacing helpers ===== */
.home-section {
  margin-bottom: 48px;
}

.home-section:last-child {
  margin-bottom: 0;
}

/* ===== Responsive ===== */

/* Tablet landscape */
@media (max-width: 1200px) {
  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .home-hero {
    padding: 120px 0 90px;
  }

  .home-hero h1 {
    font-size: 3.2rem;
  }

  .home-hero__sub {
    font-size: 1.4rem;
  }

  .home-about {
    flex-direction: column-reverse;
    padding: 32px 28px;
    gap: 28px;
  }

  .home-about__image {
    width: 100%;
    max-width: 400px;
  }

  .home-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 28px 24px;
  }

  .home-stat:nth-child(2) {
    border-left: none;
  }

  .home-stat:nth-child(3),
  .home-stat:nth-child(4) {
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
  }

  .home-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .home-cta {
    padding: 40px 28px;
  }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .home-hero h1 {
    font-size: 2.8rem;
  }

  .home-hero__sub {
    font-size: 1.3rem;
  }

  .home-hero__btn {
    padding: 13px 28px;
    font-size: 1.4rem;
  }
}

/* Large phone */
@media (max-width: 540px) {
  .home-hero {
    padding: 100px 0 70px;
  }

  .home-hero h1 {
    font-size: 2.4rem;
  }

  .home-hero__sub {
    font-size: 1.2rem;
    margin-bottom: 28px;
  }


  .home-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .home-hero__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1.4rem;
  }

  .home-hero__platforms {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    font-size: 1.2rem;
  }

  .home-about {
    padding: 24px 20px;
  }

  .home-about h2 {
    font-size: 1.7rem;
  }

  .home-about p {
    font-size: 1.35rem;
  }

  .home-features-header {
    margin-bottom: 32px;
  }

  .home-features-header h2 {
    font-size: 1.8rem;
  }

  .home-features-subtitle {
    font-size: 1.1rem;
  }

  .home-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-feature-card__body {
    padding: 12px 14px 14px;
  }

  .home-feature-card h3 {
    font-size: 1.6rem;
  }

  .home-feature-card p {
    font-size: 1.25rem;
  }

  .home-stat__number {
    font-size: 2.2rem;
  }

  .home-stats {
    padding: 24px 16px;
    gap: 16px;
  }

  .home-stat__label {
    font-size: 1.1rem;
  }

  .home-testimonials-header {
    margin-bottom: 32px;
  }

  .home-testimonials-header h2 {
    font-size: 1.8rem;
  }

  .home-testimonial {
    padding: 24px 20px 24px;
  }

  .home-testimonial__text {
    font-size: 1.25rem;
  }

  .home-cta {
    padding: 32px 20px;
  }

  .home-cta h2 {
    font-size: 1.8rem;
  }

  .home-cta p {
    font-size: 1.35rem;
  }

  .home-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .home-cta__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .home-section {
    margin-bottom: 32px;
  }
}

/* Small phone */
@media (max-width: 400px) {
  .home-hero h1 {
    font-size: 2.0rem;
  }

  .home-about {
    padding: 20px 16px;
  }

  .home-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 12px;
  }

  .home-stat__number {
    font-size: 1.8rem;
  }

  .home-cta {
    padding: 28px 16px;
  }

  .home-cta h2 {
    font-size: 1.6rem;
  }
}
