/* ==========================================
   HAWKIRA MASTER STYLESHEET
========================================== */

:root {
  --hk-bg: hsl(217 70% 5%);
  --hk-card: hsl(216 58% 9%);
  --hk-muted-bg: hsl(217 33% 17%);
  --hk-text: hsl(210 40% 98%);
  --hk-muted: hsl(215 16% 65%);
  --hk-gold: hsl(40 70% 56%);
  --hk-gold-dark: hsl(40 70% 46%);
  --hk-border: hsl(217 33% 17%);
  --hk-header: #02060d;
  --hk-container: 1400px;
  --hk-ease: cubic-bezier(.21,.47,.32,.98);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hawkira-site {
  margin: 0;
  background: var(--hk-bg);
  color: var(--hk-text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body.hawkira-site h1,
body.hawkira-site h2,
body.hawkira-site h3,
body.hawkira-site h4,
body.hawkira-site h5,
body.hawkira-site h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  color: var(--hk-text);
}

body.hawkira-site p {
  margin: 0;
}

body.hawkira-site a {
  color: inherit;
  text-decoration: none;
}

body.hawkira-site img {
  max-width: 100%;
  display: block;
}

.hk-container {
  width: 100%;
  max-width: var(--hk-container);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Buttons */

.hk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

.hk-btn:hover {
  transform: scale(1.05);
}

.hk-btn-primary {
  background: var(--hk-gold);
  color: var(--hk-bg);
  border-color: var(--hk-gold);
}

.hk-btn-outline {
  background: transparent;
  color: var(--hk-gold);
  border-color: var(--hk-gold);
}

.hk-btn-outline:hover {
  background: var(--hk-gold);
  color: var(--hk-bg);
}

/* Header */

.hk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  background: var(--hk-header);
  border-bottom: 1px solid var(--hk-border);
  padding: 1rem 0;
  transition: padding .3s ease, box-shadow .3s ease;
}

.hk-header.is-scrolled {
  padding: .5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.hk-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hk-logo {
  width: 12rem;
  height: 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hk-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(2.2);
  transform-origin: 50% 40%;
}

.hk-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--hk-muted);
  font-size: .875rem;
  font-weight: 600;
}

.hk-desktop-nav a {
  transition: color .25s ease;
  text-transform: uppercase;
}

.hk-desktop-nav a:hover {
  color: var(--hk-text);
}

.hk-nav-cta {
  min-height: 42px;
  padding: 0 1.3rem;
  font-size: .8rem;
}

.hk-mobile-toggle,
.hk-mobile-menu {
  display: none;
}

/* Reveal */

.hk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--hk-ease), transform .7s var(--hk-ease);
}

.hk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero */

.hk-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
  background: var(--hk-bg);
}

.hk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hk-hero-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 5;
  opacity: 0;
  transform: scale(1.1);
  animation: hkHeroImage 1.5s ease-out forwards;
}

.hk-hero-radial {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: radial-gradient(circle at 70% 50%, hsl(40 70% 56% / .15), transparent 50%);
}

.hk-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hk-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to right, var(--hk-bg), hsl(217 70% 5% / .95), transparent);
}

.hk-hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  z-index: 20;
  background: linear-gradient(to top, var(--hk-bg), hsl(217 70% 5% / .8), transparent);
}

.hk-hero-content {
  position: relative;
  z-index: 25;
}

.hk-hero-copy {
  max-width: 42rem;
}

