/* ================================================
   LEISURE APPS LLC - Support Page Styles
   Matches main site light theme
   ================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Brand Colors */
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #22c55e;
  --primary-glow: rgba(22, 163, 74, 0.2);

  /* Light Theme */
  --bg-main: #ffffff;
  --bg-section: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Spacing */
  --section-padding: 80px 5%;
  --card-padding: 24px;
  --border-radius: 16px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 0.5rem;
}

.navbar-links li a {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.navbar-links li a:hover {
  color: var(--primary);
  background: var(--bg-section);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 60px 5%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --- Content Sections --- */
.content-section {
  padding: var(--section-padding);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content-section h2 {
  margin-bottom: 1.5rem;
}

.content-section p {
  margin: 1rem 0;
}

.content-section ul {
  text-align: left;
  max-width: 500px;
  margin: 1.5rem auto;
  padding: 1.5rem 2rem;
  background: var(--bg-section);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
}

.content-section ul li {
  margin-bottom: 1rem;
  padding-left: 0;
  color: var(--text-secondary);
}

.content-section ul li:last-child {
  margin-bottom: 0;
}

.content-section ul li strong {
  color: var(--text-primary);
}

/* --- App Grid / Cards --- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.app-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.app-card p {
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.app-card a {
  font-weight: 500;
}

.app-card a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 2rem 5%;
  margin-top: 2rem;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px 5%;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .navbar-links {
    gap: 0.25rem;
  }

  .hero {
    min-height: auto;
    padding: 40px 5%;
  }

  .content-section ul {
    padding: 1rem 1.5rem;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }
}