/* Hexa Stack: Color Sort Merge - Privacy Policy Styling */
:root {
  --bg-dark: #0D0E15;
  --bg-card: #161824;
  --bg-card-hover: #1E2030;
  --bg-card-border: rgba(255, 255, 255, 0.08);

  --text-primary: #F0F2FD;
  --text-secondary: #9FA4C4;
  --text-muted: #6C7293;

  --accent-sunny: #FFD54F;
  --accent-tangerine: #FF9800;
  --accent-pink: #FF4081;
  --accent-violet: #B388FF;
  --accent-cyan: #00E5FF;
  --accent-mint: #00E676;

  --gradient-title: linear-gradient(135deg, var(--accent-sunny), var(--accent-tangerine), var(--accent-pink), var(--accent-violet), var(--accent-cyan));
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  --glow-cyan: rgba(0, 229, 255, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.4);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 64, 129, 0.06) 0%, transparent 40%),
    var(--bg-dark);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(13, 14, 21, 0.8);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 16px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hex-icon {
  width: 42px;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-violet));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 15px rgba(255, 64, 129, 0.4);
}

.hex-icon-inner {
  width: 34px;
  height: 34px;
  background: var(--bg-dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-dots {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot:nth-child(1) { background: var(--accent-sunny); }
.dot:nth-child(2) { background: var(--accent-cyan); }
.dot:nth-child(3) { background: var(--accent-pink); }
.dot:nth-child(4) { background: var(--accent-mint); }

.app-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Main Content */
main {
  flex: 1;
  padding: 48px 0 80px 0;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-main);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-title);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-card-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item strong {
  color: var(--text-secondary);
}

/* Section Cards */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.section-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
}

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

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--bg-card-border);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

.section-card ul {
  list-style: none;
  margin-bottom: 16px;
}

.section-card li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.section-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

/* Highlight Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-sunny);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-box p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Link styling */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--accent-mint);
  text-decoration: underline;
}

/* Callout Box */
.callout {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

.callout h4 {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Table styling */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bg-card-border);
}

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 700;
}

.data-table td {
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--bg-card-border);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-to-top:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.3);
  text-decoration: none;
}

@media (max-width: 600px) {
  .hero-card {
    padding: 24px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .section-card {
    padding: 20px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
