/* ==========================================================================
   CADLINK DTF V12 - Global Stylesheet
   ========================================================================== */

:root {
  --brand: #27B7F5;
  --brand-dark: #1593cf;
  --brand-glow: rgba(39, 183, 245, 0.30);
  --ink: #ffffff;            /* page background (now white) */
  --ink-soft: #f4f6fb;       /* subtle off-white surface */
  --panel: #ffffff;          /* cards */
  --panel-2: #f4f6fb;        /* card gradient end */
  --line: rgba(13, 18, 32, 0.10);
  --text: #0d1220;           /* main text (dark on white) */
  --muted: #5a6680;          /* secondary text */
  --white: #ffffff;
  --green: #17a05a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(13, 18, 32, 0.10);
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 80% -10%, #eaf6fe 0%, #ffffff 55%) fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 92%; max-width: var(--max); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: 0.98rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white); box-shadow: 0 10px 30px var(--brand-glow);
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.brand .logo { display: none; }
.brand small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  color: var(--brand); background: rgba(39, 183, 245, 0.12);
  border: 1px solid rgba(39, 183, 245, 0.3); padding: 7px 14px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.1; margin: 18px 0 16px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta .m strong { display: block; font-size: 1.4rem; }
.hero-meta .m span { color: var(--muted); font-size: .85rem; }
.hero-art {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,25,.55));
}

