/* Iponio - Celestial Theme CSS Design System */
:root {
  color-scheme: dark;
  --bg-primary: #070a12;
  --bg-secondary: #0e1424;
  --surface-card: rgba(18, 26, 44, 0.7);
  --surface-card-hover: rgba(26, 38, 64, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 229, 255, 0.3);
  
  --primary: #00e5ff;
  --primary-gradient: linear-gradient(135deg, #00e5ff 0%, #7c4dff 100%);
  --secondary: #7c4dff;
  --tertiary: #ff4081;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.45);
  
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  
  --shadow-glow: 0 8px 32px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.4);
}

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

html, body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Stars Grid Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(124, 77, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(7, 10, 18, 0.9) 0%, #070a12 100%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: rgba(7, 10, 18, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #050811;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 229, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glow);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Grid */
.features-section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem;
  margin-top: 5rem;
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Document Pages (Privacy / Terms) */
.doc-page {
  max-width: 860px;
  margin: 2rem auto 5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.doc-page h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.doc-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.doc-page h2 {
  font-size: 1.4rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-main);
}

.doc-page p, .doc-page ul {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.doc-page ul {
  padding-left: 1.5rem;
}

.doc-page li {
  margin-bottom: 0.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .doc-page {
    padding: 2rem 1.25rem;
  }
  .navbar {
    padding: 1rem;
  }
}
