/* ========================================
   KimCard - Sub-pages Common Styles
   Premium Design with Real Scene Backgrounds
   ======================================== */

/* === Page Hero with Real Scene Background === */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-20);
  background: none;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Real Scene Background Slider */
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 110, 92, 0.85) 0%,
    rgba(10, 110, 92, 0.75) 50%,
    rgba(10, 110, 92, 0.9) 100%
  );
  z-index: 1;
}

.page-hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.page-hero-bg-slide.active {
  opacity: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.8s ease;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  animation: fadeInUp 0.8s ease 0.1s backwards;
  line-height: 1.6;
}

.page-hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.2s backwards;
  flex-wrap: wrap;
}

/* What/Why/How Section */
.wwh-section {
  padding: var(--space-24) 0;
  background: var(--color-cream);
}

.wwh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.wwh-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.wwh-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.wwh-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.wwh-card:hover::before {
  opacity: 1;
}

.wwh-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 110, 92, 0.1), rgba(201, 169, 98, 0.1));
  border-radius: var(--radius-xl);
  color: var(--color-primary);
}

.wwh-icon svg {
  width: 32px;
  height: 32px;
}

.wwh-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.wwh-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.wwh-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .wwh-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* === Product Sections === */
.product-section {
  padding: var(--space-24) 0;
}

.product-section.alt {
  background: var(--color-white);
}

.product-section.cream {
  background: var(--color-cream);
}

.product-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.product-grid.reverse {
  direction: rtl;
}

.product-grid.reverse > * {
  direction: ltr;
}

.product-content h2 {
  margin-bottom: var(--space-4);
}

.product-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.product-feature-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 110, 92, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-feature-icon svg {
  width: 14px;
  height: 14px;
}

.product-feature p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}

.product-visual {
  position: relative;
}

.product-card-demo {
  background: linear-gradient(135deg, var(--color-primary), var(--color-forest));
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: var(--color-white);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .product-grid.reverse {
    direction: ltr;
  }
}

/* === Feature List Page === */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.feature-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 110, 92, 0.1);
}

.feature-list-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 110, 92, 0.1), rgba(201, 169, 98, 0.05));
  border-radius: var(--radius-xl);
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-list-icon svg {
  width: 28px;
  height: 28px;
}

.feature-list-content h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.feature-list-content p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* === Stats Cards === */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stats-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 110, 92, 0.1);
}

.stats-card-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.stats-card-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .stats-card-value {
    font-size: var(--text-2xl);
  }
}

/* === Pricing Cards === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-tier {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.pricing-amount span {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

/* === FAQ Section === */
.faq-section {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-6) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding-bottom: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* === Steps / Process === */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.step:hover .step-number {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.step h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
  
  .steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* === Comparison Table === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-cream);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.comparison-table td {
  font-size: var(--text-sm);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(10, 110, 92, 0.02);
}

.comparison-check {
  color: var(--color-primary);
}

.comparison-x {
  color: var(--color-text-muted);
}

/* === Trust Badges === */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.trust-badge-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.trust-badge-icon svg {
  width: 28px;
  height: 28px;
}

.trust-badge-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .trust-badges {
    flex-wrap: wrap;
    gap: var(--space-6);
  }
}

/* === App Download Section === */
.app-download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12);
  background: linear-gradient(135deg, var(--color-forest), var(--color-primary));
  border-radius: var(--radius-2xl);
  color: var(--color-white);
}

.app-download-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.app-download-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.app-download-buttons {
  display: flex;
  gap: var(--space-4);
}

.app-download-buttons .btn {
  background: var(--color-white);
  color: var(--color-primary);
}

.app-download-buttons .btn:hover {
  background: var(--color-cream);
}

.app-download-qr {
  display: flex;
  justify-content: center;
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-4);
}

@media (max-width: 768px) {
  .app-download {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .app-download-buttons {
    justify-content: center;
  }
}

/* App Download Grid */
.app-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.app-download-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.app-download-card .qr-code {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-6);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.app-download-card .qr-code svg {
  width: 100%;
  height: 100%;
  color: var(--color-text);
}

.app-download-card .app-download-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--color-primary), var(--color-forest));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-download-card .app-download-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-white);
}

.app-download-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.app-download-card p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.app-download-card .btn {
  width: 100%;
}

@media (max-width: 992px) {
  .app-download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .app-download-grid {
    grid-template-columns: 1fr;
  }
}

/* === Alert / Notice Boxes === */
.notice {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-primary);
  margin-bottom: var(--space-6);
}

.notice.warning {
  border-left-color: var(--color-gold);
  background: rgba(201, 169, 98, 0.1);
}

.notice.info {
  border-left-color: #3B82F6;
  background: rgba(59, 130, 246, 0.1);
}

.notice-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.notice.warning .notice-icon {
  color: var(--color-gold);
}

