/* Austin Chat Site - Modern Dating Chat Platform */
/* Color Palette: Primary Blue #2563EB, Neutral Grays, White */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --secondary: #10B981;
  --dark: #1F2937;
  --gray: #2D3748;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

.nav-menu a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn img {
  width: 28px;
  height: 28px;
  color: var(--dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: #EFF6FF;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Focus styles for accessibility */
.cta-btn:focus,
.btn-primary:focus,
.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cta-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

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

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  line-height: 56px;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-item h3 {
  margin-bottom: 12px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question img {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 24px;
  color: var(--gray);
  line-height: 1.7;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-content {
  padding: 24px;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more img {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-floating {
    bottom: 16px;
    right: 16px;
    padding: 14px 24px;
  }
}

/* Utility */
.text-center {
  text-align: center;
}



/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 24px;
  color: var(--dark);
}

.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 32px;
}

.back-link img {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.back-link:hover {
  text-decoration: underline;
}

/* Card styling consistency */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
}

/* Utility classes for spacing */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.mt-5 { margin-top: 64px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 48px; }

.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 32px; }
.pt-4 { padding-top: 48px; }

.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 32px; }
.pb-4 { padding-bottom: 48px; }

/* Border utilities */
.border-top { border-top: 1px solid var(--border); }

/* Text utilities */
.text-primary { color: var(--primary); }
.text-muted { color: #D1D5DB; line-height: 1.7; } /* Improved contrast for dark backgrounds */

/* List utilities */
.list-unstyled { list-style: none; padding: 0; }

/* Button size utilities */
.btn-lg {
  padding: 18px 48px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Background and section utilities */
.bg-light { background: var(--light); }
.section-alt {
  background: var(--light);
  padding: 60px 0;
}

/* Card highlight */
.highlight-card {
  background: #EFF6FF;
  border-color: var(--primary);
}

/* Center utility (already have .text-center) */
.center-block {
  margin-left: auto;
  margin-right: auto;
}

/* SEO hidden text but visible to screen readers */

/* SEO hidden text but visible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Additional utilities */
.mb-32 { margin-bottom: 32px; }
.limit-width {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.text-gray { color: var(--gray); }
