/* UBFB Trade Group — Coming soon page */

:root {
  --teal: #2897ba;
  --teal-dark: #00709b;
  --ink: #201c1d;
  --text: #1a1a1a;
  --text-muted: #3d3d3d;
  --border: #d9e3e8;
  --bg: #ffffff;
  --max-width: 1200px;
  --gutter: clamp(18px, 5vw, 60px);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Header */
.header {
  width: 100%;
  padding: clamp(18px, 4vw, 40px) var(--gutter) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.logo {
  width: 100px;
  height: auto;
  margin-right: auto;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.social a:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.social a:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Language switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.lang-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

.lang-btn:hover {
  color: var(--teal-dark);
}

.lang-btn.is-active {
  background: var(--teal);
  color: #ffffff;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: -2px;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px var(--gutter) clamp(40px, 8vw, 80px);
}

.content {
  max-width: 820px;
  text-align: center;
}

.hero-image {
  width: auto;
  max-width: min(100%, 620px);
  max-height: 44vh;
  aspect-ratio: 888 / 718;
  margin: 0 auto 8px;
}

.headline {
  font-size: clamp(1.75rem, 1.1rem + 3.4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 12px 0 clamp(14px, 2.5vw, 28px);
  color: var(--ink);
  text-wrap: balance;
}

.headline .accent {
  color: var(--teal-dark);
}

.subtext {
  font-size: clamp(0.95rem, 0.85rem + 0.45vw, 1.1875rem);
  line-height: 1.55;
  color: var(--text);
  margin: 0 auto;
  max-width: 720px;
  font-weight: 500;
  text-wrap: pretty;
}

.subtext p {
  margin: 0 0 6px;
}

.cta-text {
  margin-top: clamp(16px, 3vw, 26px);
  font-size: clamp(0.95rem, 0.85rem + 0.45vw, 1.1875rem);
  font-weight: 600;
  color: var(--text);
  display: none;
}

/* Ecrane mici / landscape */
/* Sub 600px: rândul 1 — logo + limbă, rândul 2 — rețele sociale */
@media (max-width: 600px) {
  .logo {
    width: 84px;
    order: 1;
  }

  .lang-switch {
    order: 2;
  }

  .social {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    max-width: min(100%, 300px);
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero-image {
    max-height: 34vh;
    margin-bottom: 4px;
  }

  .main {
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
