/*
Theme Name: The Limitless Global
Theme URI: https://www.thelimitless.co.th
Author: The Limitless
Description: Global premium one-page corporate website theme for industrial supply solutions.
Version: 4.0
Text Domain: the-limitless-global
*/

:root {
  --navy: #050816;
  --navy-2: #0b1024;
  --blue: #2563eb;
  --red: #ef233c;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --glass: rgba(255, 255, 255, 0.09);
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: Arial, 'Noto Sans Thai', sans-serif;
  color: var(--text);
  background: #f5f7fb;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }
a { text-decoration: none; color: inherit; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 8px 30px rgba(15,23,42,0.05);
}

.nav-container {
  max-width: 1280px;
  margin: auto;
  padding: 18px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 158px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 34px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 24px;
  color: #0b1024;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.nav-links a {
  position: relative;
  padding: 8px 4px 12px;
  transition: color .25s ease, transform .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: translateX(-50%);
  transition: width .28s ease;
}

.nav-links a:hover { color: var(--red); transform: translateY(-2px); }
.nav-links a:hover::after { width: 100%; }

.hero {
  position: relative;
  min-height: 860px;
  padding: 120px 24px 86px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2,6,23,.92) 0%, rgba(2,6,23,.72) 38%, rgba(2,6,23,.38) 100%),
    linear-gradient(180deg, rgba(2,6,23,.08) 0%, rgba(2,6,23,.88) 100%),
    url('assets/images/earth-bg.png') center/cover no-repeat;
  background-attachment: fixed;
  animation: heroZoom 24s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 34%, rgba(37,99,235,.34), transparent 32%),
    radial-gradient(circle at 74% 45%, rgba(239,35,60,.18), transparent 30%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #020617);
}

@keyframes heroZoom { from { background-size: 100%; } to { background-size: 112%; } }

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  box-shadow: 0 0 36px rgba(37,99,235,.25);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

h1 {
  max-width: 820px;
  font-size: clamp(46px, 6.7vw, 88px);
  line-height: .98;
  letter-spacing: -2.8px;
  margin-bottom: 26px;
  text-shadow: 0 18px 60px rgba(0,0,0,.72), 0 0 30px rgba(96,165,250,.25);
}

h1 span { color: #93c5fd; }

.hero p {
  max-width: 680px;
  font-size: 20px;
  color: #dbeafe;
  margin-bottom: 34px;
}

.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: #fff;
  box-shadow: 0 18px 44px rgba(239,35,60,.32);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(37,99,235,.28); }

.trust-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 780px;
}

.trust-item {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 44px rgba(0,0,0,.18);
}

.trust-item strong { display: block; font-size: 34px; line-height: 1; margin-bottom: 8px; }
.trust-item span { color: #cbd5e1; font-size: 14px; font-weight: 800; }

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(16px);
  box-shadow: 0 38px 90px rgba(0,0,0,.34), 0 0 70px rgba(37,99,235,.18);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 38%);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.18);
}

.hero-card h3 { font-size: 28px; margin-bottom: 18px; }
.hero-list { display: grid; gap: 13px; color: #e0f2fe; }
.hero-list div { padding: 15px 16px; border-radius: 16px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.08); }

section { padding: 96px 24px; }
.container { max-width: 1280px; margin: auto; }

.section-title { text-align: center; max-width: 860px; margin: 0 auto 54px; }
.section-kicker { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 1.8px; font-size: 13px; margin-bottom: 12px; }
.section-title h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; color: #020617; margin-bottom: 16px; letter-spacing: -1.2px; }
.section-title p { color: #475569; font-size: 19px; font-weight: 500; }

.features, .projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.projects { grid-template-columns: repeat(3, 1fr); }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature-card, .product-card, .project-card, .process-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #dbe3ee;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 55px rgba(15,23,42,.10);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-card::after, .product-card::after, .project-card::after, .process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.08), transparent 38%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.feature-card:hover, .product-card:hover, .project-card:hover, .process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 34px 80px rgba(15,23,42,.18);
}

.feature-card:hover::after, .product-card:hover::after, .project-card:hover::after, .process-card:hover::after { opacity: 1; }

.icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #020617, #1d4ed8 68%, #60a5fa);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 22px;
  box-shadow: 0 18px 36px rgba(37,99,235,.32);
}

.feature-card h3, .product-card h3, .project-card h3, .process-card h3 {
  color: #020617;
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.4px;
}

.feature-card p, .product-card p, .project-card p, .process-card p, .product-card li {
  color: #334155;
  font-size: 17px;
  font-weight: 500;
}

.dark-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.24), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(239,35,60,.16), transparent 25%),
    linear-gradient(135deg, #020617 0%, #0b1024 58%, #111827 100%);
  color: white;
}

.dark-section .section-title h2 { color: #fff; }
.dark-section .section-title p { color: #cbd5e1; }

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 22px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.product-card ul { margin-top: 18px; padding-left: 20px; }

.industries { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.industry-pill {
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #020617, #1d4ed8);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 32px rgba(15,23,42,.14);
  font-weight: 900;
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  top: 6px;
  color: rgba(37,99,235,.09);
  font-size: 76px;
  line-height: 1;
  font-weight: 900;
}

.project-card .tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #020617, #1d4ed8);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 12px 26px rgba(37,99,235,.24);
}

.project-card strong { color: #020617; font-weight: 900; }

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 40px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(2,6,23,.90), rgba(29,78,216,.78)),
    url('assets/images/earth-bg.png') center/cover no-repeat;
  box-shadow: 0 36px 100px rgba(15,23,42,.25);
}

.contact::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -150px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.contact h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.06; margin-bottom: 16px; }
.contact p { color: #dbeafe; font-size: 19px; }

.contact-box {
  position: relative;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(14px);
}

.contact-box div { margin-bottom: 14px; color: #f8fafc; font-weight: 600; }

footer { padding: 34px 24px; text-align: center; color: #64748b; background: #fff; border-top: 1px solid #e5e7eb; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-container, .contact { grid-template-columns: 1fr; }
  .features, .projects, .products, .process, .trust-strip { grid-template-columns: 1fr; }
  .nav-links { font-size: 20px; gap: 18px; }
  .logo img { height: 116px; }
  .hero { min-height: auto; background-attachment: scroll; padding-top: 86px; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding: 72px 18px; }
  section { padding: 70px 18px; }
  .contact { padding: 38px 24px; border-radius: 28px; }
  .hero-card { display: none; }
}
