/* Phone Promotion Page Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.phone-hero {
  background: linear-gradient(135deg, #2a3f5f 0%, #1a4b8c 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phone-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/pattern.png') repeat;
  opacity: 0.05;
}

.phone-hero-content {
  position: relative;
  z-index: 1;
}

.phone-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.section-title .icon {
  font-size: 32px;
  color: #e74c3c;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1a4b8c, #2a5298);
  border-radius: 2px;
}

/* Introduction Section */
.phone-intro {
  padding: 80px 0;
  background: var(--bg);
}

.intro-content {
  margin-top: 50px;
}

.device-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
}

.tablet-image {
  width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-image {
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.intro-text {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
}

.main-desc {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0;
}

/* Advantages Section */
.phone-advantages {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.advantages-subtitle {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background: var(--bg);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  background: #1a4b8c;
}

.advantage-card:hover .advantage-icon svg {
  fill: var(--bg);
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.advantage-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Features Section */
.phone-features {
  padding: 80px 0;
  background: var(--bg);
}

.features-intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-list {
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--bg-light);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #e8f0fe;
  transform: translateX(10px);
}

.feature-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: var(--bg);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 25px;
}

.feature-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  padding-top: 12px;
}

/* Comparison Table Section */
.phone-comparison {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  font-size: 15px;
}

.comparison-table thead {
  background: #1a4b8c;
  color: var(--text);
}

.comparison-table th {
  padding: 20px 15px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #2a5298;
}

.comparison-table td {
  padding: 20px 15px;
  text-align: center;
  border: 1px solid var(--border);
  line-height: 1.6;
}

.category-cell {
  background: #2a3f5f;
  color: var(--bg);
  font-weight: 600;
  vertical-align: middle;
}

.row-type-1 {
  background: #f0f4f8;
}

.row-type-1:nth-child(even) {
  background: #ffeef0;
}

.effect-cell {
  text-align: left;
  line-height: 1.8;
}

/* CTA Section */
.phone-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phone-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-primary,
.btn-secondary {
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #e74c3c;
  color: var(--bg);
}

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bg);
  border: 2px solid var(--bg);
}

.btn-secondary:hover {
  background: var(--bg);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .device-images {
    flex-direction: column;
    align-items: center;
  }

  .tablet-image {
    width: 350px;
  }

  .mobile-image {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .phone-hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 30px 20px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
  }

  .device-images {
    gap: 20px;
  }

  .tablet-image {
    width: 280px;
  }

  .mobile-image {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .phone-hero {
    padding: 100px 0 40px;
  }

  .phone-hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 20px;
  }

  .main-desc {
    font-size: 16px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .comparison-table {
    font-size: 12px;
  }

  .tablet-image {
    width: 240px;
  }

  .mobile-image {
    width: 120px;
  }
}