/* Synq Website - Shared Styles */
/* Sophisticated & Editorial Design System */

:root {
  /* Colors - Synq Brand */
  --synq-blue: #0A66C2;
  --synq-sky: #70B5F9;
  --synq-ice: #A8D4FF;

  /* Backgrounds */
  --bg-darkest: #080B12;
  --bg-dark: #0D1117;
  --bg-medium: #131A24;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-overline: rgba(255, 255, 255, 0.5);

  /* Spacing */
  --section-padding: 80px;
  --section-padding-mobile: 60px;
  --max-width: 1200px;
  --content-width: 700px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

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

/* Typography */
.serif {
  font-family: 'Charter', 'Iowan Old Style', 'Sitka Text', 'Palatino', 'Book Antiqua', serif;
}

.overline {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-overline);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 24px;
}

p {
  line-height: 1.7;
}

/* Mobile typography */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background-color: rgba(8, 11, 18, 0.95);
  backdrop-filter: blur(10px);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-selector {
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.language-selector:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.language-selector:focus {
  outline: none;
  border-color: var(--synq-sky);
  box-shadow: 0 0 0 3px rgba(112, 181, 249, 0.1);
}

.language-selector option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  padding: 8px;
}

.header-cta {
  padding: 10px 24px;
  border: 2px solid var(--synq-sky);
  border-radius: 6px;
  color: var(--synq-sky);
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  transition: all 0.2s ease;
}

.header-cta:hover {
  background-color: var(--synq-sky);
  color: var(--bg-darkest);
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .header-logo {
    height: 28px;
  }

  .header-actions {
    gap: 12px;
  }

  .language-selector {
    padding: 6px 10px;
    font-size: 13px;
    padding-right: 32px;
    background-position: right 10px center;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background-color: var(--bg-darkest);
}

.hero-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-overline {
  margin-bottom: 16px;
}

.hero-headline {
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-subheading {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px;
}

.hero-cta {
  padding: 12px 32px;
  border: 2px solid var(--synq-sky);
  border-radius: 6px;
  color: var(--synq-sky);
  font-weight: 500;
  font-size: 16px;
  background: transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

.hero-cta:hover {
  transform: scale(1.02);
}

.hero-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-subheading {
    font-size: 16px;
  }
}

/* Features Section */
.features {
  background-color: var(--bg-dark);
  padding: var(--section-padding) 20px;
}

.features-container {
  max-width: 600px;
  margin: 0 auto;
}

.feature {
  margin-bottom: 48px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature-overline {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-overline);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 8px;
}

.feature-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features {
    padding: var(--section-padding-mobile) 20px;
  }

  .feature {
    margin-bottom: 40px;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-darkest);
  padding: 60px 20px;
  text-align: center;
}

.footer-branding {
  margin-bottom: 32px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin: 0 auto 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--synq-sky);
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

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

.footer-legal {
  font-size: 12px;
  color: var(--text-overline);
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 20px;
  }

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

  .footer-separator {
    display: none;
  }
}

/* Legal Pages (Privacy & Terms) */
.legal {
  background-color: var(--bg-dark);
  padding: 120px 20px 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-weight: 400;
  margin-bottom: 16px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

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

.legal-section h3 {
  font-weight: 600;
  margin: 40px 0 16px 0;
}

.legal-section h4 {
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0 12px 0;
}

.legal-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
  margin: 16px 0 16px 24px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* FAQ Styles */
.faq-container {
  max-width: var(--content-width);
  margin: 0 auto;
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

.faq-question {
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: var(--text-primary);
  transition: color 0.2s ease;
  position: relative;
}

.faq-question:hover {
  color: var(--synq-ice);
}

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

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--synq-sky);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Info Styles */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-medium);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-button {
  display: inline-block;
  background: var(--synq-sky);
  color: var(--bg-darkest);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-button:hover {
  background: var(--synq-ice);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .legal {
    padding: 100px 20px 60px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    padding: 24px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 20px 0;
  }
}
