/* ============================================================
   AzarIPTV — Main Stylesheet
   Converted from TailwindCSS + React to Vanilla CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables (Brand Tokens) ─────────────────────────── */
:root {
  --brand-bg:    #0a1118;
  --brand-card:  #151c24;
  --brand-blue:  #5499c7;
  --white-5:     rgba(255,255,255,0.05);
  --white-10:    rgba(255,255,255,0.10);
  --white-20:    rgba(255,255,255,0.20);
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-800:    #1f2937;
  --gray-900:    #111827;
  --font-sans:   'Inter', ui-sans-serif, system-ui, sans-serif;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light Mode Overrides */
.light-mode {
  --brand-bg:    #f3f4f6;
  --brand-card:  #ffffff;
  --brand-blue:  #3b82f6;
  --white-5:     rgba(0,0,0,0.05);
  --white-10:    rgba(0,0,0,0.10);
  --white-20:    rgba(0,0,0,0.20);
  --gray-400:    #6b7280;
  --gray-500:    #4b5563;
  --gray-800:    #2dd4bf; 
}
.light-mode body { color: #111827; }
.light-mode .hero__glow { filter: blur(120px); opacity: 0.6; }
.light-mode .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.light-mode .navbar__theme-btn { color: #000; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--brand-bg);
  color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(84, 153, 199, 0.30); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 24, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #ffffff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-icon svg { color: #000; }

.navbar__brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--brand-blue);
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__link {
  font-weight: 500;
  transition: color 0.2s;
}
.navbar__link:hover { color: var(--brand-blue); }

.navbar__player-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.navbar__player-menu:hover { color: var(--brand-blue); }

.navbar__theme-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s;
}
.navbar__theme-btn:hover { background: var(--white-10); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 4rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
}

/* Device Mockups */
.hero__devices {
  position: relative;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero__devices.visible { opacity: 1; transform: translateX(0); }

.hero__devices-inner { position: relative; z-index: 10; }

.hero__tv {
  position: relative;
  background: #000;
  border-radius: 0.5rem;
  border: 4px solid var(--gray-800);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}
.hero__tv img { width: 100%; height: auto; display: block; }

.hero__phone {
  position: absolute;
  bottom: -2.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  background: #000;
  border-radius: 0.5rem;
  border: 3px solid var(--gray-800);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  z-index: 20;
}
.hero__phone img { width: 100%; height: auto; display: block; }

.hero__box {
  position: absolute;
  bottom: -3rem;
  right: 2.5rem;
  width: 10rem;
  height: 6rem;
  background: #18202a;
  border-radius: 0.75rem;
  border: 1px solid var(--white-10);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 20;
}

.hero__box-label {
  font-size: 10px;
  color: var(--gray-500);
  font-family: monospace;
}

.hero__box-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3b82f6;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.2); }
}

.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: rgba(84, 153, 199, 0.10);
  filter: blur(120px);
  z-index: -1;
}

/* Hero Content */
.hero__content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.8s var(--ease-out) 0.2s;
}
.hero__content.visible { opacity: 1; transform: translateY(0); }

