/* Tagmate Modern Website Styles */

:root {
  --primary-color: #FF6B6B;
  --secondary-color: #7C3AED;
  --accent-color: #FF8C42;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
  padding-top: 60px;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  color: var(--text-dark);
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

/* Hero Section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(124, 58, 237, 0.05));
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.product-hunt-badge {
  display: inline-block;
  margin: 2rem 0;
}

/* Screenshots Gallery */
.screenshots {
  padding: 3rem 2rem;
  background-color: var(--bg-light);
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.screenshots-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.screenshots-grid::-webkit-scrollbar {
  height: 8px;
}

.screenshots-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.screenshots-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.screenshots-grid::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.screenshot-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  flex: 0 0 250px;
  min-width: 250px;
  scroll-snap-align: start;
}

.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  padding: 3rem 2rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-item {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(124, 58, 237, 0.1));
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
}

.feature-item:nth-child(odd) {
  border-left-color: var(--secondary-color);
}

/* Demo Section */
.demo {
  padding: 3rem 2rem;
  background-color: var(--bg-light);
}

.demo h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.app-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.app-link-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.app-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  color: white;
  text-decoration: none;
}

.demo-credentials {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.demo-credentials h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.credential-item {
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.credential-item strong {
  color: var(--primary-color);
  display: block;
  font-size: 0.9rem;
}

.credential-item code {
  background-color: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

/* Instructions Section */
.instructions {
  padding: 3rem 2rem;
}

.instructions h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.instructions ol {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(124, 58, 237, 0.05));
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 800px;
  margin: 0 auto;
}

/* Credits Section */
.credits {
  padding: 3rem 2rem;
  background-color: var(--bg-light);
}

.credits h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.credits p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.contributor-list {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
}

.contributor-list ul {
  list-style: none;
  margin-left: 0;
}

.contributor-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.contributor-list a {
  font-weight: 600;
}

/* Update Section */
.update {
  padding: 3rem 2rem;
}

.update h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.update-content {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(124, 58, 237, 0.1));
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.update-content p {
  text-align: center;
  margin: 0;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer p {
  color: #aaa;
  margin: 0;
  font-size: 0.95rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .screenshot-item {
    flex: 0 0 200px;
    min-width: 200px;
  }

  .app-links {
    flex-direction: column;
  }

  .app-link-btn {
    width: 100%;
    text-align: center;
  }

  .demo-credentials {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .screenshot-item {
    flex: 0 0 180px;
    min-width: 180px;
  }
}
