/* ============================================
   THAI BIOMASS - index page styles
   Extracted from inline <style> so the browser can cache it.
============================================ */

    /* ===== HERO SECTION ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--gradient-hero);
      padding-top: calc(72px + 4rem);
      padding-bottom: 5rem;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 10% 50%, rgba(46,232,165,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(56,189,248,0.06) 0%, transparent 50%);
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(46, 232, 165, 0.1);
      border: 1px solid rgba(46, 232, 165, 0.3);
      border-radius: 100px;
      padding: 0.4rem 1.1rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 1.5rem;
    }

    .hero-badge i {
      font-size: 0.7rem;
    }

    .hero h1 {
      font-size: clamp(2.8rem, 5.5vw, 4.5rem);
      font-weight: 900;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      color: var(--text);
    }

    .hero h1 .highlight {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-light);
      line-height: 1.7;
      margin-bottom: 2.5rem;
      max-width: 520px;
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }

    .hero-trust {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .trust-item i {
      color: var(--primary);
      font-size: 0.9rem;
    }

    /* Hero Visual */
    .hero-visual {
      position: relative;
      z-index: 2;
    }

    .hero-card-main {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: 24px;
      padding: 2rem;
      box-shadow: var(--shadow-card), var(--shadow-glow);
      position: relative;
    }

    .hero-card-main::before {
      content: '';
      position: absolute;
      top: -1px; left: -1px; right: -1px; bottom: -1px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(46,232,165,0.2), transparent, rgba(56,189,248,0.1));
      z-index: -1;
    }

    .pks-product-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      object-view-box: inset(43% 10% 14% 10%);
      border-radius: 16px;
      margin-bottom: 1.25rem;
    }

    .product-tag-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.25rem;
    }

    .product-name {
      font-size: 1.2rem;
      font-weight: 700;
    }

    .product-origin {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 0.1rem;
    }

    .product-specs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }

    .spec-item {
      background: var(--bg-dark);
      border-radius: 10px;
      padding: 0.75rem;
    }

    .spec-label {
      font-size: 0.72rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.2rem;
    }

    .spec-value {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--primary);
    }

    /* Floating badges */
    .float-badge {
      position: absolute;
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 0.75rem 1rem;
      box-shadow: var(--shadow-card);
      font-size: 0.85rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
      animation: float 3s ease-in-out infinite;
    }

    .float-badge-1 {
      top: -20px;
      right: -20px;
      animation-delay: 0s;
    }

    .float-badge-2 {
      top: 220px;
      left: -20px;
      animation-delay: 1.5s;
    }

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

    /* ===== WHY PKS SECTION ===== */
    .why-section {
      background: var(--bg-card-2);
    }

    .feature-card {
      position: relative;
      overflow: hidden;
    }

    .feature-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: var(--transition);
      transform-origin: left;
    }

    .feature-card:hover::after {
      transform: scaleX(1);
    }

    .feature-card h3 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .feature-card p {
      color: var(--text-light);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    /* ===== PRODUCT SECTION ===== */
    .product-section {
      background: var(--bg-dark);
    }

    .product-detail-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .product-detail-img {
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
      /* Push image top down to align with section title, past the badge + its margins */
      margin-top: calc(0.78rem * 1.5 + 0.7rem + 2px + 1rem + 1rem);
    }

    .product-detail-img img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      display: block;
    }

    .img-overlay-badge {
      position: absolute;
      bottom: 1.5rem;
      left: 1.5rem;
      background: var(--bg-card);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 0.75rem 1.25rem;
      box-shadow: var(--shadow-card);
      transition: background 0.4s ease, border-color 0.4s ease;
    }

    .img-overlay-badge .ov-label {
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      transition: color 0.4s ease;
    }

    .img-overlay-badge .ov-val {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--primary);
      transition: color 0.4s ease;
    }

    .spec-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1.5rem;
    }

    .spec-table tr {
      border-bottom: 1px solid var(--border);
      transition: var(--transition);
    }

    .spec-table tr:hover {
      background: var(--primary-glow);
    }

    .spec-table td {
      padding: 0.85rem 0.75rem;
      font-size: 0.9rem;
    }

    .spec-table td:first-child {
      color: var(--text-muted);
      width: 50%;
    }

    .spec-table td:last-child {
      color: var(--text);
      font-weight: 600;
    }

    /* ===== PROCESS SECTION ===== */
    .process-section {
      background: var(--bg-card-2);
    }

    .process-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      position: relative;
    }

    .process-steps::before {
      content: '';
      position: absolute;
      top: 35px;
      left: 12.5%;
      right: 12.5%;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      z-index: 0;
      opacity: 0.4;
    }

    .process-step {
      text-align: center;
      padding: 0 1rem;
      position: relative;
      z-index: 1;
    }

    .step-number {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 2px solid var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.25rem;
      font-size: 1.5rem;
      color: var(--primary);
      position: relative;
    }

    .step-number::after {
      content: '';
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      background: var(--primary-glow);
    }

    .process-step h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .process-step p {
      font-size: 0.85rem;
      color: var(--text-light);
      line-height: 1.5;
    }

    /* ===== SAVINGS TEASER ===== */
    .calculator-teaser {
      background: var(--bg-dark);
    }

    .calc-promo-card {
      background: linear-gradient(135deg, rgba(46,232,165,0.08) 0%, rgba(56,189,248,0.05) 100%);
      border: 1px solid rgba(46, 232, 165, 0.25);
      border-radius: 24px;
      padding: 4rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .calc-promo-card::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(46,232,165,0.06) 0%, transparent 70%);
      pointer-events: none;
    }

    .calc-icon {
      font-size: 4rem;
      margin-bottom: 1rem;
    }

    .calc-promo-card h2 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
    }

    .calc-promo-card p {
      font-size: 1.1rem;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto 2rem;
    }

    .savings-preview {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
    }

    .save-stat {
      text-align: center;
    }

    .save-stat .val {
      font-size: 2.5rem;
      font-weight: 900;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }

    .save-stat .lbl {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-top: 0.25rem;
    }

    /* ===== TESTIMONIALS ===== */
    .testimonials-section {
      background: var(--bg-card-2);
    }

    .testimonial-card {
      position: relative;
    }

    .testimonial-card .quote {
      font-size: 3rem;
      color: var(--primary);
      opacity: 0.4;
      line-height: 1;
      margin-bottom: 0.5rem;
      font-family: Georgia, serif;
    }

    .testimonial-card p {
      color: var(--text-light);
      font-size: 0.95rem;
      line-height: 1.7;
      font-style: italic;
      margin-bottom: 1.5rem;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .author-avatar {
      width: 48px;
      height: 48px;
      min-width: 48px;
      min-height: 48px;
      flex-shrink: 0;
      border-radius: 50%;
      background: var(--gradient-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--bg-dark);
      font-size: 1.1rem;
    }

    .author-name {
      font-weight: 700;
      font-size: 0.95rem;
    }

    .author-title {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .star-row {
      display: flex;
      gap: 0.2rem;
      color: #F59E0B;
      font-size: 0.8rem;
      margin-bottom: 0.75rem;
    }

    /* ===== CTA SECTION ===== */
    .cta-section {
      background: var(--bg-dark);
      padding: 5rem 0;
    }

    .cta-card {
      background: linear-gradient(135deg, var(--primary-dark) 0%, #1a9e7a 50%, #0D6E5E 100%);
      border-radius: 24px;
      padding: 5rem 3rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-card::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 300px; height: 300px;
      background: rgba(255,255,255,0.05);
      border-radius: 50%;
    }

    .cta-card::after {
      content: '';
      position: absolute;
      bottom: -60px; left: -60px;
      width: 250px; height: 250px;
      background: rgba(255,255,255,0.03);
      border-radius: 50%;
    }

    .cta-card h2 {
      font-size: 2.5rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
      position: relative;
      z-index: 1;
    }

    .cta-card p {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.85);
      margin-bottom: 2.5rem;
      max-width: 550px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      z-index: 1;
    }

    .cta-btns {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    .btn-white {
      background: white;
      color: var(--primary-dark);
      font-weight: 700;
    }

    .btn-white:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }

    .btn-white-outline {
      background: transparent;
      color: white;
      border: 2px solid rgba(255,255,255,0.5);
    }

    .btn-white-outline:hover {
      background: rgba(255,255,255,0.1);
      border-color: white;
      transform: translateY(-2px);
    }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .hero { padding-top: calc(72px + 3rem); padding-bottom: 5rem; min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
      .hero-visual { max-width: 500px; margin: 0 auto; }
      .product-detail-grid { grid-template-columns: 1fr; }
      .product-detail-img { margin-top: 0; }
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
      .process-steps::before { display: none; }
    }

    @media (max-width: 768px) {
      .hero { padding: 100px 0 5rem; min-height: auto; }
      .calc-promo-card { padding: 2.5rem 1.5rem; }
      .cta-card { padding: 3rem 1.5rem; }
      .process-steps { grid-template-columns: 1fr; }
      .savings-preview { gap: 2rem; }
    }
