/* TeamFit - Coming soon (static). Fonts self-hosted: Heebo, Raleway (SIL OFL 1.1, see ../fonts/). */

/* latin-ext */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tf-bg: #fdfdfd;
  --tf-panel: #f6f7f9;
  --tf-primary: #072f60;
  --tf-accent: #aadf39;
  --tf-accent-dark: #80a630;
  --tf-text: #181f22;
  --tf-muted: #6b7280;
  --tf-border: #e5e7eb;
  --tf-radius-lg: 28px;
  --tf-radius-md: 18px;
  --tf-shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--tf-bg);
  color: var(--tf-text);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.page-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

.layout {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .layout {
    flex-direction: row;
  }
}

.col-left,
.col-right {
  width: 100%;
}

.col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .col-left {
    padding: 2.5rem 2.5rem 2rem;
  }
}

@media (min-width: 1200px) {
  .col-left {
    padding: 3rem 4.5rem 2.5rem;
  }
}

@media (min-width: 960px) {
  .col-left {
    width: 50%;
  }

  .col-right {
    width: 50%;
  }
}

.tf-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.tf-logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .tf-logo img {
    height: 44px;
  }
}

.tf-logo-text-primary {
  font-family: "Heebo", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tf-primary);
}

.tf-logo-text-secondary {
  font-size: 0.8rem;
  color: var(--tf-muted);
}

.content-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(170, 223, 57, 0.18);
  color: var(--tf-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: "Heebo", system-ui, sans-serif;
}

.hero-title {
  font-family: "Heebo", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.05;
  color: var(--tf-primary);
  margin: 0 0 1.2rem;
}

.hero-title span {
  display: inline-block;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--tf-accent), var(--tf-accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-text {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 30rem;
  line-height: 1.7;
}

.hero-text strong {
  color: var(--tf-primary);
}

.footer-bar {
  font-size: 0.78rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background-color 0.18s ease-out, color 0.18s ease-out,
    border-color 0.18s ease-out;
}

.social-circle:hover {
  background: var(--tf-primary);
  color: #ffffff;
  border-color: var(--tf-primary);
}

.social-icon {
  width: 16px;
  height: 16px;
}

.col-right {
  background: var(--tf-panel);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem;
}

@media (min-width: 960px) {
  .col-right {
    min-height: 100vh;
  }
}

.bg-shape-primary {
  position: absolute;
  top: -12%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: rgba(170, 223, 57, 0.16);
  border-radius: 999px;
  filter: blur(80px);
  z-index: 0;
}

.bg-shape-secondary {
  position: absolute;
  bottom: -12%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: rgba(7, 47, 96, 0.16);
  border-radius: 999px;
  filter: blur(80px);
  z-index: 0;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#072f60 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

.hero-visual-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
}

@media (min-width: 1200px) {
  .hero-visual-wrapper {
    max-width: 620px;
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--tf-radius-lg);
  overflow: visible;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-inner {
  border-radius: var(--tf-radius-lg);
  overflow: hidden;
  box-shadow: var(--tf-shadow-soft);
  background: #ffffff;
  position: relative;
}

.hero-visual-accent {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 100%;
  height: 100%;
  border-radius: var(--tf-radius-lg);
  border: 2px solid var(--tf-accent);
  z-index: -1;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual-accent {
    display: block;
  }
}

.hero-pill-note {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(7, 47, 96, 0.96);
  color: #e5e7eb;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.45);
  max-width: calc(100% - 28px);
}

.hero-pill-note strong {
  color: var(--tf-accent);
}

.hero-pill-note span {
  opacity: 0.9;
}

.hero-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 0.55rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #111827;
}

.hero-counter strong {
  font-size: 1rem;
  color: var(--tf-primary);
}

@media (max-width: 767px) {
  .hero-visual {
    padding: 0.75rem 0.75rem 1.1rem;
  }
  .hero-pill-note {
    position: static;
    margin: 0 0 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile portrait: compact so the footer is visible without scrolling (100svh, fallback 100vh). */
@media (max-width: 767px) and (min-height: 520px) {
  .col-left {
    padding: clamp(0.75rem, 3vh, 1.5rem) 1.5rem clamp(0.75rem, 2.5vh, 1.25rem);
    padding: clamp(0.75rem, 3svh, 1.5rem) 1.5rem clamp(0.75rem, 2.5svh, 1.25rem);
  }

  .tf-logo {
    margin-bottom: clamp(0.5rem, 2.5vh, 1.5rem);
    margin-bottom: clamp(0.5rem, 2.5svh, 1.5rem);
  }

  .tf-logo img {
    height: clamp(32px, 6vh, 40px);
    height: clamp(32px, 6svh, 40px);
  }

  .content-main {
    padding-top: clamp(0.5rem, 2vh, 1.25rem);
    padding-top: clamp(0.5rem, 2svh, 1.25rem);
    padding-bottom: clamp(0.5rem, 2.5vh, 1.5rem);
    padding-bottom: clamp(0.5rem, 2.5svh, 1.5rem);
  }

  .pill-badge {
    margin-bottom: clamp(0.5rem, 1.8vh, 1rem);
    margin-bottom: clamp(0.5rem, 1.8svh, 1rem);
  }

  .hero-title {
    font-size: clamp(1.8rem, 5.2vh, 2.2rem);
    font-size: clamp(1.8rem, 5.2svh, 2.2rem);
    margin-bottom: clamp(0.6rem, 2vh, 1.2rem);
    margin-bottom: clamp(0.6rem, 2svh, 1.2rem);
  }

  .hero-text {
    font-size: clamp(0.88rem, 2.3vh, 0.98rem);
    font-size: clamp(0.88rem, 2.3svh, 0.98rem);
    line-height: clamp(1.35rem, 4vh, 1.666rem);
    line-height: clamp(1.35rem, 4svh, 1.666rem);
    margin: clamp(0.5rem, 2vh, 1em) 0;
    margin: clamp(0.5rem, 2svh, 1em) 0;
  }

  .footer-bar {
    gap: clamp(0.4rem, 1.2vh, 0.75rem);
    gap: clamp(0.4rem, 1.2svh, 0.75rem);
    padding-top: clamp(0.5rem, 1.6vh, 1rem);
    padding-top: clamp(0.5rem, 1.6svh, 1rem);
    margin-top: clamp(0.4rem, 1.2vh, 0.75rem);
    margin-top: clamp(0.4rem, 1.2svh, 0.75rem);
  }
}

@media (min-width: 640px) and (max-width: 767px) and (min-height: 520px) {
  .hero-title {
    font-size: clamp(2.2rem, 6.5vh, 2.8rem);
    font-size: clamp(2.2rem, 6.5svh, 2.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
