/* ============================================
   HOCATT Support Portal — Styles
   Brand: Montserrat, #007AFF blue family
   ============================================ */

:root {
  --hocatt-blue: #007AFF;
  --hocatt-blue-dark: #005ECB;
  --hocatt-blue-darker: #004AA0;
  --hocatt-blue-light: #E8F1FF;
  --hocatt-blue-glow: rgba(0, 122, 255, 0.08);
  --hocatt-gray-logo: #5A5E66;

  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --warm-gray: #E2E6EB;
  --mid-gray: #8E95A0;
  --text-primary: #1A1D23;
  --text-secondary: #525861;
  --text-light: #8E95A0;

  --success: #34A853;
  --error: #D93025;
  --focus-ring: rgba(0, 122, 255, 0.3);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hocatt-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--hocatt-blue-dark);
}
a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-gray);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 32px;
  width: auto;
}

.header-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding-left: 16px;
  border-left: 1px solid var(--warm-gray);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--hocatt-blue) 0%, var(--hocatt-blue-darker) 100%);
  color: var(--white);
  padding: clamp(48px, 8vw, 80px) 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 400;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}

/* ============================================
   Contact Channel Cards
   ============================================ */

.channels {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--off-white);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.channel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-gray);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.channel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hocatt-blue-light);
  color: var(--hocatt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.channel-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.channel-cta {
  display: inline-block;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hocatt-blue);
  margin-bottom: 12px;
  transition: color 0.2s var(--ease);
}

.channel-cta:hover {
  color: var(--hocatt-blue-dark);
}

button.channel-cta {
  background: var(--hocatt-blue);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

button.channel-cta:hover {
  background: var(--hocatt-blue-dark);
  transform: translateY(-1px);
}

button.channel-cta:active {
  transform: translateY(0);
}

.phone-number {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.channel-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.channel-hours {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   Support Categories
   ============================================ */

.categories {
  padding: clamp(48px, 8vw, 72px) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--warm-gray);
  transition: border-color 0.25s var(--ease);
}

.category-card:hover {
  border-color: var(--hocatt-blue);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--hocatt-blue-light);
  color: var(--hocatt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.category-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.category-action {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.category-action strong {
  color: var(--hocatt-blue);
  font-weight: 600;
}

/* ============================================
   FAQ Accordion
   ============================================ */

.faq {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--off-white);
}

.faq-list {
  max-width: 720px;
  margin: 24px auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--hocatt-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s var(--ease);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: '';
}

.faq-question:hover {
  color: var(--hocatt-blue);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.faq-chevron::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: border-color 0.2s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] .faq-chevron::before {
  border-color: var(--hocatt-blue);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer a {
  font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--warm-gray);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.footer-brand {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-link {
  font-size: 13px;
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 640px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .channel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .channel-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 26px;
  }

  .header-label {
    font-size: 13px;
    padding-left: 12px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
