/* Landing Page Styles */

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(244, 241, 237, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 100;
  padding: 12px 0;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 18px;
}

.nav__logo {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__auth,
.nav__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__username {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 140px 24px 80px;
  background: radial-gradient(circle at top left, #fdf2e4, #f4f1ed 40%, #f0ebe7 100%);
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235, 94, 40, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__badge svg {
  color: #f59e0b;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--accent-2);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn--large {
  padding: 16px 28px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -12px;
  object-fit: cover;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__trust p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.hero__visual {
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
}

.hero__preview {
  position: absolute;
  bottom: -30px;
  left: -30px;
  z-index: 10;
}

.hero__preview-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  padding: 12px;
  width: 280px;
}

.hero__preview-header {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.hero__preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
}

.hero__preview-dot:nth-child(1) { background: #ef4444; }
.hero__preview-dot:nth-child(2) { background: #f59e0b; }
.hero__preview-dot:nth-child(3) { background: #22c55e; }

.hero__preview-signature {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
}

.hero__preview-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  flex-shrink: 0;
}

.hero__preview-details {
  flex: 1;
}

.hero__preview-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-2);
}

.hero__preview-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero__preview-contact {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__preview {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Logos Section */
.logos {
  padding: 60px 24px;
  background: #fff;
  border-bottom: 1px solid var(--outline);
}

.logos__label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 24px;
}

.logos__grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logos__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.logos__item svg {
  opacity: 0.6;
}

/* Features Section */
.features {
  padding: 100px 24px;
  background: #fdfbf9;
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.features__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--accent-2);
}

.features__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--outline);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature__icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.feature__icon--green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.feature__icon--purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.feature__icon--orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.feature__icon--pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.feature__icon--teal { background: rgba(20, 184, 166, 0.1); color: #14b8a6; }

.feature__title {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--accent-2);
}

.feature__description {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Templates Section */
.templates {
  padding: 100px 24px;
  background: #fff;
}

.templates__container {
  max-width: 1000px;
  margin: 0 auto;
}

.templates__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.templates__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--accent-2);
}

.templates__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.templates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.template-preview-card {
  background: #fdfbf9;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--outline);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.template-preview-card__preview {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--outline);
  min-height: 80px;
}

.template-preview-card__preview--minimalist {
  justify-content: center;
}

.template-preview-card__preview--stacked {
  flex-direction: column;
}

.template-preview-card__preview--accent {
  gap: 16px;
}

.tpc__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  flex-shrink: 0;
}

.tpc__logo--wide {
  width: 60px;
  height: 24px;
}

.tpc__accent-bar {
  width: 6px;
  height: 50px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.tpc__content {
  flex: 1;
}

.tpc__content--center {
  text-align: center;
}

.tpc__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.tpc__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tpc__content--center .tpc__lines {
  align-items: center;
}

.tpc__lines span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.tpc__lines span:nth-child(1) { width: 70%; }
.tpc__lines span:nth-child(2) { width: 50%; }
.tpc__lines span:nth-child(3) { width: 30%; }

.template-preview-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.templates__cta {
  text-align: center;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 24px;
  background: linear-gradient(180deg, #fdfbf9 0%, #f4f1ed 100%);
}

.how-it-works__container {
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.how-it-works__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--accent-2);
}

.how-it-works__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--outline);
  position: relative;
}

.step-card__number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.step-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(235, 94, 40, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 20px;
  color: var(--accent);
}

.step-card__title {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--accent-2);
}

.step-card__description {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

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

/* Testimonials Section */
.testimonials {
  padding: 100px 24px;
  background: #fff;
}

.testimonials__container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  color: var(--accent-2);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: #fdfbf9;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--outline);
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--accent-2);
  margin: 0 0 20px;
  font-style: italic;
}

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

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author strong {
  display: block;
  font-size: 14px;
  color: var(--accent-2);
}

.testimonial__author span {
  font-size: 13px;
  color: var(--muted);
}

/* FAQ Section */
.faq {
  padding: 100px 24px;
  background: #fdfbf9;
}

.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 50px;
}

.faq__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--accent-2);
}

.faq__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

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

.faq__item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--outline);
  overflow: hidden;
}

.faq__question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--muted);
}

.faq__item[open] .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--accent-2) 0%, #1e293b 100%);
  text-align: center;
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin: 0 0 16px;
}

.cta__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
}

.cta__buttons {
  margin-bottom: 20px;
}

.cta__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Footer */
.footer {
  padding: 40px 24px;
  background: var(--accent-2);
  color: rgba(255, 255, 255, 0.6);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.footer__logo {
  color: var(--accent);
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copyright {
  font-size: 13px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Modal Override for Landing */
.landing .modal__note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* Body override for landing */
body.landing {
  padding: 0;
}

body.landing .app {
  padding: 0;
}
