/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f7f4;
  color: #1c1c1e;
  overflow-x: hidden;
}

/* ----- LOADING SCREEN ----- */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e0d8;
  border-top: 4px solid #1c1c1e;
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----- NAVIGATION ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  z-index: 100;
  transition: background 0.2s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1c1e;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo span {
  color: #e4572e;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  color: #2c2c2e;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #e4572e;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-actions i {
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.nav-actions i:hover {
  transform: scale(1.05);
}

.login-btn,
.signup-btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.login-btn {
  background: transparent;
  color: #1c1c1e;
  border: 1.5px solid #e2e0d8;
}

.login-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #1c1c1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.signup-btn {
  background: #1c1c1e;
  color: white;
}

.signup-btn:hover {
  background: #e4572e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 87, 46, 0.3);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ----- MOBILE NAV ----- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  color: #1c1c1e;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: #e4572e;
}

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  width: 80%;
  max-width: 300px;
}

.mobile-login-btn,
.mobile-signup-btn {
  display: block;
  padding: 0.8rem 2rem;
  text-align: center;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-login-btn {
  background: transparent;
  color: #1c1c1e;
  border: 2px solid #e2e0d8;
}

.mobile-login-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #1c1c1e;
}

.mobile-signup-btn {
  background: #1c1c1e;
  color: white;
  border: 2px solid #1c1c1e;
}

.mobile-signup-btn:hover {
  background: #e4572e;
  border-color: #e4572e;
}

/* ----- PRIVACY HERO ----- */
.privacy-hero {
  margin-top: 5rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb1 {
  width: 400px;
  height: 400px;
  background: #ffb347;
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb2 {
  width: 350px;
  height: 350px;
  background: #ff6b6b;
  bottom: -20%;
  right: -10%;
  animation-delay: -7s;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: #4ecdc4;
  top: 40%;
  right: 5%;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.3); }
}

.privacy-hero-content {
  position: relative;
  z-index: 1;
}

