/* Spokoi Website Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #040404;
  --bg-secondary: #070707;
  --bg-card: #1E1E1E;
  --text-primary: #EDEDED;
  --text-secondary: #BABABA;
  --text-muted: #6B6B6B;
  --accent-start: #14B8A6;
  --accent-end: #11699C;
  --border: #2D2D2D;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

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

.logo span {
  font-weight: 600;
  font-size: 18px;
}

/* Main Content */
main {
  flex: 1;
  padding: 48px 0;
}

/* Landing Page */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  text-align: center;
}

.landing-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 32px;
  animation: pulse 3s ease-in-out infinite;
}

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

.landing h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing .tagline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.btn-primary svg {
  width: 24px;
  height: 24px;
}

/* Document Pages */
.document {
  padding: 24px 0;
}

.document h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.document .last-updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 48px;
}

.document h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.document h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.document p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.document ul, .document ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.document li {
  margin-bottom: 8px;
}

.document a {
  color: var(--accent-start);
  text-decoration: none;
}

.document a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

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

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--accent-start);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: auto;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--accent-start);
}

.footer-email svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-company {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}

.copyright {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
}

/* Footer mobile */
@media (max-width: 768px) {
  footer .container {
    gap: 20px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .landing h1 {
    font-size: 36px;
  }
  
  .landing .tagline {
    font-size: 16px;
  }
  
  .landing-logo {
    width: 150px;
    height: 150px;
  }
  
  .document h1 {
    font-size: 28px;
  }
  
  .document h2 {
    font-size: 20px;
  }
}
