/*
Theme Name: Citraleka Landing
Theme URI: https://example.com/citraleka
Author: Citraleka
Author URI: https://example.com
Description: Lightweight, performance-first landing page theme for Citraleka.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: citraleka
*/

:root {
  --green: #10b981;
  --navy: #0f172a;
  --slate: #f1f5f9;
  --gray: #cbd5e1;
  --white: #ffffff;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --secondary: #8b5cf6;
  --font: "Segoe UI", "Segoe UI Variable", Arial, sans-serif;
  --container: 1200px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-green {
  color: var(--green);
}

.notice {
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--secondary-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn:focus-visible,
.header__link:focus-visible,
.faq__question:focus-visible,
.contact-form__input:focus-visible,
.contact-form__textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.btn--large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
}

.header--scrolled {
  border-bottom: 2px solid var(--green);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.header__logo img {
  display: block;
  max-height: 36px;
  width: auto;
  height: auto;
}

.header__nav {
  display: flex;
  gap: 24px;
}

.header__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.header__link.is-active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}
.header__cta {
  padding: 10px 20px;
  font-size: 14px;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  background: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray);
}

.hero__stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--navy);
}

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

.hero__dashboard {
  width: 100%;
  max-width: 500px;
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray);
}

.dash__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--navy);
  border-bottom: 1px solid var(--gray);
}

.dash__dots {
  display: flex;
  gap: 6px;
}

.dash__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray);
}

.dash__dots span:first-child { background: var(--error); }
.dash__dots span:nth-child(2) { background: var(--warning); }
.dash__dots span:last-child { background: var(--green); }

.dash__title {
  font-size: 13px;
  color: var(--gray);
}

.dash__body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash__card {
  background: var(--navy);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--gray);
}

.dash__card-label {
  font-size: 13px;
  color: var(--gray);
  width: 100%;
}

.dash__card-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.dash__card-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
}

.dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 16px;
  background: var(--navy);
  border-radius: 8px;
  border: 1px solid var(--gray);
}

.dash__bar {
  flex: 1;
  background: var(--green);
  border-radius: 4px 4px 0 0;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--light {
  background: var(--slate);
}

.section--dark {
  background: var(--navy);
}

.section--dark .section__title,
.section--dark .section__subtitle {
  color: var(--slate);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 16px;
  color: var(--navy);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.section__cta {
  margin-top: 32px;
  text-align: center;
}

/* Problem & Solution */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--gray);
  transition: border-color 0.2s ease;
}

.problem-card:hover {
  border-color: var(--green);
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate);
  color: var(--error);
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--gray);
}

.problem-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.problem-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
}

.solution-banner {
  background: var(--navy);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
}

.solution-banner__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.solution-banner__text {
  font-size: 16px;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  border: 1px solid var(--gray);
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--green);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate);
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--gray);
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 16px;
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card__list li {
  font-size: 14px;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* How it works */
.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
}

.step__content {
  flex: 1;
  padding-top: 4px;
}

.step__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
}

.step__connector {
  width: 2px;
  height: 40px;
  background: var(--gray);
  margin-left: 27px;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray);
  transition: border-color 0.2s ease;
}

.benefit:hover {
  border-color: var(--green);
}

.benefit__metric {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.benefit__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.benefit__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--gray);
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
}

.testimonial__role {
  font-size: 13px;
  color: var(--gray);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 36px;
  position: relative;
  transition: border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--green);
}

.pricing-card--featured {
  border-color: var(--green);
  border-width: 2px;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 24px;
}

.pricing-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--navy);
}

.pricing-card__price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray);
}

.pricing-card__amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}

.pricing-card__period {
  font-size: 15px;
  color: var(--navy);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--navy);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 50%;
}

.pricing-card__features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gray);
}

.faq__item:first-child {
  border-top: 1px solid var(--gray);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--navy);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
  padding-bottom: 20px;
}

/* CTA */
.section--cta {
  background: var(--navy);
  padding: 96px 0;
}

.cta {
  text-align: center;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta__text {
  font-size: 17px;
  color: var(--slate);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta__note {
  font-size: 14px;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--gray);
  padding: 32px 0;
}

.footer__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer__logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.footer__logo img {
  display: block;
  max-height: 28px;
  max-width: 160px;
  width: auto;
  height: auto;
}

.footer__tagline {
  font-size: 14px;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 0;
}

.footer__desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 280px;
}

.footer__brand-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand-inline .footer__logo {
  margin-bottom: 0;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 14px;
  color: var(--slate);
}

.footer__copy {
  font-size: 14px;
  color: var(--slate);
  text-align: right;
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 16px;
}

.contact__info-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  background: var(--slate);
  border: 1px solid var(--gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__info-icon svg {
  display: block;
}

.contact__info-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact__info-value {
  font-size: 14px;
  color: var(--navy);
}

.contact__info-note {
  font-size: 12px;
  color: var(--green);
  margin-top: 4px;
}

.contact__form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 24px;
}

/* Fluent Forms styling inside contact section */
.contact__form-wrapper .fluentform .ff-el-group {
  margin-bottom: 16px;
}

.contact__form-wrapper .fluentform .ff-el-form-control,
.contact__form-wrapper .fluentform .ff-el-form-control select,
.contact__form-wrapper .fluentform .ff-el-form-control textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--slate);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  color: var(--navy);
}

.contact__form-wrapper .fluentform .ff-el-form-control:focus,
.contact__form-wrapper .fluentform .ff-el-form-control select:focus,
.contact__form-wrapper .fluentform .ff-el-form-control textarea:focus {
  border-color: var(--green);
  outline: none;
}

.contact__form-wrapper .fluentform .ff-el-input--label label,
.contact__form-wrapper .fluentform .ff-el-input--label {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.contact__form-wrapper .fluentform .ff-btn {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

.contact__form-wrapper .fluentform .ff-el-help-message,
.contact__form-wrapper .fluentform .ff-el-form-error {
  font-size: 12px;
  color: var(--error);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--slate);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  color: var(--navy);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--gray);
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  border-color: var(--green);
}

.contact-form__textarea {
  min-height: 140px;
}

.contact-form__textarea {
  resize: vertical;
}

.contact-form__required {
  color: var(--error);
}

.contact-form__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.contact-form__error {
  font-size: 12px;
  color: var(--error);
}

.contact-form__charcount {
  font-size: 12px;
  color: var(--gray);
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contact-form__submit {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.contact-form__privacy {
  font-size: 12px;
  color: var(--navy);
  line-height: 1.5;
  margin: 0;
}

.contact-form__privacy a {
  color: var(--green);
}

.footer__bottom {
  text-align: center;
  font-size: 14px;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__dashboard {
    max-width: 480px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .footer__bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand-inline {
    justify-content: center;
  }

  .footer__copy {
    text-align: center;
  }

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

@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--gray);
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav .header__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray);
  }

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stat-number {
    font-size: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 26px;
  }

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

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

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

  .cta__title {
    font-size: 28px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }


  .solution-banner {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

}
