/* Tango Cards Website Styles */

:root {
  /* Light mode colors */
  --color-background: #f5f5f5;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #666666;
  --color-text-tertiary: #999999;
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;
  --color-primary: #FF2D55;
  --color-secondary: #AF52DE;
  --color-tertiary: #5AC8FA;
  --color-success: #34C759;
  --color-shadow: rgba(255, 45, 85, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode colors */
    --color-background: #000000;
    --color-surface: #1a1a1a;
    --color-text: #ffffff;
    --color-text-secondary: #999999;
    --color-text-tertiary: #666666;
    --color-border: #333333;
    --color-border-light: #2a2a2a;
    --color-shadow: rgba(0, 0, 0, 0.5);
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Cards */
.card {
  background-color: var(--color-surface);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-shadow);
}

.card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.card p {
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* Features Section */
.features {
  padding: 60px 20px;
}

.features h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background-color: var(--color-surface);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 12px var(--color-shadow);
}

.feature-card .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

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

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

.content-page .btn-primary {
  color: white;
}

.btn-primary:hover {
  background-color: #e01e48;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.3);
}

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

.btn-secondary:hover {
  background-color: #9a47c5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(175, 82, 222, 0.3);
}

/* Content Pages (Terms, Privacy) */
.content-page {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

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

.content-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
}

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

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

.content-page ul,
.content-page ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.content-page li {
  margin-bottom: 8px;
}

.content-page a {
  color: var(--color-primary);
  text-decoration: none;
}

.content-page a:hover {
  text-decoration: underline;
}

.content-page a.btn-primary {
  color: white;
}

.content-page a.btn-primary:hover {
  color: white;
  text-decoration: none;
}

/* Footer */
footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 32px 20px;
  margin-top: 80px;
  text-align: center;
}

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

footer nav {
  justify-content: center;
}

footer nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  margin: 0 16px;
  font-size: 14px;
}

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

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

  .hero p {
    font-size: 18px;
  }

  .features h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 16px;
  }

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