/* ===============================
   BarcodeGuru — Homepage Styles
   =============================== */

/* ===================================
   1. HERO SECTION
   =================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0A0F1E 0%, #1a1145 40%, #2d1b69 70%, #0A0F1E 100%);
  overflow: visible;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 80% 30%, rgba(56,189,248,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.3);
  color: #C4B5FD;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: #FBBF24;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, #A78BFA, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta {
  margin-bottom: 32px;
}

.btn-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.btn-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  align-items: flex-start;
}

.store-badges.show {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.store-download-col {
  width: 100%;
}

.hero-cta .store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition-fast);
  min-width: 0;
  justify-content: flex-start;
  box-sizing: border-box;
  width: min(100%, 220px);
}

.hero-cta .store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.hero-cta .store-badge-text small {
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.8;
}

.hero-cta .store-badge-text strong {
  font-size: 0.875rem;
}

.hero-cta .store-badge:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  background: rgba(56,189,248,0.1);
  transform: translateY(-2px);
}

/* QR Codes */
.qr-code-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-item img {
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.15);
  background: var(--color-white);
  padding: 4px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Hero Phone Mockup */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45), 0 0 80px rgba(124,58,237,0.12);
}

.hero-phone-wrapper {
  position: relative;
  width: 280px;
}

.hero-phone-mockup {
  background: #1a1a2e;
  border-radius: 32px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 80px rgba(124,58,237,0.15);
}

