/* ============================================================
   DigiVirtual — static studio site (digivirtual.xyz)
   Light, dependency-free, system fonts. 2026-11-12
   ============================================================ */
:root {
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --card: #ffffff;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eef2ff;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, .06), 0 14px 32px rgba(15, 23, 42, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--body); background: #fff; line-height: 1.65; font-size: 16.5px; }
img, svg { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .45); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid #dfe3ff; padding: 6px 14px; border-radius: 999px; }
h1 { color: var(--ink); font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 22px 0 18px; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { color: var(--ink); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.015em; font-weight: 800; margin-bottom: 14px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { font-size: 17.5px; color: var(--muted); }
.lead { font-size: 19px; color: var(--body); max-width: 620px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 15.5px;
  padding: 13px 24px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .32); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(79, 70, 229, .42); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c7d0dd; }
.btn-white { background: #fff; color: var(--accent); box-shadow: 0 10px 24px rgba(2, 6, 23, .25); }
.btn .ic { flex: none; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 800; font-size: 16px; box-shadow: 0 4px 10px rgba(79, 70, 229, .35); }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--body); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.header-cta { white-space: nowrap; padding: 10px 18px; font-size: 14.5px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 72px;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(46rem 26rem at -10% 10%, rgba(79, 70, 229, .10), transparent 60%),
    #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.hero-note .ic { color: #16a34a; }

/* hero visual — floating file cards */
.hero-visual { position: relative; height: 420px; }
.hv-panel { position: absolute; inset: 24px 0 10px 10px; border-radius: 20px;
  background: linear-gradient(160deg, #f6f7ff 0%, #eef1fb 100%); border: 1px solid #e4e8f7;
  background-image: radial-gradient(rgba(79, 70, 229, .14) 1px, transparent 1px);
  background-size: 22px 22px; }
.file-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow-md); padding: 12px 14px 11px; width: 168px;
  animation: floaty 7s ease-in-out infinite alternate; }
.file-card .fc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.fc-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #fff; border-radius: 6px; padding: 3px 8px; }
.fc-tag--psd { background: #31a8ff; } .fc-tag--pdf { background: #ef4444; }
.fc-tag--docx { background: #2b579a; } .fc-tag--xlsx { background: #217346; }
.fc-tag--pptx { background: #d24726; } .fc-tag--ai { background: #8a6ad1; } .fc-tag--img { background: #0ea5e9; }
.fc-line { height: 7px; border-radius: 4px; background: #eef1f6; margin-bottom: 6px; }
.fc-line.short { width: 62%; }
.fc-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 11px; font-weight: 700; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; padding: 2px 9px; }
.fc-pill .ic { width: 11px; height: 11px; }
.fc-badge { position: absolute; top: -13px; right: -13px; width: 30px; height: 30px; border-radius: 999px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(79, 70, 229, .4); }
.fc1 { top: 36px; left: 6px; animation-delay: 0s; }
.fc2 { top: 12px; right: 14px; animation-delay: 1.1s; }
.fc3 { top: 158px; left: 92px; animation-delay: 2.2s; }
.fc4 { top: 208px; right: 52px; animation-delay: .7s; }
.fc5 { bottom: 44px; left: 22px; animation-delay: 1.6s; }
.fc6 { bottom: 22px; right: 104px; animation-delay: 2.8s; }
@keyframes floaty { from { transform: translateY(-5px); } to { transform: translateY(7px); } }

/* ---------- format ticker ---------- */
.ticker-wrap { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 18px 0; }
.ticker { display: flex; width: max-content; animation: tick 36s linear infinite; }
.ticker-set { display: flex; gap: 14px; padding-right: 14px; }
.ticker-set span { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .09em; color: #64748b;
  border: 1px solid #d8dfe9; border-radius: 999px; padding: 5px 14px; background: #fff; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5dcea; }
.card h3 { color: var(--ink); font-size: 16.5px; font-weight: 750; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center; border: 1px solid #dfe3ff; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why-card .icon-tile { flex: none; }
.why-card h3 { color: var(--ink); font-size: 16px; font-weight: 750; margin-bottom: 6px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 999px; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(79, 70, 229, .32); margin-bottom: 16px; }
.step h3 { color: var(--ink); font-size: 17px; font-weight: 750; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 0; color: var(--ink); font-weight: 700; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid #c9d2e0;
  color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--muted); max-width: 640px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--grad); border-radius: 22px; padding: 56px 48px; text-align: center;
  position: relative; overflow: hidden; box-shadow: 0 24px 48px rgba(79, 70, 229, .28); }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(38rem 20rem at 50% -40%, rgba(255, 255, 255, .22), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 520px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- page hero (about/contact) ---------- */
.page-hero { padding: 76px 0 60px; background:
    radial-gradient(48rem 26rem at 90% -20%, rgba(124, 58, 237, .09), transparent 60%),
    radial-gradient(40rem 22rem at 0% 0%, rgba(79, 70, 229, .08), transparent 60%), #fff;
  border-bottom: 1px solid var(--line); }

/* ---------- about ---------- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 18px; font-size: 17px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip-row span { font-size: 13.5px; font-weight: 650; color: var(--body); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.email-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); }
.email-card .big-mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.email-line { font-size: clamp(18px, 2.6vw, 24px); font-weight: 750; color: var(--ink); letter-spacing: -.01em; word-break: break-all; }
.email-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.check-list { list-style: none; margin-top: 6px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list .ic { flex: none; margin-top: 5px; color: #16a34a; }
.side-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.side-card h3 { color: var(--ink); font-size: 15.5px; font-weight: 750; margin-bottom: 10px; }
.side-card p { font-size: 14.5px; color: var(--muted); }
.copy-ok { color: #16a34a; font-weight: 700; font-size: 13.5px; margin-left: 6px; }

/* ---------- footer ---------- */
.site-footer { background: #0b1120; color: #94a3b8; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding: 56px 0 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; line-height: 1.7; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav .footer-head { color: #e2e8f0; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.footer-nav a { color: #94a3b8; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; font-size: 13.5px; color: #64748b; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .file-card, .ticker { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { height: 380px; max-width: 520px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.nav-open::after { content: ""; position: fixed; inset: 68px 0 0 0;
    background: rgba(15, 23, 42, .42); z-index: 55; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 16px;
    box-shadow: var(--shadow-md); z-index: 56; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--soft); font-size: 16px; }
  .main-nav a:last-child { border-bottom: 0; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 42px 24px; }
  .hero { padding: 64px 0 52px; }
}
@media (max-width: 560px) {
  .grid-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .file-card { width: 148px; }
  body { font-size: 16px; }
}
