/* redoit Website Styles */

:root {
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-light: #5eead4;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --border: #e5e7eb;
  --success: #22c55e;
  --error: #ef4444;
  --max-width: 800px;
  --header-height: 64px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Main content */
main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Hero section */
.hero {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--primary);
}

.hero-tagline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text-primary);
}

/* Features section */
.features {
  padding: 80px 24px;
  background: var(--bg-white);
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 24px;
  background: var(--bg-light);
  border-radius: 16px;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Legal pages */
.legal-page {
  padding: 60px 24px;
}

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

.legal-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

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

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

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

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.legal-content strong {
  color: var(--text-primary);
}

/* Support page */
.support-page {
  padding: 60px 24px;
}

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

.support-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.support-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 18px;
}

.contact-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.contact-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-email {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.faq-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

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

.faq-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 48px 24px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

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

  .section-title {
    font-size: 24px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .legal-content h1 {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .features {
    padding: 48px 16px;
  }

  .legal-page, .support-page {
    padding: 40px 16px;
  }
}
