/* ========================================
   Zutext Common Styles
   Used by: index.html, features.html,
   privacy_policy.html, terms_of_service.html
   ======================================== */

/* CSS Variables */
:root {
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

p,
li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text-main);
}

a {
  color: var(--primary-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* ========================================
   Navigation
   ======================================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ========================================
   Common Components
   ======================================== */

/* Buttons */
.cta-button {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s transform ease;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  background-color: var(--primary-light);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.card h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-light);
}

.card h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
  color: var(--text-main);
}

.card h4 {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-main);
}

/* Highlight Boxes */
.highlight-box {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.highlight-box strong {
  color: var(--primary-light);
}

.warning-box {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.warning-box strong {
  color: #fca5a5;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  color: var(--primary-light);
  font-weight: 600;
}

td {
  color: var(--text-muted);
}

/* Email Links */
.email-link {
  color: var(--text-muted);
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

/* ========================================
   Content Sections
   ======================================== */

/* Content Header */
.content-header {
  padding: 80px 10% 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.content-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.meta-data {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Content Container */
.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10% 80px;
}

/* Contact Footer */
.contact-footer {
  text-align: center;
  padding: 60px 10%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  margin-top: 40px;
}

.contact-footer h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
}

/* ========================================
   Footer
   ======================================== */
footer {
  padding: 60px 10%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ========================================
   Feature Cards (for homepage & features)
   ======================================== */
.feature-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.feature-card i {
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .content-header h1 {
    font-size: 2.2rem;
  }

  .card {
    padding: 1.5rem;
  }

  nav {
    padding: 1rem 5%;
  }

  .nav-links a {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .content-header h1 {
    font-size: 1.8rem;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
  }

  .nav-links a {
    margin-left: 0;
  }
}