/*!
 * app.css - Sugar Daddy Meet App Page Styles
 * Aligned with site-wide design system
 * Generated: 2026-01-28
 */

/* ==========================================================================
   App Page Specific Styles
   ========================================================================== */

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: var(--spacing-md) auto 0;
  border-radius: 2px;
}

/* App Page Container */
.app-page-content {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-body);
}

/* App Hero Section */
.hero-section--app {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  background-image: linear-gradient(rgba(30, 28, 24, 0.4), rgba(30, 28, 24, 0.4)), url('../../images/home/app.jpg');
  min-height: 650px;
  padding: 0 20px;
}

.hero-section--app .hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-white);
}

.hero-section--app .hero__text {
  font-size: var(--text-xl);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  opacity: 0.9;
}

/* App Download Buttons */
.app-download-btns {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.app-download-btn {
  display: inline-block;
  transition: transform 0.3s ease;
}

.app-download-btn:hover {
  transform: translateY(-3px);
}

.app-btn__image {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.app-download-btn:hover .app-btn__image {
  transform: scale(1.05);
}

/* Intro Section */
.intro-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-body);
  text-align: center;
}

.intro-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-xl);
  color: var(--text-main);
}

.intro-content p {
  font-size: var(--text-lg);
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-gray);
}

/* How It Works Section */
.how-it-works-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-light);
}

.how-it-works-section .section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-md);
}

.how-it-works-section .section-header p {
  font-size: var(--text-lg);
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.step-item {
  background: var(--bg-body);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-weight: bold;
}

.step-icon {
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.step-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  stroke-width: 1.5;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-main);
}

.step-content p {
  color: var(--text-gray);
  margin-bottom: 0;
}

/* Feature Section */
.app-feature-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-body);
}

.app-feature-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

.app-feature-row:last-child {
  margin-bottom: 0;
}

.app-feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.app-feature-image {
  flex: 1;
}

.app-feature-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.app-feature-image img:hover {
  transform: scale(1.02);
}

.app-feature-text {
  flex: 1;
}

.app-feature-text h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.app-feature-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-main);
}

.app-feature-text p {
  color: var(--text-gray);
  margin-bottom: 0;
}

/* Verified Section */
.verified-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-light);
}

.verified-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
}

.verified-text {
  flex: 1;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  font-size: var(--text-sm);
}

.verified-badge svg {
  width: 20px;
  height: 20px;
  color: #2e7d32;
  stroke-width: 2;
}

.verified-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-main);
}

.verified-text p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.verified-images {
  flex: 1;
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
}

.verified-card {
  background: var(--bg-body);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.verified-card:nth-child(2) {
  transform: translateY(20px);
}

.verified-card:hover {
  transform: translateY(-5px);
}

.verified-card img {
  width: 100%;
  max-width: 200px;
  border-radius: var(--radius-sm);
}

/* Benefits Section */
.benefits-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-body);
}

.benefits-section .section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-md);
}

.benefits-section .section-header p {
  font-size: var(--text-lg);
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.benefit-card {
  background: var(--bg-body);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-color);
}

.benefit-icon {
  margin-bottom: var(--spacing-lg);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  transition: transform 0.3s ease;
}

.benefit-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  stroke-width: 1.5;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-main);
}

.benefit-card p {
  color: var(--text-gray);
  margin-bottom: 0;
}

/* Pro Tip */
.pro-tip {
  margin-top: var(--spacing-2xl);
  background: linear-gradient(to right, #fffcf5, #ffffff);
  border-left: 4px solid var(--secondary-color);
  padding: var(--spacing-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pro-tip h4 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 1px;
  font-weight: 600;
}

.pro-tip p {
  margin-bottom: 0;
  color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.testimonials-section .section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
}

.testimonials-section .section-header h2::after {
  background-color: var(--text-white);
  opacity: 0.5;
}

.testimonials-section .section-header p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-xl);
}

/* Pro Tip Styles */
.pro-tip {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border-left: 4px solid #ffb300;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin: var(--spacing-xl) 0;
}

