/* Premium CSS variables */
:root {
  --bg-base: #030712;
  --bg-surface: rgba(17, 24, 39, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(124, 58, 237, 0.3);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-accent: #c4b5fd;
  --accent-1: #7c3aed;
  --accent-2: #3b82f6;
  --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-w: 840px;
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* Animated background gradients */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(124, 58, 237, 0.3);
  animation-delay: 0s;
}

.blob-2 {
  top: 40%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(59, 130, 246, 0.2);
  animation-delay: -5s;
}

.blob-3 {
  bottom: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: rgba(139, 92, 246, 0.15);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 100px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 1s ease-out forwards;
}

.logo-container {
  display: inline-block;
  margin-bottom: 24px;
  position: relative;
}

.logo-container::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--accent-gradient);
  border-radius: 32px;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.5;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(0.95); }
  100% { opacity: 0.7; transform: scale(1.05); }
}

.logo {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  background: #111827;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--text-accent);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

.effective-date {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

/* Policy Content */
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--card-hover-border);
}

/* Animation Delays for sections */
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }
.section:nth-child(7) { animation-delay: 0.7s; }
.section:nth-child(8) { animation-delay: 0.8s; }
.section:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
  flex-shrink: 0;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #e2e8f0;
  margin: 24px 0 12px;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: #fff;
  font-weight: 600;
}

ul {
  list-style: none; /* remove default bullets */
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

li {
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
}

li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-1);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Contact Box */
.contact-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-value {
  color: #fff;
  font-weight: 500;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-2);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

a:hover {
  color: #60a5fa;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Note Box */
.note-box {
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
  border-left: 4px solid var(--accent-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #bfdbfe;
  font-size: 0.95rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  line-height: 1.6;
}

.note-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-2);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .wrap {
    padding: 40px 16px 80px;
  }
  
  .section {
    padding: 30px 24px;
  }
  
  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  h1 {
    font-size: 2.25rem;
  }
}
