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

:root {
  --bg-color: #0b0c10;
  --text-primary: #e0e0e0;
  --text-secondary: #909090;
  --accent-color: #66fcf1;
  --accent-dim: rgba(102, 252, 241, 0.15);
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0 20px;
}

::selection {
  background: var(--accent-dim);
  color: var(--accent-color);
}

/* Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 100px;
}

/* Header */
.site-header {
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease-out;
}

.back-link {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 30px;
  transition: color 0.3s ease;
  position: relative;
}

.back-link:hover {
  color: var(--text-primary);
}

.back-link::before {
  content: "←";
  margin-right: 8px;
}

.logo-img {
  height: 36px;
  margin-bottom: 15px;
  display: block;
  opacity: 0.9;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* Content Blocks */
.content-section {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.content-section:nth-child(2) { animation-delay: 0.1s; }
.content-section:nth-child(3) { animation-delay: 0.2s; }
.content-section:nth-child(4) { animation-delay: 0.3s; }

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-top: 25px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 10px;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

a:hover {
  text-shadow: 0 0 12px rgba(102, 252, 241, 0.4);
  border-bottom: 1px solid var(--accent-color);
}

/* Glass Card Support */
.support-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), 0 0 20px 0 var(--accent-dim);
  border-color: rgba(255, 255, 255, 0.15);
}

.support-card h3 {
  margin-top: 0;
}

/* Divider */
hr {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 50px 0;
}

/* Index Landing Elements */
.landing-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.landing-hero .app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background: #0b0c10;
}

.landing-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero p.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.btn-glass {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

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

/* Responsive */
@media (max-width: 600px) {
  .page-title {
    font-size: 1.8rem;
  }
  .landing-hero h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 250px;
  }
  .btn-glass {
    text-align: center;
  }
}
