/* ===================================================
   QWEKLY — Landing Page Styles
   Design: Dark luxury with warm amber accent
   Fonts: Syne (display) + DM Sans (body)
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --bg:           #0d0e11;
  --bg-2:         #111318;
  --bg-3:         #16181f;
  --surface:      #1c1f28;
  --surface-2:    #242736;
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  --accent:       #0069FE;
  --accent-dim:   rgba(232,168,60,0.15);
  --accent-glow:  rgba(232,168,60,0.35);

  --text:         #f0f1f5;
  --text-2:       #9ea3b4;
  --text-3:       #5f6478;

  --telegram:     #229ed9;

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.3);
  --shadow:       0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);

  --transition:   0.24s cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w:        1180px;
  --nav-h:        70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section spacing ---- */
.section { padding: 100px 0; }

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-tag--light { color: var(--bg); background: rgba(0,0,0,0.2); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title--light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
}

.section-sub--light { color: rgba(255,255,255,0.75); }

.text-accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding-top:10px;
  padding-bottom: 10px;
}

.btn::after {
  
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255,255,255,0.08);
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn--sm  { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #0d0e11;
}
.btn--primary:hover {
  background: #ffffff;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--telegram {
  
  background: var(--telegram);
  padding: 39px
  color: #fff;
  gap: 8px;
}
.btn--telegram:hover {
  background: #1a8fc4;
  transform: translateY(-1px);
}

  [hidden] { display: none !important; }
  


.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(13,14,17,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  /* background: var(--accent); */
  color: #0d0e11;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-right: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--text); }

.nav__cta { margin-left: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px; left: -150px;
}

.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6c9c8e 0%, transparent 70%);
  bottom: -50px; right: -100px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,60,0.3);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.avatars {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== FEATURES ===== */
.features { background: var(--bg-2); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.step--reverse {
  grid-template-columns: 80px 1fr 1fr;
  direction: ltr;
}
.step--reverse .step__visual { order: -1; }

.step__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  width: 80px;
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step__content p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 300;
}

.step__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step__mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 500%;
  max-width: 300px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-bar {
  height: 10px;
  background: var(--accent);
  border-radius: 100px;
  width: 60%;
  opacity: 0.6;
}

.mockup-line {
  height: 8px;
  background: var(--surface-2);
  border-radius: 100px;
  width: 70%;
}
.mockup-line--wide { width: 90%; }

.mockup-block {
  height: 60px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.mockup-palette {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.palette-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 0.85;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  width: 100%;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), rgba(232,168,60,0.3));
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

/* ===== WHY QWEKLY ===== */
.why { background: var(--bg-2); }

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why__left {
  position: sticky;
  top: 100px;
}

.why__left .section-title { text-align: left; margin-bottom: 16px; }
.why__left .section-sub { text-align: left; margin-bottom: 32px; }
.why__left .section-tag { display: inline-block; margin-bottom: 18px; }

.why__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===== WAITLIST ===== */
.waitlist {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1204 0%, #0d0e11 40%, #091a17 100%);
}

.waitlist__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.waitlist__orb {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232,168,60,0.12) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}

.waitlist__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.waitlist__copy .section-title { text-align: left; margin-bottom: 16px; }
.waitlist__copy .section-sub { text-align: left; margin-bottom: 28px; }
.waitlist__copy .section-tag { margin-bottom: 18px; }

.waitlist__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist__perks li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  padding-left: 4px;
}

/* ===== FORMS ===== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card--light {
  background: var(--bg-3);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-3);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form__group input.error,
.form__group select.error,
.form__group textarea.error {
  border-color: #e05c5c;
}

.form__group textarea { resize: vertical; min-height: 120px; }

.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ea3b4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__error {
  font-size: 0.78rem;
  color: #e05c5c;
  min-height: 16px;
}

.form__success-msg {
  text-align: center;
  font-size: 0.9rem;
  color: #6cbe8a;
  padding: 10px;
  background: rgba(108,190,138,0.1);
  border-radius: var(--radius-sm);
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success card */
.success-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-card__icon {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-2);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item__icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--accent);
  transition: color var(--transition);
}

.contact-item a:hover { color: #f0c060; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer__top {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer__logo { margin-right: auto; }

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: 0.83rem;
  color: var(--text-3);
}

.footer__tagline { font-style: italic; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner     { grid-template-columns: 1fr; gap: 40px; }
  .why__left      { position: static; }
  .waitlist__inner { grid-template-columns: 1fr; gap: 48px; }
  .step           { grid-template-columns: 60px 1fr; }
  .step__visual   { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Mobile nav open state */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(13,14,17,0.97);
    backdrop-filter: blur(20px);
    padding: 28px 24px 40px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav__links.open .nav__link { font-size: 1.1rem; }

  .hero__headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

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

  .step { grid-template-columns: 1fr; }
  .step__number { font-size: 2.5rem; }

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

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .hero__headline { font-size: 2.4rem; }
}

/* ===================================================
   COUNTRY SELECT DROPDOWN
   =================================================== */

.country-select { position: relative; width: 100%; }

.country-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  cursor: pointer;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-3);
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.country-select__trigger.has-value {
  color: var(--text);
}

.country-select__trigger:focus,
.country-select__trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.country-select__trigger[aria-expanded="true"] .country-select__arrow {
  transform: rotate(180deg);
}

.country-select__arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
  opacity: 0.5;
}

.country-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.country-select__search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.country-select__search {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  background: transparent;
  color: var(--text);
}

.country-select__search::placeholder { color: var(--text-3); }

.country-select__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.country-select__list::-webkit-scrollbar { width: 4px; }
.country-select__list::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 4px;
}

.country-select__list li {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: background 0.1s, color 0.1s;
}

.country-select__list li:hover {
  background: var(--surface-2);
  color: var(--text);
}

.country-select__list li.is-active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.country-select__empty {
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
}
