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

:root {
  /* Color Palette */
  --color-primary-navy: #0A1F5C;
  --color-primary-blue: #1565E8;
  --color-accent-sky: #3B9EFF;
  --color-bg: #F4F7FE;
  --color-card-bg: #FFFFFF;
  --color-text-primary: #111827;
  --color-text-secondary: #6B7280;
  --color-border: #E5E9F2;
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --header-height: 72px;
  --container-width: 800px;
  --radius-badge: 9999px;
  --radius-card: 16px; /* rounded-2xl */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-navy);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary-blue), var(--color-accent-sky));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 101, 232, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  z-index: 900;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(21, 101, 232, 0.2);
  box-shadow: 0 4px 30px rgba(21, 101, 232, 0.05);
}

.header-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-logo {
  height: 36px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-primary-blue) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-sky);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-primary-navy);
  bottom: -50px;
  left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: white;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero .subtext {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Privacy Policy Content */
.policy-content {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(10, 31, 92, 0.05);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(10, 31, 92, 0.08);
}

.policy-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.policy-card p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.policy-card ul li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  font-size: 1rem;
}

.policy-card ul li:last-child {
  margin-bottom: 0;
}

.policy-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-sky);
  border-radius: 50%;
}

/* Footer */
.site-footer {
  background-color: var(--color-card-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  letter-spacing: -0.02em;
  margin: 0;
}

.footer-tagline {
  color: var(--color-primary-blue);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-navy);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 31, 92, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 800;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--color-primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(21, 101, 232, 0.3);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
  }
  
  .policy-content {
    margin-top: -20px;
    padding-bottom: 60px;
  }
  
  .policy-card {
    padding: 24px;
  }
  
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .policy-card h2 {
    font-size: 1.25rem;
  }
}