/* RCS SMS Page Styles */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  padding: 120px 20px 60px;
  text-align: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  color: white;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Introduction Section */
.intro-section {
  padding: 80px 20px;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.intro-text {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Why RCS Section */
.why-section {
  padding: 80px 20px;
  background: var(--bg-light);
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Features Container */
.features-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Phone Mockup */
.phone-mockup {
  flex: 0 0 320px;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.message-header {
  background: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.profile-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
}

.sender-info {
  flex: 1;
}

.sender-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.sender-badge {
  font-size: 11px;
  color: var(--text-light);
  background: var(--border-light);
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
}

.message-content {
  padding: 15px;
  background: white;
}

.campaign-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  padding: 20px;
  color: white;
  margin-bottom: 15px;
}

.campaign-text h4 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.slogan {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 15px;
  line-height: 1.5;
}

.candidate-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 5px;
}

.candidate-number {
  font-size: 18px;
  font-weight: 700;
}

.message-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 15px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-btn {
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn:hover {
  background: var(--primary);
  color: white;
}

/* Features List */
.features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 40px 20px;
  background: white;
}

.cta-box {
  background: #fff9e6;
  border: 2px dashed #ffc107;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cta-box::before,
.cta-box::after {
  content: '💡';
  position: absolute;
  font-size: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.cta-box::before {
  left: 30px;
}

.cta-box::after {
  right: 30px;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.cta-subtitle {
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
}

/* Comparison Section */
.comparison-section {
  padding: 80px 20px;
  background: var(--bg-light);
}

.comparison-table-wrapper {
  overflow-x: auto;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  overflow: hidden;
}

.comparison-table thead tr {
  background: #2d3b7f;
}

.comparison-table th {
  padding: 20px;
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th:last-child {
  border-right: none;
}

.col-header {
  background: #2d3b7f !important;
  color: white !important;
}

.col-normal {
  background: #e3f2fd;
  color: #1976d2;
}

.col-rcs {
  background: #ffebee;
  color: #c62828;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.row-header {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--text);
  text-align: left;
  border-right: 1px solid var(--border);
}

.comparison-table td.col-normal {
  background: #e3f2fd;
  color: #1565c0;
  text-align: center;
}

.comparison-table td.col-rcs {
  background: #ffebee;
  color: #c62828;
  text-align: center;
  font-weight: 500;
}

/* Consultation CTA Section */
.consultation-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consultation-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.consultation-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.consultation-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.consultation-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Consultation Modal */
.consultation-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.consultation-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-modal-content {
  background-color: var(--text-inverse);
  border-radius: 25px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consultation-modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 30px;
  border-radius: 25px 25px 0 0;
  position: relative;
}

.consultation-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.consultation-modal-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.consultation-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.consultation-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.consultation-modal-body {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.required {
  color: var(--error);
  margin-left: 2px;
}

.consultation-modal-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-secondary {
  background: var(--border);
  color: var(--text-light);
}

.modal-btn-secondary:hover {
  background: var(--border);
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .features-container {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    margin-bottom: 40px;
  }

  .cta-box::before,
  .cta-box::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 50px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .intro-text {
    font-size: 16px;
  }

  .phone-frame {
    width: 280px;
    height: 560px;
  }

  .features-list {
    gap: 20px;
  }

  .feature-item {
    padding: 20px;
  }

  .feature-content h3 {
    font-size: 16px;
  }

  .cta-title {
    font-size: 22px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }

  .consultation-title {
    font-size: 28px;
  }

  .consultation-subtitle {
    font-size: 16px;
  }

  .consultation-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .comparison-table {
    font-size: 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
  }
}