.phone-screen {
  padding: 0;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.status-icons {
  display: flex;
  gap: 6px;
  color: rgba(255,255,255,0.5);
}

.phone-header {
  padding: 8px 20px 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.phone-barcode-list {
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-barcode-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.barcode-card-type {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.barcode-card-type.qr {
  background: rgba(124,58,237,0.2);
  color: #A78BFA;
}

.barcode-card-type.ean {
  background: rgba(56,189,248,0.2);
  color: #38BDF8;
}

.barcode-card-type.code128 {
  background: rgba(249,115,22,0.2);
  color: #FB923C;
}

.barcode-card-preview {
  flex-shrink: 0;
}

.qr-preview svg {
  opacity: 0.6;
}

.ean-preview .barcode-lines,
.code128-preview .barcode-lines {
  display: flex;
  gap: 1.5px;
  align-items: end;
  height: 30px;
}

.barcode-lines span {
  display: block;
  width: 2px;
  background: rgba(255,255,255,0.4);
  border-radius: 1px;
}

.ean-preview .barcode-lines span:nth-child(odd) { height: 28px; }
.ean-preview .barcode-lines span:nth-child(even) { height: 22px; }
.ean-preview .barcode-lines span:nth-child(3n) { height: 30px; width: 1px; }

.code128-preview .barcode-lines span:nth-child(odd) { height: 26px; width: 3px; }
.code128-preview .barcode-lines span:nth-child(even) { height: 26px; width: 1px; }
.code128-preview .barcode-lines span:nth-child(4n) { width: 2px; }

.barcode-card-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Courier New', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero floating cards */
.hero-float-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 12%;
  right: -40px;
}

.hero-float-card.card-2 {
  bottom: 18%;
  left: -40px;
  animation-delay: 1.5s;
}

.hero-float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-card-icon.purple {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.hero-float-card-icon.cyan {
  background: #E0F2FE;
  color: var(--color-accent);
}

.hero-float-card-text {
  display: flex;
  flex-direction: column;
}

.hero-float-card-text strong {
  font-size: 0.8125rem;
  color: var(--color-gray-800);
}

.hero-float-card-text span {
  font-size: 0.6875rem;
  color: var(--color-gray-400);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ===================================
   2. WHY CHOOSE US SECTION
   =================================== */
.why-choose {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #F8F7FF 0%, var(--color-white) 100%);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-choose-header .section-subtitle {
  margin: 0 auto;
}

.why-choose-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a1145 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 56px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.proof-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}

.proof-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

.proof-stars {
  display: flex;
  gap: 3px;
  color: #FBBF24;
  margin-bottom: 4px;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-point {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-point:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-point-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-point-icon.purple { background: rgba(124,58,237,0.1); color: var(--color-primary); }
.trust-point-icon.cyan { background: rgba(56,189,248,0.1); color: var(--color-accent); }
.trust-point-icon.orange { background: rgba(249,115,22,0.1); color: var(--color-warning); }
.trust-point-icon.green { background: rgba(16,185,129,0.1); color: var(--color-success); }

.trust-point h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.trust-point p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ===================================
   3. FEATURES SECTION
   =================================== */
.features {
  padding: var(--section-padding);
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}

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

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.purple { background: var(--color-primary-light); color: var(--color-primary); }
.feature-icon.cyan { background: #E0F2FE; color: var(--color-accent-dark); }
.feature-icon.orange { background: #FFF7ED; color: var(--color-warning); }
.feature-icon.green { background: #ECFDF5; color: var(--color-success); }

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  background: transparent;
}

.feature-image-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

/* Feature Mockups */
.feature-mockup {
  width: 100%;
}

/* Generator mockup - Format grid */
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.format-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.mockup-barcode {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-barcode.qr-mock {
  background:
    linear-gradient(90deg, #333 30%, transparent 30%, transparent 37%, #333 37%, #333 50%, transparent 50%, transparent 60%, #333 60%, #333 70%, transparent 70%),
    linear-gradient(180deg, #333 30%, transparent 30%, transparent 40%, #333 40%, #333 55%, transparent 55%, transparent 70%, #333 70%);
  background-size: 48px 48px;
  background-position: center;
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 4px;
  opacity: 0.6;
}

.mockup-barcode.ean-mock,
.mockup-barcode.code-mock,
.mockup-barcode.upc-mock {
  background: repeating-linear-gradient(
    90deg,
    #333 0px, #333 2px,
    transparent 2px, transparent 4px,
    #333 4px, #333 5px,
    transparent 5px, transparent 8px
  );
  width: 60px;
  margin: 0 auto;
  opacity: 0.5;
  border-radius: 2px;
}

.mockup-barcode.code-mock {
  background: repeating-linear-gradient(
    90deg,
    #333 0px, #333 3px,
    transparent 3px, transparent 5px,
    #333 5px, #333 6px,
    transparent 6px, transparent 9px
  );
}

.mockup-barcode.upc-mock {
  background: repeating-linear-gradient(
    90deg,
    #333 0px, #333 1px,
    transparent 1px, transparent 3px,
    #333 3px, #333 5px,
    transparent 5px, transparent 7px
  );
}

/* Scanner mockup */
.scanner-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scanner-viewfinder {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.03);
  border-radius: 16px;
}

.scanner-corners .corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--color-accent);
  border-style: solid;
  border-width: 0;
}

.corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-radius: 8px 0 0 0; }
.corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-radius: 0 8px 0 0; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 8px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 8px 0; }

.scanner-line {
  position: absolute;
  top: 20%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { top: 20%; opacity: 0.5; }
  50% { top: 75%; opacity: 1; }
}

.scanner-target svg {
  opacity: 0.5;
}

.scanner-result {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-success);
}

/* Batch mockup */
.batch-mockup {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.batch-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  background: var(--color-gray-50);
}

.batch-item.done {
  background: #ECFDF5;
}

.batch-item.processing {
  background: #EDE9FE;
}

.batch-status-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.batch-item.done .batch-status-icon {
  color: var(--color-success);
}

.batch-item.processing .batch-status-icon {
  color: var(--color-primary);
}

.batch-status-icon.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.batch-status {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-400);
}

.batch-status.active {
  color: var(--color-primary);
}

.batch-progress {
  height: 6px;
  background: var(--color-gray-100);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.batch-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.batch-footer {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
}

/* Customization mockup */
.customize-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.color-palette {
  display: flex;
  gap: 8px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
  border: 2px solid transparent;
}

.color-dot.active {
  border-color: var(--color-gray-800);
  transform: scale(1.15);
}

.color-dot:hover {
  transform: scale(1.15);
}

.custom-barcode-preview {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.template-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.template-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.8);
  color: var(--color-gray-500);
  border: 1px solid var(--color-gray-200);
}

.template-chip.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}


/* ===================================
   4. TESTIMONIALS SECTION
   =================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-gray-50);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-carousel {
  overflow: hidden;
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
  transition: box-shadow var(--transition-base), transform 0.2s;
  flex: 0 0 350px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #FBBF24;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-info h3,
.testimonial-author-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-800);
}

.testimonial-author-info p {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}


/* ===================================
   5. BLOG PREVIEW SECTION
   =================================== */
.blog-preview {
  padding: var(--section-padding);
}

.blog-preview-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-preview-header .section-subtitle {
  margin: 0 auto;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  display: block;
  height: auto;
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder.purple-gradient { background: linear-gradient(135deg, #7C3AED, #4F46E5); }
.blog-card-placeholder.cyan-gradient { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.blog-card-placeholder.green-gradient { background: linear-gradient(135deg, #10B981, #34D399); }

.blog-card-content {
  padding: 24px;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.blog-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: inherit;
  transition: color var(--transition-fast);
}

.blog-card-content h3 a:hover {
  color: var(--color-primary);
}

.blog-card-content p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.blog-card-link:hover {
  color: var(--color-primary-dark);
}


/* ===================================
   6. FAQ SECTION
   =================================== */
.faq {
  padding: var(--section-padding);
  background: var(--color-gray-50);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-gray-300);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0;
}

.faq-item.active .faq-question h3 {
  color: var(--color-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gray-400);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.7;
}


/* ===================================
   RESPONSIVE - Home
   =================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .store-badges {
    justify-content: center;
  }

  .qr-code-item {
    display: none;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-phone-wrapper {
    width: 240px;
  }

  .hero-float-card {
    display: none;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .feature-image {
    order: -1;
  }

  .testimonials-carousel {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-value {
    font-size: 1.0625rem;
  }

  .hero-badge {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    margin-bottom: 32px;
  }

  .btn-cta {
    width: 100%;
    max-width: 360px;
  }

  .store-badges {
    width: 100%;
  }

  .why-choose-proof {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    flex: 0 0 300px;
  }

  .feature-content h3 {
    font-size: 1.375rem;
  }

  .blog-card-content {
    padding: 20px;
  }

  .faq-question {
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 104px 0 52px;
  }

  .hero-title {
    font-size: 1.875rem;
    line-height: 1.18;
  }

  .hero-value {
    font-size: 1rem;
  }

  .hero-phone-wrapper {
    width: min(100%, 260px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .store-download-col {
    width: 100%;
  }

  .hero-cta .store-badge {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
  }

  .why-choose-proof {
    padding: 24px 20px;
    gap: 20px;
  }

  .trust-point {
    padding: 24px 20px;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 86vw;
    padding: 24px 20px;
  }

  .blog-preview-header,
  .faq-header,
  .features-header,
  .testimonials-header,
  .why-choose-header {
    margin-bottom: 40px;
  }

  .blog-card-content h3 {
    font-size: 1rem;
  }

  .faq-question h3 {
    font-size: 0.9375rem;
  }
}
