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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #101722;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 860px; }

.block { padding: 30px 0; background-color: #101722; }

h1, h2, h3 { font-weight: 800; line-height: 1.25; }
h1 { font-size: 52px; }
h2 { font-size: 38px; }
h3 { font-size: 20px; }
p { font-size: 16px; }

/* Full-bleed image banners */
.banner img { width: 100%; }

/* Two-column rows */
.row.two-col { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.row.two-col .col { flex: 1 1 300px; }
.row.two-col .text { padding: 10px 0; }
.lead { margin-top: 20px; font-size: 18px; }

/* Three pillars */
.row.three-col { display: flex; flex-wrap: wrap; gap: 30px; }
.pillar { flex: 1 1 260px; }
.pillar img { margin-bottom: 18px; border-radius: 18px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: #d7dde6; }

/* Develop */
.center { text-align: center; }
.develop { font-size: 18px; }
.develop-title { font-size: 24px; }
.divider { border: 0; border-top: 1px solid #2a3444; width: 120px; margin: 26px auto 0; }

/* Button */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 34px;
  background: #ffffff;
  color: #101722;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid #101722;
  border-radius: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,255,255,.15); }

/* Countdown */
.countdown {
  display: flex; flex-wrap: nowrap; justify-content: center; margin: 0 auto;
}
.countdown-item {
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
  padding: 8px 5px;
  margin: 0 5px;
  width: 76px;
  border: 1px solid #cccccc;
}
.countdown-item span {
  font-weight: 700; color: #111111; font-size: 40px; line-height: 1.5; display: block;
}
.countdown-item small {
  font-weight: 400; font-size: 12px; line-height: 1.8; color: #999999; display: block;
}

/* Vault signup */
.vault { text-align: center; }
.vault h2 { margin-bottom: 18px; }
.vault p { color: #d7dde6; max-width: 640px; margin: 0 auto 24px; }
.form-row { display: flex; gap: 0; max-width: 560px; margin: 0 auto; }
.form-row input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #d1d3d3;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #111;
  min-width: 0;
}
.form-row input[type="email"]:focus { outline: 2px solid #f5b301; outline-offset: -2px; }
.form-row button {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  background: #ffffff;
  color: #101722;
  border: 1px solid #d1d3d3;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  white-space: nowrap;
}
.form-row button:hover { background: #f0f2f5; }
.form-row button:disabled { opacity: .6; cursor: wait; }
.form-error { color: #ff9d9d; font-size: 14px; margin-top: 10px; min-height: 20px; }
.success-title { font-size: 26px; margin-bottom: 6px; }
.success-sub { font-size: 20px; }

footer { padding: 28px 15px; text-align: center; background: #0b1119; }
footer p { font-size: 13px; color: #8b94a3; }

/* ---------- Site nav ---------- */
.site-nav { background: #101722; border-bottom: 1px solid #1d2635; position: sticky; top: 0; z-index: 100; }
.site-nav .nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: flex-end; min-height: 64px; }
.site-nav .nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.site-nav .nav-links a { color: #ffffff; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: #f5b301; }
.site-nav .nav-cta { background: #ffffff; color: #101722 !important; padding: 10px 22px; border-radius: 6px; white-space: nowrap; }
.site-nav .nav-cta:hover { background: #f0f2f5; color: #101722 !important; }
.site-nav .nav-toggle { display: none; background: none; border: 1px solid #3a4658; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
.site-nav .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Page sections ---------- */
.page-title { text-align: center; margin-bottom: 10px; }
.page-sub { text-align: center; color: #d7dde6; max-width: 720px; margin: 0 auto 8px; font-size: 18px; }
.quote-big { text-align: center; font-size: 30px; font-weight: 800; max-width: 800px; margin: 0 auto; line-height: 1.4; }
.section-head { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.tool-block { margin-bottom: 8px; }
.tool-block p { color: #d7dde6; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Carousel ---------- */
.carousel { position: relative; overflow: hidden; border-radius: 10px; max-width: 900px; margin: 0 auto; }
.carousel-track { display: flex; transition: transform .6s ease; }
.carousel-slide { flex: 0 0 100%; }
.carousel-slide img { width: 100%; height: auto; display: block; border-radius: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0 4px; }
.carousel-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: #3a4658; cursor: pointer; padding: 0; }
.carousel-dots button.active { background: #f5b301; }

/* ---------- Video ---------- */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; max-width: 860px; margin: 24px auto 0; background: #000; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.video-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-link .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; background: rgba(0,0,0,.72); border-radius: 12px; transition: background .15s ease; }
.video-link .play-btn::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-link:hover .play-btn { background: #c00; }
.author-photo { width: 100%; max-width: 440px; border-radius: 12px; display: block; margin: 0 auto; }
.stats-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; text-align: center; }
.stat { flex: 1 1 140px; max-width: 200px; }
.stat b { display: block; font-size: 36px; font-weight: 800; color: #f5b301; line-height: 1.1; }
.stat span { color: #d7dde6; font-size: 14px; font-weight: 600; }
.moment { margin-bottom: 10px; }
.moment h3 { font-size: 24px; letter-spacing: 2px; margin-bottom: 10px; }
.moment p { color: #d7dde6; max-width: 760px; }

/* ---------- Download buttons ---------- */
.dl-btn { display: inline-block; margin: 18px 0 6px; padding: 13px 30px; background: #f5b301; color: #101722; font-weight: 800; font-size: 15px; letter-spacing: .5px; text-decoration: none; border-radius: 6px; transition: transform .15s ease, box-shadow .15s ease; }
.dl-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,179,1,.35); }

/* ---------- Contact form ---------- */
.contact-form { max-width: 620px; margin: 26px auto 0; text-align: left; }
.contact-form label { display: block; font-weight: 700; margin: 16px 0 6px; font-size: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit; border: 1px solid #d1d3d3; border-radius: 6px; background: #fff; color: #111; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { margin-top: 20px; padding: 14px 40px; font-size: 16px; font-weight: 700; font-family: inherit; background: #ffffff; color: #101722; border: 1px solid #d1d3d3; border-radius: 6px; cursor: pointer; }
.contact-form button:hover { background: #f0f2f5; }
.contact-form button:disabled { opacity: .6; cursor: wait; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .site-nav .nav-inner { justify-content: flex-end; }
  .site-nav .nav-toggle { display: block; }
  .site-nav .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #101722; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid #1d2635; }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links li { border-top: 1px solid #1d2635; }
  .site-nav .nav-links a { display: block; padding: 14px 4px; }
  .site-nav .nav-links a.nav-cta { text-align: center; margin-top: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-big { font-size: 22px; }
}

/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .row.two-col .media { order: -1; }
  .countdown-item { width: auto; flex: 1; padding-left: 3px; padding-right: 3px; }
  .countdown-item span { font-size: 34px; }
  .form-row { flex-direction: column; gap: 10px; }
  .form-row input[type="email"] { border-right: 1px solid #d1d3d3; border-radius: 6px; }
  .form-row button { border-radius: 6px; }
}
