:root {
  --bg: #060b10;
  --bg-2: #0a1118;
  --panel: rgba(15, 22, 29, .82);
  --panel-2: rgba(19, 29, 38, .88);
  --gold: #c8953b;
  --gold-2: #e0b05a;
  --muted: #aeb8c3;
  --text: #f4f6f8;
  --line: rgba(200,149,59,.28);
  --line-soft: rgba(255,255,255,.08);
  --blue: #2b74bd;
  --green: #3f8f75;
  --shadow: 0 28px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(200,149,59,.12), transparent 25%),
    radial-gradient(circle at 80% 18%, rgba(43,116,189,.12), transparent 28%),
    linear-gradient(180deg, #05090d, #081017 45%, #05090d);
  z-index: -3;
}

.ambient {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .23;
  pointer-events: none;
  z-index: -2;
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 14px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 9, 13, .82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(200,149,59,.2), rgba(255,255,255,.03));
  font-weight: 900;
  font-size: 27px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.brand strong {
  display: block;
  letter-spacing: 3px;
  font-size: 25px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

nav a {
  position: relative;
  color: #e9edf2;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .35s ease;
}

nav a:hover::after { width: 100%; }

.admin-link {
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line);
  padding: 11px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.hero {
  min-height: 650px;
  padding: 90px 6% 70px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.hero-copy {
  max-width: 680px;
}

.tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.gold-line {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 24px 0;
}

.hero p {
  color: #cbd3db;
  line-height: 1.75;
  font-size: 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  padding: 17px 25px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, rgba(200,149,59,.95), rgba(111,77,32,.95));
  box-shadow: 0 18px 35px rgba(200,149,59,.18);
}

.btn-dark {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.hero-visual {
  min-height: 430px;
  border-radius: 26px;
  position: relative;
  background:
    linear-gradient(rgba(5,9,13,.2), rgba(5,9,13,.5)),
    radial-gradient(circle at 70% 50%, rgba(200,149,59,.18), transparent 28%),
    linear-gradient(140deg, #07111a, #0c1217);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(200,149,59,.06), transparent),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255,255,255,.035) 73px);
  animation: slowPan 12s linear infinite;
}

.city-card {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(200,149,59,.4), transparent 1px),
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

.city-card::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 15%;
  height: 160px;
  background:
    linear-gradient(to top, rgba(255,255,255,.18), transparent),
    repeating-linear-gradient(90deg, rgba(200,149,59,.28) 0 12px, transparent 12px 38px);
  clip-path: polygon(0 100%, 0 55%, 7% 55%, 7% 28%, 14% 28%, 14% 62%, 21% 62%, 21% 18%, 31% 18%, 31% 44%, 40% 44%, 40% 8%, 52% 8%, 52% 52%, 62% 52%, 62% 20%, 73% 20%, 73% 66%, 84% 66%, 84% 35%, 92% 35%, 92% 58%, 100% 58%, 100% 100%);
  opacity: .65;
}

.orb {
  position: absolute;
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 30px;
  background: rgba(5,9,13,.45);
  box-shadow: 0 0 34px rgba(200,149,59,.13);
  animation: float 6s ease-in-out infinite;
}

.orb-1 { left: 22%; top: 16%; }
.orb-2 { right: 18%; top: 10%; animation-delay: .8s; }
.orb-3 { right: 8%; bottom: 22%; animation-delay: 1.4s; }
.orb-4 { left: 12%; bottom: 18%; animation-delay: 2s; }

.section {
  padding: 74px 6%;
}

.about {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto;
}

.about p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 13px;
}

.section-title h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.5vw, 42px);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}

.motion-card {
  position: relative;
  min-height: 330px;
  padding: 38px 34px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(21,30,38,.92), rgba(9,14,19,.9));
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transition: transform .55s ease, border-color .55s ease, box-shadow .55s ease;
}

.motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.055) 38%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.motion-card:hover::before { transform: translateX(120%); }

.motion-card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(200,149,59,.55);
  box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 34px rgba(200,149,59,.10);
}

.motion-card.featured {
  border-color: rgba(200,149,59,.38);
}

.card-glow {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -3px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .55s ease;
}

.motion-card:hover .card-glow { opacity: 1; }

.icon-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 30px;
  margin-bottom: 28px;
  transition: transform .55s ease, background .55s ease;
}

.motion-card:hover .icon-ring {
  transform: rotate(4deg) translateY(-4px);
  background: rgba(200,149,59,.08);
}

.motion-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 20px;
}

.motion-card p {
  color: #c2ccd5;
  line-height: 1.65;
  margin-bottom: 34px;
}

.motion-card a {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 14px;
}

.motion-card a span {
  display: inline-block;
  margin-left: 10px;
  transition: transform .35s ease;
}

.motion-card:hover a span { transform: translateX(7px); }

.platform {
  border-top: 1px solid var(--line-soft);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}

