/* =========================================================
   CAMPUSKART — HELP & SUPPORT
   Modern, app-styled layout
========================================================= */

:root {
  --bg: #10140F;
  --bg-elevated: #161C12;
  --surface: #1B221A;
  --surface-hover: #232B20;
  --border: rgba(246, 245, 240, 0.08);
  --border-strong: rgba(246, 245, 240, 0.14);
  --brand-green: #3E8E32;
  --brand-green-dark: #2C6624;
  --brand-green-soft: rgba(62, 142, 50, 0.16);
  --accent-gold: #E8B84B;
  --accent-gold-dark: #C99A34;
  --text-primary: #F6F5F0;
  --text-secondary: #A6B0A2;
  --text-muted: #6D766A;
  --text-dark: #1B221A;
  --danger: #E15B4D;
  --warning: #F59E0B;
  --success: #34D399;
  --info: #60A5FA;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 58px;
  --bottom-nav-h: 62px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* =========================================================
   RESET / BASE
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 14px);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

a:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 14px 30px;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}

.header-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.header-title i {
  color: var(--accent-gold);
  margin-right: 8px;
}

/* =========================================================
   SEARCH BOX
========================================================= */

.search-box {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.search-box::placeholder {
  color: var(--text-muted);
}

.search-box:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.10);
}

.search-box i {
  margin-right: 10px;
  color: var(--text-muted);
}

/* =========================================================
   SECTION
========================================================= */

.section {
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-title i {
  color: var(--accent-gold);
  margin-right: 8px;
}

/* =========================================================
   FAQ ITEMS
========================================================= */

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.faq-question .faq-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.faq-question .faq-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-size: 12px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 18px 16px;
  max-height: 500px;
}

/* =========================================================
   MENU ITEMS (Contact Support)
========================================================= */

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.menu-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.menu-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 184, 75, 0.10);
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}

.menu-icon .icon-email {
  color: var(--info);
}

.menu-icon .icon-phone {
  color: var(--success);
}

.menu-content {
  flex: 1;
}

.menu-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.menu-description {
  font-size: 13px;
  color: var(--text-muted);
}

.menu-description a {
  color: var(--accent-gold);
}

.menu-description a:hover {
  text-decoration: underline;
}

/* =========================================================
   BOTTOM NAV
========================================================= */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--bottom-nav-h);
  padding-bottom: var(--safe-bottom);
  background: rgba(22, 28, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.3s;
}

.bottom-nav-item.active {
  color: var(--accent-gold);
}

.bottom-nav-icon {
  font-size: 19px;
  line-height: 1;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 500;
}

.bottom-nav-logo-container {
  flex: 0 0 56px;
  cursor: default;
}

.bottom-nav-logo {
  width: 46px;
  height: 46px;
  margin-top: -26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(62, 142, 50, 0.45), 0 0 0 5px var(--bg);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 640px) {
  body {
    max-width: 768px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .bottom-nav {
    max-width: 768px;
  }

  .container {
    padding: 20px 20px 30px;
  }
}

@media (min-width: 1024px) {
  body {
    max-width: 1200px;
  }

  .bottom-nav {
    max-width: 1200px;
  }

  .container {
    padding: 24px 24px 40px;
  }

  .header-title {
    font-size: 24px;
  }

  .faq-question {
    padding: 16px 22px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 22px;
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 22px 18px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 12px 12px 20px;
  }

  .header {
    padding: 12px 0 12px;
  }

  .header-title {
    font-size: 17px;
  }

  .back-button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .search-box {
    font-size: 13px;
    padding: 10px 14px;
  }

  .section-title {
    font-size: 16px;
  }

  .faq-question {
    font-size: 13px;
    padding: 12px 16px;
  }

  .faq-answer {
    font-size: 12px;
  }

  .menu-item {
    padding: 12px 16px;
  }

  .menu-title {
    font-size: 13px;
  }

  .menu-description {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px 10px 16px;
  }

  .header-title {
    font-size: 15px;
  }

  .faq-question {
    font-size: 12px;
    padding: 10px 14px;
  }

  .faq-answer {
    font-size: 12px;
  }

  .faq-item.active .faq-answer {
    padding: 0 14px 12px;
  }

  .menu-item {
    padding: 10px 14px;
    gap: 12px;
  }

  .menu-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}