:root{
  --navy:#0A1A2F;
  --navy-900:#0d213a;
  --graphite:#121212;
  --surface:#151a22;
  --muted:#9aa6b2;
  --line:#243042;
  --cyan:#0FF4D6;
  --green:#2ECC71;
  --amber:#FFC107;
  --coral:#FF6B6B;
  --white:#E6E6E6;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  min-height:100vh;
}

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji",sans-serif;
  color:var(--white);
  background:linear-gradient(180deg, var(--graphite) 0%, var(--navy) 100%);
  background-attachment:fixed;
}

.page-container{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.page-header{
  padding:20px 40px;
  background:rgba(20,26,34,.9);
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  box-shadow:var(--shadow);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.dex{flex:0 0 auto}

.dex-glow{fill:rgba(15,244,214,.12)}

.dex-ring{fill:none;stroke:var(--cyan);stroke-width:2}

.dex-handle{stroke:var(--cyan);stroke-width:3;stroke-linecap:round}

.dex-coat{fill:none;stroke:rgba(230,230,230,.6);stroke-width:1.5}

.titles .app-title{
  margin:0;
  font-size:24px;
  letter-spacing:.3px;
  font-weight:700;
}

.subtitle{
  margin:4px 0 0 0;
  font-size:14px;
  color:var(--muted)
}

.page-nav{
  display:flex;
  gap:16px;
  align-items:center;
}

.nav-link{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  padding:8px 16px;
  border-radius:8px;
  transition:all 0.2s;
}

.nav-link:hover{
  color:var(--cyan);
  background:rgba(15,244,214,.1);
}

.nav-link.active{
  color:var(--cyan);
  background:rgba(15,244,214,.15);
  border:1px solid rgba(15,244,214,.3);
}

.page-content{
  flex:1;
  padding:40px 20px;
  max-width:900px;
  margin:0 auto;
  width:100%;
}

.content-wrapper{
  background:rgba(13,23,36,.7);
  border:1px solid var(--line);
  border-radius:16px;
  padding:40px;
  box-shadow:var(--shadow);
}

.page-title{
  margin:0 0 8px 0;
  font-size:32px;
  font-weight:700;
  color:#cfe7e3;
  letter-spacing:.3px;
}

.page-subtitle{
  margin:0 0 32px 0;
  color:var(--muted);
  font-size:16px;
}

.content-section{
  margin-bottom:40px;
}

.content-section h3{
  margin:0 0 16px 0;
  font-size:22px;
  font-weight:700;
  color:#cfe7e3;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}

.content-section h4{
  margin:24px 0 12px 0;
  font-size:18px;
  font-weight:600;
  color:#a8f5ea;
}

.content-section p{
  margin:12px 0;
  font-size:15px;
  line-height:1.7;
  color:#d7e3e1;
}

.content-section ul,
.content-section ol{
  margin:16px 0;
  padding-left:28px;
  color:#d7e3e1;
  line-height:1.8;
}

.content-section li{
  margin:8px 0;
  font-size:15px;
}

.content-section strong{
  color:var(--cyan);
  font-weight:600;
}

.content-section a{
  color:var(--cyan);
  text-decoration:none;
  border-bottom:1px solid rgba(15,244,214,.3);
  transition:all 0.2s;
}

.content-section a:hover{
  color:#5affeb;
  border-bottom-color:var(--cyan);
}

.content-section code{
  background:rgba(15,244,214,.15);
  padding:2px 6px;
  border-radius:4px;
  font-family:'Courier New',monospace;
  font-size:14px;
  color:var(--cyan);
}

.back-link{
  margin-top:40px;
  padding-top:32px;
  border-top:1px solid var(--line);
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--white);
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  transition:all 0.2s;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(180deg, rgba(15,244,214,.18), rgba(15,244,214,.08));
  border-color:rgba(15,244,214,.35);
  box-shadow:0 0 0 2px rgba(15,244,214,.12) inset;
}

.support-cta{
  margin:24px 0;
  text-align:center;
}

.buymeacoffee-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:12px;
  padding:14px 24px;
  text-decoration:none;
  color:#1a0f07;
  font-weight:700;
  font-size:15px;
  border:2px solid #FFD700;
  background:linear-gradient(180deg, #FFD700, #FFA500);
  margin:16px 0;
  box-shadow:0 4px 15px rgba(255,215,0,.4), 0 0 0 1px rgba(255,215,0,.3) inset;
  transition:all 0.3s ease;
}

.buymeacoffee-btn:hover{
  filter:brightness(1.15);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(255,215,0,.6), 0 0 0 1px rgba(255,215,0,.4) inset;
}

.coffee-icon{
  font-size:18px;
}

.support-text{
  color:#d4af37;
  font-size:14px;
  text-align:center;
  margin-top:12px;
}

.page-footer{
  padding:32px 40px;
  background:rgba(20,26,34,.9);
  border-top:1px solid var(--line);
  text-align:center;
  margin-top:auto;
}

.page-footer p{
  margin:0 0 12px 0;
  color:var(--muted);
  font-size:14px;
}

.footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.footer-link{
  color:#a8f5ea;
  text-decoration:none;
  font-size:14px;
  transition:color 0.2s;
}

.footer-link:hover{
  color:var(--cyan);
  text-decoration:underline;
}

.footer-separator{
  opacity:.5;
  color:var(--muted);
}

@media (max-width:768px){
  .page-header{
    padding:16px 20px;
    flex-direction:column;
    align-items:flex-start;
  }
  
  .page-nav{
    width:100%;
    flex-wrap:wrap;
  }
  
  .content-wrapper{
    padding:24px;
  }
  
  .page-title{
    font-size:24px;
  }
  
  .content-section h3{
    font-size:20px;
  }
  
  .content-section h4{
    font-size:16px;
  }
}

/* FAQ Accordion Styles */
.faq-accordion {
  margin-top: 24px;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid rgba(15,244,214,.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15,244,214,.03);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(15,244,214,.4);
  background: rgba(15,244,214,.05);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--cyan);
  background: rgba(15,244,214,.05);
}

.faq-question:focus {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 20px 20px 20px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  margin: 16px 0;
  line-height: 1.6;
  color: var(--muted);
}

.faq-answer p:first-child {
  margin-top: 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin-left: 20px;
  padding-left: 0;
}

.faq-answer a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.faq-answer code {
  background: rgba(15,244,214,.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--cyan);
}

