/* ============================================
   Fónua White Label Trade-In Landing Page
   ============================================ */

:root {
  --navy: #1f2338;
  --navy-dark: #181b2c;
  --green: #16c560;
  --green-dark: #12a850;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.9);
  --footer-bg: #ffffff;
  --footer-text: #1a1a1a;
  --max-width: 1200px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Header ---- */

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--green);
  font-weight: 600;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
}

.powered-by__label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
}

.powered-by__logo {
  height: 22px;
  width: auto;
  display: block;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.75rem;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.btn-login:hover {
  background: var(--green);
  color: var(--white);
}

/* ---- Hero ---- */

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

.hero__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.hero__title-line {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__title-line--accent {
  color: var(--green);
}

.hero__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.hero__features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* ---- Intro ---- */

.intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.intro__text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--green);
  line-height: 1.55;
  max-width: 780px;
}

/* ---- Features Grid ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
}

.feature-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.feature-card__list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
  line-height: 1.45;
}

.feature-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ---- Workflow ---- */

.workflow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
}

.workflow__block + .workflow__block {
  margin-top: 1.25rem;
}

.workflow__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.workflow__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 520px;
}

.workflow__icon img {
  width: 140px;
  height: auto;
}

/* ---- Why Fónua ---- */

.why-fonua {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
  border-top: 2px solid var(--green);
}

.why-fonua__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-fonua__accent {
  color: var(--green);
}

.why-fonua__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-fonua__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-fonua__list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
  line-height: 1.5;
}

.why-fonua__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ---- Footer ---- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 2.5rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer__brand {
  flex-shrink: 0;
}

.site-footer__logo {
  width: 170px;
  height: auto;
}

.site-footer__contact {
  flex: 0 1 auto;
  min-width: 0;
}

.site-footer__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.site-footer__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 0.1rem;
}

.site-footer__role {
  font-size: 0.85rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 0.6rem;
}

.site-footer__divider {
  border: none;
  border-top: 2px solid var(--green);
  margin: 0 0 0.6rem;
}

.site-footer__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.site-footer__detail {
  font-size: 0.85rem;
  color: #333;
  white-space: nowrap;
}

.site-footer__label {
  color: var(--green);
  font-weight: 600;
}

.site-footer__detail a {
  color: #333;
  text-decoration: none;
}

.site-footer__link {
  text-decoration: underline !important;
}

.site-footer__detail a:hover {
  color: var(--green);
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #333 !important;
  text-decoration: underline;
  white-space: nowrap;
}

.site-footer__linkedin svg {
  color: #0077b5;
  flex-shrink: 0;
}

.site-footer__linkedin:hover {
  color: var(--green) !important;
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: -1;
  }

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

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

  .workflow__icon {
    display: flex;
    justify-content: center;
  }

  .why-fonua__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .site-footer__contact {
    max-width: 100%;
  }

  .site-footer__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 1rem;
    flex-wrap: wrap;
    height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.75rem;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .powered-by {
    padding: 0.5rem 0.9rem;
  }

  .hero,
  .intro,
  .features-grid,
  .workflow,
  .why-fonua {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__title-line {
    font-size: 1.5rem;
  }
}
