/* Modern CSS Design System - Floating Clock */
:root {
  --bg-dark: #090d16;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, monospace;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Animated Gradient Mesh */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

header {
  padding: 1.5rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--accent-glow);
}

nav {
  display: flex;
  gap: 1.5rem;
}

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

nav a:hover, nav a.active {
  color: var(--text-main);
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 36px var(--accent-glow);
  transition: transform 0.3s ease;
}

.hero-icon:hover {
  transform: translateY(-4px) scale(1.03);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Live Clock Mockup Card */
.clock-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 2rem 3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
  text-align: center;
}

.clock-display {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.pip-badge {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all 0.2s ease;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

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

/* Content Article (Privacy & Support) */
.page-content {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(16px);
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-cyan);
}

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

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

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

/* Footer */
footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  .clock-display {
    font-size: 2.5rem;
  }
  .clock-preview-card {
    padding: 1.5rem 1rem;
  }
  .page-content {
    padding: 1.5rem;
  }
}
