/* style.css - Minimalist Design by Amin Salehi Aesthetic */

/* CSS Variables for consistent theming */
:root {
  --color-primary: #1a1a1a;
  --color-primary-light: #2d2d2d;
  --color-text: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #6a6a6a;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-bg-section: #fafafa;
  --color-border: #e8e8e8;
  --color-hover: #f0f0f0;
  --spacing-unit: 8px;
  --max-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.2s ease;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 40px 0 0 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text);
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 calc(var(--spacing-unit) * 3) 0;
  color: var(--color-text);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 calc(var(--spacing-unit) * 2) 0;
  color: var(--color-text);
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 calc(var(--spacing-unit) * 2) 0;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

/* Header */
header {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 3);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

header h1 {
  font-size: 42px;
  font-weight: 600;
}

/* App List Section */
#app-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--spacing-unit) * 4);
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  max-width: var(--max-width);
  margin: 0 auto;
}

#app-list h2 {
  width: 100%;
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

/* App Cards */
.app-card {
  width: 100%;
  max-width: 360px;
  padding: calc(var(--spacing-unit) * 4);
  border-radius: var(--border-radius);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  margin: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.app-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: var(--color-bg-alt);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.app-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.app-card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

.app-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-info h3 {
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.app-info p {
  flex: 1;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.app-buttons {
  margin-top: auto;
  padding-top: calc(var(--spacing-unit) * 2);
}

.app-buttons img {
  max-width: 180px;
  height: auto;
  margin: calc(var(--spacing-unit) * 1) 0;
  transition: var(--transition);
}

.app-buttons img:hover {
  opacity: 0.85;
}

.highlight-text {
  font-weight: 500;
  color: var(--color-text);
  margin: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 1) 0;
}

/* Links */
a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-text-secondary);
}

/* Testimonials Section */
#testimonials {
  background-color: var(--color-bg-section);
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

#testimonials h2 {
  margin-bottom: calc(var(--spacing-unit) * 8);
}

.testimonial {
  margin-bottom: calc(var(--spacing-unit) * 8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 3);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.testimonial-text {
  color: var(--color-text-secondary);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

/* Case Studies Section */
#case-studies {
  background-color: var(--color-bg);
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3);
  text-align: center;
}

#case-studies h2 {
  margin-bottom: calc(var(--spacing-unit) * 8);
}

.case-study {
  margin-bottom: calc(var(--spacing-unit) * 8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study h3 {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.case-study p {
  text-align: left;
}

/* Trust Section */
#trust {
  background-color: var(--color-bg-section);
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

#trust h2 {
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.trust-seals {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 4);
}

.trust-seal-image {
  width: 100px;
  height: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.trust-seal-image:hover {
  opacity: 1;
}

/* Feedback Section */
#feedback {
  background-color: var(--color-bg);
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3);
  margin: 0;
  text-align: center;
}

#feedback h2 {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

#feedback p {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 3);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid var(--color-border);
}

footer p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Media Queries for Mobile Devices */
@media screen and (max-width: 768px) {
  :root {
    --spacing-unit: 8px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  header {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 3);
  }

  header h1 {
    font-size: 32px;
  }

  #app-list {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 2);
    gap: calc(var(--spacing-unit) * 3);
  }

  .app-card {
    max-width: 100%;
    padding: calc(var(--spacing-unit) * 3);
  }

  #testimonials,
  #case-studies,
  #trust,
  #feedback {
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 2);
  }

  .testimonial-text {
    font-size: 16px;
  }

  .trust-seals {
    gap: calc(var(--spacing-unit) * 3);
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  header h1 {
    font-size: 28px;
  }

  .app-buttons img {
    max-width: 160px;
  }
}

/* App Page Styles */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

.breadcrumb {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb span {
  color: var(--color-text);
}

/* Hero Section */
.hero-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-unit) * 6);
  align-items: center;
}

.hero-text h2 {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
}

.download-btn {
  display: inline-block;
  transition: var(--transition);
}

.download-btn:hover {
  opacity: 0.85;
}

.download-btn.primary {
  align-self: flex-start;
}

.hero-video {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: var(--color-bg-alt);
}

.hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* App Overview */
.app-overview {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg-section);
}

.app-overview h2 {
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.app-overview p {
  max-width: 800px;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Features Section */
.features-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.feature-item {
  padding: calc(var(--spacing-unit) * 4);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-bg);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-item h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

/* How It Works */
.how-it-works {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg-section);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.step {
  text-align: center;
  padding: calc(var(--spacing-unit) * 4);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.step h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Benefits Section */
.benefits-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg);
}

.benefits-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: calc(var(--spacing-unit) * 6) auto 0;
}

.benefits-list li {
  padding: calc(var(--spacing-unit) * 3) 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.7;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Pro Section */
.pro-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg-section);
}

.pro-features {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: calc(var(--spacing-unit) * 4) 0;
}

.pro-features li {
  padding: calc(var(--spacing-unit) * 2) 0;
  padding-left: calc(var(--spacing-unit) * 4);
  position: relative;
}

.pro-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: calc(var(--spacing-unit) * 6) auto 0;
}

.faq-item {
  padding: calc(var(--spacing-unit) * 4) 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--color-text);
}

.faq-item p {
  color: var(--color-text-secondary);
}

/* Testimonials Section (App Pages) */
.testimonials-section {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg-section);
}

.testimonials-section .testimonial {
  max-width: 700px;
  margin: calc(var(--spacing-unit) * 6) auto 0;
  text-align: center;
}

.testimonials-section .testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.testimonials-section .testimonial-author {
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* Download CTA */
.download-cta {
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 3);
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: center;
}

.download-cta h2 {
  color: #ffffff;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.download-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto calc(var(--spacing-unit) * 6);
}