.platform-card {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
  padding: 34px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(19,29,38,.92), rgba(8,13,18,.95));
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  transition: transform .55s ease, border-color .55s ease, box-shadow .55s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.platform-card.blue { border-color: rgba(43,116,189,.38); }
.platform-card.green { border-color: rgba(63,143,117,.45); }

.badge {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(200,149,59,.1);
  border: 1px solid var(--line);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 16px;
}

.platform-card h3 {
  font-size: 27px;
  margin: 0 0 14px;
}

.platform-card p {
  color: #c4ccd5;
  line-height: 1.6;
}

.portal-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
}

.portal-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cube-art {
  position: relative;
  width: 170px;
  height: 170px;
  margin: auto;
  transform: rotate(45deg);
  animation: float 5.5s ease-in-out infinite;
}

.cube-art span {
  position: absolute;
  width: 76px;
  height: 76px;
  background: linear-gradient(145deg, rgba(43,116,189,.9), rgba(7,16,24,.9));
  border: 1px solid rgba(91,171,255,.45);
  box-shadow: 0 0 30px rgba(43,116,189,.25);
}

.cube-art span:nth-child(1) { left: 0; top: 0; }
.cube-art span:nth-child(2) { right: 0; top: 0; }
.cube-art span:nth-child(3) { left: 0; bottom: 0; }
.cube-art span:nth-child(4) { right: 0; bottom: 0; }

.doc-art {
  position: relative;
  width: 190px;
  height: 180px;
  margin: auto;
}

.doc {
  position: absolute;
  inset: 25px 20px 10px 28px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow:
    -18px -14px 0 rgba(255,255,255,.08),
    -34px -27px 0 rgba(255,255,255,.04);
}

.lens {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(63,143,117,.18);
  border: 2px solid rgba(63,143,117,.78);
  color: #67d7b2;
  font-size: 28px;
  animation: pulse 3.4s ease-in-out infinite;
}

.value-strip {
  margin: 28px auto 0;
  width: min(92%, 1280px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.value-strip div {
  padding: 27px 22px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
}

.value-strip div:last-child { border-right: 0; }

.value-strip strong {
  display: block;
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 10px;
}

.value-strip b {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 9px;
}

.value-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact {
  width: min(92%, 1280px);
  margin: 42px auto;
  padding: 34px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(19,29,38,.88), rgba(8,13,18,.96));
  display: grid;
  grid-template-columns: 1fr 1fr .9fr;
  gap: 35px;
  align-items: center;
  overflow: hidden;
}

.contact h2 {
  font-size: 34px;
  margin: 0 0 14px;
}

.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

.contact-line > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
}

.contact-line b,
.contact-line a {
  font-weight: 800;
}

.contact-line small {
  display: block;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 11px;
}

.contact-form h3 { margin: 0 0 8px; }

input, textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button,
.admin-panel button,
.admin-actions button {
  border: 0;
  padding: 14px 18px;
  border-radius: 7px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(200,149,59,.95), rgba(111,77,32,.95));
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}

.contact-orb {
  height: 220px;
  border-radius: 16px;
  background:
    radial-gradient(circle, rgba(200,149,59,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(200,149,59,.15), transparent 45%);
  background-size: 28px 28px, 100% 100%;
  border: 1px solid var(--line-soft);
  animation: slowPan 14s linear infinite;
}

footer {
  padding: 24px 6%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--gold);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  padding: 32px 18px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.admin-hidden { display: none !important; }

.admin-modal-content {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.admin-close {
  position: sticky;
  top: 12px;
  margin-left: auto;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: #b73c3c;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
}

.admin-section {
  padding: 42px;
  border-radius: 18px;
  background: #0a1118;
  border: 1px solid var(--line-soft);
}

.admin-panel {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.admin-panel label {
  display: grid;
  gap: 7px;
  color: #e9edf2;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions .neutral { background: #586272; }
.admin-actions .danger { background: #b73c3c; }

.admin-note {
  color: var(--muted);
  font-size: 14px;
}

.login-error {
  color: #ff7070;
  font-weight: 800;
}

body.admin-modal-open { overflow: hidden; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(63,143,117,0); }
  50% { box-shadow: 0 0 36px rgba(63,143,117,.36); }
}

@keyframes slowPan {
  from { background-position: 0 0; }
  to { background-position: 180px 80px; }
}

@media (max-width: 1050px) {
  .topbar, nav { flex-direction: column; }
  nav { margin-top: 14px; gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero, .solution-grid, .platform-grid, .contact, .value-strip {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 60px; }
  .contact-orb { display: none; }
}

@media (max-width: 680px) {
  .hero h1 { font-size: 42px; }
  .section, .admin-section { padding: 48px 5%; }
  .admin-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}


.secure-admin-frame {
  max-width: 1080px;
  min-height: 760px;
}

.secure-admin-frame iframe {
  width: 100%;
  min-height: 760px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #0a1118;
}
