/* ================================================
   DisplayWord — Shared Stylesheet
   ================================================ */

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

:root {
  --navy:   #0f1b2d;
  --navy2:  #162035;
  --blue:   #1a3a6b;
  --accent: #4a90e2;
  --gold:   #f0a500;
  --white:  #ffffff;
  --gray:   #8a9ab5;
  --light:  #f4f7fc;
  --green:  #4ade80;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

/* ── NAVIGATION ──────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(15,27,45,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-left  { display: flex; align-items: center; gap: 40px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ── LANG DROPDOWN (footer) ──────────────────── */
.lang-drop { position: relative; }
.lang-drop-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 7px 12px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gray); cursor: pointer;
  font-family: inherit; letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang-drop-btn:hover,
.lang-drop-btn.open { border-color: rgba(255,255,255,0.22); color: var(--white); }
.lang-drop-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; flex-shrink: 0; }
.lang-drop-btn.open svg { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute;
  bottom: calc(100% + 6px); left: 0;
  background: #1a2d4a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; overflow: hidden;
  min-width: 160px; z-index: 200;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
}
.lang-menu.open { display: block; }
.lang-menu-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 0.83rem; font-weight: 500;
  color: var(--gray); cursor: pointer; border: none; background: none;
  width: 100%; text-align: left; font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.lang-menu-item:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.lang-menu-item.lang-active { color: var(--white); }
.lang-code { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; min-width: 24px; }
.lang-menu-item.lang-active .lang-code { color: var(--gold); }

.logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; color: var(--white); }
.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--gray); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 8px; cursor: pointer; transition: opacity 0.2s, background 0.2s; border: none; }
.btn-gold  { background: var(--gold); color: var(--navy); padding: 10px 22px; font-size: 0.9rem; }
.btn-gold:hover { opacity: 0.88; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); padding: 10px 22px; font-size: 0.9rem; }
.btn-outline:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; border-radius: 10px; }

/* ── SECTION BASE ────────────────────────────── */
.section { padding: 90px 5%; }
.section-inner { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 16px;
}
.section-sub {
  color: var(--gray); font-size: 1.05rem;
  max-width: 560px; margin-bottom: 60px;
}

/* ── CARDS ───────────────────────────────────── */
.card {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(74,144,226,0.35); }

/* ── SUBSCRIBE FORM ──────────────────────────── */
.subscribe-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
}
.subscribe-box h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.subscribe-box p  { font-size: 0.85rem; color: var(--gray); margin-bottom: 18px; }
.form-row { display: flex; gap: 10px; }
.form-row input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  font-family: inherit;
}
.form-row input::placeholder { color: var(--gray); }
.form-row input:focus { border-color: var(--accent); }
.subscribe-note { font-size: 0.78rem; color: var(--gray); margin-top: 12px; }
.success-msg { display: none; color: var(--green); font-weight: 600; margin-top: 14px; font-size: 0.9rem; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  padding: 40px 5%;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand .logo { font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 0.82rem; color: var(--gray); max-width: 240px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--gray); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1080px; margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }
.footer-bottom a { font-size: 0.8rem; color: var(--gray); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── BADGE ───────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(240,165,0,0.15);
  color: var(--gold);
  border: 1px solid rgba(240,165,0,0.3);
}
.badge-blue {
  background: rgba(74,144,226,0.12);
  color: var(--accent);
  border: 1px solid rgba(74,144,226,0.25);
}

/* ── UTILITIES ───────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-gray   { color: var(--gray); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-links { gap: 28px; }
  .form-row { flex-direction: column; }
}