/* Related Apps */
.related-apps {
  padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
  background-color: var(--color-bg-section);
}

.related-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.related-app-card {
  padding: calc(var(--spacing-unit) * 4);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-bg);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.related-app-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.related-app-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--color-text);
}

.related-app-card p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* Mobile Responsive for App Pages */
@media screen and (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
  }

  .hero-video {
    order: -1;
  }

  .features-grid,
  .steps,
  .related-apps-grid {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 18px;
  }
}


/* ── Sticky Floating CTA Bar ── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: 14px 24px;
}

.sticky-cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-cta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fbbf24;
  font-weight: 700;
}

.sticky-cta-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.sticky-cta-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  color: #ffffff;
}

.sticky-cta-btn:active {
  transform: translateY(0);
}

/* ── Make download-btn.primary actually visible ── */
.download-btn.primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  align-self: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  color: #ffffff;
}

@media (max-width: 600px) {
  .sticky-cta-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .sticky-cta-text {
    align-items: center;
  }

  .sticky-cta-btn {
    width: 100%;
    text-align: center;
  }
}


/* ── Article Layout ── */
.article-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 0;
}

.article-header .container {
  max-width: 800px;
}

.article-main {
  padding: 48px 0 120px;
}

.article-main .container {
  max-width: 800px;
}

/* ── Article Title & Meta ── */
.article-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.article-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}

/* ── Article Lead ── */
.article-lead {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-left: 4px solid var(--color-accent, #22c55e);
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 0 8px 8px 0;
}

.article-lead p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

/* ── Article Body ── */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-text);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── Takeaway List ── */
.takeaway-list {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  list-style: none;
}

.takeaway-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-weight: 500;
}

.takeaway-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* ── Step List ── */
.step-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  counter-increment: step-counter;
  padding: 16px 20px 16px 60px;
  position: relative;
  margin-bottom: 12px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  font-weight: 500;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ── Mistake List ── */
.mistake-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.mistake-list li {
  padding: 12px 16px;
  margin-bottom: 10px;
  background: rgba(239, 68, 68, 0.05);
  border-left: 3px solid #ef4444;
  border-radius: 0 6px 6px 0;
}

/* ── Callout Boxes ── */
.callout-box {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fbbf24;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout-box p {
  margin: 0 !important;
  font-size: 0.9375rem;
}

.callout-box strong {
  color: #92400e;
}

.callout-box.callout-contrast {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #f97316;
}

.callout-box.callout-contrast strong {
  color: #9a3412;
}

.callout-box.callout-pro {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #22c55e;
}

.callout-box.callout-pro strong {
  color: #166534;
}

/* ── FAQ Section ── */
.faq-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(0,0,0,0.08);
}

.faq-section h2 {
  margin-top: 0 !important;
  border-bottom: none !important;
  margin-bottom: 24px !important;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── Article Footer ── */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(0,0,0,0.08);
}

.article-footer h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-footer p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── Article Header Override ── */
.article-header h1 {
  display: none;
}

/* ── Related Posts ── */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(0,0,0,0.08);
}

.related-posts h2 {
  margin-top: 0 !important;
  font-size: 1.25rem;
}

.related-posts ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.related-posts li {
  padding: 14px 18px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  transition: transform 0.2s;
}

.related-posts li:hover {
  transform: translateX(4px);
}

.related-posts a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

/* ── Article Site Footer ── */
.article-site-footer {
  background: var(--color-bg-alt);
  padding: 24px 0;
  margin-top: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .article-main {
    padding: 32px 0 140px;
  }

  .article-title {
    font-size: 1.625rem;
  }

  .step-list li {
    padding: 14px 16px 14px 52px;
  }

  .callout-box {
    flex-direction: column;
    gap: 8px;
  }
}


/* ================================================
   PHG HERO SECTION — orange/dark split-panel
   ================================================ */

#phg-hero {
  background: #1a1a1a;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.phg-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}

.phg-hero-left {
  padding: 72px 56px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.phg-badge {
  display: inline-block;
  background: #FF5722;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  width: fit-content;
}

.phg-headline {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.phg-gemini {
  color: #FF5722;
}

.phg-subheadline {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0 0 36px 0;
}

.phg-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.phg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF5722;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.phg-btn-primary:hover {
  background: #f04e22;
  color: #ffffff;
  transform: translateY(-1px);
}

.phg-social-proof {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Right panel */
.phg-hero-right {
  padding: 72px 40px 72px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.phg-demo-card {
  background: #252525;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 460px;
}

.phg-demo-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.phg-demo-before,
.phg-demo-after {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid rgba(255,87,34,0.15);
}

.phg-demo-after {
  border-color: rgba(255,87,34,0.4);
}

.phg-demo-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF5722;
  margin-bottom: 8px;
}

.phg-demo-before .phg-demo-tag {
  color: rgba(255,255,255,0.4);
}

.phg-demo-before p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.phg-demo-after p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
}

.phg-demo-arrow {
  text-align: center;
  font-size: 22px;
  color: #FF5722;
  padding: 10px 0;
  font-weight: 700;
}

/* ================================================
   HOW IT WORKS
   ================================================ */

#how-it-works {
  background: #FF5722;
  color: #ffffff;
  padding: 80px 40px;
  text-align: center;
}

#how-it-works h2 {
  color: #ffffff;
  margin-bottom: 56px;
  font-size: 32px;
  font-weight: 800;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
}

.step-number {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #FF5722;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
  .phg-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phg-hero-left {
    padding: 56px 24px 48px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .phg-hero-right {
    padding: 48px 24px 56px;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #how-it-works {
    padding: 60px 24px;
  }

  .step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .step-number {
    margin-bottom: 16px;
  }
}
