/* Taskmaster Landing Page Styles */

:root {
  --color-primary: #F21C1C;
  --color-primary-dark: #DB0D0D;
  --color-coral: #F05353;
  --color-pink-light: #FBD8D8;
  --color-pink-lighter: #FEF6F6;
  --color-gray-light: #F9F9F9;
  --color-gray-text: #5F5F5F;
  --color-white: #FFFFFF;

  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  color: var(--color-gray-text);
  line-height: 1.6;
}

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

/* Header */
.site-header {
  background: var(--color-primary);
  padding: 0 2rem;
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.header-nav {
  display: flex;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

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

.btn-solid {
  background: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
  color: var(--color-white);
}

.btn-solid:hover {
  background: #c00a0a;
  border-color: #c00a0a;
}

.btn-cta {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

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

/* Hero Section */
.hero {
  background: var(--color-gray-light);
  padding: 4rem 2rem;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #333;
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  font-style: italic;
}

.hero-text h1 strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-gray-text);
}

.hero-highlight {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 500px;
  width: auto;
}

/* Features Section */
.features {
  background: var(--color-coral);
  padding: 4rem 2rem;
}

.features-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-image {
  display: flex;
  justify-content: center;
}

.oval-frame {
  width: 350px;
  height: 450px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.3);
}

.oval-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-text {
  color: var(--color-white);
}

.features-text h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.features-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.features-text strong {
  font-weight: 700;
}

.features-quote {
  font-weight: 600;
  font-style: italic;
}

/* Gamification Section */
.gamification {
  background: var(--color-pink-light);
  padding: 4rem 2rem;
}

.gamification-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gamification-text {
  color: #333;
}

.gamification-text h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.gamification-text h2 em {
  font-style: italic;
}

.gamification-text h2 strong {
  font-weight: 700;
}

.gamification-text h2 .highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.gamification-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-gray-text);
}

.gamification-text strong {
  font-weight: 700;
  color: #333;
}

.gamification-footer {
  margin-top: 1.5rem;
  font-style: italic;
}

.gamification-image {
  display: flex;
  justify-content: center;
}

.gamification-image img {
  max-height: 550px;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content,
  .features-content,
  .gamification-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text,
  .features-text,
  .gamification-text {
    order: 1;
  }

  .hero-image,
  .features-image,
  .gamification-image {
    order: 2;
  }

  .features-content .features-image {
    order: 1;
  }

  .features-content .features-text {
    order: 2;
  }

  .oval-frame {
    width: 280px;
    height: 360px;
  }

  .hero-text h1,
  .features-text h2,
  .gamification-text h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }

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

  .hero,
  .features,
  .gamification {
    padding: 2.5rem 1.5rem;
  }

  .oval-frame {
    width: 220px;
    height: 280px;
  }
}
