/* ============================================================
   Trend-One Company Limited — Full Restructure
   Modern single-flow corporate site. Plain HTML/CSS/JS.
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-2: #10294d;
  --indigo: #1c4d8f;
  --accent: #ff8a1e;
  --accent-soft: #fff1e3;
  --bg: #eef2f7;
  --card: #ffffff;
  --line: #e3e9f1;
  --text: #22303f;
  --muted: #5c6b7d;
  --radius: 18px;
  --shadow-sm: 0 1px 3px rgba(11,31,58,.08);
  --shadow-md: 0 10px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.16);
}

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

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ Sticky top navigation ============ */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topnav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ffb14d);
  color: #fff; font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,138,30,.4);
}
.brand .t1 { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .5px; line-height: 1.05; }
.brand .t1 em { font-style: normal; color: var(--accent); }
.brand .t2 { display: block; color: #93a9c4; font-size: 10.5px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 500; }
.navlinks { display: flex; gap: 4px; }
.navlinks a {
  color: #c4d3e5; font-size: 13.5px; font-weight: 600; letter-spacing: .4px;
  padding: 9px 16px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.navlinks a:hover { background: rgba(255,255,255,.09); color: #fff; }
.navlinks a.active {
  background: linear-gradient(135deg, var(--accent), #ffab49);
  color: #fff; box-shadow: 0 4px 14px rgba(255,138,30,.35);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255,138,30,.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(28,77,143,.55), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #16386a 100%);
  color: #fff; overflow: hidden;
}
.hero .wrap { padding: 70px 20px 78px; display: flex; align-items: center; gap: 52px; }
.hero .h-text { flex: 1 1 56%; }
.hero .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: #ffc98f; background: rgba(255,138,30,.14);
  border: 1px solid rgba(255,138,30,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: #b9c9dd; font-size: 16.5px; max-width: 560px; margin-bottom: 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .h-img { flex: 1 1 44%; position: relative; }
.hero .h-img::after {
  content: ""; position: absolute; inset: -14px;
  border-radius: 26px; border: 1px solid rgba(255,255,255,.14); pointer-events: none;
}
.hero .h-img img {
  width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.hero .h-img:hover img { transform: scale(1.02); }

/* sub-page hero */
.pagehero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(255,138,30,.22), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #16386a 100%);
  color: #fff;
}
.pagehero .wrap { padding: 46px 20px 50px; }
.pagehero h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.4px; }
.pagehero h1 span { color: var(--accent); }
.pagehero p { color: #b9c9dd; margin-top: 6px; font-size: 15px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; padding: 13px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffab49);
  color: #fff; box-shadow: 0 8px 24px rgba(255,138,30,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,138,30,.5); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-outline {
  color: var(--navy); border: 1.5px solid var(--line); background: #fff;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============ Sections ============ */
.section { padding: 64px 0 8px; }
.section.tight { padding-top: 40px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head .kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy); letter-spacing: -.4px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.section-head.left { text-align: left; margin: 0 0 30px; max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head.left > div { max-width: 620px; }

/* intro strip (Dear customers) */
.intro-strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 34px;
  display: flex; gap: 30px; align-items: center;
}
.intro-strip .big { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; white-space: nowrap; }
.intro-strip p { color: var(--muted); }

/* ============ Value cards (brings you) ============ */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 22px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.value-card .ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 14px;
}
.value-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; }

/* ============ Product showcase ============ */
.showcase-banner {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.showcase-banner img { width: 100%; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.pcard .p-top {
  background: linear-gradient(135deg, #f6f9fc, #eef4fa);
  display: flex; align-items: center; justify-content: center;
  padding: 26px; min-height: 170px;
}
.pcard .p-top img { max-height: 140px; object-fit: contain; }
.pcard .p-body { padding: 20px 24px 24px; }
.pcard .tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 10px;
}
.pcard h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.2px; }
.pcard p { font-size: 13.8px; color: var(--muted); }
.pcard ul { margin: 8px 0 0 18px; font-size: 13.6px; color: var(--muted); }
.pcard.wide { grid-column: 1 / -1; }
.pcard.wide .p-top { min-height: 0; padding: 0; background: none; }
.pcard.wide .p-top img { max-height: none; width: 100%; }

/* ============ Category cards (Products page) ============ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.cat-card .c-head {
  background: linear-gradient(120deg, var(--navy), var(--indigo));
  color: #fff; padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}
.cat-card .c-head .dot {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,30,.3);
}
.cat-card .c-head h3 { font-size: 13.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.cat-card ul { list-style: none; padding: 12px 18px 16px; }
.cat-card ul li {
  padding: 8px 0 8px 20px; position: relative;
  font-size: 14px; color: var(--text);
  border-bottom: 1px dashed var(--line);
}
.cat-card ul li:last-child { border-bottom: 0; }
.cat-card ul li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.cat-card ul li strong { color: var(--navy); }

/* finder chips */
.finder-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.finder-chips span {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 22px; font-size: 13.5px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.finder-chips span:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.finder-chips span::before { content: "▸ "; color: var(--accent); }

/* ============ Best sellers ============ */
.seller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seller-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px;
  display: flex; align-items: center; justify-content: center; min-height: 190px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.seller-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.seller-card img { max-height: 150px; object-fit: contain; }

/* ============ Brand strip & grid ============ */
.brand-strip {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.brand-strip .b-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; min-height: 92px;
  border-right: 1px solid var(--line);
  transition: background .18s ease;
}
.brand-strip .b-cell:last-child { border-right: 0; }
.brand-strip .b-cell:hover { background: #f8fafc; }
.brand-strip img { max-height: 54px; object-fit: contain; }

.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brands-grid a {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; min-height: 104px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.brands-grid a:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.brands-grid img { max-height: 74px; object-fit: contain; }

/* ============ About page ============ */
.about-intro {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 40px 44px;
}
.about-intro h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--navy); letter-spacing: -.4px; margin-bottom: 14px; }
.about-intro p { color: var(--muted); margin-bottom: 10px; }
.about-intro p:last-child { margin-bottom: 0; }
.about-intro .a-img img { border-radius: 14px; box-shadow: var(--shadow-md); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.about-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 28px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #ffd3a1; }
.about-card .a-ic {
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; background: #f6f9fc;
}
.about-card .a-ic img { width: 100%; height: 100%; object-fit: cover; }
.about-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.about-card p { font-size: 14.2px; color: var(--muted); }

/* ============ CTA banner ============ */
.cta-banner {
  margin: 56px 0 0;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(120deg, #0e7a45, #15a05e);
  border-radius: var(--radius);
  padding: 40px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  color: #fff; box-shadow: 0 16px 40px rgba(14,122,69,.32);
}
.cta-banner .t { font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; letter-spacing: -.2px; }
.cta-banner .s { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 4px; }
.cta-banner .btn-light {
  background: #fff; color: #0e7a45; white-space: nowrap;
  padding: 13px 28px; border-radius: 999px; font-weight: 800; font-size: 14.5px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta-banner .btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.22); }

/* ============ Contact page ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 34px 36px;
}
.contact-card h2 { color: var(--navy); font-size: 22px; font-weight: 800; margin-bottom: 16px; letter-spacing: -.3px; }
.contact-card p { font-size: 15.5px; color: var(--text); }
.contact-card .c-line { display: flex; gap: 12px; margin-top: 12px; align-items: baseline; }
.contact-card .c-line .k {
  flex: 0 0 46px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--indigo);
}
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.email-card {
  background: linear-gradient(135deg, #f4f9ff, #eaf2fb);
  border: 1px solid #d5e4f5; border-radius: var(--radius); padding: 24px 28px;
}
.email-card h3 { color: var(--navy); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.email-card a { font-size: 16px; font-weight: 700; }
.email-card a:hover { color: var(--accent); }

/* ============ Privacy page ============ */
.doc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 44px 52px; max-width: 860px; margin: 0 auto;
}
.doc h4 {
  color: var(--navy); margin: 26px 0 8px; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.doc h4::before {
  content: ""; width: 5px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #ffab49);
}
.doc h4:first-of-type { margin-top: 0; }
.doc p { font-size: 14.4px; color: var(--muted); margin-bottom: 10px; }

/* ============ Footer ============ */
#footer {
  margin-top: 70px;
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(255,138,30,.14), transparent 60%),
    linear-gradient(180deg, var(--navy), #081527);
  color: #93a9c4;
}
#footer .wrap { padding: 48px 20px 30px; }
#footer .f-top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  flex-wrap: wrap;
}
#footer .f-links { display: flex; gap: 6px; flex-wrap: wrap; }
#footer .f-links a {
  color: #c4d3e5; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
#footer .f-links a:hover { background: rgba(255,255,255,.09); color: #fff; }
#footer .f-note { font-size: 12.5px; line-height: 1.7; max-width: 900px; }
#footer .f-note a { color: #c9d9ec; }
#footer .f-note a:hover { color: var(--accent); }
#footer .f-copy { margin-top: 16px; font-size: 12px; color: #6d84a0; }

/* ============ Scroll-reveal ============ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .brand-strip .b-cell { border-bottom: 1px solid var(--line); }
  .about-intro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topnav .wrap { height: auto; flex-direction: column; padding: 14px 16px; gap: 10px; }
  .navlinks { flex-wrap: wrap; justify-content: center; }
  .navlinks a { padding: 8px 13px; font-size: 12.5px; }
  .hero .wrap { flex-direction: column; padding: 46px 20px 54px; text-align: center; }
  .hero .cta { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .intro-strip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .seller-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .about-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 32px 26px; }
  .doc { padding: 28px 22px; }
}
