:root {
  /* Light Theme Color Palette */
  --primary-bg: #f8fafc;       /* Slate 50 */
  --secondary-bg: #ffffff;     /* White */
  --accent-color: #2563eb;     /* Blue 600 */
  --accent-glow: rgba(37, 99, 235, 0.15);
  --text-primary: #0f172a;     /* Slate 900 */
  --text-secondary: #475569;   /* Slate 600 */
  --border-color: #e2e8f0;     /* Slate 200 */
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

/* Ambient Background Glow */
body::before {
  content: '';
  position: absolute;
  top: -20vh;
  left: -10vw;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Header / Nav */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

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

.nav-link:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  animation: fadeIn 1s ease-out forwards;
}

.page-hero {
  padding: 4rem 0 2rem;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero p {
  margin: 0;
  max-width: 800px;
}

/* Sections */
.section-header {
  text-align: center;
  margin: 4rem 0 2rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Main Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0 4rem;
}

/* Glassmorphic Cards */
.card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.3);
}

.card:hover::before {
  transform: translateX(100%);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-color);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card p, .card address {
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* Contact Details List */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-text dt {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.contact-text dd {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Links */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.card-link:hover {
  color: #1d4ed8;
  gap: 0.75rem;
}

/* App App Showcase specific */
.app-card {
  display: flex;
  flex-direction: column;
}

.app-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Rich Text Content (For Privacy/Terms pages) */
.rich-text {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.rich-text h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.rich-text h2:first-child {
  margin-top: 0;
}

.rich-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.rich-text ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

.rich-text li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  background: var(--secondary-bg);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.animate-up {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .rich-text { padding: 2rem; }
  .nav-links { display: none; } /* Hide complex nav on mobile for this simple version */
}
