/* AuraAI Marketing Site — shared styles */

:root {
  --bg: #141312;
  --bg-elevated: #1c1b1a;
  --bg-card: #222120;
  --text: #fafafa;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --brand: #e85d75;
  --brand-dark: #c7384f;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-brand: linear-gradient(135deg, #e85d75 0%, #8b5cf6 100%);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1120px;
  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(20, 19, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--text);
}

.site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem 2rem;
  margin-top: 4rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.site-footer__brand p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 280px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer__col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li + li {
  margin-top: 0.5rem;
}

.site-footer__col a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.site-footer__col a:hover {
  color: var(--text);
}

.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.store-buttons a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-buttons a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-buttons img {
  height: 48px;
  width: auto;
}

/* Features */
.section {
  padding: 3rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section__header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(232, 93, 117, 0.3);
  transform: translateY(-2px);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Privacy teaser */
.privacy-teaser {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin: 2rem 0;
}

.privacy-teaser__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-teaser p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.privacy-teaser strong {
  color: var(--text);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 3rem 0 1rem;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-section p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

/* Legal pages */
.legal-page {
  padding: 2.5rem 0 1rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text-secondary);
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.375rem;
}

.legal-content a {
  color: var(--accent-light);
}

/* Support / Delete account */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.info-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.info-card p,
.info-card ol,
.info-card ul {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
}

.info-card ol,
.info-card ul {
  padding-left: 1.25rem;
}

.info-card li + li {
  margin-top: 0.375rem;
}

.info-card:last-child p:last-child {
  margin-bottom: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Mobile nav */
@media (max-width: 640px) {
  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .store-buttons img {
    height: 44px;
  }
}