.hero__badges { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.badge {
  padding: 0.25rem 0.75rem;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  line-height: 1.75;
}

/* Download URL Input */
.hero__url-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.hero__url-box {
  display: flex;
  background: var(--brand-card);
  border-radius: 0.75rem;
  border: 1px solid var(--white-10);
  padding: 0.25rem;
  margin-bottom: 2.5rem;
}

.hero__url-input {
  flex: 1;
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #d1d5db;
  outline: none;
  border: none;
  font-family: inherit;
}

.hero__copy-btn {
  background: var(--brand-blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.hero__copy-btn:hover { background: rgba(84, 153, 199, 0.85); }

/* Download Buttons Grid */
.hero__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) { .hero__buttons { gap: 1rem; } }

.btn-download,
.btn-download-dark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  font-family: inherit;
}

@media (min-width: 640px) {
  .btn-download,
  .btn-download-dark { padding: 1rem 1.5rem; }
}

.btn-download {
  background: #ffffff;
  color: #000;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-download:hover { background: #f9fafb; }
.light-mode .btn-download { background: #111827; color: #fff; border-color: transparent; }
.light-mode .btn-download:hover { background: #1f2937; }

.btn-download-dark {
  background: var(--brand-card);
  color: var(--text-color, inherit);
  border: 1px solid var(--white-10);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-download-dark:hover { background: var(--white-5); }
.light-mode .btn-download-dark { background: #ffffff; color: #000; border: 1px solid rgba(0,0,0,0.1); }
.light-mode .btn-download-dark:hover { background: #f3f4f6; }

.btn-download.col-span-2,
.btn-download-dark.col-span-2 { grid-column: span 2; }

.btn-icon {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}
@media (min-width: 640px) { .btn-icon { width: 2.5rem; height: 2.5rem; } }

.btn-download:hover .btn-icon,
.btn-download-dark:hover .btn-icon { transform: scale(1.1); }

/* Specific Icon Backgrounds */
.btn-icon--black  { background: #111827; }
.btn-icon--muted  { background: var(--gray-500); color: #fff; }
.btn-icon--blue   { background: #2AABEE; } /* Telegram Official Blue */

.btn-text { text-align: left; min-width: 0; }
.btn-text__sub {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) { .btn-text__sub { font-size: 10px; } }

.btn-text__main {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) { .btn-text__main { font-size: 1.125rem; } }

/* Telegram button override */
.btn-telegram {
  background: rgba(84, 153, 199, 0.10) !important;
  border-color: rgba(84, 153, 199, 0.20) !important;
}
.btn-telegram:hover { background: rgba(84, 153, 199, 0.20) !important; }
.btn-telegram .btn-text__sub { color: rgba(84, 153, 199, 0.70); }

/* ── Section Shared ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(84, 153, 199, 0.10);
  color: var(--brand-blue);
  border: 1px solid rgba(84, 153, 199, 0.20);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle { color: var(--gray-400); }

.section-header { text-align: center; margin-bottom: 5rem; }

/* ── Screenshots Section ──────────────────────────────────── */
.screenshots {
  padding: 8rem 0;
  background: rgba(21, 28, 36, 0.30);
}

.screenshots__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px)  { .screenshots__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .screenshots__grid { grid-template-columns: repeat(3, 1fr); } }

.glass-card {
  background: var(--brand-card);
  border: 1px solid var(--white-5);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s, transform 0.5s;
}
.glass-card.visible { opacity: 1; transform: scale(1); }

.glass-card__img-wrap {
  overflow: hidden;
  background: var(--brand-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.glass-card:hover .glass-card__img-wrap img { transform: scale(1.03); }


/* ── FAQ Section ──────────────────────────────────────────── */
.faq { padding: 8rem 0; }

.faq__grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1fr; } }

.faq__image-wrap {
  background: var(--brand-card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--white-10);
  position: relative;
  z-index: 10;
}
.faq__image-wrap img { width: 100%; border-radius: 1rem; }

.faq__image-glow {
  position: absolute;
  top: -2.5rem; left: -2.5rem;
  width: 10rem; height: 10rem;
  background: rgba(84, 153, 199, 0.20);
  filter: blur(80px);
  z-index: -1;
}

.faq__list { display: flex; flex-direction: column; gap: 0; }

.faq-item { border-bottom: 1px solid var(--white-10); }

.faq-item__btn {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #fff;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item__btn:hover { color: var(--brand-blue); }

.faq-item__icon {
  width: 1.25rem; height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out), opacity 0.3s;
  opacity: 0;
}
.faq-item__answer.open { max-height: 300px; opacity: 1; }

.faq-item__answer p {
  padding-bottom: 1.5rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: rgba(21, 28, 36, 0.50);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--white-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer__logo svg { color: var(--brand-blue); }
.footer__logo-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; }

.footer__desc {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer__socials { display: flex; gap: 0.75rem; }

.footer__social {
  width: 2.25rem; height: 2.25rem;
  background: var(--white-5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  color: #fff;
}
.footer__social:hover { background: var(--brand-blue); }

.footer__heading { font-weight: 700; margin-bottom: 1rem; }

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links a { font-size: 0.875rem; color: var(--gray-400); transition: color 0.2s; }
.footer__links a:hover { color: var(--brand-blue); }

.footer__contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}
.footer__contact-item svg { color: var(--brand-blue); flex-shrink: 0; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid var(--white-5);
  font-size: 0.75rem;
  color: var(--gray-500);
  gap: 1rem;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }

.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { transition: color 0.2s; }
.footer__bottom-links a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════
   LIGHT MODE
══════════════════════════════════════════════════════════ */
body.light-mode {
  --brand-bg:   #f0f4f8;
  --brand-card: #ffffff;
  --white-5:    rgba(0,0,0,0.05);
  --white-10:   rgba(0,0,0,0.10);
  --white-20:   rgba(0,0,0,0.20);
  --gray-400:   #4b5563;
  --gray-500:   #6b7280;
  background-color: var(--brand-bg);
  color: #111827;
}

body.light-mode .navbar {
  background: rgba(240, 244, 248, 0.85);
  border-bottom-color: rgba(0,0,0,0.08);
}

body.light-mode .hero__url-input { color: #374151; }

body.light-mode .btn-download-dark {
  background: #fff;
  color: #111827;
  border-color: rgba(0,0,0,0.12);
}
body.light-mode .btn-download-dark:hover { background: rgba(0,0,0,0.04); }

body.light-mode .screenshots { background: rgba(0,0,0,0.03); }

body.light-mode .glass-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }

body.light-mode .faq-item { border-bottom-color: rgba(0,0,0,0.10); }
body.light-mode .faq-item__btn { color: #111827; }

body.light-mode .footer {
  background: rgba(255,255,255,0.60);
  border-top-color: rgba(0,0,0,0.08);
}
body.light-mode .footer__bottom { border-top-color: rgba(0,0,0,0.08); }
body.light-mode .footer__bottom-links a:hover { color: #111827; }

body.light-mode .footer__social { background: rgba(0,0,0,0.07); color: #111827; }
body.light-mode .footer__social:hover { background: var(--brand-blue); color: #fff; }

body.light-mode .faq__image-wrap { background: #fff; border-color: rgba(0,0,0,0.10); }

body.light-mode .hero__box {
  background: #e8edf3;
  border-color: rgba(0,0,0,0.10);
}
body.light-mode .hero__box-label { color: #6b7280; }

body.light-mode .badge {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.10);
  color: #374151;
}

/* Theme button icon swap */
.theme-icon-sun  { display: block; }
.theme-icon-moon { display: none; }
body.light-mode .theme-icon-sun  { display: none; }
body.light-mode .theme-icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.lightbox.open { display: flex; }

.lightbox__inner {
  position: relative;
  width: 92vw;
  max-width: 900px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.lightbox__img-wrap {
  width: 100%;
  flex-shrink: 1;
  min-height: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  position: relative;
}

.lightbox__img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s;
  background: #000;
}
.lightbox__img.fading { opacity: 0; }

/* Close Button */
.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.20); }

/* Prev / Next Arrows */
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}
.lightbox__prev { left: -4rem; }
.lightbox__next { right: -4rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--brand-blue); transform: translateY(-50%) scale(1.1); }

@media (max-width: 900px) {
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* Counter badge */
.lightbox__counter {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* Thumbnail strip */
.lightbox__thumbs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.lightbox__thumbs::-webkit-scrollbar { height: 4px; }
.lightbox__thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lightbox__thumb {
  width: 4.5rem;
  aspect-ratio: 16/9;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.45;
  flex-shrink: 0;
}
.lightbox__thumb:hover { opacity: 0.75; }
.lightbox__thumb.active { border-color: var(--brand-blue); opacity: 1; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-card {
  background: var(--brand-card);
  border: 1px solid var(--white-10);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.light-mode .contact-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-group {
  margin-bottom: 1.5rem;
}
.contact-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-400);
}
.light-mode .contact-form-group label { color: var(--gray-500); }

.contact-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--white-10);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.contact-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: rgba(0,0,0,0.3);
}
.light-mode .contact-input {
  background: #f9fafb;
  border-color: rgba(0,0,0,0.1);
  color: #000;
}
.light-mode .contact-input:focus {
  background: #fff;
  border-color: var(--brand-blue);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.2s, background 0.2s;
}
.contact-btn:hover {
  background: #468ebb;
  transform: translateY(-2px);
}
.contact-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
}
.contact-alert.success { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
.contact-alert.error { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.light-mode .contact-alert.success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.light-mode .contact-alert.error { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
