/* DAEGES Cloud — landing page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg: #06090d;
  --text: #eef2f6;
  --text-2: #aab5c3;
  --muted: #6c7888;
  --line: rgba(255, 255, 255, .09);
  --accent: #ff5a00;
  --accent-2: #ff9a4a;
  --blue: #4aa3ff;
  --glass: rgba(12, 17, 24, .62);
  --font: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
#scene-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.scene-label { position: absolute; left: 0; top: 0; transition: opacity .4s; will-change: transform; }
.scene-label i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 0, .25), 0 0 18px var(--accent); }
.scene-label span { position: absolute; left: 14px; top: -30px; white-space: nowrap; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #dfe6ee; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 9, 13, .6); backdrop-filter: blur(6px); border-radius: 4px; }
.scene-label span::before { content: ''; position: absolute; left: -10px; bottom: -14px; width: 14px; height: 1px; background: rgba(255,255,255,.35); transform: rotate(-55deg); transform-origin: right; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(6, 9, 13, .55) 85%), linear-gradient(180deg, rgba(6, 9, 13, .55) 0, transparent 18%, transparent 75%, rgba(6, 9, 13, .7) 100%); }
main, .footer { position: relative; z-index: 2; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 76px; display: flex; align-items: center; gap: 28px; padding: 0 32px; transition: background .3s, border-color .3s, height .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 9, 13, .78); backdrop-filter: blur(14px); border-color: var(--line); height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.logo-daeges { height: 28px; display: block; }
.logo-3dgr { height: 30px; display: block; }
.nav-x { width: 1px; height: 26px; background: rgba(255, 255, 255, .2); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.m-only { display: none; }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 18px; height: 2px; background: #fff; border-radius: 1px; }
@media (max-width: 1180px) and (min-width: 961px) { .nav { padding: 0 22px; gap: 18px; } .nav-links { gap: 18px; } .nav-brand { gap: 12px; } .logo-daeges { height: 24px; } .logo-3dgr { height: 26px; } }
@media (max-width: 960px) {
  .nav { padding: 0 18px; gap: 12px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #06090d; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0,0,0,.6); padding: 8px 18px 16px; }
  .nav-links .m-only { display: block; color: var(--accent-2); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav-cta { margin-left: auto; }
  #nav-login { display: none; }
}
@media (max-width: 560px) { .logo-3dgr { height: 22px; } .logo-daeges { height: 20px; } .nav-brand { gap: 10px; } #nav-portal { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 10px; font: 600 14px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px rgba(255, 90, 0, .35); }
.btn.primary:hover { background: #ff6c1c; transform: translateY(-1px); box-shadow: 0 12px 36px rgba(255, 90, 0, .45); }
.btn.ghost { color: var(--text-2); }
.btn.ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn.outline { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn.outline:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); }
.btn.lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 12px; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); padding: 7px 14px; border: 1px solid rgba(255, 138, 61, .3); border-radius: 999px; background: rgba(255, 90, 0, .07); backdrop-filter: blur(6px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(42px, 7.2vw, 96px); line-height: 1; font-weight: 800; margin: 26px 0 24px; letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.grad { background: linear-gradient(92deg, #ff5a00 0%, #ff9a4a 45%, #ffd7b0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: #c5ced9; max-width: 640px; margin: 0 0 34px; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.lead.sm { font-size: 16.5px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 56px 0 0; display: flex; gap: 38px; flex-wrap: wrap; }
.hero-facts li { display: flex; gap: 12px; align-items: center; padding-left: 14px; border-left: 2px solid var(--accent); }
.hero-facts b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.hero-facts span { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* scroll story */
.chapter { min-height: 100vh; display: flex; align-items: center; padding: 80px 0; }
.chapter.right .wrap { display: flex; justify-content: flex-end; }
.glass { max-width: 470px; padding: 34px 34px 30px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.chapter.in .glass { opacity: 1; transform: none; }
.glass .num { font: 500 13px var(--mono); color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.glass .num::after { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--accent); vertical-align: middle; margin-left: 12px; opacity: .6; }
.glass h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; font-weight: 750; }
.glass p { color: #c3ccd7; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: #dfe6ee; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 90, 0, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.ticks.two { grid-template-columns: 1fr 1fr; margin: 4px 0 30px; }
@media (max-width: 640px) { .ticks.two { grid-template-columns: 1fr; } .glass { padding: 26px 22px; } .chapter { min-height: 90vh; } }

/* blocks */
.block { padding: 120px 0; background: linear-gradient(180deg, rgba(6, 9, 13, 0) 0, rgba(6, 9, 13, .82) 120px, rgba(6, 9, 13, .9)); backdrop-filter: blur(2px); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 780; margin: 20px 0 14px; line-height: 1.08; }
.viewer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px) { .viewer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .viewer-grid { grid-template-columns: 1fr; } }
.vcard { position: relative; padding: 28px 24px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--line); transition: transform .3s, border-color .3s, background .3s; overflow: hidden; }
.vcard::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; background: radial-gradient(circle, rgba(255, 90, 0, .25), transparent 70%); opacity: 0; transition: opacity .4s; }
.vcard:hover { transform: translateY(-4px); border-color: rgba(255, 138, 61, .45); }
.vcard:hover::after { opacity: 1; }
.vicon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 90, 0, .12); border: 1px solid rgba(255, 90, 0, .3); margin-bottom: 20px; }
.vicon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vcard h3 { font-size: 19px; margin-bottom: 8px; }
.vcard p { color: var(--text-2); font-size: 14.5px; margin: 0 0 18px; }
.vtag { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255, 90, 0, .1)); }
.steps li { padding-right: 26px; position: relative; }
.steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0b1017; border: 1px solid rgba(255, 90, 0, .55); font: 600 16px var(--mono); color: var(--accent-2); margin-bottom: 22px; position: relative; box-shadow: 0 0 0 6px var(--bg); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--text-2); font-size: 14.5px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.portal-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 26px; background: radial-gradient(ellipse at 0% 0%, rgba(255, 90, 0, .16), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.portal-card h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 780; margin: 20px 0 14px; line-height: 1.1; }
@media (max-width: 960px) { .portal-card { grid-template-columns: 1fr; padding: 34px 24px; gap: 36px; } }
.portal-mock { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #0b1017; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
@media (max-width: 960px) { .portal-mock { transform: none; } }
.pm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #121922; border-bottom: 1px solid var(--line); }
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3846; }
.pm-bar span { margin-left: 10px; font: 500 11px var(--mono); color: var(--muted); }
.pm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.pm-card { border-radius: 10px; background: #121922; border: 1px solid var(--line); padding: 10px; }
.pm-card b { display: block; font-size: 12.5px; margin-top: 9px; }
.pm-card small { color: #2fbf71; font-size: 11px; }
.pm-card small.proc { color: #f2b33d; }
.pm-card:nth-child(3) { grid-column: span 2; }
.pm-thumb { height: 92px; border-radius: 7px; background-size: cover; }
.pm-thumb.t1 { background: radial-gradient(circle at 30% 60%, #ff8a3d55, transparent 40%), linear-gradient(135deg, #1b3a4f, #2d6a5a 50%, #c9a44a); }
.pm-thumb.t2 { background: radial-gradient(circle at 70% 40%, #4aa3ff55, transparent 40%), linear-gradient(135deg, #2a2f3a, #545e6e 60%, #9aa5b4); }
.pm-thumb.t3 { height: 56px; background: repeating-linear-gradient(90deg, #0d3b66 0 3px, #ff5a0033 3px 6px), linear-gradient(#0f1a26, #0b1017); }

.footer { padding: 70px 0 34px; background: #05070a; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.foot-brand .logo-daeges { height: 32px; } .foot-brand .logo-3dgr { height: 38px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 30px; margin-bottom: 46px; }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.foot-cols a { display: block; color: var(--text-2); text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.foot-cols a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .glass { transition: none; opacity: 1; transform: none; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 9, 13, .88) 0, rgba(6, 9, 13, .62) 34%, rgba(6, 9, 13, 0) 62%); }
@media (max-width: 1000px) { .hero::before { background: linear-gradient(180deg, rgba(6, 9, 13, .5), rgba(6, 9, 13, .8)); } }
.hero > .wrap { position: relative; }
.hero::before { -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }

/* logo links + language selector */
.nav-brand a, .foot-brand a { display: block; transition: opacity .2s; }
.nav-brand a:hover, .foot-brand a:hover { opacity: .8; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); border-radius: 10px; cursor: pointer; font: 600 13px var(--font); letter-spacing: .04em; }
.lang-btn:hover { background: rgba(255,255,255,.09); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; background: rgba(10, 14, 20, .97); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.5); backdrop-filter: blur(14px); max-height: 75vh; overflow-y: auto; }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--text-2); outline: none; }
.lang-menu li b { font: 500 11px var(--mono); color: var(--muted); width: 20px; }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(255,255,255,.07); color: #fff; }
.lang-menu li[aria-selected="true"] { color: #fff; background: rgba(255, 90, 0, .16); }
.lang-menu li[aria-selected="true"] b { color: var(--accent-2); }
@media (max-width: 560px) { .lang-menu { grid-template-columns: 1fr; position: fixed; right: 16px; left: auto; top: 66px; width: min(240px, calc(100vw - 32px)); } .lang-btn { padding: 0 10px; } }
@media (max-width: 700px) { #scene-labels { display: none; } }
