/* In The Quizzinator/static/landing.css */

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

body, html {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  color: #2c3e50;
  background: linear-gradient(135deg, #f0eafc, #fdfefe); /* Quizzinator Gradient */
}

/* Landing Layout */
.landing-content {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 40px; 
}

.landing-header {
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    text-transform: none;
    letter-spacing: 1px;
}

.landing-left,
.landing-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-left {
  align-items: center;
  padding-right: 40px;
}

.landing-right {
  align-items: flex-start;
  padding-left: 40px;
}

/* Headings & Text */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

h2.features-header {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
  align-self: center;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #34495e;
}

/* Call To Action Button (Quizzinator Purple) */
.primary-cta {
  background: #8e44ad;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s;
}

.primary-cta:hover {
  background: #732d91;
}

/* Features Section */
.feature-box {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #2c3e50;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Login Button (Quizzinator Purple) */
.btn.login-btn {
    background-color: transparent;
    color: #8e44ad;
    padding: 10px 20px;
    border: 2px solid #8e44ad;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn.login-btn:hover {
    background-color: #8e44ad;
    color: white;
}

/* Responsive */
@media (max-width: 960px) {
  .landing-content {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .landing-left, 
  .landing-right {
    padding: 0;
    max-width: 95%;
    margin: 0 auto;
  }

  .landing-right {
    margin-top: 30px;
  }

  .landing-header {
      position: static;
      margin-bottom: 20px;
      width: 100%;
      justify-content: space-between;
      gap: 15px;
  }
}

  .landing-header .btn.login-btn {
    flex-shrink: 0;
    margin-left: auto;
  }

.landing-content {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

.landing-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

:root { --vh-safe: 100svh; }
@supports (height: 100dvh) { :root { --vh-safe: 100dvh; } } 

#app-content { padding: 16px 0 24px 0;  }

.wizard-page.center-content {
  margin: 20px auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wizard-page.center-content:not(#status):not(.small-page) {
    min-height: calc(var(--vh-safe) - 180px);
}

.wizard-page.center-content#status {
    justify-content: center;
    padding: 0px 20px;
}

.wizard-page.center-content.small-page {
  justify-content: center;
}

.scrollable-container {
  max-height: calc(var(--vh-safe) - 160px);
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.scrollable-container::-webkit-scrollbar { display: none; }
.scrollable-container { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 600px) {
  .landing-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .landing-header .btn.login-btn {
    width: 100%;
    text-align: center;
  }
}