/* ============ Atlas Holding · styles.css ============ */
:root {
  --bg: #07090f;
  --bg-2: #0b1220;
  --bg-3: #0f1830;
  --panel: #0d1426;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #e8ecf5;
  --muted: #93a0bb;
  --gold: #d4af37;
  --gold-2: #f5d97a;
  --accent: #6aa4ff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 8px 20px -10px rgba(0,0,0,0.4);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(106,164,255,0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-2); }

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,9,15,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 28px; height: 28px; color: var(--gold); }
.brand-word em { font-style: italic; color: var(--muted); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1404;
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px -10px rgba(212,175,55,0.5);
}
.btn-primary:hover { transform: translateY(-1px); color: #1a1404; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.orb-a { background: radial-gradient(circle, rgba(212,175,55,0.45), transparent 60%); top: -160px; right: -120px; }
.orb-b { background: radial-gradient(circle, rgba(106,164,255,0.35), transparent 60%); bottom: -200px; left: -160px; }

.hero-inner { position: relative; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.15);
}

h1 {
  margin: 22px 0 18px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 br + * {} /* no-op */

.lede {
  max-width: 660px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  margin: 0 0 32px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  backdrop-filter: blur(6px);
}
.hero-stats div { padding: 4px 8px; }
.hero-stats dt {
  font-family: "Fraunces", serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* ===== Trust strip ===== */
.trust {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.trust-label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-row {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  color: rgba(232,236,245,0.78);
}
.trust-row li {
  position: relative; padding-left: 14px;
}
.trust-row li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* ===== Sections ===== */
.section { padding: 104px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)) , var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }

/* ===== Cards ===== */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards.four  { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card.subtle { background: rgba(255,255,255,0.02); }
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.card p { color: var(--muted); margin: 0; }
.card-list {
  margin: 16px 0 0; padding: 0; list-style: none;
  font-size: 14.5px; color: rgba(232,236,245,0.85);
}
.card-list li {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.card-list li:first-child { border-top: 0; }

/* mini-card */
.mini-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  transition: transform .2s ease, border-color .2s ease;
}
.mini-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.mini-card h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 4px;
}
.mini-card .muted { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.mini-card p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Markets ===== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.market {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(212,175,55,0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
}
.market header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.flag {
  width: 44px; height: 30px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.flag svg { width: 100%; height: 100%; }
.market h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}
.muted { color: var(--muted); margin: 2px 0 0; font-size: 13.5px; }
.kvs {
  list-style: none; padding: 0; margin: 0 0 16px;
  font-size: 14.5px;
}
.kvs li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
}
.kvs li:first-child { border-top: 0; }
.kvs span { color: var(--muted); }
.kvs b { color: var(--text); font-weight: 500; text-align: right; }
.market p { color: var(--muted); margin: 0; }

/* ===== Timeline ===== */
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.timeline li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.timeline li::before {
  content: ""; position: absolute; top: 22px; left: 22px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,0.15);
}
.timeline b {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px 22px;
}
.timeline p { margin: 0 0 0 22px; color: var(--muted); font-size: 14.5px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
}
.contact-card.primary {
  border-color: rgba(212,175,55,0.4);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(212,175,55,0.14), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}
.contact-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
}
.contact-card a:not(.btn) { color: var(--gold-2); }
.contact-card .btn { margin-top: 10px; }

/* ===== Footer ===== */
.footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-family: "Fraunces", serif; font-size: 17px;
}
.footer-brand .brand-mark { color: var(--gold); width: 22px; height: 22px; }
.footer-legal { color: var(--muted); font-size: 12.5px; margin: 0; }
.footer-links { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cards.three, .cards.four, .markets-grid, .contact-grid, .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  .cards.three, .cards.four, .markets-grid, .contact-grid, .timeline {
    grid-template-columns: 1fr;
  }
  .footer-row { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  h1 { font-size: 40px; }
}
