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

:root {
  --bg-primary: #0b0f17;
  --bg-secondary: #131a26;
  --bg-accent-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 50%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --color-brand: #6366f1;
  --color-brand-light: #818cf8;
  --color-accent: #a855f7;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.4);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: var(--bg-accent-glow);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(11, 15, 23, 0.7);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-brand);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-brand);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--color-brand-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-brand);
  color: white;
  border: 1px solid var(--color-brand);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-brand-light);
  border-color: var(--color-brand-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background-color: rgba(255,255,255,0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  margin-left: 1rem;
}

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

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Apps Grid & Cards */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.app-card {
  background: rgba(19, 26, 38, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.app-card:hover::before {
  opacity: 1;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.app-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.app-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.app-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 600;
}

.app-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .features-list {
    grid-template-columns: 1fr 1fr;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-icon {
  color: var(--color-brand-light);
  font-weight: bold;
}

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

/* Tech Specs / Features Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.tech-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.tech-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-light);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.tech-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tech-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Privacy Layout */
.privacy-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.privacy-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.privacy-title {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.privacy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.privacy-content {
  color: var(--text-secondary);
}

.privacy-content h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.privacy-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.privacy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  background-color: #070a0f;
  color: var(--text-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-title {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile responsive menu */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .app-header {
    flex-direction: column;
  }
}
