/* ------------------------------
   ForceX Landing — styles.css
   ------------------------------ */

:root{
  --bg: #f4f7fb;
  --bg-strong: #eef3fb;
  --card: #ffffff;
  --ink: #0d1b2a;
  --ink-muted:#485c70;

  --heat: #ff4b4b;
  --cold: #2a98eb;
  --comp: #7a5bdb;

  --brand-red: #ef3a43;
  --brand-blue: #1976d2;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --shadow-1: 0 4px 14px rgba(31, 51, 73, .08);
  --shadow-2: 0 12px 28px rgba(28, 55, 90, .15);

  --container: 1300px;
}

/* Reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, Segoe UI, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.5;
  background: var(--bg);
  overflow-x: hidden;
  font-display: swap;
  font-synthesis: none;
}

/* Decorative ambient background */
.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url(./assets/img/bg.png);
  z-index: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0);
  will-change: transform;
}

/* Parallax effect on scroll */
@media (prefers-reduced-motion: no-preference) {
  .bg {
    transform: translateY(calc(var(--scroll-offset, 0) * 0.5px));
  }
}

/* Helpers */
.container{
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* Header / Hero */
.site-header{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10rem 0 3rem;
}

/* Mobile responsive header padding */
@media (max-width: 767px) {
  .site-header {
    padding: 4rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 3rem 0 1.5rem;
  }
}

.logo img{
  display:block;
  margin: 0 auto 14px;
  width: clamp(120px, 16vw, 280px);
  height: auto;
}

/* Status pill */
.status-pill{
  margin-top: 2rem;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#566b80;
  padding:8px 14px;
  border-radius: 999px;
  background: #F5FAFC;
  border:1px solid #D6E6EC;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(12,22,33,.04);
}
.status-pill .dot{
  width:10px; height:10px; border-radius:50%;
  background: #ED1C24;
  display:inline-block;
  box-shadow: 0 0 0 3px rgba(255,107,107,.15);
}

/* Headline */
.hero-title{
font-size: 86px;
  font-weight: 500;
  line-height: 1;

background: rgba(0, 48, 76, 1);
background: radial-gradient(circle farthest-side at var(--mouse-x, 50%) var(--mouse-y, 50%), #ED1C24 0%, #A31319 13%, #25AAE1 34%, #187094 50%, #000000 66%, #5C5DA0 81%, #5C5DA0 100%);
 -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: cover;
  
  /* Prevent font shift */
  min-height: 1.2em;
  display: block;
  width: 100%;
  text-align: center;
  
  /* Gradient animation */
  background-size: 200% 200%;
  animation: gradientMove 15s linear infinite;
  transition: all 0.2s ease-out;
}

/* Mouse interaction states */
.hero-title:hover {
  animation-play-state: paused;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Mobile responsive hero title */
@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
    margin: 16px auto 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.15;
    margin: 12px auto 6px;
  }
}
 

.hero-sub{
  margin: 12px auto 28px;
  color: var(--ink-muted);
  font-size: clamp(15px, 2.1vw, 26px);
  max-width: 620px;
}
.only-desktop{ display:none; }
@media (min-width: 860px){
  .only-desktop{ display:inline; }
}

/* Media banner with inset circle */
.media{ margin-top: 6px; }
.media-frame{
  position: relative;
  border-radius: 26px;
  overflow: clip;
  box-shadow: var(--shadow-2);
  background: #0f1c2a;
  margin: 0;
}
.media-hero{
  display:block;
  width:100%;
  height: clamp(220px, 36vw, 340px);
  object-fit: cover;
  object-position: 60% 45%;
  opacity: 0.96;
}

/* Responsive banner images */
.media-hero-mobile {
  display: none;
  height: 100vh;
}

.media-hero-desktop {
  display: block;
}

@media (max-width: 767px) {
  .media-hero-mobile {
    display: block;
    height: 100vh;
  }
  
  .media-hero-desktop {
    display: none;
  }
}

/* circle inset */
.media-inset{
  --size: clamp(140px, 18vw, 190px);
  position: absolute;
  left: clamp(18px, 6vw, 56px);
  bottom: clamp(-22px, -3vw, -18px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #f0f4fb);
  box-shadow:
    0 6px 18px rgba(0,0,0,.25),
    inset 0 0 0 4px #fff,
    inset 0 0 0 8px rgba(255,255,255,.65);
}
.media-inset img{
  width:100%; height:100%; display:block; border-radius:50%; object-fit: cover;
}

/* Cards row */
.cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: clamp(26px, 4vw, 38px) auto 44px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px){
  .cards{
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
  }
}

.card{
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  border: 1px solid #e3ecf6;
  padding: 22px 24px;
  height: 100%;
}

/* About card specifics */
.about{
  padding: 22px clamp(18px, 3vw, 26px);
}
.card-title{
  margin:  0px;
  font-size: clamp(18px, 2.4vw, 26px);
  color:#0e2235;
  font-weight: 600;
}
.card-text{
  margin:0;
  color:#3e566d;
  font-size: 20px;
}

/* Contacts card */
.contacts{
  padding: 22px clamp(18px, 3vw, 26px);
  background: linear-gradient(286.88deg, #25AAE1 8.95%, #0F92C8 25.76%, #605A9C 49.4%, #D80B13 96.64%);
  color:#fff;
  border: none;
  position: relative;
  z-index: 1;
  transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Trigun-style animated gradient */
  background-size: 400% 400%;
  animation: trigunGradient 8s ease infinite;
  overflow: hidden;
}

/* Smooth overlay for hover effect */
.contacts::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #25AAE1 0%, #0F92C8 25%, #605A9C 50%, #D80B13 100%);
  opacity: 0;
  transition: opacity 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: -1;
}

/* Trigun-style gradient animation */
@keyframes trigunGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.contacts .inverse{ color:#fff; font-size: 26px;}

/* Mouse-hover gradient effect for contacts */
.contacts:hover::after {
  opacity: 1;
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.address-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.address-block .address {
  color: #fff;
  line-height: 1.4;
  flex: 1;
  font-size: 16px;
}

/* Responsive design */
@media (min-width: 768px) {
  .contact-block {
    flex-direction: row;
    gap: 16px;
  }
  
 
  .address-block {
    align-items: center;
  }
}

@media (min-width: 900px) {
  .contact-block {
    gap: 20px;
  }
  
 
}

@media (max-width: 767px) {
  .contact-block {
    gap: 10px;
  }
  
  .contact-item {
    min-height: 40px;
  }
  
  .address-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  
  .address-block .address {
    font-size: 14px;
    line-height: 1.3;
  }
  
  .pill {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
}

.icon.circle{
  width:36px; height:36px; border-radius:999px;
  display:inline-grid; place-items:center;
  background:#ffffff1a;
  color:#fff;
  border:1px solid #ffffff29;
  flex:0 0 auto;
}

/* Pills for phone/email */
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px;
  background:#fff;
  color:#12263a;
  border-radius:999px;
  border:1px solid #ffffff66;
  font-weight:600;
  text-decoration:none;
  letter-spacing:.2px;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 4px 12px rgba(0,0,0,.12);
}
.pill-blue{
  background: #e8f2ff;
  color: #0d3a73;
  border-color: #c9defb;
}
.address{ line-height:1.35; }

/* Footer */
.site-footer{
  padding: 24px 0 40px;
  color: #00304C;
  text-align:center;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Motion polish */
@media (prefers-reduced-motion: no-preference){
  .status-pill .dot{ animation: pulse 1.6s infinite ease-in-out; }
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(255,107,107,.22); }
  50%     { box-shadow: 0 0 0 6px rgba(255,107,107,.10); }
}

/* Small screens */
@media (max-width: 540px){
  .media-inset{ left: 14px; bottom: -28px; }
  .contacts{ border-radius: 18px; }
  .card{ border-radius: 18px; }
}

.icon{
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.contacts::before {
  content: "";
  position: absolute;
  z-index: -1;
  opacity: 0.7;
  inset: -2px;
   border-radius: inherit;
  background: linear-gradient(286.88deg, #25AAE1 8.95%, #0F92C8 25.76%, #605A9C 49.4%, #D80B13 96.64%);
   
}

 