:root{
    /* ธีม Vantis ถอดจากรูปแผนใน plan/1-4.jpg
       เขียวป่าเข้มพร้อมแสงฉาย ทองไล่สีเป็นขอบและตัวเลข แดงใช้กับเปอร์เซ็นต์ */
    --void:#04260f;
    --panel:#063a18;
    --panel-2:#0e5d26;
    --line: rgba(232,185,49,0.38);
    --gold:#e8b931;
    --gold-light:#ffd34d;
    --gold-dim: rgba(232,185,49,0.6);
    --emerald:#13803a;
    --emerald-bright:#3ddc74;
    --ivory:#fff6d6;
    --ivory-dim: rgba(255,246,214,0.72);
    --ivory-faint: rgba(255,246,214,0.48);
    --red:#d81f1f;
    --yellow:#ffe14d;
    --ink-on-cream:#06381a;
    --gold-grad:linear-gradient(135deg,#fff3c4 0%,#ffd34d 34%,#e8b931 62%,#b8860b 100%);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--void);
    /* แสงฟุ้งกลางบนกับลำแสงทองเฉียง ตามพื้นหลังของรูปแผน */
    background-image:
      radial-gradient(1000px 700px at 50% 0%, rgba(19,128,58,.55), transparent 68%),
      radial-gradient(700px 480px at 85% 16%, rgba(232,185,49,.16), transparent 70%),
      linear-gradient(118deg, rgba(255,211,77,.07) 0%, transparent 38%),
      linear-gradient(286deg, rgba(255,211,77,.05) 0%, transparent 42%);
    background-attachment:fixed;
    background-repeat:no-repeat;
    color:var(--ivory);
    font-family:'Kanit',sans-serif;
    font-weight:400;
    line-height:1.75;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Kanit',sans-serif;
    letter-spacing:-0.015em;
    font-weight:600;
    color:var(--ivory);
    line-height:1.3;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'Kanit',sans-serif;
    letter-spacing:.14em;
    text-transform:uppercase;
    font-size:12.5px;
    color:var(--gold);
    font-weight:500;
    display:inline-flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:3px; height:12px;
    background:var(--gold);
    display:inline-block;
  }

  /* ---------- Background texture ---------- */

  /* ---------- Nav ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:50;
    backdrop-filter: blur(14px);
    background:rgba(5,23,12,0.78);
    border-bottom:1px solid var(--line);
  }
  nav{
    max-width:1180px; margin:0 auto; padding:16px 32px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .brand{display:flex; align-items:center; gap:10px;}
  .brand img{height:34px; width:auto;}
  .brand span{
    font-family:'Kanit',sans-serif; font-weight:600; letter-spacing:.18em;
    font-size:18px; color:var(--ivory);
  }
  .navlinks{display:flex; gap:34px; font-size:14.5px; font-family:'Kanit',sans-serif; font-weight:400;}
  .navlinks a{color:var(--ivory-dim); position:relative; padding-bottom:4px; transition:color .25s ease;}
  .navlinks a:hover{color:var(--gold-light);}
  .navlinks a::after{
    content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
    background:linear-gradient(90deg,var(--gold),var(--emerald-bright)); transition:width .3s ease;
  }
  .navlinks a:hover::after{width:100%;}
  .nav-cta{
    font-family:'Kanit',sans-serif; font-size:13.5px; font-weight:500;
    border:1px solid var(--gold-dim); color:var(--gold-light);
    padding:9px 20px; border-radius:2px; letter-spacing:.05em;
    transition:all .3s ease;
  }
  .nav-cta:hover{background:var(--gold); color:#05170c; border-color:var(--gold);}
  .navtoggle{display:none;}

  /* ---------- Hero ---------- */
  @keyframes pulse-glow{
    0%,100%{opacity:.7; transform:translate(-50%,-50%) scale(1);}
    50%{opacity:1; transform:translate(-50%,-50%) scale(1.06);}
  }
  /* เลื่อนขึ้นอย่างเดียว ไม่แตะ opacity — ถ้าเบราว์เซอร์ไม่รันแอนิเมชัน
     (แท็บพื้นหลัง, นโยบายประหยัดพลังงาน) องค์ประกอบจะยังมองเห็นได้ตามปกติ
     ไม่ใช่ค้างที่ opacity:0 เหมือนเดิม */
  @keyframes rise{
    from{transform:translateY(22px);}
    to{transform:translateY(0);}
  }
  .hero h1 em{
    font-style:normal;
    color:var(--gold-light);
  }
  .hero-ctas{
    position:relative; z-index:2;
    display:flex; gap:18px; flex-wrap:wrap; justify-content:center;
    animation: rise 1.4s .34s cubic-bezier(.16,1,.3,1) both;
  }
  .btn{
    font-family:'Kanit',sans-serif; font-size:14.5px; font-weight:500;
    padding:15px 32px; border-radius:2px; letter-spacing:.04em;
    transition: all .35s ease; display:inline-block;
  }
  .btn-primary{
    background:var(--gold); clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%);
    color:#05170c;
  }
  .btn-primary:hover{background:var(--gold-light);}
  .btn-outline{
    border:1px solid rgba(238,243,236,0.26); color:var(--ivory);
  }
  .btn-outline:hover{border-color:var(--gold); color:var(--gold-light);}

  @keyframes cue{0%{opacity:0; height:0;} 40%{opacity:1; height:52px;} 100%{opacity:0; height:52px;}}

  /* ---------- divider ---------- */

  /* ---------- Sections ---------- */
  section{position:relative; padding:110px 0; z-index:1;}
  .section-head{max-width:680px; margin-bottom:64px;}
  .section-head h2{font-size:clamp(26px,3.2vw,40px); margin-top:14px;}
  .section-head p{color:var(--ivory-dim); margin-top:16px; font-size:15.5px; max-width:600px;}


  /* Core business cards */
  .biz-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line);}
  .biz-card{
    background:var(--void); padding:44px 36px; transition: background .35s ease;
  }
  .biz-card:hover{background:var(--panel-2);}
  .biz-num{
    font-family:'Kanit',sans-serif; font-size:12.5px; letter-spacing:.28em;
    color:var(--emerald-bright); margin-bottom:26px; display:block;
  }
  .biz-card h3{font-size:21px; margin-bottom:14px;}
  .biz-card p{color:var(--ivory-dim); font-size:14.5px; margin-bottom:16px;}
  .biz-card ul{list-style:none; font-size:14px; color:var(--ivory-faint);}
  .biz-card li{padding:6px 0; border-top:1px solid rgba(238,243,236,0.09);}
  .biz-card li:first-child{border-top:none;}

  /* Operations value-chain chips */


  /* Investment */
  .invest{
    background: var(--panel);
    position:relative;
  }
  .invest-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:70px; align-items:start;}
  .invest-copy p{color:var(--ivory-dim); font-size:15.5px; margin-bottom:18px;}
  .invest-pillars{display:flex; flex-wrap:wrap; gap:10px; margin-top:28px;}
  .pillar{
    font-family:'Kanit',sans-serif; font-size:13px; letter-spacing:.06em;
    border:1px solid var(--line); padding:9px 16px; color:var(--ivory-dim);
  }
  .invest-card{
    border:1px solid var(--line); background:var(--panel); padding:38px 34px;
  }
  .invest-card h4{font-size:16.5px; color:var(--gold-light); margin-bottom:16px; font-family:'Kanit',sans-serif; font-weight:500;}
  .invest-card ul{list-style:none; font-size:14.5px; color:var(--ivory-dim);}
  .invest-card li{padding:10px 0; border-top:1px solid rgba(238,243,236,0.09); display:flex; gap:10px;}
  .invest-card li:first-child{border-top:none;}
  .invest-card li::before{content:"→"; color:var(--emerald-bright); flex-shrink:0;}
  .risk-note{
    margin-top:24px; padding-top:20px; border-top:1px dashed var(--line);
    font-size:12.5px; color:var(--ivory-faint); line-height:1.7;
  }

  /* Packages */

  /* Why */

  /* Vision Mission */
  .vm-band{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

  /* Closing CTA */
  .closing{
    text-align:center; padding:130px 24px;
    position:relative;
  }
  .closing img{width:64px; margin:0 auto 26px; opacity:.9;}
  .closing h2{font-size:clamp(24px,3.6vw,38px); max-width:720px; margin:0 auto 18px;}
  .closing p{color:var(--ivory-dim); max-width:520px; margin:0 auto 36px; font-size:15px;}

  footer{
    border-top:1px solid var(--line); padding:52px 0 40px; background:var(--void);
  }
  .foot-grid{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px; margin-bottom:36px;}
  .foot-brand{display:flex; align-items:center; gap:10px;}
  .foot-brand img{height:28px;}
  .foot-brand span{font-family:'Kanit',sans-serif; letter-spacing:.18em; font-size:15px;}
  .foot-tag{color:var(--ivory-faint); font-size:13.5px; max-width:320px; margin-top:10px;}
  .foot-cols{display:flex; gap:70px; flex-wrap:wrap;}
  .foot-col h5{font-family:'Kanit',sans-serif; font-size:12.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; font-weight:500;}
  .foot-col a, .foot-col span{display:block; color:var(--ivory-dim); font-size:13.5px; padding:5px 0;}
  .disclaimer{
    border-top:1px solid var(--line); padding-top:26px; font-size:12px; color:var(--ivory-faint); line-height:1.8;
  }
  .disclaimer b{color:var(--ivory-dim);}
  .copyright{margin-top:20px; font-size:12px; color:var(--ivory-faint); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

  /* ซ่อนไว้ก่อนค่อยเฟดเข้า — แต่ซ่อนเฉพาะเมื่อ JS ทำงานจริงเท่านั้น
     (คลาส .js ถูกเติมด้วยสคริปต์บรรทัดเดียวที่หัวหน้า) ไม่งั้นถ้าสคริปต์ไม่รัน
     ทั้งหน้าจะว่างเปล่าโดยที่ไม่มีอะไรบอก */
  .js .reveal{opacity:0; transform:translateY(24px); transition:opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1);}
  .js .reveal.in{opacity:1; transform:translateY(0);}

  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important;}
  }

  @media (max-width: 980px){
    .navlinks{display:none;}
    .biz-grid{grid-template-columns:1fr;}
  }
  @media (max-width: 560px){
    .wrap{padding:0 20px;}
    .hero{padding:150px 18px 80px;}
  }

