:root {
  --primary: #f0a54b;
  --primary-deep: #cb7f26;
  --dark: #1f2023;
  --dark-soft: #2f3136;
  --light: #f8f5ef;
  --paper: #fffdf8;
  --text: #33353a;
  --text-soft: #6d7178;
  --line: rgba(31, 32, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 165, 75, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f8f5ef 54%, #fffdf9 100%);
  line-height: 1.65;
  font-weight: 400;
}

a {
  color: inherit;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

.brand {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

h1,
h2 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.brand-logo {
  width: 112px;
  max-width: 30vw;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.brand-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 92px 24px;
}

.container,
.hero-shell,
.cta-shell {
  width: min(1120px, 100%);
}

.container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.container.reverse {
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
}

.container.reverse .text-content {
  order: 2;
}

.container.reverse .visual-content {
  order: 1;
}

.hero {
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 8vw, 72px) 24px 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  backdrop-filter: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 26, 0.46), rgba(9, 14, 29, 0.2) 36%, rgba(8, 13, 26, 0.38)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 48%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(240, 165, 75, 0.96);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.55rem);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 span,
h2 span {
  color: var(--primary);
}

.hero-copy,
.text-content p,
.cta-shell p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.hero-copy strong {
  font-weight: 800;
}

.hero-copy u {
  text-underline-offset: 0.14em;
  text-decoration-thickness: 0.09em;
}

.text-content {
  display: grid;
  gap: 14px;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(240, 165, 75, 0.12);
  border: 1px solid rgba(240, 165, 75, 0.28);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.section-cta:hover {
  transform: translateY(-2px);
  background: rgba(240, 165, 75, 0.18);
  border-color: rgba(240, 165, 75, 0.42);
}

.section-dark .section-cta {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .section-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.visual-content {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 56px rgba(31, 32, 35, 0.14);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  z-index: 2;
}

.visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card.warm::before,
.visual-card.charcoal::before,
.visual-card.outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.visual-card.warm::before {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.06), rgba(18, 18, 18, 0.22)),
    radial-gradient(circle at 72% 24%, rgba(255, 193, 122, 0.18), transparent 22%);
}

.visual-card.charcoal::before {
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.18), rgba(8, 8, 10, 0.44)),
    radial-gradient(circle at 20% 18%, rgba(240, 165, 75, 0.16), transparent 20%);
}

.visual-card.outline {
  border: 2px solid rgba(240, 165, 75, 0.24);
}

.visual-card.outline::before {
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.12), rgba(16, 16, 18, 0.3)),
    radial-gradient(circle at 74% 26%, rgba(240, 165, 75, 0.16), transparent 24%);
}

.section-dark {
  background: linear-gradient(180deg, #2c2e33 0%, #1b1c20 100%);
}

.section-dark h2,
.section-dark .text-content p {
  color: #f7f5f1;
}

.section-dark .text-content p {
  color: rgba(247, 245, 241, 0.82);
}

.section-dark .eyebrow {
  color: rgba(240, 165, 75, 0.92);
}

.visual-label {
  position: absolute;
  inset: auto 22px 22px;
  z-index: 3;
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.charcoal .visual-label {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tech-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240, 165, 75, 0.12);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  min-height: auto;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.18), rgba(20, 16, 12, 0.3)),
    radial-gradient(circle at top right, rgba(255, 241, 219, 0.12), transparent 26%),
    url("/assets/images/Footer-Bg.jpg") center / cover no-repeat;
}

.cta-shell {
  text-align: center;
  width: min(1240px, 100%);
  padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 48px) 44px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(17, 14, 10, 0.14), rgba(17, 14, 10, 0.08)),
    radial-gradient(circle at 20% 18%, rgba(255, 220, 167, 0.08), transparent 24%);
  color: #fff;
  box-shadow: none;
}

.cta-shell .eyebrow,
.cta-shell p,
.cta-shell h2 {
  color: #fff;
}

.btn-group {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-dark {
  background: linear-gradient(135deg, rgba(12, 18, 34, 0.98), rgba(28, 35, 58, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow:
    0 18px 34px rgba(7, 10, 19, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: rgba(255, 250, 243, 0.92);
  color: #3b3128;
}

.btn-light-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff7ec;
  border: 1px solid rgba(255, 244, 230, 0.28);
}

.footer-meta {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 240, 220, 0.18);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.footer-meta p,
.footer-meta a {
  margin: 0;
  color: rgba(255, 248, 239, 0.9);
  font-size: 0.96rem;
  line-height: 1.7;
  text-decoration: none;
}

.footer-meta-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 4px;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 244, 230, 0.72) !important;
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up {
  transform: translateY(36px);
}

.reveal-left {
  transform: translateX(-42px);
}

.reveal-right {
  transform: translateX(42px);
}

.active.reveal-up,
.active.reveal-left,
.active.reveal-right {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 120ms;
}

@media (max-width: 900px) {
  .topbar {
    padding: 18px 18px 0;
    align-items: flex-start;
  }

  .brand-logo {
    width: 92px;
  }

  .section {
    min-height: auto;
    padding: 72px 18px;
  }

  .container,
  .container.reverse {
    grid-template-columns: 1fr;
  }

  .container.reverse .text-content,
  .container.reverse .visual-content {
    order: initial;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-copy,
  .text-content p,
  .cta-shell p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .footer-meta {
    justify-items: flex-start;
    text-align: left;
  }
}
