/* Privacy Policy Page - 1-in-1 Exact Timebox Service Design */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root, html[data-theme="light"] {
  --bg-color: #9F2B2C;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.2);
  --card-border-top: rgba(255, 255, 255, 0.35);
  --card-inner-bg: rgba(0, 0, 0, 0.12);
  --card-inner-border: rgba(255, 255, 255, 0.14);
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.85);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --accent: #F86466;
  --accent-glow: rgba(248, 100, 102, 0.35);
  --icon-color: #FFFFFF;
  --icon-box-bg: rgba(255, 255, 255, 0.18);
  --icon-box-border: rgba(255, 255, 255, 0.32);
  --badge-bg: rgba(255, 255, 255, 0.14);
  --badge-border: rgba(255, 255, 255, 0.28);
  --dropdown-bg: #9F2B2C;
  --dropdown-hover: rgba(255, 255, 255, 0.15);
  --btn-primary-bg: #FFFFFF;
  --btn-primary-text: #333333;
  --btn-primary-hover: rgba(255, 255, 255, 0.95);
  --shadow-lg: 0 24px 70px rgba(70, 14, 16, 0.35);
  --shadow-card-inner: 0 8px 32px rgba(0, 0, 0, 0.18);
  --highlight-box-bg: rgba(255, 255, 255, 0.08);
  --highlight-box-border: rgba(255, 255, 255, 0.18);
  --focus-ring: #FFFFFF;
}