/* =====================================================================
   ส่วนที่เพิ่มสำหรับระบบสมาชิก — ไม่ได้อยู่ใน template เดิม
   ===================================================================== */

/* ปุ่มเข้าสู่ระบบ / สมัครสมาชิก บนแถบเมนู */
.nav-actions{ display:flex; align-items:center; gap:12px; }
.nav-login{
  font-family:'Kanit',sans-serif; font-size:13.5px; font-weight:500;
  color:var(--ivory-dim); letter-spacing:.05em; transition:color .25s ease;
}
.nav-login:hover{ color:var(--gold-light); }

/* ตัวเลือกภาษาอยู่ที่ assets/lang.css — ใช้ร่วมกับหน้าสมาชิก */

/* ---------- แถบแผนการลงทุน ---------- */
.plan-band{ padding:110px 0; background:var(--panel); }
.plan-table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:4px; background:rgba(11,38,18,0.62); }
.plan-table{ width:100%; min-width:720px; border-collapse:collapse; font-size:14.5px; }
.plan-table thead th{
  font-family:'Kanit',sans-serif; font-weight:500; font-size:12.5px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--gold);
  text-align:left; padding:18px 20px; border-bottom:1px solid var(--line); white-space:nowrap;
}
.plan-table tbody td{ padding:18px 20px; border-bottom:1px solid rgba(232,185,49,0.10); color:var(--ivory-dim); vertical-align:middle; }
.plan-table tbody tr:last-child td{ border-bottom:none; }
.plan-table tbody tr:hover{ background:rgba(232,185,49,0.05); }
.plan-name{ display:block; font-family:'Kanit',sans-serif; font-weight:600; color:var(--gold-light); letter-spacing:.08em; }
.plan-amt{ display:block; font-size:13px; color:var(--ivory); margin-top:2px; }
.plan-roi{ font-family:'Kanit',sans-serif; font-weight:600; color:var(--emerald-bright); font-size:16px; }
.gen-chips{ display:flex; flex-wrap:wrap; gap:4px; }
.gen-chip{
  font-family:'Kanit',sans-serif; font-size:11px; padding:3px 7px; border-radius:2px;
  border:1px solid rgba(238,243,236,0.12); color:var(--ivory-faint);
}
.gen-chip.on{ border-color:var(--gold-dim); color:var(--gold-light); background:rgba(232,185,49,0.10); }
.gen-chip.on-match{ border-color:rgba(79,211,122,0.42); color:var(--emerald-bright); background:rgba(79,211,122,0.10); }
.gen-note{ display:block; font-size:11.5px; color:var(--ivory-faint); margin-top:6px; }