.hk-eyebrow {
  color: var(--hk-gold);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hk-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hk-hero h1 span {
  color: var(--hk-gold);
}

.hk-hero-text {
  max-width: 36rem;
  color: var(--hk-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@keyframes hkHeroImage {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Trust Bar */

.hk-trust {
  padding: 4rem 0;
  background: var(--hk-bg);
  border-bottom: 1px solid hsl(217 33% 17% / .3);
}

.hk-trust-title {
  text-align: center;
  color: var(--hk-gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hk-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 6rem;
  opacity: .7;
  filter: grayscale(100%);
}

.hk-trust-grid img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  transition: transform .3s ease, opacity .3s ease;
}

.hk-trust-grid img:hover {
  transform: scale(1.1);
}

/* Homepage About */

.hk-home-about {
  padding: 5rem 0;
  background: var(--hk-bg);
  overflow: hidden;
}

.hk-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hk-about-copy {
  max-width: 36rem;
}

.hk-about-copy h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.hk-about-copy p:not(.hk-eyebrow) {
  color: var(--hk-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hk-about-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(217 33% 17% / .3);
  background: var(--hk-card);
}

.hk-about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hk-frame-line {
  position: absolute;
  z-index: 3;
  background: hsl(217 33% 17% / .6);
}

.hk-frame-top,
.hk-frame-bottom {
  height: 1px;
  left: 2rem;
  right: 2rem;
}

.hk-frame-top {
  top: 0;
}

.hk-frame-bottom {
  bottom: 0;
}

.hk-frame-left,
.hk-frame-right {
  width: 1px;
  top: 2rem;
  bottom: 2rem;
}

.hk-frame-left {
  left: 0;
}

.hk-frame-right {
  right: 0;
}

/* Why / Feature Banner - temporary until exact AI Studio recreation */

.hk-why {
  background: var(--hk-bg);
  border-top: 1px solid hsl(217 33% 17% / .3);
  border-bottom: 1px solid hsl(217 33% 17% / .3);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hk-why::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

.section-title {
  max-width: 48rem;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-title small {
  display: block;
  color: var(--hk-gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.section-title p {
  color: var(--hk-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-top: 1.5rem;
}

.hk-why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid hsl(217 33% 17% / .3);
  border-right: 1px solid hsl(217 33% 17% / .3);
}

.hk-card {
  background: transparent;
  border-right: 1px solid hsl(217 33% 17% / .3);
  padding: 2.5rem;
  transition: background .7s ease;
}

.hk-card:last-child {
  border-right: 0;
}

.hk-card:hover {
  background: hsl(216 58% 9% / .3);
}

.hk-icon {
  color: var(--hk-gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transform-origin: center;
  transition: transform .7s ease, color .7s ease;
}

.hk-card:hover .hk-icon {
  transform: scale(1.1);
}

.hk-card h3 {
  font-size: .875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.hk-card p {
  color: var(--hk-muted);
  font-size: .875rem;
  line-height: 1.7;
}

/* Footer */

.hk-footer {
  background: var(--hk-header);
  border-top: 1px solid var(--hk-border);
  padding: 5rem 0 2rem;
}

.hk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.hk-footer p,
.hk-footer a {
  color: var(--hk-muted);
  font-size: .875rem;
  line-height: 1.7;
}

.hk-footer a {
  display: block;
  margin-bottom: .75rem;
  transition: color .25s ease;
}

.hk-footer a:hover {
  color: var(--hk-gold);
}

.hk-footer h4 {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
}

.hk-footer-bottom {
  border-top: 1px solid var(--hk-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Mobile */

@media (max-width: 991px) {
  .hk-desktop-nav,
  .hk-nav-cta {
    display: none;
  }

  .hk-mobile-toggle {
    display: block;
    background: transparent;
    border: 0;
    padding: .5rem;
  }

  .hk-mobile-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--hk-text);
    margin: .35rem 0;
  }

  .hk-mobile-menu.is-open {
    display: flex;
  }

  .hk-mobile-menu {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--hk-card);
    border-top: 1px solid var(--hk-border);
  }

  .hk-about-grid {
    grid-template-columns: 1fr;
  }

  .hk-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hk-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hk-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hk-hero {
    min-height: auto;
    padding: 8rem 0 5rem;
  }

  .hk-hero-img {
    width: 100%;
  }

  .hk-hero-gradient {
    background: linear-gradient(to right, var(--hk-bg), hsl(217 70% 5% / .9), hsl(217 70% 5% / .35));
  }

  .hk-hero-actions {
    flex-direction: column;
  }

  .hk-btn {
    width: 100%;
  }

  .hk-trust-grid {
    gap: 2.5rem;
  }

  .hk-trust-grid img {
    height: 2.5rem;
  }

  .hk-why-grid {
    grid-template-columns: 1fr;
  }

  .hk-footer-bottom {
    flex-direction: column;
  }
}