.notice.info .notice-icon {
  color: #3B82F6;
}

.notice-content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.notice-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* === Card Preview Components === */
.card-preview {
  position: relative;
  width: 340px;
  height: 214px;
  margin: 0 auto;
}

.card-front {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-forest));
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  color: var(--color-white);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base);
}

.card-preview:hover .card-front {
  transform: rotateY(-10deg) rotateX(5deg);
}

.card-number {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.card-holder-name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-1);
}

.card-expiry {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.card-expiry-date {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-1);
}

.card-chip {
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.04) 3px,
      rgba(0,0,0,0.04) 3.5px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.02) 3px,
      rgba(0,0,0,0.02) 3.5px
    ),
    linear-gradient(145deg, #c9a84c 0%, #e8d48b 15%, #f5e8a8 30%, #dfc45c 50%, #c9a030 70%, #b8922e 85%, #a07828 100%);
  border-radius: 5px;
  margin-bottom: var(--space-4);
  position: relative;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.6),
    inset 0 -1px 2px rgba(0,0,0,0.25),
    0 1px 3px rgba(0,0,0,0.5),
    0 0 0 0.5px rgba(0,0,0,0.2);
  overflow: hidden;
}

.card-chip::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    125deg,
    transparent 25%,
    rgba(255,255,255,0.08) 35%,
    rgba(255,255,255,0.2) 42%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.2) 58%,
    rgba(255,255,255,0.08) 65%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 10;
}

.card-chip::after {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px; right: 2.5px; bottom: 2.5px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 3px;
  box-shadow:
    inset 0 0.5px 1px rgba(0,0,0,0.1),
    inset 0 -0.5px 1px rgba(255,255,255,0.15);
  z-index: 1;
}

.chip-line-h {
  position: absolute;
  top: 50%;
  left: 2.5px;
  right: 2.5px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(160,120,40,0.3) 10%,
    rgba(160,120,40,0.4) 50%,
    rgba(160,120,40,0.3) 90%,
    transparent 100%
  );
  transform: translateY(-50%);
  z-index: 2;
}

.chip-line-v {
  position: absolute;
  left: 50%;
  top: 2.5px;
  bottom: 2.5px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(160,120,40,0.3) 10%,
    rgba(160,120,40,0.4) 50%,
    rgba(160,120,40,0.3) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
  z-index: 2;
}

.chip-pad {
  position: absolute;
  background: linear-gradient(160deg, #e8d48b 0%, #f5e8a8 30%, #d4af37 60%, #c49b2a 100%);
  border: 0.5px solid rgba(160,120,40,0.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -0.5px 0 rgba(0,0,0,0.1),
    0 0.5px 0.5px rgba(0,0,0,0.08);
  z-index: 5;
}

.chip-pad-c {
  width: 10px;
  height: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.chip-pad-tl {
  width: 8px;
  height: 6px;
  top: 4px;
  left: 4px;
  border-radius: 1px 0 0 0;
}

.chip-pad-tr {
  width: 8px;
  height: 6px;
  top: 4px;
  right: 4px;
  border-radius: 0 1px 0 0;
}

.chip-pad-bl {
  width: 8px;
  height: 6px;
  bottom: 4px;
  left: 4px;
  border-radius: 0 0 0 1px;
}

.chip-pad-br {
  width: 8px;
  height: 6px;
  bottom: 4px;
  right: 4px;
  border-radius: 0 0 1px 0;
}

/* Card color variants */
.card-green {
  background: linear-gradient(135deg, var(--color-primary), var(--color-forest));
}

.card-gold {
  background: linear-gradient(135deg, var(--color-gold), #8B7355);
}

.card-black {
  background: linear-gradient(135deg, #1a1a1a, #333);
}

/* === Security Badges === */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.security-badge svg {
  width: 16px;
  height: 16px;
}

/* === Section Headers === */
.features-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.features-header h2 {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === CTA Section with Real Background === */
.cta.section {
  padding: var(--space-24) 0;
  position: relative;
  background: none;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 110, 92, 0.92) 0%,
    rgba(10, 110, 92, 0.85) 100%
  );
  z-index: 1;
}

.cta .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* === Yield Highlight Box === */
.yield-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--space-10);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: var(--space-6) 0;
}

.yield-highlight-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.yield-highlight-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-2);
}

/* === Interest Rate Display === */
.rate-display {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin: var(--space-8) 0;
}

.rate-item {
  text-align: center;
}

.rate-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
}

.rate-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .rate-display {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* === Certification Cards === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 110, 92, 0.1);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 110, 92, 0.1), rgba(201, 169, 98, 0.1));
  border-radius: var(--radius-xl);
  color: var(--color-primary);
}

.cert-icon svg {
  width: 32px;
  height: 32px;
}

.cert-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.cert-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
