/* ==========================================================================
   Web Development Sales Page - Premium Tech Agency Vibe
   ========================================================================== */
   :root {
    --color-indigo: #4f46e5;
    --color-cyan: #06b6d4;
    --color-dark: #0f172a;
    --color-gray: #64748b;
    --color-light-gray: #f8fafc;
    --color-surface: #ffffff;
        --shadow-soft: 0 20px 40px -15px rgba(0,0,0,0.05);
        --shadow-glow: 0 10px 30px -10px rgba(79, 70, 229, 0.4);
        --radius-xl: 32px;
        --radius-lg: 20px;
        --radius-md: 12px;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --page-bg: #f4f7fb;
        --page-ink: #0f172a;
        --glow-blue: rgba(59, 130, 246, 0.18);
        --glow-cyan: rgba(34, 211, 238, 0.14);
        --glow-amber: rgba(251, 191, 36, 0.1);
  }
  
    body {
        background:
            radial-gradient(circle at 12% 18%, rgba(147, 197, 253, 0.28), transparent 22%),
            radial-gradient(circle at 85% 12%, rgba(165, 243, 252, 0.26), transparent 20%),
            radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.95), rgba(244, 247, 251, 0.82) 58%, rgba(236, 242, 249, 0.92) 100%),
            linear-gradient(180deg, #f8fbff 0%, #f3f7fb 42%, #eef3f8 100%);
        color: var(--color-gray);
        font-family: 'Prompt', sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
        position: relative;
        isolation: isolate;
    }
    body > * {
        position: relative;
        z-index: 1;
    }
    body::before,
    body::after {
        content: "";
        position: fixed;
        inset: auto;
        width: 42vw;
        height: 42vw;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
        z-index: 0;
        opacity: 0.75;
        animation: ambientDrift 18s ease-in-out infinite alternate;
    }
    body::before {
        top: -10vw;
        left: -8vw;
        background: radial-gradient(circle, var(--glow-blue) 0%, rgba(59, 130, 246, 0.08) 32%, transparent 72%);
    }
    body::after {
        right: -10vw;
        bottom: 5vh;
        background: radial-gradient(circle, var(--glow-cyan) 0%, rgba(14, 165, 233, 0.1) 34%, transparent 74%);
        animation-duration: 22s;
    }
  .text-center { text-align: center; }
  .w-100 { width: 100%; text-align: center; }
  .mt-4 { margin-top: 2rem; }
  .position-relative { position: relative; }
  .content_website_me { text-align: center; }
  .section-title { font-size: 2.75rem; font-weight: 800; color: #fff; margin-bottom: 1rem; letter-spacing: -0.5px; }
    .section-title span { background: linear-gradient(135deg, #ffffff, #ffffff21); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding-left: 12px; }
  .section-desc { font-size: 1.15rem; color: var(--color-gray); }
  
  /* --- Buttons --- */
  .cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 0; justify-content: flex-start; }
  .justify-content-center { justify-content: center; }
  .btn-premium { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-size: 1.1rem; font-weight: 600; border-radius: 50px; text-decoration: none; transition: var(--transition); gap: 10px; cursor: pointer; border: 1px solid transparent; }
  .btn-premium.primary { background: linear-gradient(135deg, var(--color-indigo) 0%, #3b82f6 100%); color: white; box-shadow: var(--shadow-glow); }
  .btn-premium.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px -10px rgba(79, 70, 229, 0.6); }
  .btn-premium.secondary { background: rgba(255, 255, 255, 0.8); color: var(--color-dark); border-color: #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); backdrop-filter: blur(8px); }
  .btn-premium.secondary:hover { background: var(--color-light-gray); transform: translateY(-3px); border-color: #cbd5e1; }
  .btn-premium.btn-line { background: #00B900; color: white; box-shadow: 0 10px 30px -10px rgba(0, 185, 0, 0.4); }
  .btn-premium.btn-line:hover { background: #009900; transform: translateY(-3px); }
  
  /* --- Hero Section & Apple Style (อัปเดตใหม่ รูปซ้าย ข้อความขวา) --- */
    .hero-apple-style {
        background:
            radial-gradient(circle at 18% 22%, rgba(88, 28, 135, 0.14) 0%, transparent 20%),
            radial-gradient(circle at 80% 16%, rgba(99, 102, 241, 0.12) 0%, transparent 18%),
            linear-gradient(180deg, #100d18 0%, #090611 52%, #05030a 100%);
        color: #f8fafc;
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        padding: 150px 20px 96px;
        overflow: hidden;
        position: relative;
        isolation: isolate;
    }
    .hero-apple-style::before,
    .hero-apple-style::after {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 0;
    }
    .hero-apple-style::before {
        inset: -12% -8%;
        background:
            linear-gradient(-17deg,
                transparent 0%,
                transparent 8%,
                rgba(255, 255, 255, 0.02) 8.2%,
                rgba(255, 255, 255, 0.02) 12%,
                transparent 12.2%,
                transparent 19%,
                rgba(139, 92, 246, 0.05) 19.2%,
                rgba(139, 92, 246, 0.05) 25%,
                transparent 25.2%,
                transparent 34%,
                rgba(255, 255, 255, 0.018) 34.2%,
                rgba(255, 255, 255, 0.018) 38.5%,
                transparent 38.7%,
                transparent 48%,
                rgba(255, 255, 255, 0.024) 48.2%,
                rgba(255, 255, 255, 0.024) 56%,
                transparent 56.2%,
                transparent 68%,
                rgba(129, 140, 248, 0.045) 68.2%,
                rgba(129, 140, 248, 0.045) 76%,
                transparent 76.2%,
                transparent 100%);
        opacity: 0.9;
        transform: scale(1.08);
    }
    .hero-apple-style::after {
        inset: -10%;
        background:
            radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.07) 0%, transparent 16%),
            linear-gradient(-17deg,
                transparent 0%,
                transparent 14%,
                rgba(255, 255, 255, 0.05) 14.3%,
                rgba(255, 255, 255, 0.01) 18%,
                transparent 18.2%,
                transparent 43%,
                rgba(255, 255, 255, 0.045) 43.3%,
                rgba(255, 255, 255, 0.01) 50%,
                transparent 50.2%,
                transparent 71%,
                rgba(255, 255, 255, 0.035) 71.3%,
                rgba(255, 255, 255, 0.008) 79%,
                transparent 79.2%,
                transparent 100%);
        mix-blend-mode: screen;
        opacity: 0.78;
        animation: heroPanelsDrift 18s ease-in-out infinite alternate;
    }
  
  /* โครงสร้าง Flexbox สำหรับแบ่ง 2 คอลัมน์ */
    .hero-content-split { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; gap: 60px; position: relative; z-index: 1; }
  
  /* คอลัมน์รูปภาพ (ซ้าย) */
    .hero-image-col { flex: 1; width: 100%; display: flex; justify-content: center; position: relative; }
    .hero-image-col::before,
    .hero-image-col::after {
        content: "";
        position: absolute;
        inset: auto;
        border-radius: 50%;
        pointer-events: none;
    }
    .hero-image-col::before {
        width: min(38vw, 540px);
        height: min(38vw, 540px);
        top: 50%;
        left: 50%;
        background: radial-gradient(circle, rgba(79, 70, 229, 0.24) 0%, rgba(37, 99, 235, 0.14) 32%, rgba(15, 23, 42, 0.02) 62%, transparent 78%);
        filter: blur(10px);
        animation: haloPulse 8s ease-in-out infinite;
    }
    .hero-image-col::after {
        width: min(44vw, 640px);
        height: min(16vw, 220px);
        bottom: 0;
        left: 50%;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.14) 42%, transparent 72%);
        filter: blur(26px);
        transform: translateX(-50%);
        z-index: 0;
    }
    .main-showcase-img { width: 100%; max-width: 650px; height: auto; display: block; z-index: 2; position: relative; object-fit: contain; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.5)); animation: floatShowcase 7.5s ease-in-out infinite; }
  
  /* คอลัมน์ข้อความ (ขวา) */
    .hero-text-col { flex: 1; text-align: left; display: flex; flex-direction: column; align-items: flex-start; position: relative; }
  
    .hero-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: #7dd3fc; margin-bottom: 16px; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; background: rgba(9, 14, 26, 0.56); border: 1px solid rgba(125, 211, 252, 0.2); box-shadow: 0 18px 34px -24px rgba(14, 165, 233, 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .hero-title { font-size: clamp(32px, 3.5vw, 52px); font-weight: 800; color: #f8fafc; line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.03em; text-wrap: balance; }
    .hero-subtitle { font-size: 1.15rem; font-weight: 400; color: rgba(226, 232, 240, 0.78); margin: 0 0 32px; line-height: 1.7; max-width: 650px; letter-spacing: 0.008em; }
  
    .btn-apple-primary { background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%); color: #ffffff; font-size: 16px; font-weight: 700; padding: 10px 24px; border-radius: 980px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 20px 38px -18px rgba(37, 99, 235, 0.7); }
    .btn-apple-primary:hover { background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%); transform: translateY(-2px) scale(1.01); }
    .btn-apple-secondary { color: #e2e8f0; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: rgba(15, 23, 42, 0.42); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .btn-apple-secondary:hover { color: #ffffff; text-decoration: none; transform: translateY(-2px); background: rgba(30, 41, 59, 0.72); }
  .btn-apple-secondary .chevron { font-size: 14px; font-weight: 600; margin-left: 4px; }
  
  .hero-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 36px; }
    .spec-item { font-size: 14px; font-weight: 600; color: #f8fafc; background: rgba(15, 23, 42, 0.42); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  
  /* --- Typography Flow --- */
  .typography-flow { 
      width: 100%; 
      text-align: center; 
      padding: 20px 0; 
      line-height: 2.2; 
      /* Gradient Fade ด้านข้างซ้าย-ขวา ให้เนียนไปกับพื้นหลังสีเทา (#fbfbfd) */
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); 
      mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); 
  }
  .typography-flow .item { display: inline-block; margin: 5px 15px; white-space: nowrap; }
  .typography-flow .desc { font-size: 0.65em; font-weight: 400; letter-spacing: 0.5px; }
  .typography-flow .text-black { color: #111111; font-weight: 800; }
  .typography-flow .text-gray { color: #b3b3b3; font-weight: 500; }
  .typography-flow .size-m { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
  .typography-flow .size-l { font-size: clamp(1.4rem, 2vw, 1.7rem); }
  .typography-flow .size-xl { font-size: clamp(1.8rem, 2.5vw, 2.2rem); }
  
  /* --- Pricing Premium Dark --- */
    .pricing-premium-dark { background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 24%), radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.12), transparent 26%), linear-gradient(180deg, #04101f 0%, #030712 100%); color: #f5f5f7; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; padding: 100px 20px; line-height: 1.5; position: relative; overflow: hidden; }
  .pricing-premium-dark * { box-sizing: border-box; margin: 0; padding: 0; }
  .pricing-premium-dark .container { max-width: 1200px; margin: 0 auto; }
  .pricing-premium-dark .text-center { text-align: center; }
  .pricing-premium-dark .w-100 { width: 100%; }
  .pricing-premium-dark .section-desc { font-size: 20px; color: #86868b; max-width: 600px; margin: 0 auto 70px auto; font-weight: 400; }
  .pricing-premium-dark .pricing-flex { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: stretch; }
  .pricing-premium-dark .pricing-card { background-color: #161617; border: 1px solid #333336; border-radius: 24px; padding: 40px; width: 100%; max-width: 360px; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease; }
  .pricing-premium-dark .pricing-card:hover { transform: scale(1.02); background-color: #1d1d1f; border-color: #444446; }
  .pricing-premium-dark .pricing-card h4 { font-size: 18px; font-weight: 600; color: #ffffff; margin-bottom: 8px; letter-spacing: -0.01em; }
  .pricing-premium-dark .pricing-target { font-size: 14px; color: #86868b; margin-bottom: 24px; min-height: 42px; }
  .pricing-premium-dark .price { font-size: 40px; font-weight: 700; color: #ffffff; margin-bottom: 32px; display: flex; align-items: flex-start; letter-spacing: -0.02em; }
  .pricing-premium-dark .price .currency { font-size: 24px; font-weight: 500; color: #86868b; margin-top: 12px; margin-right: 6px; }
  .pricing-premium-dark .popular-tag { display: inline-block; background-color: #2c2c2e; color: #f5f5f7; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 20px; align-self: flex-start; border: 1px solid #444446; letter-spacing: 0.02em; }
  .pricing-premium-dark .features-list { list-style: none; margin-bottom: 40px; flex-grow: 1; }
  .pricing-premium-dark .features-list li { font-size: 15px; color: #d2d2d7; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 14px; line-height: 1.4; border-bottom: 1px solid #222224; padding-bottom: 5px; }
  .pricing-premium-dark .features-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 5px; }
  .pricing-premium-dark .features-list i { color: #ffffff; font-size: 14px; margin-top: 3px; opacity: 0.9; }
  .pricing-premium-dark .features-list .muted { color: #86868b; }
  .pricing-premium-dark .features-list .muted i { color: #86868b; opacity: 0.5; }
  .pricing-premium-dark .btn-premium { display: flex; text-align: center; border-radius: 980px; padding: 6px 24px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; margin-top: auto; }
  .pricing-premium-dark .btn-primary { background-color: #ffffff; color: #000000; }
  .pricing-premium-dark .btn-primary:hover { background-color: #e8e8ed; }
  .pricing-premium-dark .btn-secondary { background-color: #2c2c2e; color: #ffffff; }
  .pricing-premium-dark .btn-secondary:hover { background-color: #3a3a3c; }
  
  /* --- Portfolio Horizontal Scroll (ดีไซน์ใหม่แทนที่ Bento Grid) --- */
  .portfolio-horizontal-section { 
      padding: 70px 0; 
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(244, 248, 252, 0.95) 100%); 
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
      position: relative;
      overflow: hidden;
  }
  .portfolio-horizontal-section::before {
      content: "";
      position: absolute;
      top: -140px;
      right: -80px;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(125, 211, 252, 0.22) 0%, transparent 70%);
      filter: blur(8px);
      pointer-events: none;
  }
  .carousel-container { 
      max-width: 1400px; 
      margin: 0 auto; 
      padding: 0 20px; 
      overflow: hidden; /* ซ่อนสิ่งที่เกินจาก max-width */
  }
  .carousel-track {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 20px; /* เว้นที่ว่างให้เงาด้านล่าง */
      cursor: grab; /* ไอคอนเมาส์เป็นรูปมือจับ */
      scrollbar-width: none; /* ซ่อน scrollbar ใน Firefox */
      -ms-overflow-style: none; /* ซ่อน scrollbar ใน IE and Edge */
      transition: cursor 0.3s ease;
  }
  .carousel-track::-webkit-scrollbar {
      display: none; /* ซ่อน scrollbar ใน Chrome, Safari, Opera */
  }
  .carousel-track.active {
      cursor: grabbing; /* ไอคอนกำมือเมื่อกำลังลาก */
  }
  .carousel-item {
      flex: 0 0 auto;
      width: 450px; /* ขนาดความกว้างของรูปภาพแต่ละกล่อง */
      aspect-ratio: 4/3; /* อัตราส่วนแนวนอน */
      position: relative;
      border-radius: 12px;
      background-color: #f5f5f7;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.03);
      border: 1px solid rgba(0,0,0,0.06);
      transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
      cursor: pointer;
  }
  .carousel-item:hover { 
      transform: translateY(-4px); 
      box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
      z-index: 2; 
  }
  .carousel-item img { 
      display: block; 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      object-position: top center; 
      transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
      
      /* ป้องกันเบราว์เซอร์ลากตัวภาพหลุดติดเมาส์มา (Ghost Drag) */
      pointer-events: none; 
      user-select: none;
      -webkit-user-drag: none;
  }
  .carousel-item:hover img { 
      transform: scale(1.05); 
  }
  .card-overlay { 
      position: absolute; 
      inset: 0; 
      background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%); 
      display: flex; 
      align-items: flex-end; 
      justify-content: center; 
      padding-bottom: 24px; 
      opacity: 1; 
      transition: opacity 0.4s ease; 
      pointer-events: none; /* ป้องกันไม่ให้ overlay บังการ drag */
  }
  .carousel-item:hover .card-overlay { opacity: 1; }
  .view-text { 
      color: #ffffff; 
      font-size: 1rem; 
      font-weight: 600; 
      letter-spacing: 0.5px; 
      background: rgba(255, 255, 255, 0.2); 
      backdrop-filter: blur(8px); 
      -webkit-backdrop-filter: blur(8px); 
      padding: 8px 20px; 
      border-radius: 50px; 
      transform: translateY(10px); 
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); 
  }
  .carousel-item:hover .view-text { transform: translateY(0); }
  
  /* --- Apple Lightbox --- */
  .apple-lightbox { position: fixed; inset: 0; z-index: 9999; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .apple-lightbox.active { opacity: 1; pointer-events: auto; }
  .apple-lightbox img { max-width: 90%; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); object-fit: contain; }
  .apple-lightbox.active img { transform: scale(1); }
  .close-lightbox { position: absolute; top: 25px; right: 40px; color: #ffffff; font-size: 40px; font-weight: 300; cursor: pointer; transition: transform 0.3s ease; }
  .close-lightbox:hover { transform: scale(1.1); }
  
  /* --- Minimal CTA --- */
    .minimal-cta { background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 24%), linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(240, 246, 252, 0.98) 100%); padding: 72px 20px; text-align: center; position: relative; overflow: hidden; }
    .minimal-cta::after {
        content: "";
        position: absolute;
        inset: auto -120px -120px auto;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--glow-amber) 0%, transparent 70%);
        filter: blur(12px);
        pointer-events: none;
    }
    .minimal-cta h2 { font-size: 28px; color: #000; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
    .minimal-cta p { font-size: 17px; color: #64748b; margin-bottom: 25px; }
  .minimal-cta .cta-links { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
  .minimal-cta a { font-size: 17px; color: #0066cc; text-decoration: none; }
  .minimal-cta a:hover { text-decoration: underline; }
  
  /* --- General Components --- */
  .hero-premium { position: relative; padding: 60px 0 80px; overflow: hidden; background-color: var(--color-light-gray); text-align: center; }
  .hero-text-central { max-width: 850px; margin-bottom: 60px; }
  .hero-text-central .badge-modern { margin-bottom: 24px; }
  .hero-text-central .hero-title { font-size: 3.8rem; line-height: 1.2; margin-bottom: 20px; margin-top: 1rem; }
  .hero-text-central .hero-subtitle { font-size: 1.15rem; margin-bottom: 40px; max-width: 750px; margin-left: auto; margin-right: auto; }
  .hero-text-central .cta-group { justify-content: center; }
  .hero-image-central { position: relative; width: 100%; max-width: 900px; margin-bottom: 60px; }
  .showcase-wrapper { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
  .hero-image-central .floating-badge { position: absolute; padding: 12px 20px; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); z-index: 3; }
  .badge-seo { top: 5%; right: -8%; }
  .badge-speed { bottom: 10%; left: -8%; }
  .hero-trust-metrics.central { justify-content: center; margin-top: 0; gap: 30px; padding-top: 0; border-top: none; width: 100%; max-width: 900px; display: flex; flex-wrap: wrap; }
  .hero-trust-metrics.central .metric { font-size: 1rem; }
  .mesh-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
  .hero-content { position: relative; z-index: 2; display: flex; justify-content: center; }
  .glass-card { background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--radius-xl); padding: 70px 50px; max-width: 900px; box-shadow: var(--shadow-soft); }
  .badge-modern { display: inline-block; padding: 6px 18px; background: rgba(79, 70, 229, 0.1); color: var(--color-indigo); border-radius: 30px; font-size: 0.95rem; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(79, 70, 229, 0.2); }
    .text-gradient-primary { background: linear-gradient(135deg, var(--color-indigo), var(--color-cyan)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-trust-metrics { display: flex; justify-content: center; gap: 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.06); }
  .metric { font-size: 0.95rem; font-weight: 500; color: var(--color-dark); display: flex; align-items: center; gap: 8px; }
  .metric i { color: var(--color-cyan); }
  
  /* Sections from original */
  .why-us-bento { padding: 100px 0; background-color: var(--color-light-gray); }
  .bento-item { background: var(--color-surface); border-radius: var(--radius-lg); padding: 40px 30px; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); display: flex; flex-direction: column; }
  .bento-item:hover { transform: translateY(-5px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); }
  .bento-icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1)); color: var(--color-indigo); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px; }
  .bento-content h3 { font-size: 1.35rem; font-weight: 700; color: var(--color-dark); margin-bottom: 12px; line-height: 1.4; }
  .bento-content p { font-size: 1rem; color: var(--color-gray); margin: 0; }
  .pricing-premium { padding: 100px 0; background-color: var(--color-light-gray); }
  .pricing-flex { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: stretch; }
  .pricing-card { flex: 1; min-width: 300px; max-width: 380px; background: var(--color-surface); border-radius: var(--radius-xl); padding: 40px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-soft); position: relative; transition: var(--transition); display: flex; flex-direction: column; }
  .pricing-card.popular { border: 2px solid var(--color-indigo); transform: translateY(-10px); box-shadow: var(--shadow-glow); z-index: 2; }
  .popular-tag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--color-indigo), var(--color-cyan)); color: white; padding: 6px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); }
  .pricing-card h4 { font-size: 1.4rem; font-weight: 700; color: var(--color-dark); margin-bottom: 5px; }
  .pricing-target { font-size: 0.95rem; color: var(--color-gray); margin-bottom: 24px; }
  .price { font-size: 3.5rem; font-weight: 800; color: var(--color-dark); margin-bottom: 30px; line-height: 1; }
  .price .currency { font-size: 1.5rem; vertical-align: top; margin-right: 4px; color: var(--color-gray); }
  .features-list { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
  .features-list li { margin-bottom: 16px; font-size: 1rem; display: flex; align-items: flex-start; gap: 12px; }
  .text-indigo { color: var(--color-indigo); }
  .text-cyan { color: var(--color-cyan); }
  .features-list li.muted { color: #94a3b8; }
  .features-list li.muted i { color: #cbd5e1; }
  .final-cta-premium { padding: 120px 0; background: var(--color-dark); position: relative; overflow: hidden; color: white; }
  .cta-bg-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); z-index: 0; }
  .apple-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
  .final-cta-premium h2 { font-size: 2.75rem; font-weight: 800; margin-bottom: 16px; }
  .apple-section-title { font-size: 2rem; font-weight: 600; color: #1d1d1f; margin-bottom: 30px; }
  .apple-section-title span { color: #86868b !important; font-weight: 400; }
  .final-cta-premium p { font-size: 1.25rem; color: #94a3b8; }
  
    .website-categories { background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 251, 255, 0.98) 36%, rgba(245, 249, 253, 1) 100%); padding: 100px 0 120px 0; border-top: 1px solid rgba(0, 0, 0, 0.03); overflow: hidden; position: relative; }
    .website-categories::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
        background-size: 64px 64px;
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 40%, transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 40%, transparent 100%);
        pointer-events: none;
    }
  .section-header-centered { text-align: center; max-width: 800px; margin: 0 auto 60px auto; padding: 0 20px; }
  .section-header-centered .apple-section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: #1d1d1f; margin-bottom: 16px; letter-spacing: -0.015em; }
  .section-header-centered .section-desc { font-size: clamp(16px, 2vw, 18px); color: #86868b; line-height: 1.6; }
  .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
  .category-card { background: var(--color-light-gray); border: 1px solid rgba(0,0,0,0.03); border-radius: var(--radius-lg); padding: 40px 30px; text-align: center; transition: var(--transition); box-shadow: 0 10px 30px -15px rgba(0,0,0,0.02); }
  .category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: rgba(79, 70, 229, 0.2); }
  .cat-icon { width: 72px; height: 72px; margin: 0 auto 24px; background: white; color: var(--color-indigo); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15); transition: var(--transition); }
  .category-card:hover .cat-icon { background: linear-gradient(135deg, var(--color-indigo), var(--color-cyan)); color: white; transform: scale(1.1); box-shadow: var(--shadow-glow); }
  .category-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-dark); margin-bottom: 16px; line-height: 1.4; }
  .category-card h3 small { font-size: 0.95rem; font-weight: 500; color: var(--color-cyan); display: block; margin-top: 4px; }
  .category-card p { font-size: 0.95rem; color: var(--color-gray); margin: 0; line-height: 1.6; }
  
  /* --- Responsive Adjustments --- */
  .max_wid{
        max-width: 1400px;
        margin: 0 auto;
        padding: 30px 0 10px 0;
    }
    .max_wid p{
        text-align: justify;
        background: rgba(255, 255, 255, 0.56);
        border: 1px solid rgba(148, 163, 184, 0.14);
        padding: 32px;
        box-shadow: 0 24px 50px -35px rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    @keyframes ambientDrift {
        0% { transform: translate3d(0, 0, 0) scale(1); }
        100% { transform: translate3d(3vw, 2vh, 0) scale(1.08); }
    }

      @keyframes heroGlowShift {
          0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.4; }
          100% { transform: translate3d(2vw, 1vh, 0) scale(1.04); opacity: 0.62; }
    }

      @keyframes heroBeam {
          0% { transform: translate3d(-10%, 0, 0) rotate(-12deg); opacity: 0.18; }
          50% { transform: translate3d(0, -1%, 0) rotate(-12deg); opacity: 0.42; }
          100% { transform: translate3d(10%, -2%, 0) rotate(-12deg); opacity: 0.22; }
      }

      @keyframes heroPanelsDrift {
          0% { transform: translate3d(0, 0, 0) scale(1); }
          100% { transform: translate3d(-1.5%, 1%, 0) scale(1.02); }
    }

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

    @keyframes haloPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(0.98); opacity: 0.82; }
        50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
        body::before,
        body::after,
        .hero-apple-style::before,
        .hero-apple-style::after,
        .hero-image-col::before,
        .main-showcase-img {
            animation: none !important;
        }
    }
  /* สำหรับ Tablet (หน้าจอขนาดกลาง) */
  @media (max-width: 992px) {
    .hero-content-split { gap: 40px; }
    .hero-title { font-size: 40px; }
          .hero-apple-style::after { inset: -8%; }
    
    .hero-premium { padding: 100px 0 60px; }
    .hero-text-central .hero-title { font-size: 3rem; }
    .hero-text-central .hero-subtitle { font-size: 1.05rem; }
    .badge-seo { right: 0; top: 10%; }
    .badge-speed { left: 0; bottom: 15%; }
    .glass-card { padding: 50px 30px; }
    .pricing-card.popular { transform: none; }
    .carousel-item { width: 350px; } /* ปรับขนาดกล่องลงสำหรับแท็บเล็ต */
  }
  
  /* สำหรับ Mobile (หน้าจอขนาดเล็ก) */
  @media (max-width: 768px) {
    .hero-apple-style { padding: 80px 16px 60px; }
          .hero-apple-style::before { inset: -18% -32%; }
          .hero-apple-style::after { inset: -14% -28%; opacity: 0.58; }
    .hero-content-split { flex-direction: column; text-align: center; gap: 32px; }
    
    .hero-text-col { align-items: center; text-align: center; }
    .hero-eyebrow { font-size: 12px; margin-bottom: 12px; line-height: 1.5; }
    .hero-title { font-size: 32px !important; line-height: 1.25; margin-bottom: 16px; text-align: center; }
    .hero-subtitle { font-size: 15px !important; margin-bottom: 32px; line-height: 1.5; padding: 0 10px; text-align: center; }
    
    .hero-specs { justify-content: center; width: 100%; gap: 10px; }
    .spec-item { flex: 0 0 calc(50% - 10px); text-align: center; font-size: 13px; justify-content: center; }
    
    .cta-group { justify-content: center; width: 100%; flex-direction: column; gap: 12px; }
    .btn-apple-primary, .btn-apple-secondary { width: 100%; max-width: 320px; text-align: center; justify-content: center; padding: 14px 24px; margin: 0 auto; }
    .btn-apple-secondary { background-color: #f5f5f7; border-radius: 980px; text-decoration: none !important; }
    .btn-apple-secondary {
        background: #fff;
        color: #000;
    }
    .btn-apple-primary{background: linear-gradient(135deg, #303263 0%, #103993 100%);}
    .main-showcase-img { width: 100%; max-width: 400px; margin: 0 auto; }
    .section-header-centered { margin-bottom: 40px; }
    
    .typography-flow { line-height: 2; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); }
    .typography-flow .item { margin: 5px 10px; }
    
    .pricing-premium-dark { padding: 60px 15px; }
    .pricing-premium-dark .section-title { font-size: 36px; }
    .pricing-premium-dark .section-desc { font-size: 17px; }
    .pricing-premium-dark .pricing-card { max-width: 100%; padding: 30px; }
    
    /* ปรับขนาด Carousel Item สำหรับมือถือ */
    .portfolio-horizontal-section { padding: 50px 0; }
    .carousel-item { width: 280px; }
    .card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%); padding-bottom: 16px; }
    .view-text { transform: translateY(0); font-size: 13px; padding: 6px 16px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; }
    
    .hero-text-central .cta-group { flex-direction: column; width: 100%; gap: 15px; margin-bottom: 0; padding: 0; }
    .btn-premium { width: 100%; }
    
    .hero-trust-metrics.central { flex-direction: column; align-items: center; gap: 15px; }
    .badge-seo, .badge-speed { transform: scale(0.85); }
    .hero-premium { padding: 10px 0 60px; }
    .section-title { font-size: 2.25rem; }
    .hero-trust-metrics { flex-direction: column; gap: 15px; align-items: center; }
    .website-categories { padding: 70px 0 80px 0; }
    .max_wid{
      padding: 50px 30px 0 30px;
    }
        .max_wid p {
            padding: 24px;
            border-radius: 22px;
        }
  }
  
  @media (max-width: 480px) {
    .main-showcase-img { width: 95%; }
        .hero-image-col::before {
            width: 88vw;
            height: 88vw;
        }
  }