.plan-notes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; margin-top:34px; }
.plan-note{ border:1px solid var(--line); border-radius:4px; padding:22px; background:rgba(11,38,18,0.52); }
.plan-note h5{ font-family:'Kanit',sans-serif; font-size:13px; letter-spacing:.08em; color:var(--gold); margin-bottom:8px; }
.plan-note p{ font-size:13.5px; color:var(--ivory-dim); line-height:1.7; }

@media (max-width:860px){
  .plan-band{ padding:70px 0; }
  .nav-actions{ gap:8px; }
  .nav-login{ font-size:12.5px; }
}

/* ---------- Core: มุมตัดเฉียงล้อรูปภูเขาในโลโก้ ---------- */
.biz-card{ clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%); }
.invest-card{ clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%); }
.biz-num{ letter-spacing:.14em; }
.nav-cta{ clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%); border-radius:0; }
.navlinks a::after{ background:var(--gold); }


/* =======================================================================
   โครงหน้าแรกใหม่ (2026-11-22) — ฮีโร่แบ่งซ้าย-ขวา, ห่วงโซ่เป็นราง,
   ยุบตอนที่ซ้ำกันเข้าด้วยกัน  ดูเหตุผลที่หัวไฟล์ index.php
   ======================================================================= */

/* ---------- ฮีโร่: ข้อความซ้าย ตัวเลขแผนจริงขวา ---------- */
.hero{ padding:132px 0 86px; position:relative; }
.hero-grid{
  display:grid; grid-template-columns:1.08fr .92fr; gap:56px; align-items:center;
}
.hero-copy{ animation: rise 1.1s .05s cubic-bezier(.16,1,.3,1) both; min-width:0; }
.hero-copy h1{
  font-size:clamp(32px,4.4vw,54px); line-height:1.04; margin:18px 0 20px; max-width:16ch;
}
.hero-copy h1 em{ font-style:normal; color:var(--gold-light); }
.hero-copy > p{ color:var(--ivory-dim); font-size:16px; max-width:52ch; margin-bottom:30px; }

