/* ── PYROMAN — main.css ── */

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

:root {
  --bg:        #0d0e0f;
  --surface:   #131516;
  --surface2:  #191b1d;
  --border:    #242628;
  --muted:     #52565e;
  --dim:       #8c95a0;
  --body:      #c4ccd6;
  --bright:    #edf1f5;
  --accent:    #e05a1a;
  --accent2:   #f07a3a;
  --mono: 'DM Mono', monospace;
  --sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}

/* ── FILMSTRIP ── */
.filmstrip {
  height: 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.fs-inner { display: flex; gap: 18px; padding: 0 12px; }
.fs-hole {
  width: 9px; height: 13px;
  background: var(--bg);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,14,15,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 56px;
}

.logo {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--bright);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 26px; height: 26px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--accent);
  margin-left: 2px;
}

.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--body); background: var(--surface2); }
.nav-link.has-sub::after { content: '▾'; font-size: 9px; opacity: 0.5; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 210px;
  padding: 6px;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown a:hover { color: var(--body); background: var(--muted); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
  transition: color 0.15s;
}
.lang-btn:hover, .lang-btn.active { color: var(--accent); }
.lang-sep { color: var(--muted); font-size: 10px; }

.btn-login {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 7px 18px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-login:hover { background: var(--accent); color: #fff; }

/* ── HERO ── */
#top {
  padding: 100px 48px 80px;
  max-width: 1100px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-lockup { margin-bottom: 52px; }
.hero-lockup-line {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bright);
  display: block;
}
.hero-lockup-line.accent { color: var(--accent); }

.hero-pillars {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
}
.pillar {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.pillar:last-child { border-right: none; }
.pillar-icon { font-size: 16px; margin-bottom: 8px; display: block; }
.pillar-label {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  max-width: 660px;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
  max-width: 660px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-bullets li {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--dim);
  line-height: 1.75;
  padding-left: 24px;
  position: relative;
}
.hero-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-style: normal;
  font-family: var(--mono);
}

/* ── DIVIDER ── */
.rule { border: none; border-top: 1px solid var(--border); margin: 0 48px; }

/* ── SECTION BASE ── */
.section {
  padding: 80px 48px;
  max-width: 1100px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--mono);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  color: var(--bright);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.8;
  max-width: 700px;
}
.section-body p + p { margin-top: 14px; }
.section-body strong { color: var(--body); font-weight: 400; }

/* ── CONCEPTS : single column ── */
.concepts-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.concept-block {
  padding: 48px 52px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  transition: background 0.15s;
}
.concept-block:last-child { border-bottom: none; }
.concept-block:hover { background: var(--surface2); }

.concept-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.concept-title {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--bright);
  line-height: 1.3;
}

.concept-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.85;
}
.concept-body p + p { margin-top: 12px; }
.concept-body strong { color: var(--body); font-weight: 400; }

/* ── MORE GRID 3 col ── */
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 48px;
}

.more-card { background: var(--surface); padding: 32px 28px; }
.more-icon { font-size: 18px; margin-bottom: 14px; display: block; }
.more-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--bright);
  margin-bottom: 10px;
}
.more-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.8;
}

.tech-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tech-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 2px;
}

/* ── PRICE ── */
.price-block {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.price-row:last-child { border-bottom: none; }
.price-q {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--body);
  min-width: 180px;
  flex-shrink: 0;
}
.price-a {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.7;
}
.price-a a { color: var(--accent); text-decoration: none; }
.price-a a:hover { text-decoration: underline; }

/* ── CONTACT ── */
#contact { padding: 80px 48px; max-width: 1100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.bio-name {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--bright);
  margin-bottom: 6px;
}
.bio-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.bio-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.85;
}
.bio-body p + p { margin-top: 12px; }

.films-list { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.films-inline { font-style: italic; color: var(--body); }
.film-item {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.film-title { color: var(--bright); }
.film-dir { color: var(--body); font-size: 12px; }

.why-box {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 30px;
}
.why-box p {
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--dim);
  line-height: 1.8;
}
.why-box cite {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ── FORM ── */
.contact-form {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  background: var(--surface);
}
.form-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--bright);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--body);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 14px;
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
::placeholder { color: var(--muted); }
.btn-send {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.15s;
}
.btn-send:hover { background: var(--accent2); }
.form-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.footer-right { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.footer-right a { color: var(--dim); text-decoration: none; }
.footer-right a:hover { color: var(--body); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  #top, .section, #contact { padding-left: 24px; padding-right: 24px; }
  .rule { margin: 0 24px; }
  .hero-lockup-line { font-size: clamp(32px, 10vw, 48px); }
  .hero-pillars { flex-wrap: wrap; }
  .pillar { min-width: 50%; border-bottom: 1px solid var(--border); }
  .concept-block { grid-template-columns: 1fr; gap: 16px; padding: 36px 28px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 540px) {
  .more-grid { grid-template-columns: 1fr; }
  .hero-pillars { flex-direction: column; }
  .pillar { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── LANG CONTENT ── */
[data-lang] { display: none; }
[data-lang="en"] { display: block; }
span[data-lang] { display: none; }
span[data-lang="en"] { display: inline; }