/* 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-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-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;
}

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