/* Pillican Time - using app color palette */
@charset "UTF-8";

:root {
  --primary: #1B3A2D;
  --primary-dark: #14302A;
  --primary-container: #A5CBB8;
  --secondary: #C49A2A;
  --secondary-container: #EDD9A3;
  --surface: #FAFDF8;
  --surface-variant: #EEF2EC;
  --on-surface: #1A1C1A;
  --on-surface-variant: #414941;
  --outline: #717971;
  --nav-color: white;
}

html {
  height: 75%;
}

body {
  position: relative;
  margin: 0;
  padding-bottom: 8rem;
  min-height: 100%;
  background-color: var(--surface);
  color: var(--on-surface);
}

main {
  margin-top: 80px;
  margin-bottom: 50px;
  font-size: 17px;
  text-align: justify;
}

/* Links */
a:link, a:visited, a:active {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

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

/* Fonts */
html, body, h1, h2, h3, h4, h5, h6 {
  font-family: Roboto, Verdana, Segoe, sans-serif;
}

/* Navbar */
.navbar {
  background-color: var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar a {
  padding: 14px 20px;
  color: var(--nav-color);
}

.navbar a:hover {
  opacity: 0.6;
  text-decoration: none;
  color: var(--nav-color);
}

.navbar .center {
  display: flex;
  align-items: center;
}

.navbar-logo {
  padding: 8px 16px;
}

.navbar-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  vertical-align: middle;
}

/* Footer */
.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 15px;
  text-align: center;
  color: var(--on-surface-variant);
  padding: 1rem 0;
}

.footer a:link, .footer a:visited, .footer a:active {
  color: var(--primary);
}

/* Content */
.center {
  margin: 0 auto;
  max-width: 750px;
  width: 94%;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.2);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--on-surface-variant);
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: white !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none !important;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--secondary) !important;
  text-decoration: none !important;
  color: white !important;
  opacity: 1;
}

/* Feature cards */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  flex: 1 1 200px;
  background-color: var(--surface-variant);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-container);
}

.feature-card h3 {
  color: var(--primary);
  margin-top: 0;
}

/* Feature graphic */
.feature-graphic {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.15);
  display: block;
  margin: 2rem auto;
}

/* Section cards (for policy/support pages) */
.section-card {
  background-color: var(--surface-variant);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.section-card h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--primary-container);
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.section-card h3 {
  color: var(--primary-dark);
}

/* Steps list */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.steps li {
  counter-increment: step-counter;
  padding: 0.75rem 0.75rem 0.75rem 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--outline);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step-counter);
  background-color: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

/* Media */
@media (max-width: 600px) {
  main {
    text-align: left;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .features {
    flex-direction: column;
  }

  .section-card {
    padding: 1rem 1.1rem;
  }

  .section-card h2 {
    font-size: 1.1rem;
  }

  .steps li {
    padding: 0.6rem 0.5rem 0.6rem 2.8rem;
    font-size: 0.95rem;
  }

  .steps li::before {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }
}
