/* =========================================================
   TOPCRAW.COM — COMING SOON
   Visual language aligned with the TOPCRAW LLC institutional site.
   ========================================================= */

:root {
  --primary: #0020FF;
  --primary-dark: #0018C8;
  --dark: #0E1B2A;
  --dark-2: #142238;
  --light-bg: #F4F6F9;
  --text-main: #2D3748;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */

.header {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: auto;
  height: 42px;
  display: block;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(0, 32, 255, 0.08);
}

/* HERO */

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 85% 18%, rgba(0, 32, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #F8FAFC 0%, #EEF2F7 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  color: var(--dark);
  font-size: clamp(3.15rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--primary);
}

.lead {
  max-width: 680px;
  color: var(--dark);
  font-size: clamp(1.16rem, 2vw, 1.34rem);
  line-height: 1.65;
  margin-bottom: 17px;
}

.supporting {
  max-width: 630px;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 7px 18px rgba(0, 32, 255, 0.16);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--dark);
  background: transparent;
  border: 1px solid #CBD5E1;
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

/* PLATFORM PREVIEW */

.hero-panel {
  overflow: hidden;
  border: 1px solid #D7DFE9;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 65px rgba(14, 27, 42, 0.12);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  color: #CBD5E1;
  background: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.panel-live {
  color: #AEBEFF;
}

.panel-content {
  padding: 24px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
}

.tool-card.active {
  border-color: rgba(0, 32, 255, 0.22);
  box-shadow: 0 9px 25px rgba(0, 32, 255, 0.07);
}

.tool-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--primary);
  background: rgba(0, 32, 255, 0.08);
  font-size: 1.45rem;
  font-weight: 700;
}

.tool-card strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.tool-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.panel-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 2px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.note-line {
  width: 28px;
  height: 1px;
  background: #CBD5E1;
}

/* PRINCIPLES */

.principles {
  padding: 96px 0;
  background: var(--white);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 52px;
}

.section-heading h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 15px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--border);
}

.principle {
  min-height: 210px;
  padding: 28px 25px;
  background: var(--white);
}

.number {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.principle h3 {
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.principle p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* COMING SOON */

.coming-soon {
  padding: 0 0 96px;
  background: var(--white);
}

.coming-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px 46px;
  border-radius: 10px;
  color: var(--white);
  background: var(--dark);
}

.coming-card .eyebrow {
  color: #AEBEFF;
  margin-bottom: 11px;
}

.coming-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.coming-card p {
  max-width: 690px;
  color: #B9C4D3;
  font-size: 0.96rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
  color: #AEBEFF;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* FOOTER */

.footer {
  padding: 34px 0;
  color: #A0AEC0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer-logo {
  width: auto;
  height: 31px;
  display: block;
  margin-bottom: 9px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer p {
  font-size: 0.78rem;
  color: #718096;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
}

.footer-right a {
  color: #CBD5E1;
  text-decoration: none;
}

.footer-right a:hover {
  color: #FFFFFF;
}

.footer-right span {
  color: #718096;
}

/* ACCESSIBILITY */

a:focus-visible {
  outline: 3px solid rgba(0, 32, 255, 0.3);
  outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .hero {
    padding: 70px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-panel {
    max-width: 650px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .header {
    height: auto;
    padding: 18px 0;
  }

  .header-inner {
    align-items: flex-start;
  }

  .logo {
    height: 36px;
  }

  .status {
    max-width: 150px;
    text-align: right;
    line-height: 1.35;
  }

  .hero {
    padding: 58px 0 66px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .lead {
    font-size: 1.08rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .principles {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
  }

  .number {
    margin-bottom: 18px;
  }

  .coming-soon {
    padding-bottom: 72px;
  }

  .coming-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 26px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-right {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