.privacy-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.privacy-hero h1 span {
  background: linear-gradient(135deg, #e4572e, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-hero p {
  font-size: 1.1rem;
  color: #4a4a4e;
}

.privacy-hero .last-updated {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6e6e73;
}

/* ----- PRIVACY CONTENT ----- */
.privacy-content {
  padding: 2rem 2rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.privacy-container {
  background: white;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* ----- QUICK NAV ----- */
.quick-nav {
  background: rgba(228, 87, 46, 0.04);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.quick-nav h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1c1c1e;
}

.quick-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-nav-links a {
  padding: 0.3rem 1rem;
  background: white;
  border-radius: 20px;
  text-decoration: none;
  color: #4a4a4e;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.quick-nav-links a:hover {
  background: #e4572e;
  color: white;
  border-color: #e4572e;
  transform: translateY(-2px);
}

/* ----- PRIVACY SECTIONS ----- */
.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1c1c1e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-section h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: #e4572e;
  border-radius: 4px;
  display: inline-block;
}

.privacy-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: #1c1c1e;
}

.privacy-section p {
  color: #4a4a4e;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.5rem 1.5rem;
}

.privacy-list li {
  color: #4a4a4e;
  line-height: 1.8;
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.privacy-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #e4572e;
  font-weight: 700;
}

.privacy-list li strong {
  color: #1c1c1e;
}

/* ----- COOKIE SETTINGS ----- */
.cookie-settings {
  background: rgba(228, 87, 46, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  background: #1c1c1e;
  color: white;
  border: none;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  background: #e4572e;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(228, 87, 46, 0.25);
}

.cookie-note {
  font-size: 0.85rem;
  color: #6e6e73;
  margin: 0 !important;
}

/* ----- SECURITY BADGE ----- */
.security-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
}

.security-badge i {
  font-size: 1.5rem;
  color: #34c759;
}

.security-badge span {
  color: #4a4a4e;
  font-weight: 500;
}

/* ----- RIGHTS ACTIONS ----- */
.rights-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.rights-btn {
  padding: 0.7rem 1.8rem;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.rights-btn {
  background: #1c1c1e;
  color: white;
}

.rights-btn:hover {
  background: #e4572e;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(228, 87, 46, 0.25);
}

.rights-btn.secondary {
  background: transparent;
  color: #1c1c1e;
  border: 2px solid #e2e0d8;
}

.rights-btn.secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #1c1c1e;
  transform: translateY(-2px);
}

/* ----- THIRD PARTY GRID ----- */
.third-party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.third-party-item {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.third-party-item:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.third-party-item i {
  font-size: 2rem;
  color: #e4572e;
  margin-bottom: 0.5rem;
}

.third-party-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #1c1c1e;
}

.third-party-item p {
  font-size: 0.85rem;
  color: #6e6e73;
  margin: 0 !important;
}

.third-party-note {
  font-size: 0.9rem;
  color: #6e6e73;
  text-align: center;
  margin-top: 0.5rem !important;
}

/* ----- CONTACT SECTION ----- */
.contact-section .contact-info {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(228, 87, 46, 0.04);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.contact-item:hover {
  background: rgba(228, 87, 46, 0.08);
}

.contact-item i {
  color: #e4572e;
  font-size: 1.2rem;
  width: 24px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-item strong {
  font-size: 0.8rem;
  color: #6e6e73;
  font-weight: 500;
}

.contact-item a,
.contact-item span {
  color: #1c1c1e;
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  color: #e4572e;
}

/* ----- ACCEPTANCE SECTION ----- */
.acceptance {
  background: rgba(228, 87, 46, 0.04);
  border-radius: 16px;
  padding: 2rem !important;
  margin-top: 1rem;
  border-bottom: none !important;
}

.acceptance-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.acceptance-banner i {
  font-size: 2.5rem;
  color: #e4572e;
}

.acceptance-banner h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.acceptance-banner p {
  color: #6e6e73;
  font-size: 0.9rem;
  margin: 0;
}

.acceptance-buttons {
  display: flex;
  gap: 1rem;
}

.btn-accept,
.btn-decline {
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-accept {
  background: #1c1c1e;
  color: white;
  border: 2px solid #1c1c1e;
}

.btn-accept:hover {
  background: #e4572e;
  border-color: #e4572e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 87, 46, 0.25);
}

.btn-decline {
  background: transparent;
  color: #1c1c1e;
  border: 2px solid #e2e0d8;
}

.btn-decline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #1c1c1e;
  transform: translateY(-2px);
}

/* ----- FOOTER ----- */
.footer {
  padding: 3rem 2.5rem 1.5rem;
  background: #1c1c1e;
  color: #e8e8ed;
  border-radius: 40px 40px 0 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: #a8a8ae;
  text-decoration: none;
  margin: 0.5rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #6e6e73;
  border-top: 1px solid #2c2c2e;
  padding-top: 1.5rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-img {
    height: 32px;
  }

  .privacy-hero {
    min-height: 30vh;
    padding: 3rem 1rem;
  }

  .privacy-hero h1 {
    font-size: 2rem;
  }

  .privacy-container {
    padding: 1.5rem;
  }

  .privacy-section h2 {
    font-size: 1.2rem;
  }

  .quick-nav-links {
    flex-direction: column;
  }

  .quick-nav-links a {
    text-align: center;
  }

  .cookie-settings {
    flex-direction: column;
    text-align: center;
  }

  .contact-section .contact-info {
    grid-template-columns: 1fr;
  }

  .rights-actions {
    flex-direction: column;
  }

  .rights-btn {
    width: 100%;
    text-align: center;
  }

  .acceptance-buttons {
    flex-direction: column;
  }

  .btn-accept,
  .btn-decline {
    width: 100%;
    text-align: center;
  }

  .third-party-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 2rem 1.5rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 26px;
  }

  .privacy-container {
    padding: 1rem;
    border-radius: 20px;
  }

  .privacy-list {
    margin-left: 0.5rem;
  }

  .privacy-list li {
    padding-left: 1rem;
    font-size: 0.9rem;
  }

  .acceptance-banner {
    flex-direction: column;
    text-align: center;
  }

  .security-badge {
    flex-direction: column;
    text-align: center;
  }
}