html[data-theme="dark"] {
  --bg-color: #17191D;
  --card-bg: #24272C;
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-top: rgba(255, 255, 255, 0.18);
  --card-inner-bg: #15171B;
  --card-inner-border: rgba(255, 255, 255, 0.08);
  --text-main: #F4F5F6;
  --text-muted: #A7ABB2;
  --text-secondary: #7F858E;
  --accent: #43C6AC;
  --accent-glow: rgba(67, 198, 172, 0.25);
  --icon-color: #43C6AC;
  --icon-box-bg: rgba(67, 198, 172, 0.12);
  --icon-box-border: rgba(67, 198, 172, 0.25);
  --badge-bg: rgba(67, 198, 172, 0.12);
  --badge-border: rgba(67, 198, 172, 0.25);
  --dropdown-bg: #24272C;
  --dropdown-hover: rgba(255, 255, 255, 0.08);
  --btn-primary-bg: #F2F3F4;
  --btn-primary-text: #202328;
  --btn-primary-hover: #E2E3E4;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.4);
  --shadow-card-inner: 0 8px 32px rgba(0, 0, 0, 0.35);
  --highlight-box-bg: rgba(67, 198, 172, 0.07);
  --highlight-box-border: rgba(67, 198, 172, 0.2);
  --focus-ring: #43C6AC;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .07), transparent 34%),
    linear-gradient(160deg, #a92f31 0%, #99282b 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .04), transparent 34%),
    linear-gradient(160deg, #17191D 0%, #08090B 100%);
}

/* Background Circles 1-in-1 from Welcome Page */
.background-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: #FFFFFF;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 0;
  left: 0;
  opacity: 0.03;
}

.circle-2 {
  width: 500px;
  height: 500px;
  top: 50px;
  left: 50px;
  opacity: 0.02;
}

.circle-3 {
  width: 800px;
  height: 800px;
  top: 100px;
  left: 100px;
  opacity: 0.01;
}

/* Top Navigation Bar */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  z-index: 100;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-header:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand-header:hover .brand-hand {
  transform: rotate(360deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-icon {
  width: 36px;
  height: 36px;
  color: var(--text-main);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.brand-progress {
  stroke-dasharray: 58;
  stroke-dashoffset: 58;
  animation: popup-brand-draw .75s .12s cubic-bezier(.22, 1, .36, 1) forwards;
}

.brand-hand {
  transform-origin: 16px 18px;
  animation: popup-brand-hand .6s .24s cubic-bezier(.34, 1.56, .64, 1) both;
  transition: transform 0.3s ease;
}

@keyframes popup-brand-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes popup-brand-hand {
  from { opacity: 0; transform: rotate(-90deg); }
  to { opacity: 1; transform: rotate(0); }
}

.brand-copy h1 {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--text-main);
}

.brand-copy p {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Toggle Button 1-in-1 from Welcome Page */
.theme-toggle-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-toggle-btn:hover {
  border-color: var(--text-main);
  transform: translateY(-1px);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Language Dropdown 1-in-1 from Welcome Page */
.lang-dropdown {
  position: relative;
}

.lang-trigger {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-trigger:hover {
  border-color: var(--text-main);
}

.lang-trigger:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.globe-icon {
  width: 16px;
  height: 16px;
  color: var(--text-main);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.lang-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dropdown-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  flex-direction: column;
  min-width: 175px;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lang-dropdown.open .lang-menu {
  display: flex;
}

.lang-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-item:hover, .lang-item.active {
  background: var(--dropdown-hover);
  color: var(--text-main);
}

.lang-item.active {
  font-weight: 800;
  color: var(--text-main);
}

/* Privacy Container */
.privacy-container {
  max-width: 920px;
  width: 100%;
  padding: 120px 24px 80px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 30px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.badge-svg-icon {
  color: var(--icon-color);
  flex-shrink: 0;
}

.page-title {
  font-size: 44px;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.last-updated {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 🌟 WOW-Effect Privacy Policy Card ("Плашка политики") 🌟 */
.policy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 1px solid var(--card-border-top);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Individual Policy Section */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease;
}

.policy-section:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--icon-box-bg);
  border: 1px solid var(--icon-box-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.policy-section:hover .section-icon-badge {
  transform: scale(1.04);
}

.section-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.section-text code {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Highlight Box inside Card - No Thick Left Border */
.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--highlight-box-bg);
  border: 1px solid var(--highlight-box-border);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 6px;
  box-shadow: var(--shadow-card-inner);
}

.highlight-icon-box {
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Bullet List */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--card-inner-bg);
  border: 1px solid var(--card-inner-border);
  padding: 14px 18px;
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.bullet-item:hover {
  border-color: var(--badge-border);
  transform: translateX(4px);
  background: var(--highlight-box-bg);
}

.bullet-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  flex-shrink: 0;
  margin-top: 1px;
}

.bullet-icon-box svg {
  width: 15px;
  height: 15px;
}

/* 🎯 Hero Contact Card 🎯 */
.cta-contact-card {
  margin-top: 12px;
  background: var(--card-inner-bg);
  border: 1px solid var(--card-border-top);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  box-shadow: var(--shadow-card-inner);
  position: relative;
  overflow: hidden;
}

.cta-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 540px;
}

.cta-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--icon-box-bg);
  border: 1px solid var(--icon-box-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  margin-bottom: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

/* Service Buttons Aesthetic 1-in-1 from Welcome Page */
.contact-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}

.contact-primary-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.contact-primary-btn:active {
  transform: translateY(0);
}

.contact-primary-btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.copy-email-btn:hover {
  border-color: var(--text-main);
  transform: translateY(-1px);
}

.copy-email-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Toast feedback for copy action */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer Disclaimer */
.footer-copy {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 18px 20px;
  }
  .page-title {
    font-size: 32px;
  }
  .policy-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .cta-contact-card {
    padding: 24px 16px;
  }
  .cta-button-group {
    flex-direction: column;
  }
  .contact-primary-btn, .copy-email-btn {
    width: 100%;
  }
}4px rgba(0, 0, 0, 0.15);
}

.cta-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.contact-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 32px;
  min-height: 52px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.contact-primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--btn-primary-hover);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.contact-primary-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.contact-primary-btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 22px;
  min-height: 52px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.copy-email-btn:hover {
  border-color: var(--text-main);
  background: var(--badge-bg);
  transform: translateY(-2px);
}

.copy-email-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Toast feedback for copy action */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer Disclaimer */
.footer-copy {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 18px 20px;
  }
  .page-title {
    font-size: 32px;
  }
  .policy-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .cta-contact-card {
    padding: 24px 16px;
  }
  .cta-button-group {
    flex-direction: column;
  }
  .contact-primary-btn, .copy-email-btn {
    width: 100%;
  }
}