.pro-tip h4 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: #5d4037;
  margin-bottom: var(--spacing-sm);
}

.pro-tip h4 svg {
  width: 24px;
  height: 24px;
  color: #ffb300;
  stroke-width: 2;
  flex-shrink: 0;
}

.pro-tip p {
  color: #5d4037;
  font-size: var(--text-md);
  line-height: 1.6;
  margin: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: var(--spacing-lg);
  font-size: var(--text-lg);
}

.testimonial-text {
  font-style: italic;
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.author-info h4 {
  color: var(--text-white);
  margin: 0 0 var(--spacing-xs);
  font-size: var(--text-md);
  font-weight: 600;
}

.author-info span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* FAQ Section - Updated to match FAQ page accordion style */
.faq-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--bg-light);
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.faq-section .section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-md);
}

.faq-section .section-header p {
  font-size: var(--text-lg);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ Grid - Updated to match discount.html and pricing.html */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-body);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item__summary {
  cursor: pointer;
  padding: var(--spacing-lg) var(--spacing-xl);
  font-weight: 500;
  color: var(--text-main);
  list-style: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::after {
  content: '+';
  float: right;
  color: var(--primary-color);
  font-weight: 600;
}

details[open] > .faq-item__summary::after {
  content: '–';
}

.faq-item__body {
  padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.faq-item__body p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background: var(--primary-gradient);
  text-align: center;
  color: var(--text-white);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-white);
  position: relative;
  display: inline-block;
}

.cta-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--text-white);
  opacity: 0.5;
  margin: var(--spacing-md) auto 0;
  border-radius: 2px;
}

.cta-section p {
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  opacity: 0.9;
}

/* CTA Button - Special styling for better contrast on gradient background */
.cta-section .btn--primary {
  background-color: var(--text-white);
  color: var(--primary-color);
  border: 2px solid var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-section .btn--primary:hover {
  background-color: transparent;
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced glow effect for extra visibility */
.cta-section .btn--primary {
  position: relative;
  z-index: 1;
}

.cta-section .btn--primary::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-section .btn--primary:hover::before {
  opacity: 0.3;
}

/* Alternative: Outline button option */
.cta-section .btn--outline {
  background-color: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-section .btn--outline:hover {
  background-color: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
  .app-feature-row {
    flex-direction: column !important;
    gap: var(--spacing-xl);
  }
  
  .verified-content {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .verified-images {
    order: -1;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section--app {
    min-height: 550px;
    padding: 60px 15px 20px;
  }
  
  .hero-section--app .hero__title {
    font-size: 34px;
  }
  
  .hero-section--app .hero__text {
    font-size: 16px;
  }
  
  .app-download-btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
  }
  
  .steps-grid, .benefits-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .intro-content h2, .how-it-works-section .section-header h2, .verified-text h2, .benefits-section .section-header h2, .testimonials-section .section-header h2, .faq-section .section-header h2, .cta-section h2 {
    font-size: var(--text-2xl);
  }
  
  /* CTA button adjustments for mobile */
  .cta-section .btn--primary, .cta-section .btn--outline {
    padding: 0.8em 1.5em;
    font-size: 1rem;
  }
  
  .verified-images {
    flex-direction: column;
    align-items: center;
  }
  
  .verified-card:nth-child(2) {
    transform: translateY(0);
  }
}

@media (max-width: 414px) {
  .hero-section--app {
    padding-top: 70px;
  }
}

@media (max-width: 375px) {
  .hero-section--app {
    padding-top: 80px;
  }
}

@media (max-width: 576px) {
  .hero-section--app .hero__title {
    font-size: var(--text-2xl);
  }
  
  .hero-section--app .hero__text {
    font-size: var(--text-md);
  }
  
  .app-btn__image {
    height: 40px;
  }
  
  .step-item, .benefit-card, .testimonial-card {
    padding: var(--spacing-lg);
  }
  
  
}