/* Hero with white background and DTF image on the right (dark text on top) */
.hero--bg {
  position: relative; overflow: hidden;
  padding: 110px 0 96px;
  background-image:
    linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255,255,255,.65) 62%, rgba(255,255,255,0) 100%),
    url("../img/dtf.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right -40px center;
  background-size: cover, clamp(320px, 42vw, 560px);
  background-color: #ffffff;
}
.hero--bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 78% 50%, rgba(39,183,245,.12), transparent 70%);
}
.hero--bg .container { position: relative; z-index: 1; }
.hero--bg .hero-content { max-width: 620px; }
.hero--bg h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.02em; color: #0d1220; }
.hero--bg h1 span { color: var(--brand); }
.hero--bg p.lead { font-size: 1.14rem; color: #3a4457; max-width: 560px; margin-bottom: 28px; }
.hero--bg .hero-meta .m strong { color: #0d1220; }
.hero--bg .hero-meta .m span { color: #5a6680; }
.hero--bg .btn-ghost { color: #0d1220; border-color: rgba(13,18,32,.2); }
.hero--bg .btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
@media (max-width: 760px) {
  .hero--bg { padding: 72px 0 60px; background-position: center, right -90px top 10px; background-size: cover, 300px; }
  .hero--bg::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.72); }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 10px 0 12px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(39,183,245,.35); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(39,183,245,.12); color: var(--brand); font-size: 1.4rem; margin-bottom: 16px;
}
/* Hide icons in the home "features" section only */
#features .card .ico { display: none; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Light (white) section ---------- */
.section--light { background: #ffffff; }
.section--light h2, .section--light h3 { color: #0d1220; }
.section--light p { color: #3a4457; }
.section--light .showcase li { color: #0d1220; }
.section--light .showcase img { border-color: rgba(13,18,32,.12); box-shadow: 0 18px 50px rgba(13,18,32,.12); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.showcase img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 12px; color: var(--text); }
.showcase li::before { content: "\2713"; color: var(--green); font-weight: 900; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-card .price-old { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; font-weight: 600; margin-bottom: 2px; }
.save-badge { display: inline-block; background: rgba(43,213,118,.14); color: var(--green); border: 1px solid rgba(43,213,118,.4); font-weight: 800; font-size: .78rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .04em; }
.price-card {
  background: linear-gradient(180deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
}
.price-card.popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.2rem; }
.price-card .price { font-size: 2.6rem; font-weight: 800; margin: 12px 0 2px; }
.price-card .price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card .note { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; color: var(--text); font-size: .95rem; }
.price-card li::before { content: "\2713"; color: var(--green); font-weight: 900; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Instant delivery strip ---------- */
.strip { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: var(--radius); padding: 40px; text-align: center; color: #fff; }
.strip h2 { font-size: 1.8rem; margin-bottom: 8px; }
.strip p { opacity: .92; margin-bottom: 22px; }
.strip .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: rgba(39,183,245,.14); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ / Accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Legal / content pages ---------- */
.page-hero { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -.02em; }
.page-hero p { color: var(--muted); margin-top: 10px; max-width: 620px; }
.legal { max-width: 860px; margin: 0 auto; padding: 50px 0; }
.legal h2 { margin: 34px 0 12px; font-size: 1.4rem; }
.legal h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal a { color: var(--brand); }
.legal .updated { color: var(--muted); font-size: .9rem; font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.info-card .ico { color: var(--brand); font-size: 1.3rem; }
.info-card h4 { margin: 10px 0 4px; }
.info-card p { color: var(--muted); font-size: .95rem; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .92rem; }
form input, form textarea, form select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--ink-soft); border: 1px solid var(--line); color: var(--text); font: inherit;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--brand); }
form textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.alert { background: rgba(43,213,118,.12); border: 1px solid rgba(43,213,118,.4); color: var(--green); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; display: none; }

/* ---------- Trust bar ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .t { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust .t b { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h5 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: .94rem; transition: color .15s; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--muted); font-size: .94rem; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .showcase, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .pricing, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { order: -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-3, .grid-2, .pricing, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
}

/* ==========================================================================
   Agency-style hero (hero-01 recreation) — themed for CADLINK DTF V12
   ========================================================================== */
.hero-01 {
  position: relative;
  padding: 90px 0 56px;
  text-align: center;
  background:
    radial-gradient(760px 360px at 50% -8%, rgba(39,183,245,.16), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.hero-01 .container { position: relative; z-index: 1; }

/* top pill badge */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--muted); font-size: .86rem; font-weight: 600; margin-bottom: 28px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43,213,118,.18); }
.hero-pill .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .78rem;
  padding: 4px 11px; border-radius: 999px;
}

.hero-01 h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.1rem); line-height: 1.06; letter-spacing: -.025em;
  max-width: 14ch; margin: 0 auto 20px; color: var(--text);
}
.hero-01 h1 span { color: var(--brand); }
.hero-01 .lead { font-size: 1.14rem; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }

.hero-01 .hero-actions { justify-content: center; margin-bottom: 40px; }

/* avatar cluster + rating */
.social-proof { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.avatars { display: flex; }
.avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink); margin-left: -12px; background: var(--panel-2);
}
.avatars img:first-child { margin-left: 0; }
.social-proof .rating { text-align: left; }
.social-proof .stars { color: #ffc531; letter-spacing: 2px; font-size: .95rem; }
.social-proof .rating small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }

/* brand / logo slider */
.brand-slider { background: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.brand-slider .label { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.brand-track-wrap { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brand-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: brand-scroll 26s linear infinite; }
.brand-track .brand-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 1.05rem; white-space: nowrap; opacity: .8; transition: opacity .2s, color .2s; }
.brand-track .brand-item:hover { opacity: 1; color: var(--text); }
.brand-track .brand-item svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.brand-slider:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  .hero-01 { padding: 64px 0 44px; }
  .hero-01 .hero-actions { flex-direction: column; align-items: stretch; }
  .brand-track { gap: 38px; }
}

/* ==========================================================================
   Buy / order modal
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(13, 18, 32, 0.55); backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(13,18,32,.25); padding: 28px;
  animation: modal-in .2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.modal-head h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.modal-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.modal-close:hover { color: var(--text); }
.modal .summary {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; margin: 14px 0 20px;
}
.modal .summary .name { font-weight: 700; }
.modal .summary .name small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.modal .summary .amt { font-size: 1.5rem; font-weight: 800; color: var(--brand); }

/* payment method picker */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pay-opt label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; font-weight: 700; font-size: .95rem; transition: border-color .15s, background .15s;
}
.pay-opt input:checked + label { border-color: var(--brand); background: rgba(39,183,245,.08); }
.pay-opt input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.pay-opt .pm-ico { width: 26px; height: 26px; flex: none; color: var(--brand); }
.pay-opt .pp { color: #0070ba; }

/* order summary card (buy page) */
.order-summary { background: linear-gradient(180deg, var(--panel), var(--ink-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.order-summary h3 { font-size: 1.15rem; margin-bottom: 14px; }
.order-summary .line { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.order-summary .line:last-of-type { border-bottom: 0; }
.order-summary .line strong { color: var(--text); }
.order-summary .total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--line); }
.order-summary .total span { font-weight: 700; }
.order-summary .total .amt { font-size: 1.9rem; font-weight: 800; color: var(--brand); }
.order-summary ul { list-style: none; display: grid; gap: 9px; margin-top: 16px; }
.order-summary li { display: flex; gap: 9px; color: var(--muted); font-size: .9rem; }
.order-summary li::before { content: "\2713"; color: var(--green); font-weight: 900; }

/* remote support option */
.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.check-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); flex: none; margin: 0; cursor: pointer; }
.remote-tool { margin-top: 12px; }
.remote-tool[hidden] { display: none; }

@media (max-width: 480px) {
  .pay-methods { grid-template-columns: 1fr; }
  .modal { padding: 22px; }
}