.hero-panel{
  background:var(--panel); border:1px solid var(--line); min-width:0;
  animation: rise 1.1s .22s cubic-bezier(.16,1,.3,1) both;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%);
}
.hp-head{
  display:flex; justify-content:space-between; padding:16px 24px;
  border-bottom:1px solid var(--line);
  font-family:'Kanit',sans-serif; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--ivory-faint);
}
.hp-row{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:15px 24px; border-bottom:1px solid rgba(238,243,236,0.07);
}
.hp-row:hover{ background:var(--panel-2); }
.hp-name{
  font-family:'Kanit',sans-serif; font-weight:500; font-size:14px;
  letter-spacing:.06em; color:var(--ivory); min-width:0;
}
.hp-name b{ display:block; font-weight:400; font-size:12.5px; color:var(--ivory-faint); letter-spacing:0; }
.hp-roi{
  font-family:'Kanit',sans-serif; font-weight:700; font-size:21px;
  color:var(--gold-light); font-variant-numeric:tabular-nums; white-space:nowrap;
}
.hp-foot{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:15px 24px 22px; font-size:12.5px; color:var(--ivory-dim);
}
.hp-foot b{ font-family:'Kanit',sans-serif; font-size:17px; color:var(--gold); }

/* ---------- ห่วงโซ่มูลค่า: รางเรียงเลข ---------- */
.chain-band{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.chain{
  list-style:none; display:grid; grid-template-columns:repeat(6,1fr);
  border-left:1px solid var(--line);
}
.chain-step{
  border-right:1px solid var(--line); padding:26px 20px 30px; position:relative;
}
.chain-step::before{
  content:""; position:absolute; left:0; top:0; width:0; height:2px; background:var(--gold);
  transition:width .45s cubic-bezier(.16,1,.3,1);
}
.chain.in .chain-step::before{ width:100%; }
.chain-no{
  display:block; font-family:'Kanit',sans-serif; font-weight:700; font-size:26px;
  color:var(--gold-dim); margin-bottom:14px; font-variant-numeric:tabular-nums;
}
.chain-label{ font-size:14px; color:var(--ivory-dim); line-height:1.5; display:block; }

/* ---------- แผนสร้างขึ้นอย่างไร + ทำไมต้องเรา ในตอนเดียว ---------- */
.why-band{ border-bottom:1px solid var(--line); }
.why-split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.why-split h2{ font-size:clamp(22px,2.6vw,30px); margin:14px 0 26px; }
.why-defs{ margin:0; }
.why-defs dt{
  font-family:'Kanit',sans-serif; font-weight:500; font-size:14.5px;
  color:var(--ivory); margin-top:18px;
}
.why-defs dt:first-child{ margin-top:0; }
.why-defs dd{ margin:4px 0 0; color:var(--ivory-dim); font-size:14px; }
.why-list{ list-style:none; }
.why-list li{
  padding:11px 0 11px 22px; border-top:1px solid rgba(238,243,236,0.08);
  color:var(--ivory-dim); font-size:14.5px; position:relative;
}
.why-list li:first-child{ border-top:none; }
.why-list li::before{
  content:""; position:absolute; left:0; top:19px; width:9px; height:2px; background:var(--gold);
}

/* ---------- วิสัยทัศน์: แถบเดียว ---------- */
.vm-band{ background:var(--panel); border-bottom:1px solid var(--line); }
.vm-split{ display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:start; }
.vm-split h2{ font-size:clamp(22px,2.6vw,30px); margin:14px 0 18px; }
.vm-lead{ color:var(--ivory-dim); font-size:15.5px; }
.vm-list{ list-style:none; margin-top:14px; }
.vm-list li{
  padding:10px 0; border-top:1px solid rgba(238,243,236,0.08);
  color:var(--ivory-dim); font-size:14.5px;
}
.vm-list li:first-child{ border-top:none; }

/* ---------- ปิดท้าย ---------- */
.closing{ text-align:center; padding:96px 0; }
.closing h2{ font-size:clamp(24px,3vw,36px); margin:16px auto 14px; max-width:20ch; }
.closing p{ color:var(--ivory-dim); max-width:60ch; margin:0 auto 30px; }
.closing .hero-ctas{ justify-content:center; }

@media (max-width: 980px){
  .hero{ padding:112px 0 64px; }
  .hero-grid,
  .why-split,
  .vm-split{ grid-template-columns:1fr; gap:38px; }
  .chain{ grid-template-columns:repeat(3,1fr); }
  .chain-step:nth-child(-n+3){ border-bottom:1px solid var(--line); }
}
@media (max-width: 560px){
  .chain{ grid-template-columns:repeat(2,1fr); }
  .chain-step:nth-child(-n+4){ border-bottom:1px solid var(--line); }
  .hero-copy h1{ max-width:none; }
}

/* ---------- เก็บรายละเอียดจอแคบ ---------- */
/* ชื่อแบรนด์ห้ามตัดบรรทัด — จอแคบซ่อนข้อความไปเลย
   เพราะไฟล์โลโก้มีคำว่า Vantis อยู่ในภาพอยู่แล้ว ไม่ได้เสียข้อมูลอะไร */
.brand span{ white-space:nowrap; }
@media (max-width: 620px){ .brand span{ display:none; } }
/* แท่งนำหน้า eyebrow ต้องไม่หลุดไปอยู่คนละบรรทัดกับข้อความ */
.eyebrow{ flex-wrap:nowrap; align-items:flex-start; }
.eyebrow::before{ margin-top:4px; flex:0 0 auto; }
/* กันคอลัมน์ในรางถูกข้อความยาวดันจนล้น (ค่าเริ่มต้นของ grid item คือ auto) */
.chain-step{ min-width:0; }
.hero-grid > *{ min-width:0; }


/* ═══════════════════════════════════════════════════════════════════════
   ชั้นปรับรูปทรงให้ตรงกับรูปแผน — มุมมนแบบแคปซูล ขอบทองไล่สี เปอร์เซ็นต์แดง
   วางไว้ท้ายไฟล์เพื่อทับค่ารูปทรงเดิมที่เป็นงานเหลี่ยม โดยไม่ต้องรื้อทั้งไฟล์
   ขอบทองไล่สีพร้อมมุมมนทำด้วย padding-box/border-box เพราะ border-image
   จะลบ border-radius ทิ้ง
   ═══════════════════════════════════════════════════════════════════════ */

.hero-panel,.biz-card,.invest-card,.pillar,.plan-table-wrap,.plan-note,.chain-step{
  border:2px solid transparent !important; border-radius:18px !important;
  background:linear-gradient(170deg,#0e5d26 0%,#063a18 55%,#052e13 100%) padding-box,
             var(--gold-grad) border-box !important;
  box-shadow:0 10px 26px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* ปุ่มหลักเป็นแคปซูลทองไล่สี ตัวอักษรเขียวเข้ม */
.btn-primary{
  background:var(--gold-grad) !important; color:#06381a !important;
  border:none !important; border-radius:999px !important; font-weight:700 !important;
  box-shadow:0 6px 18px -8px rgba(232,185,49,.75), inset 0 1px 0 rgba(255,255,255,.5) !important;
}
.btn-primary:hover{ filter:brightness(1.07); }
.btn-outline,.nav-cta,.nav-login{
  border:2px solid transparent !important; border-radius:999px !important;
  background:linear-gradient(170deg,#0e5d26,#063a18) padding-box,
             var(--gold-grad) border-box !important;
  color:var(--ivory) !important; font-weight:600 !important;
}
.btn-outline:hover,.nav-cta:hover,.nav-login:hover{ color:var(--gold-light) !important; filter:brightness(1.12); }

/* แถวในแผงฮีโร่: แคปซูลครีมแบบแถวข้อมูลในรูป */
.hp-row{
  border:2px solid transparent !important; border-radius:999px !important;
  background:linear-gradient(180deg,#fff9e4 0%,#fff2c8 45%,#f0dc9f 100%) padding-box,
             var(--gold-grad) border-box !important;
  color:var(--ink-on-cream) !important;
  margin-bottom:8px; padding:7px 18px !important;
}
.hp-row:hover{ filter:brightness(1.03); }
.hp-name b,.hp-name{ color:var(--ink-on-cream) !important; }
.hp-roi{ color:var(--red) !important; font-weight:800 !important; }
.hp-foot b{ color:var(--gold) !important; }

/* ป้ายชั้น: แคปซูลพื้นเขียวตัวอักษรทอง แบบ UL1/UL2 ในรูป */
.gen-chip{
  border-radius:999px !important; padding:2px 11px !important;
  background:linear-gradient(170deg,#0f6a2b,#064a1c) !important;
  border:none !important; color:rgba(255,246,214,.55) !important; font-weight:600 !important;
}
.gen-chip.on{ color:var(--gold-light) !important; }
.gen-chip.on-match{ color:var(--yellow) !important; }

/* ตารางแผน: เส้นคั่นทอง ตัวเลขอัตราเป็นแดงตามรูป */
.plan-table thead th{ color:var(--gold-light) !important; border-bottom:2px solid rgba(232,185,49,.5) !important; }
.plan-table tbody td{ border-bottom:1px solid rgba(232,185,49,.22) !important; }
.plan-amt{ color:var(--gold-light) !important; font-weight:800 !important; }
.plan-roi{ color:var(--red) !important; font-weight:800 !important; }

/* เลขขั้นตอนในวงกลมขอบทอง */
/* เฉพาะ .chain-no เท่านั้น — .biz-num เป็นป้ายข้อความ display:block
   ถ้าเอามาเข้ากฎวงกลมด้วยมันจะยืดเป็นแคปซูลเต็มความกว้าง ไม่ใช่วงกลม */
.chain-no{
  border-radius:999px !important;
  background:linear-gradient(170deg,#0f6a2b,#04260f) padding-box, var(--gold-grad) border-box !important;
  border:3px solid transparent !important; color:var(--gold-light) !important; font-weight:800 !important;
}

/* หัวเรื่องเป็นทองไล่สีมีขอบเข้ม แบบตัวอักษรนูนในรูป */
.section-head h2,.hero-copy h1,.closing h2,.vm-split h2,.why-split h2{
  background:var(--gold-grad);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:800;
  filter:drop-shadow(0 2px 0 rgba(4,38,15,.85)) drop-shadow(0 4px 10px rgba(0,0,0,.45));
}
.hero-copy h1 em{ -webkit-text-fill-color:transparent; }

.eyebrow{ color:var(--gold-light) !important; }
.eyebrow::before{ background:var(--gold-grad) !important; height:3px !important; border-radius:2px; }


/* ═══════════════════════════════════════════════════════════════════════
   ธีมเดิมตัดมุมเฉียงด้วย clip-path ซึ่งยังทำงานอยู่แม้จะตั้ง border-radius ทับ
   ผลคือปุ่มมนถูกเฉือนเป็นรอยบากที่มุมล่างขวา และการ์ดมีกรอบทองขาดหายไปหนึ่งมุม
   ธีมใหม่เป็นงานมุมมนล้วน จึงต้องปิด clip-path ทิ้งทั้งหมด
   ═══════════════════════════════════════════════════════════════════════ */
.btn-primary,.nav-cta,.biz-card,.invest-card,.hero-panel{ clip-path:none !important; }

/* ฮีโร่เหลือคอลัมน์เดียวจัดกลาง หลังเอาตารางแผนออกไปอยู่ส่วนแผนของมันเอง
   ตารางในฮีโร่ทำให้หน้าแรกไปเหมือนเทมเพลตต้นทางที่ยกมา และยังเอาตัวเลขแผน
   มาพูดซ้ำกับส่วน "แผนการตลาด" ที่อยู่ถัดลงไปอีกด้วย */
.hero-grid{ grid-template-columns:1fr !important; justify-items:center; text-align:center; }
.hero-copy{ max-width:860px; }
.hero-copy h1{ max-width:22ch; margin-left:auto; margin-right:auto; }
.hero-copy > p{ margin-left:auto; margin-right:auto; }
.hero .eyebrow{ justify-content:center; }


/* ═══════════════════════════════════════════════════════════════════════
   ปุ่ม Sign in / Sign up บนแถบเมนู — ขนาดเท่ากันเป๊ะ แยกสีตามลำดับความสำคัญ

   เดิม .nav-login เป็นลิงก์ข้อความล้วนไม่มี padding จึงเล็กกว่า .nav-cta ที่มี
   padding:9px 20px อยู่แล้ว และตอนทำธีมใหม่ผมจับทั้งคู่เข้ากฎเดียวกัน ทั้งสอง
   ปุ่มเลยได้สีเหมือนกันจนแยกไม่ออกว่าอันไหนคือปุ่มหลัก
   ต้องอยู่ท้ายไฟล์เพื่อทับกฎรวมด้านบน
   ═══════════════════════════════════════════════════════════════════════ */
.nav-login,.nav-cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:9px 22px !important; min-width:106px;
  font-size:13.5px !important; font-weight:600 !important;
  line-height:1.45; letter-spacing:.04em;
  border-radius:999px !important; clip-path:none !important;
  transition:filter .25s ease, color .25s ease;
}

/* ปุ่มรอง: เขียวเข้มขอบทอง */
.nav-login{
  border:2px solid transparent !important;
  background:linear-gradient(170deg,#0e5d26,#063a18) padding-box,
             var(--gold-grad) border-box !important;
  color:var(--ivory) !important;
}
.nav-login:hover{ color:var(--gold-light) !important; filter:brightness(1.12); }

/* ปุ่มหลัก: ทองไล่สีตัวอักษรเขียวเข้ม ชุดเดียวกับปุ่มหลักในฮีโร่ */
.nav-cta{
  /* ขอบโปร่งใส 2px เท่ากับปุ่มรอง ไม่งั้นสูงไม่เท่ากัน — ความสูงเป็น auto
     ขอบจึงบวกเพิ่มแม้จะตั้ง box-sizing:border-box ไว้
     ไล่สีทองวาดใต้ขอบด้วย background-clip:border-box จึงมองไม่เห็นรอยต่อ */
  border:2px solid transparent !important;
  background:var(--gold-grad) !important;
  background-clip:border-box !important;
  color:#06381a !important;
  box-shadow:0 6px 18px -8px rgba(232,185,49,.75), inset 0 1px 0 rgba(255,255,255,.5);
}
.nav-cta:hover{ color:#06381a !important; filter:brightness(1.07); }

@media (max-width: 760px){
  .nav-login,.nav-cta{ padding:8px 16px !important; min-width:88px; font-size:12.5px !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   How it works — จัดใหม่ตามรูปแผนใบที่อธิบายแมชชิ่ง UL (แผงครีม + วงกลมเลข)

   โครงเดิมเป็นช่องในตารางคั่นด้วยเส้น 1px ไม่มีช่องว่างระหว่างช่องเลย
   พอผมเหมา .chain-step เข้ากลุ่มการ์ดขอบทอง มันจึงกลายเป็นกล่องขอบทอง 6 ใบ
   อัดชิดกันจนเส้นขอบซ้อนกันเป็นแถบหนา และ .chain-no ที่เป็น display:block
   ก็ถูกกฎวงกลมยืดเป็นแคปซูลเต็มความกว้างของช่อง
   ═══════════════════════════════════════════════════════════════════════ */
.chain{
  grid-template-columns:repeat(3,1fr) !important;
  gap:14px !important;
  border-left:none !important;
}
.chain-step{
  display:flex !important; align-items:center; gap:14px;
  padding:15px 18px !important;
  border:2px solid transparent !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fff9e4 0%,#fff2c8 45%,#f0dc9f 100%) padding-box,
             var(--gold-grad) border-box !important;
  box-shadow:0 8px 20px -12px rgba(0,0,0,.75) !important;
}
/* เส้นทองที่เคยวิ่งบนหัวช่องตอน scroll เป็นของโครงรางเดิม ไม่เข้ากับการ์ด */
.chain-step::before{ display:none !important; }

.chain-no{
  flex:0 0 auto; width:46px; height:46px; margin:0 !important;
  display:inline-flex !important; align-items:center; justify-content:center;
  font-size:17px !important; line-height:1;
}
.chain-label{
  color:var(--ink-on-cream) !important;
  font-size:14.5px !important; font-weight:500; line-height:1.4;
}

/* ป้ายข้อความของการ์ดธุรกิจ — คืนเป็นป้ายทองตัวพิมพ์ใหญ่ ไม่ใช่วงกลม */
.biz-num{
  display:block !important; width:auto !important; height:auto !important;
  background:none !important; border:none !important; border-radius:0 !important;
  color:var(--gold-light) !important; font-size:12.5px !important;
  letter-spacing:.2em !important; text-transform:uppercase;
  font-weight:600 !important; margin-bottom:18px !important; padding:0 !important;
}

@media (max-width: 860px){
  .chain{ grid-template-columns:repeat(2,1fr) !important; }
  .chain-step{ border-bottom:2px solid transparent !important; }
}
@media (max-width: 520px){
  .chain{ grid-template-columns:1fr !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   Three pillars — การ์ดสามใบเคยชิดกันเพราะ .biz-grid ใช้ gap:2px กับพื้นหลัง
   สีเส้น ซึ่งเป็นลายเดิมแบบ "ช่องคั่นด้วยเส้นบาง" พอการ์ดมีขอบทองมุมมนแล้ว
   ช่องว่าง 2px เลยกลายเป็นขอบสามเส้นอัดติดกัน
   ให้ระยะห่างจริงแทน และตัดพื้นหลังกับกรอบของตัวกริดทิ้ง ไม่งั้นจะเหลือ
   เส้นบาง ๆ ล้อมการ์ดทั้งชุดอีกชั้น
   ═══════════════════════════════════════════════════════════════════════ */
.biz-grid{
  gap:18px !important;
  background:none !important;
  border:none !important;
}
@media (max-width: 980px){
  .biz-grid{ gap:14px !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   ตารางแผนในหน้าแรก
   ═══════════════════════════════════════════════════════════════════════ */

/* อัตราต่อรอบ — แดงขอบขาว ตัวใหญ่ขึ้น เป็นตัวเลขที่คนมาดูเป็นอันดับแรก
   paint-order:stroke fill วาดเส้นขอบก่อนแล้วเติมสีแดงทับ ถ้าไม่ใส่
   -webkit-text-stroke จะกินเข้าไปในตัวอักษรจนดูผอมลง */
.plan-roi{
  font-size:27px !important; font-weight:800 !important;
  color:var(--yellow) !important;
  /* ขอบเป็นเขียวเข้ม ไม่ใช่ขาว — ขอบขาวรอบตัวอักษรเหลืองคอนทราสต์ต่ำจนขอบ
     กลืนไปกับตัวเลข ส่วนเขียวเข้มคือสีพื้นหลังของตาราง ตัวเลขจึงดูนูนออกมา
     แบบเดียวกับตัวเลขทองในรูปแผน */
  -webkit-text-stroke:1.2px #04260f;
  paint-order:stroke fill;
  text-shadow:0 2px 5px rgba(0,0,0,.55);
  white-space:nowrap;
}

/* ───────── จอแคบ: พลิกตารางเป็นการ์ด ─────────
   ตารางหกคอลัมน์กว้างเกินจอมือถือมาก ต้องเลื่อนแนวนอนตลอดเวลา
   ใช้ data-label บน td แทนหัวตาราง จึงไม่ต้องเขียน markup ซ้ำสองชุด */
@media (max-width: 860px){
  .plan-table-wrap{ overflow:visible !important; border:none !important;
                    background:none !important; box-shadow:none !important; padding:0 !important; }
  .plan-table{ display:block; width:100%; min-width:0 !important; border-collapse:separate; }
  .plan-table thead{ display:none; }
  .plan-table tbody{ display:block; }

  .plan-table tbody tr{
    display:block; margin-bottom:14px;
    border:2px solid transparent; border-radius:16px;
    background:linear-gradient(170deg,#0e5d26 0%,#063a18 55%,#052e13 100%) padding-box,
               var(--gold-grad) border-box;
    box-shadow:0 10px 26px -14px rgba(0,0,0,.8);
    overflow:hidden;
  }

  .plan-table tbody td{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    width:100%; padding:10px 16px !important; text-align:right;
    border:none !important;
    border-bottom:1px solid rgba(232,185,49,.22) !important;
  }
  .plan-table tbody tr td:last-child{ border-bottom:none !important; }

  /* ป้ายกำกับฝั่งซ้ายของแต่ละแถว มาจาก data-label */
  .plan-table tbody td::before{
    content:attr(data-label);
    flex:0 0 auto; max-width:46%;
    text-align:left; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
    color:rgba(255,246,214,.55); line-height:1.35;
  }

  /* แถวแรกเป็นหัวการ์ด ไม่มีป้าย */
  .plan-table tbody td.plan-cell-pkg{
    display:block; text-align:left;
    background:rgba(255,255,255,.04);
    padding:12px 16px !important;
  }
  .plan-table tbody td.plan-cell-pkg::before{ content:none; }

  /* ชิปชั้นต่าง ๆ ให้ห่อบรรทัดได้ ไม่ดันความกว้างการ์ด */
  /* ป้าย ชิป และหมายเหตุ อยู่ในแถว flex เดียวกัน ถ้าไม่ให้หมายเหตุขึ้นบรรทัด
     ของตัวเอง มันจะถูกบีบจนคำเดียวตัดเป็นสองบรรทัด ("1" / "level") */
  .plan-table tbody td{ flex-wrap:wrap; }
  .plan-table tbody td .gen-chips{ flex:1 1 auto; display:flex; flex-wrap:wrap; gap:5px; justify-content:flex-end; }
  .plan-table tbody td .gen-note{ flex:1 0 100%; margin-top:4px; text-align:right; white-space:nowrap; }
  .plan-roi{ font-size:24px !important; }
}


/* .invest-grid เป็นสองคอลัมน์ gap 70px และไม่มี media query ไหนยุบมันเลย
   ตัวอื่นในชุดเดียวกัน (.hero-grid .why-split .vm-split .biz-grid) ถูกยุบหมด
   แล้วตกหล่นตัวนี้ไปตัวเดียว ผลคือบนจอ 375px กริดกว้างเกินกรอบไป 2px
   ทำให้ทั้งหน้าเลื่อนแนวนอนได้นิดหนึ่งและส่วนนี้อัดกัน */
@media (max-width: 980px){
  .invest-grid{ grid-template-columns:1fr !important; gap:32px !important; }
}
